]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
44ea7318
GA
12023-03-12 Jakub Jelinek <jakub@redhat.com>
2
3 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
4 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
5 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
6 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
7 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
8 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
9 * soft-fp/floatundibf.c: New file.
10 * soft-fp/floatdibf.c: New file.
11
c8065441
GA
122023-03-10 Jakub Jelinek <jakub@redhat.com>
13
14 PR target/107703
15 * soft-fp/floattibf.c: New file.
16 * soft-fp/floatuntibf.c: New file.
17 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
18 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
19 floatuntibf.
20 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
21
6a87fdd3
GA
222023-03-08 Kewen Lin <linkw@linux.ibm.com>
23
24 PR libgcc/108727
25 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
26 bump size.
27
3dd4ada4
GA
282023-03-06 Michael Meissner <meissner@linux.ibm.com>
29
30 PR target/107299
31 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
32 whether long double is IBM or IEEE.
33 (INFINITY): Likewise.
34 (FABS): Likewise.
35 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
36 (INFINITY): Likewise.
37 * config/rs6000/quad-float128.h (TF): Remove definition.
38 (TFtype): Define to be long double or _Float128.
39 (TCtype): Define to be _Complex long double or _Complex _Float128.
40 * libgcc2.h (TFtype): Allow machine config files to override this.
41 (TCtype): Likewise.
42 * soft-fp/quad.h (TFtype): Likewise.
43
ae719781
GA
442023-02-13 Kito Cheng <kito.cheng@sifive.com>
45
46 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
47 * config/riscv/value-unwind.h: New.
48
49e52115
GA
492023-02-03 Christophe Lyon <christophe.lyon@arm.com>
50
51 * config/arm/pr-support.c (__gnu_unwind_execute): Use
52 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
53
897a0502
GA
542023-01-30 Flavio Cruz <flaviocruz@gmail.com>
55
56 * config.host: Recognize x86_64-*-gnu* targets.
57 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
58 TODO for now.
59
607f278a
GA
602023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
61
62 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
63 "0xb5".
64
652023-01-23 Andrea Corallo <andrea.corallo@arm.com>
66 Tejas Belagod <tbelagod@arm.com>
67 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
68
69 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
70 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
71 with AUTG if found.
72 * config/arm/unwind-arm.c (struct pseudo_regs): New.
73 (phase1_vrs): Introduce new field to store pseudo-reg state.
74 (phase2_vrs): Likewise.
75 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
76 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
77 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
78
9f98cfa5
GA
792023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
80
81 PR target/107678
82 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
83 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
84 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
85 encode the return address signing state.
86 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
87 Check current return address signing state.
88 (aarch64_frob_update_contex): Remove.
89
5013c3bb
GA
902023-01-13 John David Anglin <danglin@gcc.gnu.org>
91
92 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
93 pa/t-pa64-linux.
94 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
95 instead of pa/t-hpux and pa/t-pa64.
96 * config/pa/linux-atomic.c: Define u32 type.
97 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
98 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
99 defines to use atomic_load calls for type.
100 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
101 * config/pa/sync-libfuncs.c: New file.
102 * config/pa/t-netbsd (LIB2ADD_ST): Define.
103 * config/pa/t-openbsd (LIB2ADD_ST): Define.
104 * config/pa/t-pa64-hpux: New file.
105 * config/pa/t-pa64-linux: New file.
106
1072023-01-13 Jonathan Wakely <jwakely@redhat.com>
108
109 PR libstdc++/108331
110 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
111 struct matching the previous __gthread_mutex_t struct.
112 (__GTHREAD_LEGACY_MUTEX_T): Define.
113
1142023-01-13 Seija Kijin <doremylover456@gmail.com>
115
116 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
117 unified syntax.
118
d901bf8a
GA
1192023-01-07 LIU Hao <lh_mouse@126.com>
120
121 PR middle-end/108300
122 * config/i386/enable-execute-stack-mingw32.c: Define
123 `WIN32_LEAN_AND_MEAN` before <windows.h>.
124 * libgcc2.c: Likewise.
125 * unwind-generic.h: Likewise.
126
0f8fbb57
GA
1272023-01-03 Florian Weimer <fweimer@redhat.com>
128
129 * unwind-dw2-execute_cfa.h: New file. Extracted from
130 the execute_cfa_program function in unwind-dw2.c.
131 * unwind-dw2.c (execute_cfa_program_generic): New function.
132 (execute_cfa_program_specialized): Likewise.
133 (execute_cfa_program): Call execute_cfa_program_specialized
134 or execute_cfa_program_generic, as appropriate.
135
1362023-01-03 Florian Weimer <fweimer@redhat.com>
137
138 Revert:
139 2023-01-03 Florian Weimer <fweimer@redhat.com>
140
141 * unwind-dw2.c (dwarf_reg_size): New function.
142 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
143 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
144 (uw_init_context_1): Do not initialize dwarf_reg_size_table
145 if not in use.
146
1472023-01-03 Florian Weimer <fweimer@redhat.com>
148
149 Revert:
150 2023-01-03 Florian Weimer <fweimer@redhat.com>
151
152 * unwind-dw2-execute_cfa.h: New file. Extracted from
153 the execute_cfa_program function in unwind-dw2.c.
154 * unwind-dw2.c (execute_cfa_program_generic): New function.
155 (execute_cfa_program_specialized): Likewise.
156 (execute_cfa_program): Call execute_cfa_program_specialized
157 or execute_cfa_program_generic, as appropriate.
158
fee53a31
GA
1592023-01-02 Florian Weimer <fweimer@redhat.com>
160
161 * unwind-dw2-execute_cfa.h: New file. Extracted from
162 the execute_cfa_program function in unwind-dw2.c.
163 * unwind-dw2.c (execute_cfa_program_generic): New function.
164 (execute_cfa_program_specialized): Likewise.
165 (execute_cfa_program): Call execute_cfa_program_specialized
166 or execute_cfa_program_generic, as appropriate.
167
1682023-01-02 Florian Weimer <fweimer@redhat.com>
169
170 * unwind-dw2.c (dwarf_reg_size): New function.
171 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
172 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
173 (uw_init_context_1): Do not initialize dwarf_reg_size_table
174 if not in use.
175
bc38aee7
GA
1762022-12-25 Jonathan Yong <10walls@gmail.com>
177
178 * config/i386/gthr-win32.h: undef CC_NONE
179
843c4d2f
GA
1802022-12-24 Iain Sandoe <iain@sandoe.co.uk>
181
182 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
183 install of libgcc_s.1.dylib when the installation is into the build
184 gcc directory.
185
376d6b8c
GA
1862022-12-23 Eric Botcazou <ebotcazou@adacore.com>
187
188 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
189 as well as new i386/t-slibgcc-mingw fragment.
190 (x86_64-*-mingw*): Likewise.
191 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
192 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
193 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
194 Include stdlib.h instead of errno.h and do not include _mingw.h.
195 (CONST_CAST2): Add specific definition for C++.
196 (ATTRIBUTE_UNUSED): New macro.
197 (__UNUSED_PARAM): Delete.
198 Define WIN32_LEAN_AND_MEAN before including windows.h.
199 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
200 (__gthread_objc_init_thread_system): Likewise.
201 (__gthread_objc_thread_get_data): Minor tweak.
202 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
203 (__gthread_objc_condition_deallocate): Likewise.
204 (__gthread_objc_condition_wait): Likewise.
205 (__gthread_objc_condition_broadcast): Likewise.
206 (__gthread_objc_condition_signal): Likewise.
207 Include sys/time.h.
208 (__gthr_win32_DWORD): New typedef.
209 (__gthr_win32_HANDLE): Likewise.
210 (__gthr_win32_CRITICAL_SECTION): Likewise.
211 (__gthr_win32_CONDITION_VARIABLE): Likewise.
212 (__gthread_t): Adjust.
213 (__gthread_key_t): Likewise.
214 (__gthread_mutex_t): Likewise.
215 (__gthread_recursive_mutex_t): Likewise.
216 (__gthread_cond_t): New typedef.
217 (__gthread_time_t): Likewise.
218 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
219 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
220 (__GTHREAD_COND_INIT_FUNCTION): Define.
221 (__GTHREAD_TIME_INIT): Likewise.
222 (__gthr_i486_lock_cmp_xchg): Delete.
223 (__gthr_win32_create): Declare.
224 (__gthr_win32_join): Likewise.
225 (__gthr_win32_self): Likewise.
226 (__gthr_win32_detach): Likewise.
227 (__gthr_win32_equal): Likewise.
228 (__gthr_win32_yield): Likewise.
229 (__gthr_win32_mutex_destroy): Likewise.
230 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
231 (__gthr_win32_cond_broadcast): Likewise.
232 (__gthr_win32_cond_signal): Likewise.
233 (__gthr_win32_cond_wait): Likewise.
234 (__gthr_win32_cond_timedwait): Likewise.
235 (__gthr_win32_recursive_mutex_init_function): Delete.
236 (__gthr_win32_recursive_mutex_lock): Likewise.
237 (__gthr_win32_recursive_mutex_unlock): Likewise.
238 (__gthr_win32_recursive_mutex_destroy): Likewise.
239 (__gthread_create): New inline function.
240 (__gthread_join): Likewise.
241 (__gthread_self): Likewise.
242 (__gthread_detach): Likewise.
243 (__gthread_equal): Likewise.
244 (__gthread_yield): Likewise.
245 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
246 (__gthread_cond_broadcast): Likewise.
247 (__gthread_cond_signal): Likewise.
248 (__gthread_cond_wait): Likewise.
249 (__gthread_cond_timedwait): Likewise.
250 (__GTHREAD_WIN32_INLINE): New macro.
251 (__GTHREAD_WIN32_COND_INLINE): Likewise.
252 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
253 Define WIN32_LEAN_AND_MEAN before including windows.h.
254 (__gthread_once): Minor tweaks.
255 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
256 (__gthread_key_delete): Minor tweak.
257 (__gthread_getspecific): Likewise.
258 (__gthread_setspecific): Likewise.
259 (__gthread_mutex_init_function): Reimplement.
260 (__gthread_mutex_destroy): Likewise.
261 (__gthread_mutex_lock): Likewise.
262 (__gthread_mutex_trylock): Likewise.
263 (__gthread_mutex_unlock): Likewise.
264 (__gthr_win32_abs_to_rel_time): Declare.
265 (__gthread_recursive_mutex_init_function): Reimplement.
266 (__gthread_recursive_mutex_destroy): Likewise.
267 (__gthread_recursive_mutex_lock): Likewise.
268 (__gthread_recursive_mutex_trylock): Likewise.
269 (__gthread_recursive_mutex_unlock): Likewise.
270 (__gthread_cond_destroy): New inline function.
271 (__gthread_cond_wait_recursive): Likewise.
272 * config/i386/gthr-win32.c: Delete everything.
273 Include gthr-win32.h to get the out-of-line version of inline routines.
274 Add compile-time checks for the local version of the Win32 types.
275 * config/i386/gthr-win32-cond.c: New file.
276 * config/i386/gthr-win32-thread.c: Likewise.
277 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
278 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
279 the static version of libgcc.
280 * config/i386/t-slibgcc-mingw: New file.
281 * config/i386/libgcc-mingw.ver: Likewise.
282
5fb1e674
GA
2832022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
284
285 * unwind-dw2-fde.c: Initialize fde object lazily when
286 the first exception tries to pass through.
287
2882022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
289
290 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
291
e6110da4
GA
2922022-12-08 Max Filippov <jcmvbkbc@gmail.com>
293
294 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
295 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
296 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
297 (XSHAL_ABI): Remove stray symbols from macro definitions.
298
4bc2d9f6
GA
2992022-12-07 Max Filippov <jcmvbkbc@gmail.com>
300
301 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
302 xtensa-config-builtin.h.
303 * config/xtensa/crtn.S: Likewise.
304 * config/xtensa/lib1funcs.S: Likewise.
305 * config/xtensa/lib2funcs.S: Likewise.
306 * config/xtensa/xtensa-config-builtin.h: New File.
307
05788e9b
GA
3082022-11-04 Florian Weimer <fweimer@redhat.com>
309
310 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
311 values actually used by BFD ld.
312
00716b77
GA
3132022-10-23 LIU Hao <lh_mouse@126.com>
314
315 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
316 libobjc, instead of 'gthr.h'
317
87f9c4a4
GA
3182022-10-19 LIU Hao <lh_mouse@126.com>
319
320 * config.host: Add new cases for `mcf` thread model
321 * config/i386/gthr-mcf.h: New file
322 * config/i386/t-mingw-mcfgthread: New file
323 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
324 * configure: Regenerate
325
21de009f
GA
3262022-10-18 Jonathan Wakely <jwakely@redhat.com>
327
328 * Makefile.in: Quote variable.
329
6237663c
GA
3302022-10-17 H.J. Lu <hjl.tools@gmail.com>
331
332 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
333 argument.
334 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
335 _Unwind_Frames_Increment.
336 (_Unwind_ForcedUnwind_Phase2): Likewise.
337 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
338 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
339 return address on normal stack doesn't match the return address
340 on shadow stack.
341
3422022-10-17 Florian Weimer <fweimer@redhat.com>
343
344 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
345 and reduce its size.
346
baeec7cc
GA
3472022-10-14 Jakub Jelinek <jakub@redhat.com>
348
349 * config/i386/t-softfp (softfp_extensions): Add bfsf.
350 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
351 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
352 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
353 -msse2.
354 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
355 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
356 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
357 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
358 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
359 * soft-fp/brain.h: New file.
360 * soft-fp/truncsfbf2.c: New file.
361 * soft-fp/truncdfbf2.c: New file.
362 * soft-fp/truncxfbf2.c: New file.
363 * soft-fp/trunctfbf2.c: New file.
364 * soft-fp/trunchfbf2.c: New file.
365 * soft-fp/truncbfhf2.c: New file.
366 * soft-fp/extendbfsf2.c: New file.
367
781f477a
GA
3682022-10-12 Martin Liska <mliska@suse.cz>
369
370 * libgcov-driver.c: Use new function.
371 * libgcov.h (gcov_write_summary): Rename to ...
372 (gcov_write_object_summary): ... this.
373
ab332cd7
GA
3742022-10-11 Olivier Hainque <hainque@adacore.com>
375
376 * config.host (*vxworks*): When enable_shared, add
377 libgcc and crtstuff "shared" fragments for rtp except
378 large code model.
379 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
380 the list of fragments.
381
629d04d3
GA
3822022-10-06 Jakub Jelinek <jakub@redhat.com>
383
384 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
385 fs->regs.how[X] instead of fs->regs.reg[X].how.
386
3872022-10-06 Jakub Jelinek <jakub@redhat.com>
388
389 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
390 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
391 REG_UNDEFINED): New anonymous enum, moved from inside of
392 struct frame_state_reg_info.
393 (struct frame_state_reg_info): Remove reg[].how element and the
394 anonymous enum there. Add how element.
395 * unwind-dw2.c: Include stddef.h.
396 (uw_frame_state_for): Don't clear first
397 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
398 (execute_cfa_program, __frame_state_for, uw_update_context_1,
399 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
400 or fs.regs.how[X] instead of fs.regs.reg[X].how.
401 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
402 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
403 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
404 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
405 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
406 Likewise.
407 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
408 Likewise.
409 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
410 * config/arc/linux-unwind.h (arc_fallback_frame_state,
411 arc_frob_update_context): Likewise.
412 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
413 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
414 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
415 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
416 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
417 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
418 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
419 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
420 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
421 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
422 x86_fallback_frame_state): Likewise.
423 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
424 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
425 x86_fallback_frame_state): Likewise.
426 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
427 Likewise.
428 * config/i386/dragonfly-unwind.h
429 (x86_64_dragonfly_fallback_frame_state): Likewise.
430 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
431 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
432 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
433 Likewise.
434 * config/aarch64/freebsd-unwind.h
435 (aarch64_freebsd_fallback_frame_state): Likewise.
436 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
437 Likewise.
438 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
439 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
440 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
441 Likewise.
442 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
443 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
444 Likewise.
445 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
446 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
447 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
448 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
449
42231015
GA
4502022-10-02 Olivier Hainque <hainque@adacore.com>
451
452 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
453 -I options for gcc/include and gcc/include-fixed at the end
454 and make them -isystem.
455
4562022-10-02 Olivier Hainque <hainque@adacore.com>
457
458 * config/gthr-vxworks.h: Prevent Wpragma warning for the
459 pragma diagnostics on Wstrict-prototypes.
460
bbdcdf5c
GA
4612022-09-29 Olivier Hainque <hainque@adacore.com>
462
463 * config/vxcrtstuff.c: Improve the comment attached to the use
464 of auto-host.h and of __dso_handle. Remove redundant guard on
465 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
466
220c4d8e
GA
4672022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
468
469 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
470 for the non-fast-path case. Drop destructor priority.
471
279c6715
GA
4722022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
473
474 * unwind-dw2-fde.c: (release_register_frames) Remember
475 when the btree has been destroyed.
476 (__deregister_frame_info_bases) Disable the assert when
477 shutting down.
478
0990a778
GA
4792022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
480
481 * unwind-dw2-fde.c: Replace uintptr_t with typedef
482 for __UINTPTR_TYPE__.
483 * unwind-dw2-btree.h: Likewise.
484
7ee0fa10
GA
4852022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
486
487 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
488 (__register_frame_info_table_bases): Use btree in atomic fast path.
489 (__deregister_frame_info_bases): Likewise.
490 (_Unwind_Find_FDE): Likewise.
491 (base_from_object): Make parameter const.
492 (classify_object_over_fdes): Add query-only mode.
493 (get_pc_range): Compute PC range for lookup.
494 * unwind-dw2-fde.h (last_fde): Make parameter const.
495 * unwind-dw2-btree.h: New file.
496
542c60c4
GA
4972022-08-31 Martin Liska <mliska@suse.cz>
498
499 * config.host: Remove hppa.
500
3de9fb32
GA
5012022-08-30 Martin Liska <mliska@suse.cz>
502
503 * config.host: Remove the port.
504
16f542d6
GA
5052022-08-26 Martin Liska <mliska@suse.cz>
506
507 * config.host: Remove cr16 related stuff.
508 * config/cr16/crti.S: Removed.
509 * config/cr16/crtlibid.S: Removed.
510 * config/cr16/crtn.S: Removed.
511 * config/cr16/divmodhi3.c: Removed.
512 * config/cr16/lib1funcs.S: Removed.
513 * config/cr16/t-cr16: Removed.
514 * config/cr16/t-crtlibid: Removed.
515 * config/cr16/unwind-cr16.c: Removed.
516 * config/cr16/unwind-dw2.h: Removed.
517
47a61e65
GA
5182022-08-16 Kito Cheng <kito.cheng@sifive.com>
519
520 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
521 (_FP_NANFRAC_H): Ditto.
522 (_FP_NANSIGN_H): Ditto.
523 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
524 routines.
525 (softfp_truncations): Ditto.
526 (softfp_extras): Ditto.
527 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
528
5292022-08-16 Kito Cheng <kito.cheng@sifive.com>
530
531 * soft-fp/fixhfdi.c: New.
532 * soft-fp/fixhfsi.c: Likewise.
533 * soft-fp/fixunshfdi.c: Likewise.
534 * soft-fp/fixunshfsi.c: Likewise.
535 * soft-fp/floatdihf.c: Likewise.
536 * soft-fp/floatsihf.c: Likewise.
537 * soft-fp/floatundihf.c: Likewise.
538 * soft-fp/floatunsihf.c: Likewise.
539 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
540 lines and update URL for license.
541 * soft-fp/addsf3.c: Likewise.
542 * soft-fp/addtf3.c: Likewise.
543 * soft-fp/divdf3.c: Likewise.
544 * soft-fp/divsf3.c: Likewise.
545 * soft-fp/divtf3.c: Likewise.
546 * soft-fp/double.h: Likewise.
547 * soft-fp/eqdf2.c: Likewise.
548 * soft-fp/eqhf2.c: Likewise.
549 * soft-fp/eqsf2.c: Likewise.
550 * soft-fp/eqtf2.c: Likewise.
551 * soft-fp/extenddftf2.c: Likewise.
552 * soft-fp/extended.h: Likewise.
553 * soft-fp/extendhfdf2.c: Likewise.
554 * soft-fp/extendhfsf2.c: Likewise.
555 * soft-fp/extendhftf2.c: Likewise.
556 * soft-fp/extendhfxf2.c: Likewise.
557 * soft-fp/extendsfdf2.c: Likewise.
558 * soft-fp/extendsftf2.c: Likewise.
559 * soft-fp/extendxftf2.c: Likewise.
560 * soft-fp/fixdfdi.c: Likewise.
561 * soft-fp/fixdfsi.c: Likewise.
562 * soft-fp/fixdfti.c: Likewise.
563 * soft-fp/fixhfti.c: Likewise.
564 * soft-fp/fixsfdi.c: Likewise.
565 * soft-fp/fixsfsi.c: Likewise.
566 * soft-fp/fixsfti.c: Likewise.
567 * soft-fp/fixtfdi.c: Likewise.
568 * soft-fp/fixtfsi.c: Likewise.
569 * soft-fp/fixtfti.c: Likewise.
570 * soft-fp/fixunsdfdi.c: Likewise.
571 * soft-fp/fixunsdfsi.c: Likewise.
572 * soft-fp/fixunsdfti.c: Likewise.
573 * soft-fp/fixunshfti.c: Likewise.
574 * soft-fp/fixunssfdi.c: Likewise.
575 * soft-fp/fixunssfsi.c: Likewise.
576 * soft-fp/fixunssfti.c: Likewise.
577 * soft-fp/fixunstfdi.c: Likewise.
578 * soft-fp/fixunstfsi.c: Likewise.
579 * soft-fp/fixunstfti.c: Likewise.
580 * soft-fp/floatdidf.c: Likewise.
581 * soft-fp/floatdisf.c: Likewise.
582 * soft-fp/floatditf.c: Likewise.
583 * soft-fp/floatsidf.c: Likewise.
584 * soft-fp/floatsisf.c: Likewise.
585 * soft-fp/floatsitf.c: Likewise.
586 * soft-fp/floattidf.c: Likewise.
587 * soft-fp/floattihf.c: Likewise.
588 * soft-fp/floattisf.c: Likewise.
589 * soft-fp/floattitf.c: Likewise.
590 * soft-fp/floatundidf.c: Likewise.
591 * soft-fp/floatundisf.c: Likewise.
592 * soft-fp/floatunditf.c: Likewise.
593 * soft-fp/floatunsidf.c: Likewise.
594 * soft-fp/floatunsisf.c: Likewise.
595 * soft-fp/floatunsitf.c: Likewise.
596 * soft-fp/floatuntidf.c: Likewise.
597 * soft-fp/floatuntihf.c: Likewise.
598 * soft-fp/floatuntisf.c: Likewise.
599 * soft-fp/floatuntitf.c: Likewise.
600 * soft-fp/gedf2.c: Likewise.
601 * soft-fp/gesf2.c: Likewise.
602 * soft-fp/getf2.c: Likewise.
603 * soft-fp/half.h: Likewise.
604 * soft-fp/ledf2.c: Likewise.
605 * soft-fp/lesf2.c: Likewise.
606 * soft-fp/letf2.c: Likewise.
607 * soft-fp/muldf3.c: Likewise.
608 * soft-fp/mulsf3.c: Likewise.
609 * soft-fp/multf3.c: Likewise.
610 * soft-fp/negdf2.c: Likewise.
611 * soft-fp/negsf2.c: Likewise.
612 * soft-fp/negtf2.c: Likewise.
613 * soft-fp/op-1.h: Likewise.
614 * soft-fp/op-2.h: Likewise.
615 * soft-fp/op-4.h: Likewise.
616 * soft-fp/op-8.h: Likewise.
617 * soft-fp/op-common.h: Likewise.
618 * soft-fp/quad.h: Likewise.
619 * soft-fp/single.h: Likewise.
620 * soft-fp/soft-fp.h: Likewise.
621 * soft-fp/subdf3.c: Likewise.
622 * soft-fp/subsf3.c: Likewise.
623 * soft-fp/subtf3.c: Likewise.
624 * soft-fp/truncdfhf2.c: Likewise.
625 * soft-fp/truncdfsf2.c: Likewise.
626 * soft-fp/truncsfhf2.c: Likewise.
627 * soft-fp/trunctfdf2.c: Likewise.
628 * soft-fp/trunctfhf2.c: Likewise.
629 * soft-fp/trunctfsf2.c: Likewise.
630 * soft-fp/trunctfxf2.c: Likewise.
631 * soft-fp/truncxfhf2.c: Likewise.
632 * soft-fp/unorddf2.c: Likewise.
633 * soft-fp/unordsf2.c: Likewise.
634 * soft-fp/unordtf2.c: Likewise.
635
79fb1124
GA
6362022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
637
638 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
639 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
640 configurations.
641
87509781
GA
6422022-06-25 Jeff Law <jeffreyalaw@gmail.com>
643
644 * config.host: Removed tilegx and tilepro entries.
645 * config/tilegx/sfp-machine.h: Removed.
646 * config/tilegx/sfp-machine32.h: Removed.
647 * config/tilegx/sfp-machine64.h: Removed.
648 * config/tilegx/t-crtstuff: Removed.
649 * config/tilegx/t-softfp: Removed.
650 * config/tilegx/t-tilegx: Removed.
651 * config/tilepro/atomic.c: Removed.
652 * config/tilepro/atomic.h: Removed.
653 * config/tilepro/linux-unwind.h: Removed.
654 * config/tilepro/sfp-machine.h: Removed.
655 * config/tilepro/softdivide.c: Removed.
656 * config/tilepro/softmpy.S: Removed.
657 * config/tilepro/t-crtstuff: Removed.
658 * config/tilepro/t-tilepro: Removed.
659
e3bba42f
GA
6602022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
661
662 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
663 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
664
3164de6a
GA
6652022-06-01 H.J. Lu <hjl.tools@gmail.com>
666
667 PR libgcc/27576
668 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
669
3dff965c
GA
6702022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
671
672 PR libgcc/105708
673 * config/aarch64/lse-init.c: Increase constructor priority.
674
6752022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
676
677 PR target/104689
678 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
679 Handle the !REG_UNSAVED case.
680 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
681
57f2ce6a
GA
6822022-05-20 Christophe Lyon <christophe.lyon@arm.com>
683
684 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
685 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
686 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
687
6882022-05-20 Christophe Lyon <christophe.lyon@arm.com>
689
690 * config.host: Add t-dfprules to AArch64 targets.
691
6922022-05-20 Christophe Lyon <christophe.lyon@arm.com>
693
694 * configure: Regenerate.
695
9df4ffe4
GA
6962022-05-13 Sebastian Pop <spop@amazon.com>
697
698 PR target/105162
699 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
700 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
701
e8778989
GA
7022022-05-10 Martin Liska <mliska@suse.cz>
703 Hans-Peter Helfert <peter-helfert@t-online.de>
704
705 PR gcov-profile/105535
706 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
707 n_functions.
708
6259d8aa
GA
7092022-05-02 Martin Liska <mliska@suse.cz>
710
711 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
712
6b6f53d8
GA
7132022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
714
715 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
716 (gcov_profile_merge_stream): Likewise.
717
7182022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
719
720 * libgcov-util.c (consume_stream): New.
721 (get_target_profiles_for_merge): Likewise.
722 (gcov_profile_merge_stream): Likewise.
723
7242022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
725
726 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
727
7282022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
729
730 * libgcov-util.c (read_gcda_file): Do not open file.
731 (ftw_read_file): Open file here.
732
7332022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
734
735 * libgcov-util.c (read_gcda_file): Prepend new info object to global
736 list.
737 (ftw_read_file): Remove list append here.
738
7392022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
740
741 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
742 (ftw_read_file): Duplicate filename for read_gcda_file().
743
7442022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
745
746 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
747 (__gcov_filename_to_gcfn): Declare and document.
748 * libgcov-driver.c (dump_string): New.
749 (__gcov_filename_to_gcfn): Likewise.
750 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
751
7522022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
753
754 * libgcov.h (gcov_seek): Remove define and declaration.
755
7562022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
757
758 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
759 parameter. Pass mode to gcov_open() calls.
760 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
761 gcov_exit_open_gcda_file() call.
762 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
763 calls.
764 (__gcov_dump_one): Open file for reading and writing.
765
7662022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
767
768 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
769 reading and writing.
770 * libgcov-util.c (read_gcda_file): Open file for reading.
771 * libgcov.h (gcov_open): Delete declaration.
772
7732022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
774
775 * libgcov-util.c (gcov_profile_merge): Return the list of merged
776 profiles. Accept empty target and source profile lists.
777
405eda0d
GA
7782022-04-08 Sergei Trofimovich <siarheit@google.com>
779
780 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
781
9f774626
GA
7822022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
783 Lulu Cheng <chenglulu@loongson.cn>
784
785 * configure: Regenerate file.
786
7872022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
788 Lulu Cheng <chenglulu@loongson.cn>
789
790 * config/loongarch/crtfastmath.c: New file.
791 * config/loongarch/linux-unwind.h: Like wise.
792 * config/loongarch/sfp-machine.h: Like wise.
793 * config/loongarch/t-crtstuff: Like wise.
794 * config/loongarch/t-loongarch: Like wise.
795 * config/loongarch/t-loongarch64: Like wise.
796 * config/loongarch/t-softfp-tf: Like wise.
797 * config.host: Add LoongArch tuples.
798 * configure.ac: Add LoongArch support.
799
d7f00da1
GA
8002022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
801
802 PR libgcc/86224
803 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
804 for __mulsi3.
805 (__udivsi3_internal, __divsi3_internal): Similarly.
806 (__umodsi3, __modsi3): Use the internal function names.
807
8cc4f9cd
GA
8082022-03-09 Tobias Burnus <tobias@codesourcery.com>
809
810 PR target/102215
811 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
812 a line up to non-arg-dependent value first.
813 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
814 __atomic_compare_exchange_{1,2}.
815
8d96e14c
GA
8162022-03-04 Iain Sandoe <iain@sandoe.co.uk>
817
818 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
819 * config/t-darwin-ehs: Add dependency on unwind.h.
820
756a6185
GA
8212022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
822
823 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
824 with 0 instead of NULL.
825
8262022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
827
828 PR target/104656
829 * configure.ac: --disable-gcov if targetting bpf-*.
830 * configure: Regenerate.
831
e0b8716f
GA
8322022-01-25 Florian Weimer <fweimer@redhat.com>
833
834 PR libgcc/104207
835 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
836
fc829782
GA
8372022-01-17 Martin Liska <mliska@suse.cz>
838
839 * libgcov-driver.c: Rename .c names to .cc.
840
9248ee41
GA
8412022-01-15 David <gccbugzilla@limegreensocks.com>
842
843 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
844 Remove inlined version, Windows 95 is no longer relevant.
845 * config/i386/gthr-win32.h
846 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
847
617db51d
GA
8482022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
849
850 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
851 DWARF_ALT_FRAME_RETURN_COLUMN macro.
852
7d11b64b
GA
8532022-01-04 Florian Weimer <fweimer@redhat.com>
854
855 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
856 if available.
857
5da23a13
GA
8582022-01-02 John David Anglin <danglin@gcc.gnu.org>
859
860 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
861 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
862 return is not equal _ASM_EFAULT.
863 (__kernel_cmpxchg2): Likewise.
864
2554e2da
GA
8652021-12-17 Iain Sandoe <iain@sandoe.co.uk>
866
867 * config.host: Add shim declaration header to powerpc*-darwin builds.
868 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
869 file.
870 * config/t-darwin-ehs: Add dependencies to the shared unwinder
871 objects.
872 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
873 the shared EH lib. Add all-multi to the dependencies for the
874 libgcc_s.1.dylib redirections.
875
7f1239cb
GA
8762021-12-13 Olivier Hainque <hainque@adacore.com>
877
878 * config.host (powerpc*-*-vxworks7*): Remove
879 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
880
8812021-12-13 Olivier Hainque <hainque@adacore.com>
882
883 * config.host (*vxworks*): Remove special case for
884 arm on the use of vxcrtstuff.
885
8862021-12-13 Fred Konrad <konrad@adacore.com>
887 Olivier Hainque <hainque@adacore.com>
888
889 * config/t-vxcrtstuffS: New Makefile fragment.
890 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
891 functions for INITFINI_ARRAY support in shared libs and guard
892 the definition of eh table registration functions on conditions
893 indicating they are needed.
894
8952021-12-13 Olivier Hainque <hainque@adacore.com>
896
897 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
898 ahead of the other files in tmake_files.
899 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
900 overriding it.
901
9022021-12-13 Olivier Hainque <hainque@adacore.com>
903
904 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
905 both VxWorks7 and earlier.
906 * config/t-vxworks7: Remove.
907 * config.host: Remove special case for vxworks7.
908
e8decbe7
GA
9092021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
910
911 * config/vxcrtstuff.c: Make constructor and destructor
912 functions static when possible.
913
9142021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
915
916 * config/vxcrtstuff.c: Remove constructor/destructor
917 declarations.
918
0bceef16
GA
9192021-12-10 Iain Sandoe <iain@sandoe.co.uk>
920
921 * config/t-darwin: Add libgcc_tm.h to the dependencies
922 for darwin10-unwind-find-enc-func.
923
9242021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
925
926 * config/rs6000/t-vxworks: New file.
927 * config.host (powerpc*-*-vxworks*): Use it instead of
928 t-ppccomm.
929
4b4839e3
GA
9302021-12-09 Fred Konrad <konrad@adacore.com>
931
932 * config.host (powerpc*-wrs-vxworks7*): Fix path to
933 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
934
9352021-12-09 Olivier Hainque <hainque@adacore.com>
936 Rasmus Villemoes <rv@rasmusvillemoes.dk>
937
938 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
939 $(LIBGCC2_INCLUDES).
940 * config/t-vxworks7: Likewise.
941
641ff219
GA
9422021-12-08 Iain Sandoe <iain@sandoe.co.uk>
943
944 * config.host (*-*-darwin*): Add logic to build a shared
945 unwinder library for Darwin8-10.
946 * config/i386/t-darwin: Build legacy libgcc_s.1.
947 * config/rs6000/t-darwin: Likewise.
948 * config/t-darwin: Reorganise the EH fragments to place
949 them for inclusion in a shared EH lib.
950 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
951 the supporting pieces (all FAT libs).
952 * config/t-darwin-noeh: Removed.
953 * config/darwin-unwind.ver: New file.
954 * config/rs6000/t-darwin-ehs: New file.
955 * config/t-darwin-ehs: New file.
956
3a580f96
GA
9572021-12-06 Nelson Chu <nelson.chu@sifive.com>
958
959 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
960 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
961 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
962 HIDDEN_DEF.
963
c177e806
GA
9642021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
965
966 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
967 ssize_t and vfork after including auto-host.h.
968
87cd82c8
GA
9692021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
970
971 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
972 crtend.o to extra_parts.
973
d62c8c74
GA
9742021-11-27 John David Anglin <danglin@gcc.gnu.org>
975
976 * config/pa/t-dimode (lib2difuncs): Fix typo.
977
091ccc06
GA
9782021-11-25 Florian Weimer <fweimer@redhat.com>
979
980 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
981 Remove func, ret.
982 (find_fde_tail): New function. Split from
983 _Unwind_IteratePhdrCallback. Move the result initialization
984 from _Unwind_Find_FDE.
985 (_Unwind_Find_FDE): Updated to call find_fde_tail.
986
06be28f6
GA
9872021-11-22 Florian Weimer <fweimer@redhat.com>
988
989 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
990 (struct unw_eh_callback_data): Make dbase member conditional.
991 (unw_eh_callback_data_dbase): New function.
992 (base_from_cb_data): Simplify for the non-dbase case.
993 (_Unwind_IteratePhdrCallback): Adjust.
994 (_Unwind_Find_FDE): Likewise.
995
9962021-11-22 Florian Weimer <fweimer@redhat.com>
997
998 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
999 tbase member.
1000 (base_from_cb_data): Adjust.
1001 (_Unwind_IteratePhdrCallback): Likewise.
1002 (_Unwind_Find_FDE): Likewise.
1003
9c077398
GA
10042021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1005
1006 * config.host: Add weak emutls crt to the extra_parts.
1007 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1008 workaround.
1009 * config/libgcc-libsystem.ver: Add exclude list for the system-
1010 provided unwinder.
1011 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1012 * config/i386/libgcc-darwin.10.4.ver: Removed.
1013 * config/i386/libgcc-darwin.10.5.ver: Removed.
1014 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1015 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1016 * config/t-darwin-noeh: New file.
1017
10182021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1019
1020 * config/t-darwin: Build weak-defined emutls objects.
1021 * emutls.c (__emutls_get_address): Add optional attributes.
1022 (__emutls_register_common): Likewise.
1023 (EMUTLS_ATTR): New.
1024
b39265d4
GA
10252021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1026
1027 PR libgcc/103044
1028 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1029 called with a null argument or at the end of the backtrace and return.
1030 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1031
8d36a0d2
GA
10322021-11-10 Jakub Jelinek <jakub@redhat.com>
1033
1034 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1035 formatting fix.
1036
851dff04
GA
10372021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1038
1039 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1040 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1041
10422021-11-05 John David Anglin <danglin@gcc.gnu.org>
1043
1044 PR libgomp/96661
1045 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1046 (hppa*64*-*-hpux11*): Likewise.
1047 * config/pa/sfp-exceptions.c: New.
1048 * config/pa/sfp-machine.h: New.
1049 * config/pa/t-dimode: New.
1050 * config/pa/t-softfp-sfdftf: New.
1051
04a2cf3f
GA
10522021-10-27 John David Anglin <danglin@gcc.gnu.org>
1053
1054 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1055 tmake_file.
1056 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1057 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1058 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1059 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1060 (LIB1ASMFUNCS): Revise.
1061 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1062
c2bd5d8a
GA
10632021-10-22 Stafford Horne <shorne@gmail.com>
1064
1065 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1066 Change to 0.
1067
5d5885c9
GA
10682021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1069
1070 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1071 outside of get_regs() in order to use it in another function, this
1072 is done twice: for __powerpc64__ and for !__powerpc64__.
1073 (struct trace_arg): New struct.
1074 (struct layout): New struct.
1075 (ppc_backchain_fallback): New function.
1076 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1077 state and call MD_BACKCHAIN_FALLBACK.
1078
9eb28a0f
GA
10792021-10-13 Martin Liska <mliska@suse.cz>
1080
1081 PR gcov-profile/90364
1082 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1083 checksums.
1084 (write_one_data): Write also checksum.
1085 * libgcov-util.c (read_gcda_file): Read also checksum field.
1086 * libgcov.h (struct gcov_info): Add new field.
1087
ce6eec39
GA
10882021-10-08 Ian Lance Taylor <iant@golang.org>
1089
1090 * config/i386/morestack.S: Use .init_array for constructor if
1091 available.
1092 * config/rs6000/morestack.S: Likewise.
1093 * config/s390/morestack.S: Likewise.
1094
154fd089
GA
10952021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1096
1097 PR target/101104
1098 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1099 Use more correct values for native IBM 128-bit.
1100
fd133479
GA
11012021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1102
1103 * config/i386/libgcc-darwin.ver: Add Symbols for
1104 __cpu_model, __cpu_indicator_init.
1105
e4777439
GA
11062021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1107
1108 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1109 using __APPLE__.
1110
34fac9ef
GA
11112021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1112
1113 * config/t-slibgcc-darwin: Delete unused code.
1114
11152021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1116
1117 * config/i386/t-darwin: Add in a vers file for X86-specific
1118 symbols.
1119 * config/t-darwin: Add the generic symbol maps here...
1120 * config/t-slibgcc-darwin: ... removing from here.
1121 * config/i386/libgcc-darwin.ver: New file.
1122
11232021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1124
1125 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1126 and __mulhc3.
1127
11282021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1129
1130 * config.host: Use convenience library for Darwin10
1131 unwinder shim.
1132 * config/t-darwin: Build Darwin10 unwinder shim as a
1133 convenience library.
1134
07985c47
GA
11352021-09-13 Andrew Pinski <apinski@marvell.com>
1136
1137 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1138 * config/m32r/libgcc-glibc.ver: Removed.
1139 * config/m32r/t-linux: Removed.
1140
b6db7cd4
GA
11412021-09-08 liuhongt <hongtao.liu@intel.com>
1142
1143 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1144 libgcc_s.so.1.
1145
11462021-09-08 Jakub Jelinek <jakub@redhat.com>
1147 Iain Sandoe <iain@sandoe.co.uk>
1148
1149 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1150 and export *hf* and *hc* functions at GCC_12.0.0.
1151
9f99555f
GA
11522021-09-06 liuhongt <hongtao.liu@intel.com>
1153
1154 * Makefile.in: Adjust to support specific CFLAGS for each
1155 libgcc source file.
1156 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1157 related libgcc source files.
1158 * config/i386/t-softfp: Ditto.
1159 * config/i386/_divhc3.c: New file.
1160 * config/i386/_mulhc3.c: New file.
1161
7b739540
GA
11622021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1163
1164 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1165 alias_DFtype, alias_TFtype): New.
1166 (ALIAS_SELECTOR): New.
1167 (strong_alias): Use __typeof and a _Generic selector to
1168 provide the type to the synthesized function.
1169
9f7c2bad
GA
11702021-09-02 liuhongt <hongtao.liu@intel.com>
1171
1172 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1173 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1174 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1175 * config/i386/t-softfp: Add hf soft-fp.
1176 * config.host: Add i386/64/t-softfp.
1177 * config/i386/64/t-softfp: New file.
1178
11792021-09-02 liuhongt <hongtao.liu@intel.com>
1180
1181 * soft-fp/eqhf2.c: New file.
1182 * soft-fp/extendhfdf2.c: New file.
1183 * soft-fp/extendhfsf2.c: New file.
1184 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1185 * soft-fp/truncdfhf2.c: New file
1186 * soft-fp/truncsfhf2.c: New file
1187
e11c6046
GA
11882021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1189
1190 * unwind-arm-common.inc (abort): Remove.
1191
6d51ee43
GA
11922021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1193
1194 * config/aarch64/value-unwind.h: Add missing runtime exception
1195 paragraph.
1196 * config/frv/frv-abi.h: Likewise.
1197 * config/i386/value-unwind.h: Likewise.
1198 * config/pa/pa64-hpux-lib.h: Likewise.
1199
ccc19145
GA
12002021-08-26 David Edelsohn <dje.gcc@gmail.com>
1201
1202 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1203 __gcc_qadd.
1204 (__gcc_qadd): Call ldouble_qadd_internal.
1205 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1206 argument negated.
1207
12082021-08-26 Jonathan Yong <10walls@gmail.com>
1209
1210 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1211 and register_frame_dtor warnings.
1212
05ace294
GA
12132021-08-24 Richard Earnshaw <rearnsha@arm.com>
1214
1215 PR target/102035
1216 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1217 Add vlldm erratum work-around.
1218
4be4fa4e
GA
12192021-08-21 John David Anglin <danglin@gcc.gnu.org>
1220
1221 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1222
9d1d9fc8
GA
12232021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1224
1225 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1226 (gcov_type_unsigned): Likewise.
1227
7dd8f198
GA
12282021-08-14 Stafford Horne <shorne@gmail.com>
1229
1230 PR target/99783
1231 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1232 * config/or1k/t-crtstuff: New file.
1233
f92f4778
GA
12342021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1235
1236 * libgcov-driver.c (#include <stdint.h>): Remove.
1237 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1238
12392021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1240
1241 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1242 * gcov.h (gcov_info): Declare.
1243 (__gcov_info_to_gdca): Likewise.
1244 * libgcov.h (gcov_write_counter): Remove.
1245 (gcov_write_tag_length): Likewise.
1246 * libgcov-driver.c (#include <stdint.h>): New.
1247 (#include <string.h>): Remove.
1248 (NEED_L_GCOV): Conditionally define.
1249 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1250 (are_all_counters_zero): New.
1251 (gcov_dump_handler): Likewise.
1252 (gcov_allocate_handler): Likewise.
1253 (dump_unsigned): Likewise.
1254 (dump_counter): Likewise.
1255 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1256 Use dump_unsigned() and dump_counter().
1257 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1258 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1259 (__gcov_info_to_gcda): New.
1260
8ebf4fb5
GA
12612021-08-05 Jakub Jelinek <jakub@redhat.com>
1262
1263 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1264 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1265 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1266 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1267
2697f832
GA
12682021-08-04 Jakub Jelinek <jakub@redhat.com>
1269
1270 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1271
d97d71a1
GA
12722021-07-15 Alan Modra <amodra@gmail.com>
1273
1274 * config/rs6000/morestack.S (R2_SAVE): Define.
1275 (__morestack): Save and restore r2. Set up r2 for called
1276 functions.
1277
bea7c16a
GA
12782021-07-01 H.J. Lu <hjl.tools@gmail.com>
1279
1280 * soft-fp/extendhfxf2.c: New file.
1281 * soft-fp/truncxfhf2.c: Likewise.
1282
6bc18203
GA
12832021-06-29 Julian Brown <julian@codesourcery.com>
1284
1285 * config/gcn/lib2-bswapti2.c: New file.
1286 * config/gcn/lib2-divmod-di.c: New file.
1287 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1288 typedefs.
1289 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1290 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1291 lib2-bswapti2.c.
1292
12932021-06-29 Julian Brown <julian@codesourcery.com>
1294
1295 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1296 return types to USItype.
1297 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1298
fcf617f0
GA
12992021-06-23 Kewen Lin <linkw@linux.ibm.com>
1300
1301 * configure: Regenerate.
1302 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1303 typos among the name, CFLAGS and the test.
1304 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1305 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1306 Remove.
1307 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1308 macro FLOAT128_HW_INSNS_ISA3_1.
1309 (FP128_3_1_CFLAGS_HW): Fix option typo.
1310 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1311 FLOAT128_HW_INSNS_ISA3_1.
1312 (__floattikf_resolve): Likewise.
1313 (__floatuntikf_resolve): Likewise.
1314 (__fixkfti_resolve): Likewise.
1315 (__fixunskfti_resolve): Likewise.
1316 (__floattikf): Likewise.
1317 (__floatuntikf): Likewise.
1318 (__fixkfti): Likewise.
1319 (__fixunskfti): Likewise.
1320
f16f65f8
GA
13212021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1322
1323 PR target/99939
1324 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1325 macro.
1326 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1327 on passing -mcmse option.
1328
43c35d0d
GA
13292021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1330
1331 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1332 _ARCH_PPC64 .
1333
4f625f47
GA
13342021-06-09 Carl Love <cel@us.ibm.com>
1335
1336 * config.host: Add if test and set for
1337 libgcc_cv_powerpc_3_1_float128_hw.
1338 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1339 Change calls of __fixkfti to __fixkfti_sw.
1340 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1341 Change calls of __fixunskfti to __fixunskfti_sw.
1342 * config/rs6000/float128-p10.c (__floattikf_hw,
1343 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1344 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1345 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1346 __fixunskfti_resolve): Add resolve functions.
1347 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1348 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1349 __fixtfti, __fixunstfti): Add editor commands to change names.
1350 * config/rs6000/float128-sed-hw (__floattitf,
1351 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1352 change names.
1353 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1354 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1355 * config/rs6000/quad-float128.h (__floattikf_sw,
1356 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1357 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1358 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1359 * config/rs6000/t-float128 (floattikf, floatuntikf,
1360 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1361 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1362 file names to fp128_ppc_funcs.
1363 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1364 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1365 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1366 * config/rs6000/t-float128-p10-hw: New file.
1367 * configure: Update script for isa 3.1 128-bit float support.
1368 * configure.ac: Add check for 128-bit float hardware support.
1369 * config/rs6000/fixkfti-sw.c: New file.
1370 * config/rs6000/fixunskfti-sw.c: New file.
1371 * config/rs6000/floattikf-sw.c: New file.
1372 * config/rs6000/floatuntikf-sw.c: New file.
1373
f9af11c7
GA
13742021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1375
1376 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1377
4d0385df 13782021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1379
1380 * libgcov-driver.c: Fix GNU coding style.
1381
aa891c56
GA
13822021-05-10 Martin Liska <mliska@suse.cz>
1383
1384 * libgcov-driver.c (gcov_version): Use different name that does
1385 not clash with newly introduced macro.
1386
3c8e539d
GA
13872021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1388
1389 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1390 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1391 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1392
e4ff4ffb
GA
13932021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1394
1395 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1396 Define.
1397 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1398 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1399 Define.
1400 (__divkc3): Improve complex divide.
1401
05ec629f
GA
14022021-04-23 Michael Meissner <meissner@linux.ibm.com>
1403
1404 PR target/98952
1405 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1406 trampoline size comparison in 32-bit by reversing test and
1407 combining load immediate with compare.
1408 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1409 in 32-bit by reversing test and combining load immediate with
1410 compare.
1411
b1da9916
GA
14122021-04-05 Florian Weimer <fweimer@redhat.com>
1413 Michael Meissner <meissner@linux.ibm.com>
1414
1415 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1416 point functions for $(decimal_float) only.
1417
c0756c4e
GA
14182021-04-03 Jakub Jelinek <jakub@redhat.com>
1419
1420 PR target/97653
1421 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1422 $(objext) instead of $(object). Use _floatunditf instead of
1423 _floatunsditf. Add tf <-> ti conversion objects.
1424 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1425
65374af2
GA
14262021-03-29 Michael Meissner <meissner@linux.ibm.com>
1427
1428 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1429 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1430 (fp128_decstr_objs): Delete.
1431 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1432 _Float128 to a Decimal type. Call __strtoieee128 to do
1433 conversions from a Decimal type to _Float128.
1434 * config/rs6000/_sprintfkf.c: Delete file.
1435 * config/rs6000/_sprintfkf.h: Delete file.
1436 * config/rs6000/_strtokf.c: Delete file.
1437 * config/rs6000/_strtokf.h: Delete file.
1438
bf1f3168
GA
14392021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1440
1441 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1442 to __BYTE_ORDER__.
1443
0ad6a2e2
GA
14442021-03-06 Jakub Jelinek <jakub@redhat.com>
1445
1446 PR gcov-profile/99406
1447 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1448 defined, define these macros if not defined already.
1449
67f10d28
GA
14502021-03-04 Martin Liska <mliska@suse.cz>
1451
1452 PR gcov-profile/99105
1453 * libgcov-driver.c (write_top_counters): Rename to ...
1454 (write_topn_counters): ... this.
1455 (write_one_data): Pre-allocate buffer for number of items
1456 in the corresponding linked lists.
1457 * libgcov.h (malloc_mmap): New function.
1458 (allocate_gcov_kvp): Use it.
1459
14602021-03-04 Martin Liska <mliska@suse.cz>
1461
1462 PR gcov-profile/99385
1463 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1464
f3641ac7
GA
14652021-03-03 Martin Liska <mliska@suse.cz>
1466
1467 PR gcov-profile/97461
1468 * config.in: Regenerate.
1469 * configure: Likewise.
1470 * configure.ac: Check sys/mman.h header file
1471 * libgcov-driver.c (struct gcov_kvp): Remove static
1472 pre-allocated pool and use a dynamic one.
1473 * libgcov.h (MMAP_CHUNK_SIZE): New.
1474 (gcov_counter_add): Use mmap to allocate pool for struct
1475 gcov_kvp.
1476
d97a92dc
GA
14772021-03-02 Michael Meissner <meissner@linux.ibm.com>
1478
1479 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1480 the function.
1481 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1482
4028d01a
GA
14832021-02-24 Jakub Jelinek <jakub@redhat.com>
1484
1485 PR libgcc/99236
1486 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1487 negation of m in unsigned type.
1488
14892021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1490 Hau Hsu <hsuhau617@gmail.com>
1491
1492 PR target/99157
1493 * config/arm/t-arm: Fix cmse support detection.
1494
2f5765cf
GA
14952021-02-22 Michael Meissner <meissner@linux.ibm.com>
1496
1497 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1498
14992021-02-22 Michael Meissner <meissner@linux.ibm.com>
1500
1501 * config/rs6000/_dd_to_kf.c: New file.
1502 * config/rs6000/_kf_to_dd.c: New file.
1503 * config/rs6000/_kf_to_sd.c: New file.
1504 * config/rs6000/_kf_to_td.c: New file.
1505 * config/rs6000/_sd_to_kf.c: New file.
1506 * config/rs6000/_sprintfkf.c: New file.
1507 * config/rs6000/_sprintfkf.h: New file.
1508 * config/rs6000/_strtokf.h: New file.
1509 * config/rs6000/_strtokf.c: New file.
1510 * config/rs6000/_td_to_kf.c: New file.
1511 * config/rs6000/quad-float128.h: Add new declarations.
1512 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1513 (fp128_decstr_funcs): New macro.
1514 (ibm128_dec_funcs): New macro.
1515 (fp128_ppc_funcs): Add the new conversions.
1516 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1517 compiled with -mabi=ieeelongdouble.
1518 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1519 compiled with -mabi=ibmlongdouble.
1520 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1521 compiled with -mabi=ieeelongdouble.
1522 (FP128_CFLAGS_DECIMAL): New macro.
1523 (IBM128_CFLAGS_DECIMAL): New macro.
1524 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1525 (BFP_TO_DFP): Add PowerPC _Float128 support.
1526 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1527 IEEE 128-bit floating point.
1528 (DFP_TO_BFP): Add PowerPC _Float128 support.
1529 (BFP_TO_DFP): Add PowerPC _Float128 support.
1530 (BFP_SPRINTF): New macro.
1531
aa69f0a8
GA
15322021-01-27 Jakub Jelinek <jakub@redhat.com>
1533
1534 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1535 * config/i386/savms64f.h: Likewise.
1536 * config/i386/resms64.h: Likewise.
1537 * config/i386/resms64f.h: Likewise.
1538 * config/i386/resms64x.h: Likewise.
1539 * config/i386/resms64fx.h: Likewise.
1540
e62bb7f0
GA
15412021-01-26 Martin Liska <mliska@suse.cz>
1542
1543 PR gcov-profile/98739
1544 * libgcov.h (gcov_topn_add_value): Do not train when
1545 we have a merged profile with a negative number of total
1546 value.
1547
161e4c08
GA
15482021-01-25 Martin Liska <mliska@suse.cz>
1549
1550 PR gcov-profile/98739
1551 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1552 ends with a dropped counter.
1553 * libgcov.h (gcov_topn_add_value): Add return value.
1554
be0851b8
GA
15552021-01-13 Stafford Horne <shorne@gmail.com>
1556
1557 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1558 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1559 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1560 FP_EX_ALL): New constant macros.
1561 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1562 FP_HANDLE_EXCEPTIONS): New macros.
1563 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1564
15652021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1566
1567 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1568 posix siginfo case to struct handler_args. Detect between legacy
1569 and siginfo from the second parameter, which is a small sigcode in
1570 the legacy case, and a pointer in the siginfo case.
1571
108beb75
GA
15722020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1573
1574 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1575 functions.
1576 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1577 _bswapdi2.
1578
f6e8e279
GA
15792020-12-08 Ian Lance Taylor <iant@golang.org>
1580
1581 * generic-morestack-thread.c (free_segments): Block signals during
1582 thread exit.
1583
b8dd0ef7
GA
15842020-12-03 Michael Meissner <meissner@linux.ibm.com>
1585
1586 PR libgcc/97543
1587 PR libgcc/97643
1588 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1589 (IBM128_SHARED_OBJS): New make variable.
1590 (IBM128_OBJS): New make variable. Set all objects to use the
1591 explicit IBM format, and disable gnu attributes.
1592 (IBM128_CFLAGS): New make variable.
1593 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1594 modules.
1595
15962020-12-03 Alexandre Oliva <oliva@adacore.com>
1597
1598 * config/t-vxworks (LIB2ADD): Drop.
1599 * config/t-vxworks7 (LIB2ADD): Likewise.
1600 * config/vxcache.c: Remove.
1601
94358e47
GA
16022020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1603
1604 * libgcc2.c (bswapsi2): Make constants unsigned.
1605
360258da
GA
16062020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1607
1608 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1609 builtin_add_overflow.
1610 (absvsi2, absvDI2): Likewise.
1611
82e5048e
GA
16122020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1613
1614 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1615 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1616
25bb75f8
GA
16172020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1618
1619 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1620 (if MUL_32): Use mult64_hw for __muldi3.
1621 (if MUL_F5): Use mult64_hw for __muldi3.
1622 * config/msp430/lib2mul.c (__muldi3): New.
1623 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1624
29c5d9ce
GA
16252020-11-17 Alan Modra <amodra@gmail.com>
1626
1627 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1628 (LIB2_SIDITI_CONV_FUNCS): Define.
1629 * config/rs6000/ppc64-fp.c: Delete file.
1630
cba30651
GA
16312020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1632
1633 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1634 hwmult library functions.
1635
bb622641
GA
16362020-11-10 Jeff Law <law@redhat.com>
1637
1638 * libgcc2.c: Fix whitespace issues in most recent change.
1639
16402020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1641
1642 * libgcc2.c (__addvSI3): Use overflow builtins.
1643 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1644 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1645 (__negvsi2, __negvDI2): Likewise.
1646 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1647 generated code.
1648 * libgcc2.h (__ucmpdi2): Adjust prototype.
1649
fd2325ea
GA
16502020-11-03 Pat Bernardi <bernardi@adacore.com>
1651 Olivier Hainque <hainque@adacore.com>
1652
1653 * config.host (aarch64-vxworks7*, tmake_file): Add
1654 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1655
16562020-11-03 Martin Storsjö <martin@martin.st>
1657
1658 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1659 before calling the callback.
1660
88ce3d5f
GA
16612020-10-30 Olivier Hainque <hainque@adacore.com>
1662 Douglas Rupp <rupp@adacore.com>
1663 Pat Bernardi <bernardi@adacore.com>
1664
1665 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1666 to apply to VxWorks 7 as well.
1667
4f0606fe
GA
16682020-10-29 Olivier Hainque <hainque@adacore.com>
1669
1670 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1671 controlling the definition of VX_ENTER_TLS_DTOR and
1672 VX_LEAVE_TLS_DTOR based on a version major check.
1673
16742020-10-29 Olivier Hainque <hainque@adacore.com>
1675
1676 * config/gthr-vxworks-thread.c: Fix name of macro used
1677 to condition the inclusion of an actual implementation.
1678
89bb01e7
GA
16792020-10-27 Martin Liska <mliska@suse.cz>
1680
1681 PR gcov-profile/97461
1682 * libgcov.h (gcov_counter_add): Use first static counters
1683 as it should help to have malloc wrappers set up.
1684
efe71fcc
GA
16852020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1686
1687 * config/gthr-vxworks-thread.c: #include gthr.h before
1688 testing the guard defined there.
1689 * config/gthr-vxworks-cond.c: Likewise.
1690
56ddd5e2
GA
16912020-10-21 Douglas Rupp <rupp@adacore.com>
1692 Olivier Hainque <hainque@adacore.com>
1693
1694 * config.host (powerpc*-wrs-vxworks7*): New case.
1695 * configure.ac: Handle powerpc*-*-vxworks7* as
1696 powerpc*-*-linux* for ppc-fp_type.
1697 * configure: Regenerate.
1698
56e4eee9
GA
16992020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1700
1701 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1702 section on VxWorks >= 6.
1703 * config/gthr-vxworks-thread.c: Condition the entire
1704 implementation on __GTHREAD_CXX0X.
1705
17062020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1707
1708 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1709 section on VxWorks >= 6.
1710 * config/gthr-vxworks-cond.c: Condition the entire
1711 implementation on __GTHREAD_HAS_COND.
1712
17132020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1714
1715 * config/gthr-vxworks.c: #include <taskLib.h>.
1716
17172020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1718
1719 * config/gthr-vxworks.h: Rewrite remaining occurrence
1720 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1721
17222020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1723 Olivier Hainque <hainque@adacore.com>
1724
1725 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1726 except on VxWorks 6.
1727
17282020-10-16 Olivier Hainque <hainque@adacore.com>
1729
1730 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1731
b2698c21
GA
17322020-10-14 Alexandre Oliva <oliva@adacore.com>
1733
1734 * config/gthr-vxworks-thread.c: Include stdlib.h.
1735 (tls_delete_hook): Prototype it.
1736 (__gthread_cond_signal): Return early if no waiters. Consume
1737 signal in case the semaphore got full. Use semInfoGet instead
1738 of kernel-mode-only semInfo.
1739 (__gthread_cond_timedwait): Use semExchange. Always take the
1740 mutex again before returning.
1741 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1742
17432020-10-14 Olivier Hainque <hainque@adacore.com>
1744
1745 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1746 $(MULTISUBDIR) to the -I path for fixed headers, as we
1747 arrange to have different sets of such headers for different
1748 multilibs when they are activated.
1749 * config/t-vxworks7: Likewise.
1750
17512020-10-14 Olivier Hainque <hainque@adacore.com>
1752
1753 * config/t-vxworks: Add include-fixed to include search
1754 paths for libgcc on VxWorks.
1755 * config/t-vxworks7: Likewise.
1756
c74a0e82
GA
17572020-10-09 H.J. Lu <hjl.tools@gmail.com>
1758
1759 PR target/97148
1760 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1761 instead of <cetintrin.h>.
1762
6c2675fa
GA
17632020-10-01 Alan Modra <amodra@gmail.com>
1764
1765 * config/rs6000/morestack.S,
1766 * config/rs6000/tramp.S: Support __PCREL__ code.
1767
17682020-10-01 Alan Modra <amodra@gmail.com>
1769
1770 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1771
93bca37c
GA
17722020-09-29 Maciej W. Rozycki <macro@wdc.com>
1773
1774 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1775 variable.
1776
e84761c6
GA
17772020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1778
1779 * config/aarch64/libgcc-softfp.ver: New file.
1780 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1781
4383c595
GA
17822020-09-27 Clement Chigot <clement.chigot@atos.net>
1783
1784 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1785
521d2711
GA
17862020-09-22 Sergei Trofimovich <siarheit@google.com>
1787
1788 PR gcov-profile/96913
1789 * libgcov-driver.c (write_one_data): Avoid function pointer
1790 comparison in TOP streaming decision.
1791
2aad20c0
GA
17922020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1793 Christophe Lyon <christophe.lyon@linaro.org>
1794
1795 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1796 qualifier.
1797 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1798 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1799 missing prototypes.
1800
18012020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1802
1803 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1804 unused variable warning.
1805
ecde1b0a
GA
18062020-09-16 Jojo R <jiejie_rong@c-sky.com>
1807
1808 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1809
80f86e78
GA
18102020-09-09 Tom de Vries <tdevries@suse.de>
1811
1812 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1813 Wbuiltin-declaration-mismatch.
1814
57ea0894
GA
18152020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1816
1817 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1818 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1819 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1820
b3cb5606
GA
18212020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1822
1823 * config/nvptx/atomic.c: New.
1824 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1825
6a1ad710
GA
18262020-08-03 Ian Lance Taylor <iant@golang.org>
1827
1828 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1829
18302020-08-03 Jakub Jelinek <jakub@redhat.com>
1831
1832 PR target/96402
1833 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1834 of x(tmp0), x(tmp1) in STXP arguments.
1835
48cc2e46
GA
18362020-07-31 Maciej W. Rozycki <macro@wdc.com>
1837
1838 * config/riscv/save-restore.S [__riscv_xlen == 64]
1839 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1840 (__riscv_save_2): Replace negative immediates used for the final
1841 stack pointer adjustment with positive ones, right-shifted by 4.
1842
18432020-07-31 Martin Liska <mliska@suse.cz>
1844
1845 * libgcov-driver.c: Add __gcov_kvp_pool
1846 and __gcov_kvp_pool_index variables.
1847 * libgcov.h (allocate_gcov_kvp): New.
1848 (gcov_topn_add_value): Use it.
1849
53256ee3
GA
18502020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1851
1852 * config/aarch64/lse.S: Add PAC property note.
1853
9bb403dc
GA
18542020-07-23 Martin Liska <mliska@suse.cz>
1855
1856 PR gcov-profile/96035
1857 * libgcov-driver-system.c: Create gcov folders with 0777
1858 so that it respects a system umask.
1859
8ca07a30
GA
18602020-07-14 David Edelsohn <dje.gcc@gmail.com>
1861
1862 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1863
ea69fcf9
GA
18642020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1865
1866 PR target/94891
1867 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1868 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1869 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1870 (MD_DEMANGLE_RETURN_ADDR): This.
1871 (aarch64_post_extract_frame_addr): Rename to ...
1872 (aarch64_demangle_return_addr): This.
1873 (aarch64_post_frob_eh_handler_addr): Remove.
1874 * unwind-dw2.c (uw_update_context): Demangle return address.
1875 (uw_frob_return_addr): Remove.
1876
3f8ca9cb
GA
18772020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1878
1879 PR target/96001
1880 * config/aarch64/lse.S: Add BTI marking and related definitions,
1881 and add BTI c to function entries.
1882
18832020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1884
1885 * config/aarch64/lse.S: Add stack note.
1886
b5f24739
GA
18872020-07-02 Martin Liska <mliska@suse.cz>
1888
1889 PR gcov-profile/95348
1890 * libgcov-driver.c (merge_one_data): Merge only profiles
1891 that are not of non-zero type.
1892 (write_one_data): Write counters only if there's one non-zero
1893 value.
1894 * libgcov-util.c (tag_function): Change signature from unsigned
1895 to int.
1896 (tag_blocks): Likewise.
1897 (tag_arcs): Likewise.
1898 (tag_counters): Likewise.
1899 (tag_summary): Likewise.
1900 (tag_lines): Read only if COUNTERS is non-zero.
1901 (read_gcda_file): Handle negative length for COUNTERS type.
1902
d61ffe12
GA
19032020-06-25 Martin Liska <mliska@suse.cz>
1904
1905 * libgcov-driver.c (merge_summary): Remove function as its name
1906 is misleading and doing something different.
1907 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1908 in gcov-tool.
1909 * libgcov-util.c (curr_object_summary): Remove.
1910 (read_gcda_file): Remove unused curr_object_summary.
1911 (gcov_merge): Merge summaries.
1912 * libgcov.h: Add summary argument for gcov_info struct.
1913
2e546c26
GA
19142020-06-24 H.J. Lu <hjl.tools@gmail.com>
1915
1916 PR target/95259
1917 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1918 "common/config/i386/i386-cpuinfo.h" and
1919 "common/config/i386/cpuinfo.h".
1920 (__cpu_features2): Changed to array.
1921 (get_amd_cpu): Removed.
1922 (get_intel_cpu): Likewise.
1923 (get_available_features): Likewise.
1924 (__cpu_indicator_init): Call cpu_indicator_init.
1925 * config/i386/cpuinfo.h: Removed.
1926
4543acc8
GA
19272020-06-23 David Edelsohn <dje.gcc@gmail.com>
1928
1929 * Makefile.in: Remove uses of empty.mk. Use -include.
1930 * config/avr/t-avr: Use -include.
1931 * empty.mk: Delete.
1932
f86e11a2
GA
19332020-06-21 David Edelsohn <dje.gcc@gmail.com>
1934
1935 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1936 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1937 and 64 bit with -maix64.
1938 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1939 Build and install AIX-style FAT libraries.
1940
aff95ee7
GA
19412020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1942
1943 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1944 'i386/gnu-unwind.h'
1945 * config/i386/gnu-unwind.h: New file.
1946
19472020-06-17 Martin Liska <mliska@suse.cz>
1948
1949 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1950 (merge_wrapper): Add both counts and use them properly.
1951 (topn_to_memory_representation): New function.
1952 (gcov_merge): Covert on disk representation to in memory
1953 representation.
1954 * libgcov.h: Remove const operator.
1955
6fb94d67
GA
19562020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1957
1958 * configure: Regenerate.
1959 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1960 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1961
b952c2cf
GA
19622020-06-09 Martin Liska <mliska@suse.cz>
1963
1964 PR gcov-profile/95494
1965 * libgcov-driver.c (write_top_counters): Cast first to
1966 intptr_t as sizeof(*) != sizeof(gcov_type).
1967 * libgcov.h (gcov_counter_set_if_null): Remove.
1968 (gcov_topn_add_value): Cast first to intptr_t and update
1969 linked list directly.
1970
19712020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1972
1973 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1974 with uw_install_context_1.
1975
3add3425
GA
19762020-06-04 Andreas Schwab <schwab@suse.de>
1977
1978 PR target/59230
1979 PR libfortran/59227
1980 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1981 soft-fp/divtf3.c.
1982 (LIB2ADD): Add config/ia64/divtf3.c.
1983 * config/ia64/divtf3.c: New file.
1984
9a5b7438
GA
19852020-06-03 Martin Liska <mliska@suse.cz>
1986
1987 PR gcov-profile/95480
1988 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1989 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1990 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1991 (gcov_counter_set_if_null): Likewise.
1992
a9312a79
GA
19932020-06-02 Jim Wilson <jimw@sifive.com>
1994
1995 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1996 to bgtz.
1997
19982020-06-02 Martin Liska <mliska@suse.cz>
1999
2000 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2001 of xmalloc.
2002
20032020-06-02 Martin Liska <mliska@suse.cz>
2004
2005 * libgcov-driver.c (prune_topn_counter): Remove.
2006 (prune_counters): Likewise.
2007 (merge_one_data): Special case TOP N counters
2008 as they have variable length.
2009 (write_top_counters): New.
2010 (write_one_data): Special case TOP N.
2011 (dump_one_gcov): Do not prune TOP N counters.
2012 * libgcov-merge.c (merge_topn_values_set): Remove.
2013 (__gcov_merge_topn): Use gcov_topn_add_value.
2014 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2015 Likewise here.
2016 * libgcov.h (gcov_counter_add): New.
2017 (gcov_counter_set_if_null): Likewise.
2018 (gcov_topn_add_value): New.
2019
4a9aa9de
GA
20202020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2021
2022 * config/i386/sfp-exceptions.c (struct fenv):
2023 Add __attribute__ ((gcc_struct)).
2024
885ef72f
GA
20252020-05-29 H.J. Lu <hjl.tools@gmail.com>
2026
2027 PR bootstrap/95413
2028 * configure: Regenerated.
2029
53ffb43a
GA
20302020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2031
2032 PR gcov-profile/95332
2033 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2034 * libgcov.h (gcov_magic): Disable GCC poison.
2035
5855bdfa
L
20362020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2037
2038 PR target/95212
2039 * config/i386/cpuinfo.h (processor_features): Move
2040 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2041
35b98036
L
20422020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2043
2044 PR target/91695
2045 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2046 check.
2047
45395445
L
20482020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 PR target/95212
2051 PR target/95220
2052 * config/i386/cpuinfo.c (get_available_features): Fix
2053 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2054 * config/i386/cpuinfo.h (processor_features): Add
2055 FEATURE_AVX512VP2INTERSECT.
2056
4c1a5d8b
L
20572020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 PR bootstrap/95147
2060 * configure: Regenerated.
2061
8d286dd1
L
20622020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2063
2064 * configure: Regenerated.
2065
39748a89
HPN
20662020-05-09 Hans-Peter Nilsson <hp@axis.com>
2067
2068 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2069 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2070
d3a1459c
UB
20712020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2072
2073 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2074 (__math_force_eval_div): New define.
2075 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2076 generic division to generate INVALID, DIVZERO and INEXACT
2077 exceptions.
2078
12667785
KT
20792020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2080
2081 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2082 instead of getauxval.
2083 (AT_HWCAP): Define.
2084 (HWCAP_ATOMICS): Define.
2085 Guard detection on __gnu_linux__.
2086
ef836167
MM
20872020-05-05 Michael Meissner <meissner@linux.ibm.com>
2088
2089 * config.host: Delete changes meant for a private branch.
2090 * config/rs6000/t-float128: Likewise.
2091 * configure.ac: Likewise.
2092 * configure: Likewise.
2093
811b7636
ML
20942020-05-05 Martin Liska <mliska@suse.cz>
2095
2096 PR gcov-profile/93623
2097 * Makefile.in: Remove __gcov_flush.
2098 * gcov.h (__gcov_flush): Remove.
2099 * libgcov-interface.c (__gcov_flush): Remove.
2100 (init_mx): Use renamed mutex.
2101 (__gcov_lock): Likewise.
2102 (__gcov_unlock): Likewise.
2103 (__gcov_fork): Likewise.
2104 (__gcov_flush): Remove.
2105
c0532db4
ML
21062020-05-05 Martin Liska <mliska@suse.cz>
2107
2108 PR gcov-profile/93623
2109 * libgcov-interface.c (__gcov_fork): Do not flush
2110 and reset only in child process.
2111 (__gcov_execl): Dump counters only and reset them
2112 only if exec* fails.
2113 (__gcov_execlp): Likewise.
2114 (__gcov_execle): Likewise.
2115 (__gcov_execv): Likewise.
2116 (__gcov_execvp): Likewise.
2117 (__gcov_execve): Likewise.
2118
d39f7dc8
ML
21192020-05-05 Martin Liska <mliska@suse.cz>
2120
2121 PR gcov-profile/93623
2122 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2123 * libgcov-interface.c (ALIAS_void_fn): Remove.
2124 (__gcov_lock): New.
2125 (__gcov_unlock): New.
2126 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2127 (__gcov_reset): Likewise.
2128 (__gcov_dump): Likewise.
2129 * libgcov.h (__gcov_lock): New declaration.
2130 (__gcov_unlock): Likewise.
2131
afb9b710
UB
21322020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2133
2134 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2135 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2136 generic division to generate INVALID and DIVZERO exceptions.
2137
66711279
SH
21382020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2139
2140 * config/rs6000/crtresfpr.S: Use .machine ppc.
2141 * config/rs6000/crtresxfpr.S: Likewise.
2142 * config/rs6000/crtsavfpr.S: Likewise.
2143
fb22faf4
SN
21442020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2145
2146 PR target/94514
2147 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2148 Update context->flags accroding to the frame state.
2149
df73e584
UB
21502020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2151
2152 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2153 Remove unneeded assignments to volatile memory.
2154
5b2f76e3
JJ
21552020-04-15 Jakub Jelinek <jakub@redhat.com>
2156
2157 PR target/93053
2158 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2159 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2160 is not defined, use just .arch armv8-a.
2161 (B, M, N, OPN): Define.
2162 (COMMENT): New .macro.
2163 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2164 defined. Otherwise, move the operands right after the glue? and
2165 comment out operands where the macros are used.
2166 * configure: Regenerated.
2167 * config.in: Regenerated.
2168
50c78532
ILT
21692020-04-07 Ian Lance Taylor <iant@golang.org>
2170
2171 PR libgcc/94513
2172 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2173 syscall instead.
2174
458ca332
ILT
21752020-04-04 Ian Lance Taylor <iant@golang.org>
2176
2177 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2178
710d54ed
ILT
21792020-04-03 Ian Lance Taylor <iant@golang.org>
2180
2181 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2182 than mmap/munmap, to avoid hooks.
2183
b749b5ec
JJ
21842020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2185
2186 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2187 (TPFRA_OFFSET): Macros removed.
2188 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2189 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2190 (PG3_SKIPPING_OFFSET): New macros.
2191 (__isPATrange): Use cinfc_fast for the check.
2192 (__isSkipResetAddr): New function.
2193 (s390_fallback_frame_state): Check for skip trace addresses. Use
2194 either ICST_CRET or ICST_SRET to calculate return address
2195 location.
2196 (__tpf_eh_return): Handle skip trace addresses.
2197
a9cd2d78
RE
21982020-03-26 Richard Earnshaw <rearnsha@arm.com>
2199
2200 PR target/94220
2201 * config/arm/lib1funcs.asm (COND): Use a single definition for
2202 unified syntax.
2203 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2204 (aeabi_idivmod): Likewise.
2205 (divsi3_skip_div0_test): Likewise.
2206
f582ca0f
MI
22072020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2208
2209 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2210
068fe0a9
AK
22112020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2212
2213 * config.host: Include the new makefile fragment.
2214 * config/s390/t-tpf: New file.
2215
6b9ce2b4
RE
22162020-03-03 Richard Earnshaw <rearnsha@arm.com>
2217
2218 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2219 syntax.
2220 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2221 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2222 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2223 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2224 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2225 syntax.
2226 (divsi3, modsi3): Likewise.
2227 (clzdi2, ctzsi2): Likewise.
2228 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2229 unified syntax.
2230 (UNWIND_WRAPPER): Likewise.
2231
8dd5d8f3
ML
22322020-03-02 Martin Liska <mliska@suse.cz>
2233
2234 * libgcov-interface.c: Remove duplicate
2235 declaration of __gcov_flush_mx.
2236
ea0b1252
ML
22372020-02-18 Martin Liska <mliska@suse.cz>
2238
2239 PR ipa/92924
2240 * libgcov-merge.c (merge_topn_values_set): Record
2241 when a TOP N counter becomes invalid. When merging
2242 remove a smallest value if the space is needed.
2243
02ce382c
SL
22442020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2245
2246 PR libstdc++/79193
2247 PR libstdc++/88999
2248
2249 * configure: Regenerated.
2250
7214fce3
JL
22512020-02-10 Jeff Law <law@redhat.com>
2252
2253 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2254 sections.
2255 * config/frv/frvend.c: Similarly.
2256
cf0f07ef
L
22572020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2258
2259 PR libgcc/85334
2260 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2261 New.
2262
5602b48b
CL
22632020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2264
2265 PR target/93615
2266 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2267 _Unwind_gnu_Find_got.
2268 * unwind-pe.h: Likewise.
2269
811a475e
JJ
22702020-02-07 Jakub Jelinek <jakub@redhat.com>
2271
2272 PR target/93615
2273 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2274 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2275 trailing :s in asm. Formatting fixes.
2276 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2277
2d33dcfe
SL
22782020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2279
2280 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2281
2282 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2283 * config/nios2-elf-lib.h: New.
2284 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2285 code for finding GOT base for nios2.
2286
3ae37f92
ML
22872020-01-27 Martin Liska <mliska@suse.cz>
2288
2289 PR gcov-profile/93403
2290 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2291 Call __gcov_indirect_call_profiler_body.
2292 (__gcov_indirect_call_profiler_body): New.
2293 (__gcov_indirect_call_profiler_v4_atomic): New.
2294 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2295 New declaration.
2296
2744b8b2
CZ
22972020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2298
2299 * config/arc/crti.S: Add RF16 object attribute.
2300 * config/arc/crtn.S: Likewise.
2301 * config/arc/crttls.S: Likewise.
2302 * config/arc/lib1funcs.S: Likewise.
2303 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2304 * config/arc/lib2funcs.c: New file.
2305 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2306
e8e66971
MR
23072020-01-24 Maciej W. Rozycki <macro@wdc.com>
2308
2309 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2310 * configure.ac: Handle `--with-toolexeclibdir='.
2311 * configure: Regenerate.
2312
54b3d52c
DM
23132020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2314
2315 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2316
a3c1e1f2
DM
23172020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2318
2319 * config/mips/gnustack.h: New file.
2320 * config/mips/crti.S: Include gnustack.h.
2321 * config/mips/crtn.S: Likewise.
2322 * config/mips/mips16.S: Likewise.
2323 * config/mips/vr4120-div.S: Likewise.
2324
e9ee848d
ML
23252020-01-23 Martin Liska <mliska@suse.cz>
2326
2327 * libgcov-driver.c (prune_topn_counter): Remove
2328 check for -1 as we only prune run-time counters
2329 that do not generate an invalid state.
2330
7491c17f
ML
23312020-01-22 Martin Liska <mliska@suse.cz>
2332
2333 PR tree-optimization/92924
2334 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2335 try to find an existing value, then find an empty slot
2336 if not found.
2337
5f32f9cf
ML
23382020-01-22 Martin Liska <mliska@suse.cz>
2339
2340 PR tree-optimization/92924
2341 * libgcov-driver.c (prune_topn_counter): New.
2342 (prune_counters): Likewise.
2343 (dump_one_gcov): Prune a run-time counter.
2344 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2345 For a known value, add GCOV_TOPN_VALUES to value.
2346 Otherwise, decrement all counters by one.
2347
463f6499
HPN
23482020-01-18 Hans-Peter Nilsson <hp@axis.com>
2349
2350 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2351
84479e3a
JDA
23522020-01-18 John David Anglin <danglin@gcc.gnu.org>
2353
2354 PR libgcc/92988
2355 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2356 DEFAULT_USE_CXA_ATEXIT is true.
2357
e953433f 23582020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 2359 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
2360
2361 * config/arm/t-arm: Check return value of gcc rather than lack of
2362 output.
2363
03e87724
GJL
23642020-01-14 Georg-Johann Lay <avr@gjlay.de>
2365
2366 * config/avr/lib1funcs.S (skip): Simplify.
2367
af9bd920
KCY
23682020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2369
2370 * config/gcn/atomic.c: Remove include of stdint.h.
2371 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2372 __UINTPTR_TYPE__.
2373
d6491d15
KCY
23742020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2375
2376 * config/gcn/atomic.c: New.
2377 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2378
f30dd607
GJL
23792020-01-08 Georg-Johann Lay <avr@gjlay.de>
2380
2381 Implement 64-bit double functions.
2382
2383 PR target/92055
2384 * config.host (tmake_file) [target=avr]: Add t-libf7,
2385 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2386 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2387 depending on sizeof (double) or sizeof (long double).
2388 * config/avr/libf7: New folder.
2389
5205a445
OH
23902020-01-05 Olivier Hainque <hainque@adacore.com>
2391
2392 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2393 by IN_LIBGCC2.
2394
8d9254fc
JJ
23952020-01-01 Jakub Jelinek <jakub@redhat.com>
2396
2397 Update copyright years.
2398
abb6c3ee
OH
23992019-12-30 Olivier Hainque <hainque@adacore.com>
2400
2401 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2402 * config/gthr-vxworks-tls.c: Likewise.
2403
d7f5094a
OH
24042019-12-30 Olivier Hainque <hainque@adacore.com>
2405
2406 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2407 standard zero-initializer syntax.
2408
49cfaa2a
OH
24092019-12-30 Olivier Hainque <hainque@adacore.com>
2410
2411 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2412 reference to the internal VX_GET_TLS_DATA interface.
2413
89b9a554
OH
24142019-12-30 Olivier Hainque <hainque@adacore.com>
2415
2416 * config/vxcrtstuff.c: Fix incorrect spelling of
2417 USE_INITFINI_ARRAY in guard.
2418
e8aa9f55
JL
24192019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2420
2421 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2422 Override default "extra_parts" variable.
2423 * configure: Regenerate.
2424 * configure.ac: Disable TM clone registry by default for
2425 msp430-elfbare.
2426
a9046e98
JL
24272019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2428
2429 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2430 "extra_parts".
2431 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2432
34a53788
JL
24332019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2434
2435 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2436 true.
2437
21a098f4
JL
24382019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2439
2440 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2441 defined instead of its value.
2442
ad8b7783
JL
24432019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2444
2445 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2446 if it will have contents.
2447
08d7ff78
GJL
24482019-12-05 Georg-Johann Lay <avr@gjlay.de>
2449
2450 PR target/92055
2451 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2452
3d3a96a2
SN
24532019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2454
34b4d99d 2455 PR libgcc/91737
3d3a96a2
SN
2456 * config.host: Add t-gthr-noweak on *-*-musl*.
2457 * config/t-gthr-noweak: New file.
2458
632b5e3d
JDA
24592019-11-17 John David Anglin <danglin@gcc.gnu.org>
2460
2461 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2462 volatile void *. Remove trap check.
2463 (__kernel_cmpxchg2): Likewise.
2464 (FETCH_AND_OP_2): Adjust operand types.
2465 (OP_AND_FETCH_2): Likewise.
2466 (FETCH_AND_OP_WORD): Likewise.
2467 (OP_AND_FETCH_WORD): Likewise.
2468 (COMPARE_AND_SWAP_2): Likewise.
2469 (__sync_val_compare_and_swap_4): Likewise.
2470 (__sync_bool_compare_and_swap_4): Likewise.
2471 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2472 (__sync_lock_test_and_set_4): Likewise.
2473 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2474 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2475 for release.
2476 (__sync_lock_release_8): Remove.
2477
838fd641
SN
24782019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2479
2480 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2481 of __sigset_t.
2482
27204060
JL
24832019-11-14 Jerome Lambourg <lambourg@adacore.com>
2484 Doug Rupp <rupp@adacore.com>
2485 Olivier Hainque <hainque@adacore.com>
2486
2487 * config.host: Collapse the arm-vxworks entries into
2488 a single arm-wrs-vxworks7* one.
2489 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2490 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2491 kernel modules, to be overriden by libstdc++ when we link with
2492 it. Rely on externally provided __exidx_start/end.
2493
3004f893
DR
24942019-11-14 Doug Rupp <rupp@adacore.com>
2495 Olivier Hainque <hainque@adacore.com>
2496
2497 * config.host: Handle aarch64*-wrs-vxworks7*.
2498
36e5f4d4
OH
24992019-11-12 Olivier Hainque <hainque@adacore.com>
2500
2501 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2502 sources except the cxx0x support to LIB2ADDEH. We don't support
2503 cxx0x on AE/653.
2504 * config/t-vxworksae: New file.
2505 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2506 Makefile fragment files at their expected position in the tmake_file
2507 list, in accordance with what is done for other VxWorks variants.
2508
806dd047
CG
25092019-11-12 Corentin Gay <gay@adacore.com>
2510 Jerome Lambourg <lambourg@adacore.com>
2511 Olivier Hainque <hainque@adacore.com>
2512
2513 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2514 sources to LIB2ADDEH.
2515 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2516 * config/t-vxworks7: Likewise.
2517
2518 * config.host: Append a block at the end of the file to add the
2519 t-gthr files to the tmake_file list for VxWorks after everything
2520 else.
2521
2522 * config/vxlib.c: Rename as gthr-vxworks.c.
2523 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2524
2525 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2526 API and a basic error checking API, both internal. Simplify the
2527 __gthread_once_t type definition and initializers. Add sections
2528 for condition variables support and for the C++0x thread support,
2529 conditioned against Vx653 for the latter.
2530
2531 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2532 implementation, leveraging the TAS internal API.
2533 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2534 API, leveraging the general availability of TLS services in VxWorks7
2535 post SR6xxx.
2536 (__gthread_setspecific, __gthread_setspecific): Use it.
2537 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2538 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2539 support based on VxWorks primitives.
2540 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2541 based on VxWorks primitives.
2542
78e49fb1
JL
25432019-11-06 Jerome Lambourg <lambourg@adacore.com>
2544 Olivier Hainque <hainque@adacore.com>
2545
2546 * config/vxcrtstuff.c: New file.
2547 * config/t-vxcrtstuff: New Makefile fragment.
2548 * config.host: Append t-vxcrtstuff to the tmake_file list
2549 on all VxWorks ports using dwarf for table based EH.
2550
29f3def3
GJL
25512019-11-07 Georg-Johann Lay <avr@gjlay.de>
2552
2553 Support 64-bit double and 64-bit long double configurations.
2554
2555 PR target/92055
2556 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2557 long double is a 32-bit type.
2558 * config/avr/t-avrlibc: Copy double64 and long-double64
2559 multilib(s) from the vanilla one.
2560 * config/avr/t-copy-libgcc: New Makefile snip.
2561
62ec242e
JL
25622019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2563
2564 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2565 the target output object format is not ELF.
2566 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2567
da5c1bbe
OE
25682019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2569
2570 PR libgcc/78804
2571 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2572 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2573 FLOAT_BIT_ORDER_MISMATCH.
2574 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2575
8dc56a22
JW
25762019-11-01 Jim Wilson <jimw@sifive.com>
2577
2578 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2579
91c64455
JL
25802019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2581
2582 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2583 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2584 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2585 Define symbols for 32-bit and f5series hardware multiply
2586 register addresses.
2587 Replace hard-coded register addresses with symbols.
2588 Fix "_mspabi*" typo.
2589 Fix whitespace.
2590 * config/msp430/lib2mul.c: Add comment.
2591
85093ac6
JDA
25922019-10-15 John David Anglin <danglin@gcc.gnu.org>
2593
2594 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2595 unsigned int. Adjust callers.
2596 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2597 unsigned int *. Load relocation offset before function pointer.
2598 Add barrier to ensure ordering.
2599
1aea083d
JDA
26002019-10-12 John David Anglin <danglin@gcc.gnu.org>
2601
2602 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2603 Load PIC register after branch target. Fix white space.
2604 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2605 implementations. Load PIC register after branch target. Don't
2606 clobber function pointer when it points to function descriptor.
2607 Use nullification instead of branch in LINUX implementation.
2608
c49af82c
JDA
26092019-10-03 John David Anglin <danglin@gcc.gnu.org>
2610
2611 * config/pa/fptr.c: Disable -Warray-bounds warning.
2612
88a51d68
RH
26132019-09-25 Richard Henderson <richard.henderson@linaro.org>
2614
9e46fd07
RH
2615 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2616 not the ubuntu modified 2.69.
2617
58d169ba
RH
2618 PR target/91833
2619 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2620 initialization if !HAVE_SYS_AUXV_H.
2621 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2622 * config.in, configure: Rebuild.
2623
88a51d68
RH
2624 PR target/91834
2625 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2626 overlap the inputs.
2627
761e6bb9
SZ
26282019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2629
2630 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2631 CTR_EL0.IDC and CTR_EL0.DIC.
2632
76c93295
CL
26332019-09-20 Christophe Lyon <christophe.lyon@st.com>
2634
2635 Revert:
2636 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2637 Mickaël Guêné <mickael.guene@st.com>
2638
2639 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2640 architecture.
2641
33befddc
RH
26422019-09-19 Richard Henderson <richard.henderson@linaro.org>
2643
2644 * config/aarch64/lse-init.c: New file.
2645 * config/aarch64/lse.S: New file.
2646 * config/aarch64/t-lse: New file.
2647 * config.host: Add t-lse to all aarch64 tuples.
2648
ae1152e5
CL
26492019-09-10 Christophe Lyon <christophe.lyon@st.com>
2650 Mickaël Guêné <mickael.guene@st.com>
2651
84818dbb
CL
2652 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2653 architecture.
2654
26552019-09-10 Christophe Lyon <christophe.lyon@st.com>
2656 Mickaël Guêné <mickael.guene@st.com>
2657
ae1152e5
CL
2658 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2659 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2660 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2661 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2662 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2663 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2664 (__gnu_personality_sigframe_fdpic): New.
2665 (get_eit_entry): Add FDPIC signal frame support.
2666
5d727a4b
CL
26672019-09-10 Christophe Lyon <christophe.lyon@st.com>
2668 Mickaël Guêné <mickael.guene@st.com>
2669
2670 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2671 (__kernel_dmb): Likewise.
2672 (__fdpic_cmpxchg): New function.
2673 (__fdpic_dmb): New function.
2674 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2675 (gnu_Unwind_Find_got): New function.
2676 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2677 * unwind-arm-common.inc (UCB_PR_GOT): New.
2678 (funcdesc_t): New struct.
2679 (get_eit_entry): Add FDPIC support.
2680 (unwind_phase2): Likewise.
2681 (unwind_phase2_forced): Likewise.
2682 (__gnu_Unwind_RaiseException): Likewise.
2683 (__gnu_Unwind_Resume): Likewise.
2684 (__gnu_Unwind_Backtrace): Likewise.
2685 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2686
b1e21e5a 26872019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2688 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2689
11189793
CL
2690 * libgcc/crtstuff.c: Add support for FDPIC.
2691
26922019-09-10 Christophe Lyon <christophe.lyon@st.com>
2693
2694 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2695
91dfef96
JM
26962019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2697
2698 * config.host: Set cpu_type for bpf-*-* targets.
2699 * config/bpf/t-bpf: Likewise.
2700 * config/bpf/crtn.S: Likewise.
2701 * config/bpf/crti.S: New file.
2702
2f4d8951
JW
27032019-09-06 Jim Wilson <jimw@sifive.com>
2704
2705 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2706 (riscv*-*-freebsd*): Likewise.
2707
2f2aeda9
UW
27082019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2709
2710 * config.host: Remove references to spu.
2711 * config/spu/: Remove directory.
2712
d16017da
JL
27132019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2714
2715 PR target/91306
2716 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2717 element type, instead of "sizeof" the element type.
2718 (__DTOR_LIST__): Likewise.
2719 (__TMC_LIST__): Likewise.
2720 (__do_global_dtors_aux_fini_array_entry): Likewise.
2721 (__frame_dummy_init_array_entry): Likewise.
2722 (__CTOR_END__): Likewise.
2723 (__DTOR_END__): Likweise.
2724 (__FRAME_END__): Likewise.
2725 (__TMC_END__): Likewise.
2726
a9fcfec3
HL
27272019-08-20 Lili Cui <lilicui@intel.com>
2728
2729 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2730 INTEL_COREI7_COOPERLAKE.
2731
428642b1
MT
27322019-07-31 Matt Thomas <matt@3am-software.com>
2733 Nick Hudson <nick@nthcliff.demon.co.uk>
2734 Matthew Green <mrg@eterna.com.au>
2735 Maya Rashish <coypu@sdf.org>
2736
2737 * config.host (hppa*-*-netbsd*): New case.
2738 * config/pa/t-netbsd: New file.
2739
f0efd925
JH
27402019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2741
2742 * config/arm/cmse.c (cmse_check_address_range): Add
2743 warn_unused_result attribute.
2744
a861990d
ML
27452019-07-22 Martin Liska <mliska@suse.cz>
2746
2747 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2748 * config/pa/t-stublib: Likewise.
2749
9c0dba7c
SH
27502019-07-22 Stafford Horne <shorne@gmail.com>
2751
2752 PR target/90362
2753 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2754 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2755 instructions are not available on every processor. Change a
2756 l.bnf to l.bf to fix logic issue.
2757
61afc8f8
IS
27582019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2759
2760 * config.host: Remove reference to t-darwin8.
2761
179c7ef5
IS
27622019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2763
2764 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2765 list.
2766 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2767 mmacosx-version-min for crts to run across all system versions.
2768 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2769 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2770 system versions >= 10.4.
2771
596341c7
ML
27722019-07-03 Martin Liska <mliska@suse.cz>
2773
2774 * Makefile.in: Use topn_values instead of one_value names.
2775 * libgcov-merge.c (__gcov_merge_single): Move to ...
2776 (__gcov_merge_topn): ... this.
2777 (merge_single_value_set): Move to ...
2778 (merge_topn_values_set): ... this.
2779 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2780 ...
2781 (__gcov_topn_values_profiler_body): ... this.
2782 (__gcov_one_value_profiler_v2): Move to ...
2783 (__gcov_topn_values_profiler): ... this.
2784 (__gcov_one_value_profiler_v2_atomic): Move to ...
2785 (__gcov_topn_values_profiler_atomic): ... this.
2786 (__gcov_indirect_call_profiler_v4): Remove.
2787 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2788 (__gcov_topn_counter_op): ... this.
2789 * libgcov.h (L_gcov_merge_single): Remove.
2790 (L_gcov_merge_topn): New.
2791 (__gcov_merge_single): Remove.
2792 (__gcov_merge_topn): New.
2793 (__gcov_one_value_profiler_v2): Move to ..
2794 (__gcov_topn_values_profiler): ... this.
2795 (__gcov_one_value_profiler_v2_atomic): Move to ...
2796 (__gcov_topn_values_profiler_atomic): ... this.
2797
1b309ca5
ML
27982019-07-03 Martin Liska <mliska@suse.cz>
2799
2800 * libgcov-merge.c (merge_single_value_set): Support N values.
2801 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2802
5a460280
ID
28032019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2804
2805 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2806 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2807 * configure.ac: Add --disable-tm-clone-registry option.
2808 * configure: Regenerate.
2809
45309d28
ML
28102019-06-27 Martin Liska <mliska@suse.cz>
2811
2812 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2813 dead assignments.
2814 * libgcov-util.c: Likewise.
2815
c2f7a665
ML
28162019-06-27 Martin Liska <mliska@suse.cz>
2817
2818 * libgcov-util.c (gcov_profile_merge): Release allocated
2819 memory.
2820 (calculate_overlap): Likewise.
2821
a8e55c61
IS
28222019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2823
2824 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2825 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2826 Build objects for the out of line save/restore register functions
2827 so that they can be used for any supported Darwin version.
2828 * config/t-darwin: Default the build Darwin version to Darwin8
2829 (MacOS 10.4).
2830
e5ce4cbc
ML
28312019-06-25 Martin Liska <mliska@suse.cz>
2832
2833 * libgcov-driver-system.c (replace_filename_variables): Do not
2834 call strlen with NULL argument.
2835
52a47d28
AS
28362019-06-25 Andrew Stubbs <ams@codesourcery.com>
2837
2838 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2839 * config/gcn/unwind-gcn.c: New file.
2840
76d46331
KCY
28412019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2842 Andrew Stubbs <ams@codesourcery.com>
2843
2844 * configure: Regenerate.
2845 * config/gcn/gthr-gcn.h: New.
2846
787783a0
TV
28472019-06-18 Tom de Vries <tdevries@suse.de>
2848
2849 * config/nvptx/crt0.c (__main): Declare.
2850
f32f7585
MG
28512019-06-17 Matthew Green <mrg@eterna.com.au>
2852 Maya Rashish <coypu@sdf.org>
2853
2854 * config.host (aarch64*-*-netbsd*): New case.
2855
0fcc78f7
JL
28562019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2857
2858 * config/msp430/slli.S (__mspabi_sllll): New library function for
2859 performing a logical left shift of a 64-bit value.
2860 * config/msp430/srai.S (__mspabi_srall): New library function for
2861 performing a arithmetic right shift of a 64-bit value.
2862 * config/msp430/srll.S (__mspabi_srlll): New library function for
2863 performing a logical right shift of a 64-bit value.
2864
b27c1082
MT
28652019-06-14 Matt Thomas <matt@3am-software.com>
2866 Matthew Green <mrg@eterna.com.au>
2867 Nick Hudson <skrll@netbsd.org>
2868 Maya Rashish <coypu@sdf.org>
2869
2870 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2871 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2872 functions to build.
2873 * config/arm/t-netbsd-eabi: New file.
2874
ae7deb4b
DD
28752019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2876
2877 * config.host: Add PRU target.
2878 * config/pru/asri.c: New file.
2879 * config/pru/eqd.c: New file.
2880 * config/pru/eqf.c: New file.
2881 * config/pru/ged.c: New file.
2882 * config/pru/gef.c: New file.
2883 * config/pru/gtd.c: New file.
2884 * config/pru/gtf.c: New file.
2885 * config/pru/led.c: New file.
2886 * config/pru/lef.c: New file.
2887 * config/pru/lib2bitcountHI.c: New file.
2888 * config/pru/lib2divHI.c: New file.
2889 * config/pru/lib2divQI.c: New file.
2890 * config/pru/lib2divSI.c: New file.
2891 * config/pru/libgcc-eabi.ver: New file.
2892 * config/pru/ltd.c: New file.
2893 * config/pru/ltf.c: New file.
2894 * config/pru/mpyll.S: New file.
2895 * config/pru/pru-abi.h: New file.
2896 * config/pru/pru-asm.h: New file.
2897 * config/pru/pru-divmod.h: New file.
2898 * config/pru/sfp-machine.h: New file.
2899 * config/pru/t-pru: New file.
2900
0d7b3e47
JJ
29012019-06-11 Jakub Jelinek <jakub@redhat.com>
2902
2903 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2904
54e2d83c
ML
29052019-06-10 Martin Liska <mliska@suse.cz>
2906
2907 PR bootstrap/90808
2908 * libgcov.h: Add ATTRIBUTE_UNUSED.
2909
92d41717
ML
29102019-06-10 Martin Liska <mliska@suse.cz>
2911
2912 * Makefile.in: Add __gcov_one_value_profiler_v2,
2913 __gcov_one_value_profiler_v2_atomic and
2914 __gcov_indirect_call_profiler_v4.
2915 * libgcov-merge.c (__gcov_merge_single): Change
2916 function signature.
2917 (merge_single_value_set): New.
2918 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2919 Update functionality.
2920 (__gcov_one_value_profiler): Remove.
2921 (__gcov_one_value_profiler_v2): ... this.
2922 (__gcov_one_value_profiler_atomic): Rename to ...
2923 (__gcov_one_value_profiler_v2_atomic): this.
2924 (__gcov_indirect_call_profiler_v3): Rename to ...
2925 (__gcov_indirect_call_profiler_v4): ... this.
2926 * libgcov.h (__gcov_one_value_profiler): Remove.
2927 (__gcov_one_value_profiler_atomic): Remove.
2928 (__gcov_one_value_profiler_v2_atomic): New.
2929 (__gcov_indirect_call_profiler_v3): Remove.
2930 (__gcov_one_value_profiler_v2): New.
2931 (__gcov_indirect_call_profiler_v4): New.
2932 (gcov_get_counter_ignore_scaling): New function.
2933
e37333ba
ML
29342019-06-07 Martin Liska <mliska@suse.cz>
2935
2936 * Makefile.in: Remove usage of
2937 _gcov_merge_icall_topn.
2938 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2939 (gcov_sort_icall_topn_counter): Likewise.
2940 (gcov_sort_topn_counter_arrays): Likewise.
2941 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2942 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2943 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2944 Likewise.
2945 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2946 (struct indirect_call_tuple): Remove.
2947 (__gcov_indirect_call_topn_profiler): Remove.
2948 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2949 * libgcov.h (gcov_sort_n_vals): Remove.
2950 (L_gcov_merge_icall_topn): Likewise.
2951 (__gcov_merge_icall_topn): Likewise.
2952 (__gcov_indirect_call_topn_profiler): Likewise.
2953
34a4a9c2
IS
29542019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2955
2956 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2957 altivec enabled.
2958
d1b2f85f
JL
29592019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2960
2961 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2962 section.
2963 (__mspabi_slli): Likewise.
2964 (__mspabi_slll_n): Likewise.
2965 (__mspabi_slll): Likewise.
2966 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2967 (__mspabi_srai): Likewise.
2968 (__mspabi_sral_n): Likewise.
2969 (__mspabi_sral): Likewise.
2970 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2971 (__mspabi_srli): Likewise.
2972 (__mspabi_srll_n): Likewise.
2973 (__mspabi_srll): Likewise.
2974
e69a13d1
YS
29752019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2976
2977 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2978 Add appropriate tm_file clause as well.
2979 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2980
b009eac1
JC
29812019-06-05 James Clarke <jrtc27@jrtc27.com>
2982
2983 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2984 rather than .data/.bss so it can be accessed via gp-relative
2985 addressing.
2986
781d39f2
DE
29872019-06-05 David Edelsohn <dje.gcc@gmail.com>
2988
2989 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2990 (CR2_REGNO): Rename to R_CR2.
2991 (XER_REGNO): Rename to R_XER.
2992 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2993 (VRSAVE_REGNO): Rename to R_VRSAVE.
2994 (VSCR_REGNO): R_VSCR.
2995
76aaa9cd
YS
29962019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2997
2998 * config.host (rx-*-linux*): Add new case.
2999 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3000
8fc16d72
ST
30012019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3002
3003 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3004 function.
3005 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3006 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3007 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3008 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3009 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3010 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3011 string.
3012 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3013 string.
3014 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3015
e54b1a92
RO
30162019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3017
3018 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3019 Remove Solaris 9 and 10 support.
3020 (sparc_is_sighandler): Likewise.
3021
abbb8307
JDA
30222019-05-26 John David Anglin <danglin@gcc.gnu.org>
3023
3024 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3025
2581344d
L
30262019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3029 4_FP_W_TYPEs are used for IEEE quad precision.
3030 * soft-fp/extendhftf2.c: Likewise.
3031 * soft-fp/extendsftf2.c: Likewise.
3032 * soft-fp/extendxftf2.c: Likewise.
3033 * soft-fp/trunctfdf2.c: Likewise.
3034 * soft-fp/trunctfhf2.c: Likewise.
3035 * soft-fp/trunctfsf2.c: Likewise.
3036 * soft-fp/trunctfxf2.c: Likewise.
3037 * config/rs6000/ibm-ldouble.c: Likewise.
3038
ccd1242e
RO
30392019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3040
3041 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3042 *-*-solaris2*.
3043 * configure.ac: Likewise.
3044 * configure: Regenerate.
3045
3046 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3047 Solaris 10 and Solaris 11 < snv_125 handling.
3048
ef5eb79d
IS
30492019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3050
3051 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3052
4f0e90fa
HL
30532019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3054
3055 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3056 * config/i386/cpuinfo.h (enum processor_features): Add
3057 FEATURE_AVX512BF16.
3058
48528842
RR
30592019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3060 Bernd Edlinger <bernd.edlinger@hotmail.de>
3061 Jakub Jelinek <jakub@redhat.com>
3062
3063 PR target/89093
3064 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3065 * config/arm/unwind-arm.c: Likewise.
3066 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3067 attribute for ARM.
3068
887e182f
MC
30692019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3070
3071 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3072 (RT_SIGRETURN): Update.
3073 (nds32_fallback_frame_state): Update.
3074
a90b0cdd
MS
30752019-02-21 Martin Sebor <msebor@redhat.com>
3076
3077 * libgcc2.h (__clear_cache): Correct signature.
3078 * libgcc2.c (__clear_cache): Same.
3079
1ed28eda
UB
30802019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3081
3082 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3083 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3084
fe95aee9
UB
30852019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3086
3087 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3088 regno instead of index to DWARF_ZERO_REG.
3089
bf7988f1
EB
30902019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3091
3092 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3093 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3094
ba2c1ca8
UB
30952019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3096
3097 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3098 to HOST_LIBGCC2_CFLAGS.
3099
6395ba73
L
31002019-01-23 Joseph Myers <joseph@codesourcery.com>
3101
3102 PR libgcc/88931
ba2c1ca8 3103 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3104
756721ba
ML
31052019-01-18 Martin Liska <mliska@suse.cz>
3106
3107 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3108 to ...
3109 (__gcov_indirect_call_profiler_v3): ... this.
3110 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3111 (__gcov_indirect_call_profiler_v3): Likewise.
3112 * Makefile.in: Bump function name.
3113
d273c40a
ML
31142019-01-18 Martin Liska <mliska@suse.cz>
3115
3116 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3117 (gcov_version): Use in gcov_error.
3118 (merge_one_data): Likewise.
3119 (dump_one_gcov): Likewise.
3120
be9d9fdb
ML
31212019-01-18 Martin Liska <mliska@suse.cz>
3122
3123 * libgcov-driver.c (gcov_version_string): New function.
3124 (gcov_version): Convert version integer into string.
3125
91d7b7fe
AS
31262019-01-17 Andrew Stubbs <ams@codesourcery.com>
3127 Kwok Cheung Yeung <kcy@codesourcery.com>
3128 Julian Brown <julian@codesourcery.com>
3129 Tom de Vries <tom@codesourcery.com>
3130
3131 * config.host: Recognize amdgcn*-*-amdhsa.
3132 * config/gcn/crt0.c: New file.
3133 * config/gcn/lib2-divmod-hi.c: New file.
3134 * config/gcn/lib2-divmod.c: New file.
3135 * config/gcn/lib2-gcn.h: New file.
3136 * config/gcn/sfp-machine.h: New file.
3137 * config/gcn/t-amdgcn: New file.
3138
67914693
SL
31392019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3140
3141 PR other/16615
3142
3143 * config/c6x/libunwind.S: Mechanically replace "can not" with
3144 "cannot".
3145 * config/tilepro/atomic.h: Likewise.
3146 * config/vxlib-tls.c: Likewise.
3147 * generic-morestack-thread.c: Likewise.
3148 * generic-morestack.c: Likewise.
3149 * mkmap-symver.awk: Likewise.
3150
a5544970
JJ
31512019-01-01 Jakub Jelinek <jakub@redhat.com>
3152
3153 Update copyright years.
3154
da77eace
L
31552018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3156
3157 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3158 to ignore -Waddress-of-packed-member.
3159
72e3a529
TP
31602018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3161
3162 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3163 parameter and corresponding code.
3164 (ARM_FUNC_START): Likewise in both definitions.
3165 Also update footer comment about condition that need to match with
3166 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3167 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3168 defined. Weakly define it in this case.
3169 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3170 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3171 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3172 comment to keep condition in sync with the one in
3173 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3174
5d54c798
WX
31752018-12-18 Wei Xiao <wei3.xiao@intel.com>
3176
3177 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3178 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3179
5a2580b6
RV
31802018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3181
3182 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3183 and .cfi_endproc directives for VxWorks targets.
3184
c0c5112b
PK
31852018-12-05 Paul Koning <ni1d@arrl.net>
3186
3187 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3188
1ea7ea18
AM
31892018-11-27 Alan Modra <amodra@gmail.com>
3190
3191 * config/rs6000/morestack.S (__stack_split_initialize),
3192 (__morestack_get_guard, __morestack_set_guard),
3193 (__morestack_make_guard): Provide CFI covering these functions.
3194 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3195
ff641ae1
XQ
31962018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3197
1ea7ea18 3198 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3199 (sc_pt_regs_lr): Update for kernel.
3200 (sc_pt_regs_tls): Update for kernel.
3201
28209372
XQ
32022018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3203
3204 * config/csky/linux-unwind.h: Fix coding style.
3205
b2a71af6
XQ
32062018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3207
3208 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3209 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3210 instructions to adapt to changes in the kernel
3211
d929e137
SH
32122018-11-09 Stafford Horne <shorne@gmail.com>
3213 Richard Henderson <rth@twiddle.net>
3214
3215 * config.host: Add OpenRISC support.
3216 * config/or1k/*: New.
3217
222cfefa
KC
32182018-11-08 Kito Cheng <kito@andestech.com>
3219
3220 * soft-fp/adddf3.c: Update from glibc.
3221 * soft-fp/addsf3.c: Likewise.
3222 * soft-fp/addtf3.c: Likewise.
3223 * soft-fp/divdf3.c: Likewise.
3224 * soft-fp/divsf3.c: Likewise.
3225 * soft-fp/divtf3.c: Likewise.
3226 * soft-fp/double.h: Likewise.
3227 * soft-fp/eqdf2.c: Likewise.
3228 * soft-fp/eqsf2.c: Likewise.
3229 * soft-fp/eqtf2.c: Likewise.
3230 * soft-fp/extenddftf2.c: Likewise.
3231 * soft-fp/extended.h: Likewise.
3232 * soft-fp/extendhftf2.c: Likewise.
3233 * soft-fp/extendsfdf2.c: Likewise.
3234 * soft-fp/extendsftf2.c: Likewise.
3235 * soft-fp/extendxftf2.c: Likewise.
3236 * soft-fp/fixdfdi.c: Likewise.
3237 * soft-fp/fixdfsi.c: Likewise.
3238 * soft-fp/fixdfti.c: Likewise.
3239 * soft-fp/fixhfti.c: Likewise.
3240 * soft-fp/fixsfdi.c: Likewise.
3241 * soft-fp/fixsfsi.c: Likewise.
3242 * soft-fp/fixsfti.c: Likewise.
3243 * soft-fp/fixtfdi.c: Likewise.
3244 * soft-fp/fixtfsi.c: Likewise.
3245 * soft-fp/fixtfti.c: Likewise.
3246 * soft-fp/fixunsdfdi.c: Likewise.
3247 * soft-fp/fixunsdfsi.c: Likewise.
3248 * soft-fp/fixunsdfti.c: Likewise.
3249 * soft-fp/fixunshfti.c: Likewise.
3250 * soft-fp/fixunssfdi.c: Likewise.
3251 * soft-fp/fixunssfsi.c: Likewise.
3252 * soft-fp/fixunssfti.c: Likewise.
3253 * soft-fp/fixunstfdi.c: Likewise.
3254 * soft-fp/fixunstfsi.c: Likewise.
3255 * soft-fp/fixunstfti.c: Likewise.
3256 * soft-fp/floatdidf.c: Likewise.
3257 * soft-fp/floatdisf.c: Likewise.
3258 * soft-fp/floatditf.c: Likewise.
3259 * soft-fp/floatsidf.c: Likewise.
3260 * soft-fp/floatsisf.c: Likewise.
3261 * soft-fp/floatsitf.c: Likewise.
3262 * soft-fp/floattidf.c: Likewise.
3263 * soft-fp/floattihf.c: Likewise.
3264 * soft-fp/floattisf.c: Likewise.
3265 * soft-fp/floattitf.c: Likewise.
3266 * soft-fp/floatundidf.c: Likewise.
3267 * soft-fp/floatundisf.c: Likewise.
3268 * soft-fp/floatunditf.c: Likewise.
3269 * soft-fp/floatunsidf.c: Likewise.
3270 * soft-fp/floatunsisf.c: Likewise.
3271 * soft-fp/floatunsitf.c: Likewise.
3272 * soft-fp/floatuntidf.c: Likewise.
3273 * soft-fp/floatuntihf.c: Likewise.
3274 * soft-fp/floatuntisf.c: Likewise.
3275 * soft-fp/floatuntitf.c: Likewise.
3276 * soft-fp/gedf2.c: Likewise.
3277 * soft-fp/gesf2.c: Likewise.
3278 * soft-fp/getf2.c: Likewise.
3279 * soft-fp/half.h: Likewise.
3280 * soft-fp/ledf2.c: Likewise.
3281 * soft-fp/lesf2.c: Likewise.
3282 * soft-fp/letf2.c: Likewise.
3283 * soft-fp/muldf3.c: Likewise.
3284 * soft-fp/mulsf3.c: Likewise.
3285 * soft-fp/multf3.c: Likewise.
3286 * soft-fp/negdf2.c: Likewise.
3287 * soft-fp/negsf2.c: Likewise.
3288 * soft-fp/negtf2.c: Likewise.
3289 * soft-fp/op-1.h: Likewise.
3290 * soft-fp/op-2.h: Likewise.
3291 * soft-fp/op-4.h: Likewise.
3292 * soft-fp/op-8.h: Likewise.
3293 * soft-fp/op-common.h: Likewise.
3294 * soft-fp/quad.h: Likewise.
3295 * soft-fp/single.h: Likewise.
3296 * soft-fp/soft-fp.h: Likewise.
3297 * soft-fp/subdf3.c: Likewise.
3298 * soft-fp/subsf3.c: Likewise.
3299 * soft-fp/subtf3.c: Likewise.
3300 * soft-fp/truncdfsf2.c: Likewise.
3301 * soft-fp/trunctfdf2.c: Likewise.
3302 * soft-fp/trunctfhf2.c: Likewise.
3303 * soft-fp/trunctfsf2.c: Likewise.
3304 * soft-fp/trunctfxf2.c: Likewise.
3305 * soft-fp/unorddf2.c: Likewise.
3306 * soft-fp/unordsf2.c: Likewise.
3307 * soft-fp/unordtf2.c: Likewise.
3308
2901f42f
VK
33092018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3310
3311 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3312 * config/i386/cpuinfo.h (processor_types): Add znver2.
3313
4310ca66
PK
33142018-11-01 Paul Koning <ni1d@arrl.net>
3315
3316 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3317 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3318
22e05272
JM
33192018-10-31 Joseph Myers <joseph@codesourcery.com>
3320
3321 PR bootstrap/82856
3322 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3323 * configure: Regenerate.
3324
8180cde0
CZ
33252018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3326
3327 * config/arc/lib1funcs.S (_muldi3): New function.
3328 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3329
be7b071e
RV
33302018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3331
3332 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3333
3239d726
ML
33342018-10-25 Martin Liska <mliska@suse.cz>
3335
3336 PR other/87735
3337 * libgcov-profiler.c: Revert.
3338
19b55958
ML
33392018-10-24 Martin Liska <mliska@suse.cz>
3340
3341 * libgcov-profiler.c: Start from 1 in order to distinguish
3342 functions which were seen and these that were not.
3343
a9a2fddb
PK
33442018-10-18 Paul Koning <ni1d@arrl.net>
3345
3346 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3347 standard.
3348 * divmod.c: Update references to __udivmodsi4.
3349 * udivmod.c: Ditto.
3350 * udivhi3.c: New file.
3351 * udivmodhi4.c: New file.
3352 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3353
fc8abc46
RV
33542018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3355
3356 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3357
87f918e3
OH
33582018-10-12 Olivier Hainque <hainque@adacore.com>
3359
3360 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3361 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3362
be86efa7
PK
33632018-10-08 Paul Koning <ni1d@arrl.net>
3364
3365 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3366
3edbcdbe
ML
33672018-10-04 Martin Liska <mliska@suse.cz>
3368
3369 PR gcov-profile/84107
3370 * libgcov-profiler.c (__gcov_indirect_call):
3371 Change type to indirect_call_tuple.
3372 (struct indirect_call_tuple): New struct.
3373 (__gcov_indirect_call_topn_profiler): Change type.
3374 (__gcov_indirect_call_profiler_v2): Use the new
3375 variables.
3376 * libgcov.h (struct indirect_call_tuple): New struct
3377 definition.
3378
af8096fc
UB
33792018-10-03 Uros Bizjak <ubizjak@gmail.com>
3380
3381 * libgcc2.c (isnan): Use __builtin_isnan.
3382 (isfinite): Use __builtin_isfinite.
3383 (isinf): Use __builtin_isinf.
3384
0a76bba4
UB
33852018-09-26 Uros Bizjak <ubizjak@gmail.com>
3386
3387 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3388
5244089f
OH
33892018-09-21 Alexandre Oliva <oliva@adacore.com>
3390
3391 * config/vxcache.c: New file. Provide __clear_cache, based on
3392 the cacheTextUpdate VxWorks service.
3393 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3394 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3395 * config/t-vxwoks7: Likewise.
3396
512cc015
ML
33972018-09-21 Martin Liska <mliska@suse.cz>
3398
3399 * libgcov-driver.c (crc32_unsigned): Remove.
3400 (gcov_histogram_insert): Likewise.
3401 (gcov_compute_histogram): Likewise.
3402 (compute_summary): Simplify rapidly.
3403 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3404 (merge_summary): Rapidly simplify.
3405 (dump_one_gcov): Ignore gcov_summary.
3406 (gcov_do_dump): Do not handle program summary, it's not
3407 used.
3408 * libgcov-util.c (tag_summary): Remove.
3409 (read_gcda_finalize): Fix coding style.
3410 (read_gcda_file): Initialize curr_object_summary.
3411 (compute_summary): Remove.
3412 (calculate_overlap): Remove settings of run_max.
3413
36ff254b
MC
34142018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3415
3416 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3417 ucontext_t type instead.
3418 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3419
229a033d
KC
34202018-09-21 Kito Cheng <kito.cheng@gmail.com>
3421
3422 * config/nds32/t-nds32-glibc: New file.
3423
53c6feb2
RO
34242018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3425
3426 * configure.ac (solaris_ld_v2_maps): New test.
3427 * configure: Regenerate.
3428 * Makefile.in (solaris_ld_v2_maps): New variable.
3429 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3430 if supported.
3431
ebdb6f23
RE
34322018-08-23 Richard Earnshaw <rearnsha@arm.com>
3433
3434 PR target/86951
3435 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3436 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3437 to build.
3438
a49c064e
IS
34392018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3440
1ea7ea18 3441 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3442 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3443 * config/darwin10-unwind-find-enc-func.c: … to here.
3444 * config/t-darwin: Build Darwin10 unwinder shim crt.
3445 * libgcc/config.host: Add the Darwin10 unwinder shim.
3446
9a5b8df7
RV
34472018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3448
3449 * config.host: Add crtbegin.o and crtend.o for
3450 powerpc-wrs-vxworks target.
3451
4cd0bc3b
J
34522018-08-17 Jojo <jijie_rong@c-sky.com>
3453 Huibin Wang <huibin_wang@c-sky.com>
3454 Sandra Loosemore <sandra@codesourcery.com>
3455 Chung-Lin Tang <cltang@codesourcery.com>
3456
3457 C-SKY port: libgcc
3458
3459 * config.host: Add C-SKY support.
3460 * config/csky/*: New.
3461
a4931745
CJW
34622018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3463
3464 * config/nds32/t-nds32-isr: Rearrange object dependency.
3465 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3466 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3467 and registers usage.
3468 * config/nds32/isr-library/excp_isr.S: Ditto.
3469 * config/nds32/isr-library/intr_isr.S: Ditto.
3470 * config/nds32/isr-library/reset.S: Ditto.
3471 * config/nds32/isr-library/restore_all.inc: Ditto.
3472 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3473 * config/nds32/isr-library/restore_partial.inc: Ditto.
3474 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3475 * config/nds32/isr-library/save_all.inc: Ditto.
3476 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3477 * config/nds32/isr-library/save_partial.inc: Ditto.
3478 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3479 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3480
2b1969f6
JDA
34812018-08-11 John David Anglin <danglin@gcc.gnu.org>
3482
3483 * config/pa/linux-atomic.c: Update comment.
3484 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3485 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3486 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3487 __ATOMIC_RELAXED for atomic loads.
3488 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3489 unordered store to release lock.
3490 (__sync_lock_release_8): Likewise.
3491 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3492
89fff9cc
NP
34932018-08-02 Nicolas Pitre <nico@fluxnic.net>
3494
3495 PR libgcc/86512
3496 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3497 exponent goes negative. Update my email address.
3498 * config/arm/ieee754-sf.S: Likewise.
3499
fd2e1dcd
ML
35002018-08-01 Martin Liska <mliska@suse.cz>
3501
3502 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3503 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3504
b7415975
CL
35052018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3506
3507 * config/arm/ieee754-df.S: Fix comment for code working on
3508 architectures >= 4.
3509 * config/arm/ieee754-sf.S: Likewise.
3510
b72e71a3
L
35112018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3512
3513 PR libgcc/85334
3514 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3515 Removed.
3516
1c686aa4
JC
35172018-07-05 James Clarke <jrtc27@jrtc27.com>
3518
3519 * configure: Regenerated.
3520
b61c9b99
RO
35212018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3522
3523 * Makefile.in (install_leaf): Use enable_gcov instead of
3524 enable_libgcov.
3525
1765b023
RV
35262018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3527
3528 * configure.ac: Add --disable-gcov option.
3529 * configure: Regenerate.
3530 * Makefile.in: Honour @enable_gcov@.
3531
9b2e34ef
CL
35322018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3533
3534 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3535 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3536 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3537 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3538 __ARM_ARCH__.
3539 * config/arm/ieee754-sf.S: Likewise.
3540 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3541
d1b0dd54
CL
35422018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3543
3544 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3545 longer supported.
3546 * config/arm/ieee754-sf.S: Likewise.
3547
1f3fa525
TM
35482018-06-20 Than McIntosh <thanm@google.com>
3549
3550 PR libgcc/86213
3551 * generic-morestack.c (allocate_segment): Move calls to getenv and
3552 getpagesize to __morestack_load_mmap.
3553 (__morestack_load_mmap) Initialize static_pagesize and
3554 use_guard_page here so as to avoid clobbering SSE regs during a
3555 __morestack call.
3556
6a8886e4
MM
35572018-06-18 Michael Meissner <meissner@linux.ibm.com>
3558
3559 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3560 support modules with -mno-gnu-attribute.
3561 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3562
fb997097
OH
35632018-06-07 Olivier Hainque <hainque@adacore.com>
3564
3565 * config/t-vxworks (LIBGCC_INCLUDES): Add
3566 -I$(MULTIBUILDTOP)../../gcc/include.
3567 * config/t-vxworks7: Likewise. Reformat a bit to match
3568 the t-vxworks layout.
3569
a548a5a1
OM
35702018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3571
3572 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3573
244aebfd
ML
35742018-06-07 Martin Liska <mliska@suse.cz>
3575
3576 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3577 all_prg.
244aebfd 3578
6c086e8c
ML
35792018-06-07 Martin Liska <mliska@suse.cz>
3580
92a285c1 3581 PR bootstrap/86057
6c086e8c 3582 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3583 memcpy instead of mempcpy.
6c086e8c 3584 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3585 prefix and set it.
6c086e8c 3586 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3587 here and properly copy content into it.
6c086e8c 3588 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3589 field, change prefix from size_t into char *.
6c086e8c
ML
3590 (compute_summary): Do not calculate longest filename.
3591 (gcov_do_dump): Release memory of gf.filename after each file.
3592 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3593 compute_summary.
6c086e8c
ML
3594 (calculate_overlap): Likewise.
3595
97a53d1d
ML
35962018-06-05 Martin Liska <mliska@suse.cz>
3597
3598 PR gcov-profile/47618
3599 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3600 function.
97a53d1d
ML
3601 (gcov_exit_open_gcda_file): Use it.
3602
7f3577f5
ML
36032018-06-05 Martin Liska <mliska@suse.cz>
3604
3605 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3606 of gcov_ctr_summary.
3607 (compute_summary): Do it just for a single summary.
3608 (merge_one_data): Likewise.
3609 (merge_summary): Simplify as we read just single summary.
3610 (dump_one_gcov): Pass proper argument.
3611 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3612 single summary.
3613 (gcov_info_count_all_cold): Likewise.
3614 (calculate_overlap): Likewise.
3615
cf3cd43d
CJW
36162018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3617 Monk Chiang <sh.chiang04@gmail.com>
3618
3619 * config.host (nds32*-linux*): New.
3620 * config/nds32/linux-atomic.c: New file.
3621 * config/nds32/linux-unwind.h: New file.
3622
8b8003ed
UB
36232018-05-31 Uros Bizjak <ubizjak@gmail.com>
3624
3625 PR target/85591
3626 * config/i386/cpuinfo.c (get_amd_cpu): Return
3627 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3628
bbdf026f
RV
36292018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3630
92a285c1 3631 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 3632
0e8f29da
ML
36332018-05-29 Martin Liska <mliska@suse.cz>
3634
92a285c1 3635 PR gcov-profile/85759
0e8f29da 3636 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 3637 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 3638 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 3639 overwrite a gcov file with a different timestamp.
0e8f29da 3640
54fd1590
K
36412018-05-23 Kalamatee <kalamatee@gmail.com>
3642
3643 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3644 path to Lf$finfty.
3645
09baee1a
KC
36462018-05-18 Kito Cheng <kito.cheng@gmail.com>
3647 Monk Chiang <sh.chiang04@gmail.com>
3648 Jim Wilson <jimw@sifive.com>
3649
3650 * config/riscv/save-restore.S: Add support for rv32e.
3651
c3f808d3
KT
36522018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3653
3654 * config/arm/libunwind.S: Update comment relating to armv5.
3655
fcf4f831
JL
36562018-05-17 Jerome Lambourg <lambourg@adacore.com>
3657
3658 * config/arm/cmse.c (cmse_check_address_range): Replace
3659 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3660
74b2bb19
OM
36612018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3662
3663 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3664 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3665
50e461df
OM
36662018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3667
3668 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3669 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3670
e5f1cdb1
AC
36712018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3672
3673 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3674
8f479d7a
AT
36752018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3676 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3677
3678 PR libgcc/84292
3679 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3680 op_and_fetch to return the right result.
3681
ae043291
AM
36822018-04-27 Alan Modra <amodra@gmail.com>
3683
3684 PR libgcc/85532
3685 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3686 -fno-asynchronous-unwind-tables.
3687
ba169b74
CJW
36882018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3689
3690 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3691 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3692
ffc2fc06
L
36932018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3696 when including "config/i386/shadow-stack-unwind.h".
3697
7b47ecf2
L
36982018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3699
3700 * configure: Regenerated.
3701
661eb8f9
MM
37022018-04-20 Michael Meissner <meissner@linux.ibm.com>
3703
3704 PR target/85456
3705 * config/rs6000/_powikf2.c: New file. Add support for the
3706 __builtin_powil function when long double is IEEE 128-bit floating
3707 point.
3708 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3709 __powikf2 support.
3710 (__powikf2): Likewise.
3711 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3712 (__powikf2_hw): Likewise.
3713 (__powikf2): Likewise.
3714 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3715 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3716 (_powikf2-hw.c): Likewise.
3717
5707be3c
L
37182018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3719
3720 PR libgcc/85334
3721 * unwind-generic.h (_Unwind_Frames_Increment): New.
3722 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3723 Likewise.
3724 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3725 count with _Unwind_Frames_Increment.
3726 (_Unwind_ForcedUnwind_Phase2): Likewise.
3727
5f9ca0b8
L
37282018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3729
3730 PR libgcc/85379
3731 * config/i386/morestack.S (__stack_split_initialize): Add
3732 _CET_ENDBR.
3733
a0e1df88
JJ
37342018-04-19 Jakub Jelinek <jakub@redhat.com>
3735
3736 * configure: Regenerated.
3737
001ddaa8
DM
37382018-04-18 David Malcolm <dmalcolm@redhat.com>
3739
3740 PR jit/85384
3741 * configure: Regenerate.
3742
a57f99ba
JJ
37432018-04-16 Jakub Jelinek <jakub@redhat.com>
3744
3745 PR target/84945
3746 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3747 -Wdangling-else warnings. Mask shift counts to avoid
3748 -Wshift-count-negative and -Wshift-count-overflow false positives.
3749
4d47fe5a
RB
37502018-04-06 Ruslan Bukin <br@bsdpad.com>
3751
3752 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3753
059cc8ac
L
37542018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3755
3756 PR target/85100
3757 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3758 (XSTATE_FP): Likewise.
3759 (XSTATE_SSE): Likewise.
3760 (XSTATE_YMM): Likewise.
3761 (XSTATE_OPMASK): Likewise.
3762 (XSTATE_ZMM): Likewise.
3763 (XSTATE_HI_ZMM): Likewise.
3764 (XCR_AVX_ENABLED_MASK): Likewise.
3765 (XCR_AVX512F_ENABLED_MASK): Likewise.
3766 (get_available_features): Enable AVX and AVX512 features only
3767 if their states are supported by OSXSAVE.
3768
f2620385
IT
37692018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3770
3771 PR target/85025
3772 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3773 Fix a typo, tmp => 255.
3774
ae6dca8c
JJ
37752018-03-20 Jakub Jelinek <jakub@redhat.com>
3776
3777 PR target/84945
3778 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3779 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3780 ifndef SHARED only.
3781 (set_feature): Define.
3782 (get_available_features): Use set_feature macro. Set __cpu_features2
3783 to the second word of features ifndef SHARED.
3784
c36b04c1
JK
37852018-03-15 Julia Koval <julia.koval@intel.com>
3786
3787 * config/i386/cpuinfo.c (get_available_features): Add
3788 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3789 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3790 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3791 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3792 FEATURE_AVX512BITALG.
3793
79ab5364
JK
37942018-03-14 Julia Koval <julia.koval@intel.com>
3795
3796 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3797 icelake client and icelake server.
3798
66a00b11
JDA
37992018-03-06 John David Anglin <danglin@gcc.gnu.org>
3800
3801 * config/pa/fptr.c (_dl_read_access_allowed): New.
3802 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3803
ce579a4f
JJ
38042018-02-28 Jakub Jelinek <jakub@redhat.com>
3805
3806 PR debug/83917
3807 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3808 $asm_hidden_op if visibility ("hidden") attribute works.
3809 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3810 * config/i386/i386-asm.h: Don't include auto-host.h.
3811 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3812 PACKAGE_URL): Don't undefine.
3813 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3814 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3815 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3816 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3817 definition instead of hardcoded .hidden.
3818 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3819 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3820 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3821 (USE_GAS_CFI_DIRECTIVES): Don't define.
3822 * configure: Regenerated.
3823 * config.in: Likewise.
3824
e5868319
JJ
38252018-02-26 Jakub Jelinek <jakub@redhat.com>
3826
3827 PR debug/83917
3828 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3829 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3830 inclusion of auto-target.h and auto-host.h.
3831 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3832 __GCC_HAVE_DWARF2_CFI_ASM.
3833 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3834 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3835 cfi_pop): Define.
3836 * config/i386/cygwin.S: Don't include auto-host.h here, just
3837 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3838 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3839 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3840 * config/i386/resms64fx.h: Add cfi_* directives.
3841 * config/i386/resms64x.h: Likewise.
3842
faef260e
MF
38432018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3844
3845 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3846 .literal_position directive.
3847 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3848
14e335ed
IT
38492018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3850
3851 PR target/84148
3852 * configure: Regenerate.
3853
95df0433
IT
38542018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3855
3856 PR target/84239
3857 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3858 Include cetintrin.h not x86intrin.h.
3859
f8de876d
IT
38602018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3861
3862 PR target/84239
95df0433 3863 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3864 Use new _get_ssp and _inc_ssp intrinsics.
3865
02da1e9c
JK
38662018-02-02 Julia Koval <julia.koval@intel.com>
3867
3868 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3869
048c6a9a
CZ
38702018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3871
3872 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3873 option.
3874 (__divsi3): Use RF16 safe registers.
3875 (__modsi3): Likewise.
3876
0889f168
MF
38772018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3878
3879 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3880 (__divsf3): Make NaN return value quiet.
3881 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3882 (__divdf3): Make NaN return value quiet.
3883
bc8b0d04
SP
38842018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3885
3886 * config/rl78/anddi3.S: New assembly file.
3887 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3888
99cc06ea
SP
38892018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3890
3891 * config/rl78/umindi3.S: New assembly file.
3892 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3893
6e9007a0
SP
38942018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3895
3896 * config/rl78/smindi3.S: New assembly file.
3897 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3898
d975e494 38992018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3900
d975e494
SP
3901 * config/rl78/smaxdi3.S: New assembly file.
3902 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3903
6a18c146 39042018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3905
5dd16013
SP
3906 * config/rl78/umaxdi3.S: New assembly file.
3907 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3908
07baf4a5
JDA
39092018-01-21 John David Anglin <danglin@gcc.gnu.org>
3910
3911 PR lto/83452
3912 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3913 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3914
dbc3af4f
RS
39152018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3916
3917 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3918 (DWARF_LAZY_REGISTER_VALUE): Define.
3919 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3920 to provide a fallback register value.
3921
68df9882
MM
39222018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3923
3924 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3925 __ibm128, instead of trying to use long double.
3926 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3927 accomidate -mabi=ieeelongdouble multilibs.
3928 (CVT_IBM128_TO_FLOAT128): Likewise.
3929 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3930 the appropriate IBM extended double type.
3931 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3932 (__gcc_qsub): Likewise.
3933 (__gcc_qmul): Likewise.
3934 (__gcc_qdiv): Likewise.
3935 (pack_ldouble): Likewise.
3936 (__gcc_qneg): Likewise.
3937 (__gcc_qeq): Likewise.
3938 (__gcc_qne): Likewise.
3939 (__gcc_qge): Likewise.
3940 (__gcc_qle): Likewise.
3941 (__gcc_stoq): Likewise.
3942 (__gcc_dtoq): Likewise.
3943 (__gcc_itoq): Likewise.
3944 (__gcc_utoq): Likewise.
3945 (__gcc_qunord): Likewise.
3946 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3947 quad-float128.h for the definitions.
3948 (COPYSIGN): Use the f128 version instead of the q version.
3949 (INFINITY): Likewise.
3950 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3951 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3952 quad-float128.h for the definitions.
3953 (COPYSIGN): Use the f128 version instead of the q version.
3954 (INFINITY): Likewise.
3955 (FABS): Likewise.
3956 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3957 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3958 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3959
64b371b1
SH
39602018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3961
3962 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3963 configuration.
3964
85ec4feb
JJ
39652018-01-03 Jakub Jelinek <jakub@redhat.com>
3966
3967 Update copyright years.
3968
39692017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3970
3971 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3972 * config/riscv/multi3.c: New file.
3973 * config/riscv/multi3.S: Remove.
3974
3a4c600f
JW
39752017-12-08 Jim Wilson <jimw@sifive.com>
3976
3977 * config/riscv/div.S: Use FUNC_* macros.
3978 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3979 * config/riscv/save-restore.S: Likewise.
3980 * config/riscv/riscv-asm.h: New.
3981
75ad35b5
MM
39822017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3983
6ae3512c
MM
3984 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3985 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3986
75ad35b5
MM
3987 PR libgcc/83112
3988 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3989 correct type for all ifunc resolvers to silence -Wattribute-alias
3990 warnings. Eliminate the forward declaration of the resolver
3991 functions which is no longer needed.
3992 (__subkf3_resolve): Likewise.
3993 (__mulkf3_resolve): Likewise.
3994 (__divkf3_resolve): Likewise.
3995 (__negkf2_resolve): Likewise.
3996 (__eqkf2_resolve): Likewise.
3997 (__nekf2_resolve): Likewise.
3998 (__gekf2_resolve): Likewise.
3999 (__gtkf2_resolve): Likewise.
4000 (__lekf2_resolve): Likewise.
4001 (__ltkf2_resolve): Likewise.
4002 (__unordkf2_resolve): Likewise.
4003 (__extendsfkf2_resolve): Likewise.
4004 (__extenddfkf2_resolve): Likewise.
4005 (__trunckfsf2_resolve): Likewise.
4006 (__trunckfdf2_resolve): Likewise.
4007 (__fixkfsi_resolve): Likewise.
4008 (__fixkfdi_resolve): Likewise.
4009 (__fixunskfsi_resolve): Likewise.
4010 (__fixunskfdi_resolve): Likewise.
4011 (__floatsikf_resolve): Likewise.
4012 (__floatdikf_resolve): Likewise.
4013 (__floatunsikf_resolve): Likewise.
4014 (__floatundikf_resolve): Likewise.
4015 (__extendkftf2_resolve): Likewise.
4016 (__trunctfkf2_resolve): Likewise.
4017
4018 PR libgcc/83103
4019 * config/rs6000/quad-float128.h (TF): Don't define if long double
4020 is IEEE 128-bit floating point.
4021 (TCtype): Define as either TCmode or KCmode, depending on whether
4022 long double is IEEE 128-bit floating point.
4023 (__mulkc3_sw): Add declarations for software/hardware versions of
4024 complex multiply/divide.
4025 (__divkc3_sw): Likewise.
4026 (__mulkc3_hw): Likewise.
4027 (__divkc3_hw): Likewise.
4028 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4029 handlers to switch between using software emulation and hardware
4030 float128 instructions, build the complex multiply/divide functions
4031 for both software and hardware support.
4032 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4033 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4034 (__divkc3_resolve): Likewise.
4035 (__mulkc3): Likewise.
4036 (__divkc3): Likewise.
4037 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4038 (fp128_hw_src): Likewise.
4039 (fp128_hw_static_obj): Likewise.
4040 (fp128_hw_shared_obj): Likewise.
4041 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4042 _mulkc3.c and _divkc3.c, changing the function name.
4043 (_divkc3-hw.c): Likewise.
4044 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4045 and _divkc3-hw.c.
4046
c234d831
UB
40472017-11-26 Julia Koval <julia.koval@intel.com>
4048
4049 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4050 * config/i386/cpuinfo.h (processor_subtypes): Add
4051 INTEL_COREI7_CANNONLAKE.
4052
1ebafce0
IT
40532017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4054
4055 PR bootstrap/83015
4056 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4057 parameter.
4058 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4059 * config/ia64/unwind-ia64.c: Add frames parameter.
4060 * unwind-sjlj.c: Likewise.
4061
6a10fff4
IT
40622017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4063
4064 * config/i386/linux-unwind.h: Include
4065 config/i386/shadow-stack-unwind.h.
4066 * config/i386/shadow-stack-unwind.h: New file.
4067 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4068 pass it to _Unwind_Frames_Extra.
4069 * unwind-generic.h (_Unwind_Frames_Extra): New.
4070 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4071 parameter. Add local variable frames to count number of frames.
4072 (_Unwind_ForcedUnwind_Phase2): Likewise.
4073 (_Unwind_RaiseException): Add local variable frames to count
4074 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4075 uw_install_context.
4076 (_Unwind_ForcedUnwind): Likewise.
4077 (_Unwind_Resume): Likewise.
4078 (_Unwind_Resume_or_Rethrow): Likewise.
4079
1ecae1fc
IT
40802017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4081
4082 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4083 (CET_FLAGS): New.
4084 * config/i386/morestack.S: Include <cet.h>.
4085 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4086 * config/i386/resms64.h: Include <cet.h>.
4087 * config/i386/resms64f.h: Likewise.
4088 * config/i386/resms64fx.h: Likewise.
4089 * config/i386/resms64x.h: Likewise.
4090 * config/i386/savms64.h: Likewise.
4091 * config/i386/savms64f.h: Likewise.
4092 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4093 (CRTSTUFF_T_CFLAGS): Likewise.
4094 * configure.ac: Include ../config/cet.m4.
4095 Set and substitute CET_FLAGS.
4096 * configure: Regenerated.
4097
f021f1d3
RO
40982017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4099
4100 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4101 renaming.
4102 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4103 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4104 * configure: Regenerate.
4105
65f480c7
TV
41062017-11-07 Tom de Vries <tom@codesourcery.com>
4107
4108 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4109 after "do {} while (0)".
4110
2a321acb
TV
41112017-11-07 Tom de Vries <tom@codesourcery.com>
4112
4113 PR other/82784
4114 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4115 semicolon after "do {} while (0)".
4116 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4117 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4118 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4119 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4120
59fcf6c3
AT
41212017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4122
4123 PR libgcc/82635
4124 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4125 sysctl to determine whether we're in a trampoline.
4126 Keep the pattern matching method for systems without
4127 KERN_PROC_SIGTRAMP sysctl.
4128
b0c7ddf8
CM
41292017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4130 Vineet Gupta <vgupta@synopsys.com>
4131
4132 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4133 * config/arc/linux-unwind-reg.def: New file.
4134 * config/arc/linux-unwind-reg.h: Likewise.
4135
5feee954
SP
41362017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4137
4138 * config/rl78/subdi3.S: New assembly file.
4139 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4140
a0bf6cf7
SP
41412017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4142
4143 * config/rl78/adddi3.S: New assembly file.
4144 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4145
e7176f75
JJ
41462017-10-13 Jakub Jelinek <jakub@redhat.com>
4147
4148 PR target/82274
4149 * libgcc2.c (__mulvDI3): If both operands have
4150 the same highpart of -1 and the topmost bit of lowpart is 0,
4151 multiplication overflows even if both lowparts are 0.
4152
db6601d2
JB
41532017-09-28 James Bowman <james.bowman@ftdichip.com>
4154
4155 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4156
938b6f1e
JM
41572017-09-26 Joseph Myers <joseph@codesourcery.com>
4158
4159 * config/microblaze/crti.S, config/microblaze/crtn.S,
4160 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4161 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4162 config/microblaze/mulsi3.S,
4163 config/microblaze/stack_overflow_exit.S,
4164 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4165 config/pa/milli64.S: Add .note.GNU-stack section.
4166
89762a83
DS
41672017-09-23 Daniel Santos <daniel.santos@pobox.com>
4168
4169 * configure.ac: Add Check for HAVE_AS_AVX.
4170 * config.in: Regenerate.
4171 * configure: Likewise.
4172 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4173 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4174 Correct out-of-date comments.
4175
cace2309
SP
41762017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4177
4178 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4179 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4180
3cb626e4
DS
41812017-09-17 Daniel Santos <daniel.santos@pobox.com>
4182
cace2309 4183 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4184 (ASMNAME): Modify to use PASTE2.
4185 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4186 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4187 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4188 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4189 * config/i386/resms64f.S: Likewise.
4190 * config/i386/resms64fx.S: Likewise.
4191 * config/i386/resms64x.S: Likewise.
4192 * config/i386/savms64.S: Likewise.
4193 * config/i386/savms64f.S: Likewise.
4194 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4195 includes it's corresponding header file.
cace2309
SP
4196 * config/i386/avx_resms64f.S: Likewise.
4197 * config/i386/avx_resms64fx.S: Likewise.
4198 * config/i386/avx_resms64x.S: Likewise.
4199 * config/i386/avx_savms64.S: Likewise.
4200 * config/i386/avx_savms64f.S: Likewise.
4201 * config/i386/sse_resms64.S: Likewise.
4202 * config/i386/sse_resms64f.S: Likewise.
4203 * config/i386/sse_resms64fx.S: Likewise.
4204 * config/i386/sse_resms64x.S: Likewise.
4205 * config/i386/sse_savms64.S: Likewise.
4206 * config/i386/sse_savms64f.S: Likewise.
4207 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4208
2f19c491 42092017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4210 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4211
611e7036
OH
42122017-08-31 Olivier Hainque <hainque@adacore.com>
4213
4214 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4215 match as powerpc-wrs-vxworks*.
4216
c8f34527
JY
42172017-08-07 Jonathan Yong <10walls@gmail.com>
4218
4219 * config.host (*-cygwin): Include file from mingw
4220 config/i386/enable-execute-stack-mingw32.c
4221
0b458d2b 42222017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
4223 Doug Rupp <rupp@adacore.com>
4224 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
4225
4226 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4227 as well as arm-wrs-vxworks.
4228 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4229 LIB2ADDEH.
4230 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4231 __exidx_start and __exidx_end for downloadable modules.
4232
4df612fa
OH
42332017-08-01 Olivier Hainque <hainque@adacore.com>
4234
4235 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4236 * config/t-vxworks7: Likewise.
4237
5560e8c0
OH
42382017-08-01 Olivier Hainque <hainque@adacore.com>
4239
4240 * config/t-vxworks: Instead of redefining LIB2ADD,
4241 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4242
16bab95a
SH
42432017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4244
4245 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4246
9cbc07cc
DS
42472017-07-24 Daniel Santos <daniel.santos@pobox.com>
4248
4249 PR testsuite/80759
4250 * config.host: include i386/t-msabi for darwin and solaris.
4251 * config/i386/i386-asm.h
4252 (ELFFN): Rename to FN_TYPE.
4253 (FN_SIZE): New macro.
4254 (FN_HIDDEN): Likewise.
4255 (ASMNAME): Likewise.
4256 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4257 .globl.
4258 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4259 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4260 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4261 .macro.
4262 * config/i386/resms64f.S: Likewise.
4263 * config/i386/resms64fx.S: Likewise.
4264 * config/i386/resms64x.S: Likewise.
4265 * config/i386/savms64.S: Likewise.
4266 * config/i386/savms64f.S: Likewise.
4267
de742204
JM
42682017-07-19 John Marino <gnugcc@marino.st>
4269
4270 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4271
3787ee47
MM
42722017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4273
4274 PR target/81193
4275 * configure.ac (PowerPC float128 hardware support): Test whether
4276 we can use __builtin_cpu_supports before enabling the ifunc
4277 handler.
4278 * configure: Regenerate.
4279
b1938888
VG
42802017-07-10 Vineet Gupta <vgupta@synopsys.com>
4281
4282 * config.host: Remove uclibc from arc target spec.
4283
bec75e53
KW
42842017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4285
4286 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4287
d4391a62
PB
42882017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4289
4290 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4291 (have_ieee_hw_p): Delete function.
4292 (SW_OR_HW) Use __builtin_cpu_supports().
4293
9296dd9b
TP
42942017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4295
4296 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4297
b85a969e
OH
42982017-07-03 Olivier Hainque <hainque@adacore.com>
4299
d4391a62 4300 * config/t-vxworks7: New file, really.
b85a969e 4301
883312dc
JM
43022017-06-28 Joseph Myers <joseph@codesourcery.com>
4303
4304 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4305 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4306 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4307 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4308 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4309 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4310 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4311 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4312 config/sh/linux-unwind.h (sh_fallback_frame_state),
4313 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4314 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4315 ucontext_t instead of struct ucontext.
4316
50567938
JL
43172017-06-27 Jerome Lambourg <lambourg@adacore.com>
4318
4319 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4320 (x86_64-wrs-vxworks7): Likewise.
4321
e4b0df93
OH
43222017-06-27 Olivier Hainque <hainque@adacore.com>
4323
4324 * config/t-vxworks7: New file.
4325 * config.host (*-*-vxworks7): Use it.
4326
60edf8bb
MT
43272017-06-22 Matt Turner <mattst88@gmail.com>
4328
4329 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4330 skylake case.
4331
a51a76e5
RB
43322017-06-21 Richard Biener <rguenther@suse.de>
4333
4334 PR gcov-profile/81080
4335 * configure.ac: Add AC_SYS_LARGEFILE.
4336 * libgcov.h: Include auto-target.h before tsystem.h to pick
4337 up _FILE_OFFSET_BITS which might differ for multilibs.
4338 * config.in: Regenerate.
4339 * configure: Likewise.
4340
f0cd49c5
RE
43412017-06-16 Richard Earnshaw <rearnsha@arm.com>
4342
4343 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4344
4f751c54
ML
43452017-06-09 Martin Liska <mliska@suse.cz>
4346
4347 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4348 Reset __gcov_indirect_call_callee to NULL.
4349
1ac644c8
OH
43502017-06-08 Olivier Hainque <hainque@adacore.com>
4351
4352 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4353 the set of -I options, support for direct inclusions of net/uio.h
4354 by VxWorks header files via ioLib.h.
4355
d8b9cd27
TR
43562017-06-07 Tony Reix <tony.reix@atos.net>
4357 Matthieu Sarter <matthieu.sarter.external@atos.net>
4358 David Edelsohn <dje.gcc@gmail.com>
4359
92a285c1
ML
4360 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4361 unconditionally.
4362 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4363 AIX 7.2 support.
d8b9cd27 4364
38a75ccc
OH
43652017-06-02 Olivier Hainque <hainque@adacore.com>
4366
4367 * config/vxlib.c (__gthread_once): Add missing value to
4368 return statement.
4369
5b2edf53
OH
43702017-05-30 Olivier Hainque <hainque@adacore.com>
4371
4372 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4373 dollar sign before $(MULTIDIR).
4374
7d66e265
RH
43752017-05-26 Richard Henderson <rth@redhat.com>
4376
4377 PR libgcc/80037
4378 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4379
78eca309
AT
43802017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4381
4382 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4383 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4384 * config/arm/unwind-arm.c: Implement the above.
4385
c39d309a
AZ
43862017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4387
4388 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4389 section for a non-executable stack.
4390
eac8c9f2
KW
43912017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4392
4393 PR target/80600
4394 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4395
d6d4d770
DS
43962017-05-14 Daniel Santos <daniel.santos@pobox.com>
4397
4398 * config.host: Add i386/t-msabi to i386/t-linux file list.
4399 * config/i386/i386-asm.h: New file.
4400 * config/i386/resms64.S: New file.
4401 * config/i386/resms64f.S: New file.
4402 * config/i386/resms64fx.S: New file.
4403 * config/i386/resms64x.S: New file.
4404 * config/i386/savms64.S: New file.
4405 * config/i386/savms64f.S: New file.
4406 * config/i386/t-msabi: New file.
4407
8ef2b9a7
AT
44082017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4409
4410 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4411 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4412
7ab8766a
JC
44132017-05-05 Joshua Conner <joshconner@google.com>
4414
4415 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4416 pc-relative indirect handling for fuchsia.
4417 * config/t-slibgcc-fuchsia: New file.
4418 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4419 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4420
46928a8f
ML
44212017-04-19 Martin Liska <mliska@suse.cz>
4422
4423 PR gcov-profile/80435
4424 * Makefile.in: Install gcov.h.
4425 * gcov.h: New file.
4426 * libgcov.h: Use the header and make __gcov_flush publicly
4427 visible.
4428
63971184
ML
44292017-04-18 Martin Liska <mliska@suse.cz>
4430
4431 PR gcov-profile/78783
4432 * libgcov-driver.c (gcov_get_filename): New function.
4433
29d8aae6
JL
44342017-04-07 Jeff Law <law@redhat.com>
4435
4436 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4437 target makefile fragment.
4438 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4439
2bdf7fc6
AM
44402017-04-07 Alan Modra <amodra@gmail.com>
4441
4442 PR target/45053
4443 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4444
5764ee3c
JW
44452017-04-03 Jonathan Wakely <jwakely@redhat.com>
4446
4447 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4448
c4192ad7
CZ
44492017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4450
4451 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4452
4ccfdb28
JM
44532017-03-10 John Marino <gnugcc@marino.st>
4454
4455 * config/aarch64/freebsd-unwind.h: New file.
4456 * config.host: Add aarch64-*-freebsd unwinder.
4457
4144e4e3
SB
44582017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4459
4460 * config/rs6000/crtrestvr.s: Use .machine altivec.
4461 * config/rs6000/crtsavevr.s: Ditto.
4462
7502c597
SB
44632017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4464
4465 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4466 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4467 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4468 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4469 * configure: Regenerate.
4470 * config.in: Regenerate.
4471
db9f7f65
JY
44722017-03-02 Jonathan Yong <10walls@gmail.com>
4473
4474 * config/i386/gthr-win32.h: Define NOGDI before
4475 windows.h include to prevent w32api CC_NONE macro
4476 clash with libgfortran.
4477
126437c5
JY
44782017-03-02 Jonathan Yong <10walls@gmail.com>
4479
4480 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4481
31927af6
AP
44822017-02-16 Andrew Pinski <apinski@cavium.com>
4483
4484 * config/aarch64/value-unwind.h: New file.
4485 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4486 to tm_file.
4487
0bd99911
PD
44882017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4489
4490 * config.host: Add RISC-V tuples.
4491 * config/riscv/atomic.c: New file.
4492 * config/riscv/crti.S: Likewise.
4493 * config/riscv/crtn.S: Likewise.
4494 * config/riscv/div.S: Likewise.
4495 * config/riscv/linux-unwind.h: Likewise.
4496 * config/riscv/muldi3.S: Likewise.
4497 * config/riscv/multi3.S: Likewise.
4498 * config/riscv/save-restore.S: Likewise.
4499 * config/riscv/sfp-machine.h: Likewise.
4500 * config/riscv/t-elf: Likewise.
4501 * config/riscv/t-elf32: Likewise.
4502 * config/riscv/t-elf64: Likewise.
4503 * config/riscv/t-softfp32: Likewise.
4504 * config/riscv/t-softfp64: Likewise.
4505
a8c9ef2a
JJ
45062017-01-24 Jakub Jelinek <jakub@redhat.com>
4507
4508 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4509 /* FALLTHRU */ comments.
4510
c6c82710
GP
45112017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4512
4513 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4514
a876231c
JW
45152017-01-20 Jiong Wang <jiong.wang@arm.com>
4516
4517 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4518 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4519 DW_CFA_GNU_window_save for AArch64 and LP64.
4520
aa348be2
JW
45212017-01-20 Jiong Wang <jiong.wang@arm.com>
4522
4523 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4524
5636faf2
JW
45252017-01-19 Jiong Wang <jiong.wang@arm.com>
4526
4527 * config/aarch64/aarch64-unwind.h: New file.
4528 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4529 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4530 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4531 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4532 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4533 (aarch64_post_extract_frame_addr): New function.
4534 (aarch64_post_frob_eh_handler_addr): New function.
4535 (aarch64_frob_update_context): New function.
4536 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4537 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4538 aarch64*-*-freebsd*):
4539 Initialize md_unwind_header to include aarch64-unwind.h.
4540 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4541 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4542 __aarch64__.
4543 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4544 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4545 (uw_frob_return_addr): New function.
4546 (uw_install_context): Use uw_frob_return_addr.
4547
3c36aa6b
JJ
45482017-01-17 Jakub Jelinek <jakub@redhat.com>
4549
4550 PR other/79046
4551 * configure.ac: Add GCC_BASE_VER.
4552 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4553 version from BASE-VER file.
4554 * configure: Regenerated.
4555
829afb8f
JS
45562017-01-13 Joe Seymour <joe.s@somniumtech.com>
4557
4558 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4559 libmul_f5.a): Filter archived prerequisites.
4560
79fc8ffe
AS
45612017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4562
4563 * config/i386/cpuinfo.h (processor_features): Add
4564 FEATURE_AVX512VPOPCNTDQ.
4565 * config/i386/cpuinfo.c (get_available_features): Habdle new
4566 feature.
4567
fec5f4e0
JM
45682017-01-04 Joseph Myers <joseph@codesourcery.com>
4569
4570 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4571 payload if [__mips_nan2008].
4572
8f56cb51
AM
45732017-01-04 Alan Modra <amodra@gmail.com>
4574
4575 * Makefile.in (configure_deps): Update.
4576 * configure: Regenerate.
4577
cbe34bb5
JJ
45782017-01-01 Jakub Jelinek <jakub@redhat.com>
4579
4580 Update copyright years.
4581
ab955692
KW
45822016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4583
4584 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4585 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4586 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4587
de34320f
MK
45882016-12-17 Matthias Klose <doko@ubuntu.com>
4589
4590 * config/arc/gmon: Remove empty directory.
4591
e04ea1da
CZ
45922016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4593
4594 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4595 crtgend.
4596 (arc*-*-elf*): Likewise.
4597 * config/arc/t-arc: Remove old gmon lib targets.
4598 * config/arc/crtg.S: Remove.
4599 * config/arc/crtgend.S: Likewise.
4600 * config/arc/gmon/atomic.h: Likewise.
4601 * config/arc/gmon/auxreg.h: Likewise.
4602 * config/arc/gmon/dcache_linesz.S: Likewise.
4603 * config/arc/gmon/gmon.c: Likewise.
4604 * config/arc/gmon/machine-gmon.h: Likewise.
4605 * config/arc/gmon/mcount.c: Likewise.
4606 * config/arc/gmon/prof-freq-stub.S: Likewise.
4607 * config/arc/gmon/prof-freq.c: Likewise.
4608 * config/arc/gmon/profil.S: Likewise.
4609 * config/arc/gmon/sys/gmon.h: Likewise.
4610 * config/arc/gmon/sys/gmon_out.h: Likewise.
4611 * config/arc/t-arc-newlib: Likewise.
4612 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4613
8ae1c2c1
GS
46142016-12-12 George Spelvin <linux@sciencehorizons.net>
4615
4616 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4617
a5b947fa
GS
46182016-12-12 George Spelvin <linux@sciencehorizons.net>
4619
4620 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4621 R16 instead of push + pop.
4622 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4623
d6574dd1
KW
46242016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4625
4626 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4627 tmake_file.
4628
62440b4f
CM
46292016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4630
4631 * config.host (arc*-*-linux-uclibc*): Use default extra
4632 objects. Include linux-android header.
4633 * config/arc/crti.S (_init): Declare symbol as function.
4634 (_fini): Likewise.
4635
31cfd832
TK
46362016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4637
4638 PR fortran/78379
4639 * config/i386/cpuinfo.c: Move denums for processor vendors,
4640 processor type, processor subtypes and declaration of
4641 struct __processor_model into
4642 * config/i386/cpuinfo.h: New header file.
4643
c92e08e3
AV
46442016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4645 Thomas Preud'homme <thomas.preudhomme@arm.com>
4646
4647 * config/arm/cmse_nonsecure_call.S: New.
4648 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4649
de7b5723
AV
46502016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4651 Thomas Preud'homme <thomas.preudhomme@arm.com>
4652
4653 * config/arm/t-arm (HAVE_CMSE): New.
4654 * config/arm/cmse.c: New.
4655
7a0d2bce
TP
46562016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4657
b3a5bff4
TP
4658 PR gcc/74748
4659 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4660 use generic linker version information on Blackfin.
4661
7a0d2bce
TP
4662 PR gcc/74748
4663 * libgcc/mkmap-symver.awk: add support for skip_underscore
4664
b410cf1d
IS
46652016-11-27 Iain Sandoe <iain@codesourcery.com>
4666 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4667
4668 PR target/67710
4669 * config/t-darwin: Default builds to 10.5 codegen.
4670
2e5f8203
JG
46712016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4672
4673 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4674 (_FP_NANSIGN_H): Likewise.
4675 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4676 (softfp_truncations): Add tfhf.
4677 (softfp_extras): Add required conversion functions.
4678
bea64ca3
JG
46792016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4680 Matthew Wahab <matthew.wahab@arm.com>
4681
4682 * config/arm/fp16.c (binary64): New.
4683 (__gnu_d2h_internal): New.
4684 (__gnu_d2h_ieee): New.
4685 (__gnu_d2h_alternative): New.
4686
8630cadb
JG
46872016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4688 Matthew Wahab <matthew.wahab@arm.com>
4689
4690 * config/arm/fp16.c (struct format): New.
4691 (binary32): New.
4692 (__gnu_float2h_internal): New. Body moved from
4693 __gnu_f2h_internal and generalize.
4694 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4695 Call it with binary32.
4696
5823ef23
JG
46972016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4698
4699 * soft-fp/extendhftf2.c: Update from glibc.
4700 * soft-fp/fixhfti.c: Likewise.
4701 * soft-fp/fixunshfti.c: Likewise.
4702 * soft-fp/floattihf.c: Likewise.
4703 * soft-fp/floatuntihf.c: Likewise.
4704 * soft-fp/half.h: Likewise.
4705 * soft-fp/trunctfhf2.c: Likewise.
4706
62a7df9f
MG
47072016-11-20 Marc Glisse <marc.glisse@inria.fr>
4708
4709 PR libgcc/77813
4710 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4711 __TMC_END__ behind a passthrough asm.
4712
7a384912
WL
47132016-11-18 Walter Lee <walt@tilera.com>
4714
62a7df9f 4715 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4716
9775c1a5
L
47172016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4718
4719 * config/i386/cpuinfo.c (processor_features): Add
4720 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4721
48c842ab
CZ
47222016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4723
4724 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4725 (__ARC_NORM__): Use instead ARC_OPTFPE.
4726 * config/arc/fp-hack.h: Likewise.
4727 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4728 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4729
5012919d
AM
47302016-11-16 Alexander Monakov <amonakov@ispras.ru>
4731
4732 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4733 * config/nvptx/mgomp.c: New file.
4734 * config/nvptx/t-nvptx: Add mgomp.c
4735
00178b98
WB
47362016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4737
4738 PR libgcc/68468
4739 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4740
d64af69f
CZ
47412016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4742
4743 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4744 of checking for cpus.
4745 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4746 (__modsi3, __clzsi2): Likewise.
4747
9d8f95de
SN
47482016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4749
4750 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4751 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4752 * config/i386/t-cpuinfo-static: New.
4753
7d29f8e3
ML
47542016-11-03 Martin Liska <mliska@suse.cz>
4755
4756 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4757 (__gcov_time_profiler_atomic): Likewise.
4758
5de3e2d8
BE
47592016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4760
4761 PR libgcc/78067
4762 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4763 count_leading_zeros.
4764
18362447
UB
47652016-11-02 Uros Bizjak <ubizjak@gmail.com>
4766
4767 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4768 * libgcc2.c (__divmoddi4): New function.
4769 * libgcc2.h (__divmoddi4): Declare.
4770 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4771 and __PFX_divmodti4.
4772
33107571
FW
47732016-10-24 Florian Weimer <fweimer@redhat.com>
4774
4775 PR libgcc/78064
4776 * unwind-c.c: Include auto-target.h.
4777
4c6d7494
JDA
47782016-10-19 John David Anglin <danglin@gcc.gnu.org>
4779
18362447 4780 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4781 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4782 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4783 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4784 hppa*64*-*-hpux11*.
4785
2a26adf1
MF
47862016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4787
4788 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4789 definition.
4790 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4791 definition.
4792 * config/xtensa/t-windowed (LIB2ADDEH): Use
4793 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4794 or xtensa/t-linux.
4795
66192aa1
DKC
47962016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4797
4798 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4799 __ieee754_sqrt): New functions.
4800 (__divdf3): Add implementation with new FPU instructions under
4801 #if XCHAL_HAVE_DFP_DIV.
4802 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4803 __ieee754_sqrtf): New functions.
4804 (__divsf3): Add implementation with new FPU instructions under
4805 #if XCHAL_HAVE_FP_DIV.
4806 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4807 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4808
4d0cdd0c
TP
48092016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4810
4811 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4812 equivalent.
4813 * config/tilepro/atomic.c: Likewise and stop casting model to
4814 enum memmodel.
4815
73f01cca
JM
48162016-10-10 Joseph Myers <joseph@codesourcery.com>
4817
4818 PR target/77586
4819 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4820 soft-fp.
4821
b20e7532
AT
48222016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4823
4824 * config.host: Add support for aarch64-*-freebsd*.
4825
a786cec4
AS
48262016-10-05 Andreas Schwab <schwab@suse.de>
4827
4828 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4829 (.section .init_array): Don't call __do_jv_register_classes.
4830 (.section .init): Likewise.
4831
5a79befb
JJ
48322016-10-04 Jakub Jelinek <jakub@redhat.com>
4833
4834 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4835 (__JCR_LIST__): Remove.
4836 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4837 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4838 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4839 * config/ia64/crtend.S (__JCR_END__): Remove.
4840 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4841 conditionals.
4842 (__JCR_LIST__, __JCR_END__): Remove.
4843 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4844 (__do_global_ctors_1): Likewise.
4845
e0ab3753
UB
48462015-09-28 Uros Bizjak <ubizjak@gmail.com>
4847
4848 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4849 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4850
8c9434c2
ML
48512016-09-27 Martin Liska <mliska@suse.cz>
4852
4853 PR gcov-profile/7970
4854 PR gcov-profile/16855
4855 PR gcov-profile/44779
4856 * libgcov-driver.c (__gcov_init): Do not register a atexit
4857 handler.
4858 (__gcov_exit): Rename from gcov_exit.
4859 * libgcov.h (__gcov_exit): Declare.
4860
56b653f1
ML
48612016-09-27 Martin Liska <mliska@suse.cz>
4862
4863 PR bootstrap/77749
4864 * Makefile.in: Remove _gcov_merge_delta.
4865 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4866 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4867 * libgcov.h: Remove declaration of __gcov_merge_delta.
4868
7e02fd1b
EB
48692016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4870
4871 * configure.ac: Do not create links, only substitute the filenames.
4872 * configure: Regenerate.
4873 * Makefile.in: Assign the substitution results to variables.
4874 (LIBGCC_LINKS): Define.
4875 (enable-execute-stack.c): New rule.
4876 (unwind.h): Likewise.
4877 (md-unwind-support.h): Likewise.
4878 (sfp-machine.h): Likewise.
4879 (gthr-default.h): Likewise.
4880 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4881 unwind.h as prerequisite of install-unwind_h-forbuild.
4882
29991048
JJ
48832016-09-16 Jakub Jelinek <jakub@redhat.com>
4884
4885 PR libgcc/71744
4886 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4887 is not the primary registry and atomics are available.
4888 (any_objects_registered): New variable.
4889 (__register_frame_info_bases, __register_frame_info_table_bases):
4890 Atomically store 1 to any_objects_registered after registering first
4891 unwind info.
4892 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4893
0abcd6cc
JG
48942016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4895
4896 PR target/63250
4897 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4898 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4899 (HFtype): Likewise.
4900 (HCtype): Likewise.
4901 (__divhc3): Likewise.
4902 (__mulhc3): Likewise.
4903 * libgcc2.c: Support _mulhc3 and _divhc3.
4904
d758aeb5
JM
49052016-09-07 Joseph Myers <joseph@codesourcery.com>
4906
4907 PR libgcc/77519
4908 * libgcc2.c (NOTRUNC): Invert settings.
4909
7fe76f6a
ML
49102016-09-06 Martin Liska <mliska@suse.cz>
4911
4912 PR gcov-profile/77378
4913 PR gcov-profile/77466
4914 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4915 conditionaly enable/disable *_atomic functions.
4916
21184026
JM
49172016-08-26 Joseph Myers <joseph@codesourcery.com>
4918
4919 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4920 where not already enabled.
4921
726f49c3
SN
49222016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4923
4924 * config/mips/linux-unwind.h: Use sys/syscall.h.
4925
feeb6268
JM
49262016-08-16 Joseph Myers <joseph@codesourcery.com>
4927
4928 PR libgcc/77265
4929 * soft-fp/adddf3.c: Update from glibc.
4930 * soft-fp/addsf3.c: Likewise.
4931 * soft-fp/addtf3.c: Likewise.
4932 * soft-fp/divdf3.c: Likewise.
4933 * soft-fp/divsf3.c: Likewise.
4934 * soft-fp/divtf3.c: Likewise.
4935 * soft-fp/double.h: Likewise.
4936 * soft-fp/eqdf2.c: Likewise.
4937 * soft-fp/eqsf2.c: Likewise.
4938 * soft-fp/eqtf2.c: Likewise.
4939 * soft-fp/extenddftf2.c: Likewise.
4940 * soft-fp/extended.h: Likewise.
4941 * soft-fp/extendsfdf2.c: Likewise.
4942 * soft-fp/extendsftf2.c: Likewise.
4943 * soft-fp/extendxftf2.c: Likewise.
4944 * soft-fp/fixdfdi.c: Likewise.
4945 * soft-fp/fixdfsi.c: Likewise.
4946 * soft-fp/fixdfti.c: Likewise.
4947 * soft-fp/fixsfdi.c: Likewise.
4948 * soft-fp/fixsfsi.c: Likewise.
4949 * soft-fp/fixsfti.c: Likewise.
4950 * soft-fp/fixtfdi.c: Likewise.
4951 * soft-fp/fixtfsi.c: Likewise.
4952 * soft-fp/fixtfti.c: Likewise.
4953 * soft-fp/fixunsdfdi.c: Likewise.
4954 * soft-fp/fixunsdfsi.c: Likewise.
4955 * soft-fp/fixunsdfti.c: Likewise.
4956 * soft-fp/fixunssfdi.c: Likewise.
4957 * soft-fp/fixunssfsi.c: Likewise.
4958 * soft-fp/fixunssfti.c: Likewise.
4959 * soft-fp/fixunstfdi.c: Likewise.
4960 * soft-fp/fixunstfsi.c: Likewise.
4961 * soft-fp/fixunstfti.c: Likewise.
4962 * soft-fp/floatdidf.c: Likewise.
4963 * soft-fp/floatdisf.c: Likewise.
4964 * soft-fp/floatditf.c: Likewise.
4965 * soft-fp/floatsidf.c: Likewise.
4966 * soft-fp/floatsisf.c: Likewise.
4967 * soft-fp/floatsitf.c: Likewise.
4968 * soft-fp/floattidf.c: Likewise.
4969 * soft-fp/floattisf.c: Likewise.
4970 * soft-fp/floattitf.c: Likewise.
4971 * soft-fp/floatundidf.c: Likewise.
4972 * soft-fp/floatundisf.c: Likewise.
4973 * soft-fp/floatunditf.c: Likewise.
4974 * soft-fp/floatunsidf.c: Likewise.
4975 * soft-fp/floatunsisf.c: Likewise.
4976 * soft-fp/floatunsitf.c: Likewise.
4977 * soft-fp/floatuntidf.c: Likewise.
4978 * soft-fp/floatuntisf.c: Likewise.
4979 * soft-fp/floatuntitf.c: Likewise.
4980 * soft-fp/gedf2.c: Likewise.
4981 * soft-fp/gesf2.c: Likewise.
4982 * soft-fp/getf2.c: Likewise.
4983 * soft-fp/ledf2.c: Likewise.
4984 * soft-fp/lesf2.c: Likewise.
4985 * soft-fp/letf2.c: Likewise.
4986 * soft-fp/muldf3.c: Likewise.
4987 * soft-fp/mulsf3.c: Likewise.
4988 * soft-fp/multf3.c: Likewise.
4989 * soft-fp/negdf2.c: Likewise.
4990 * soft-fp/negsf2.c: Likewise.
4991 * soft-fp/negtf2.c: Likewise.
4992 * soft-fp/op-1.h: Likewise.
4993 * soft-fp/op-2.h: Likewise.
4994 * soft-fp/op-4.h: Likewise.
4995 * soft-fp/op-8.h: Likewise.
4996 * soft-fp/op-common.h: Likewise.
4997 * soft-fp/quad.h: Likewise.
4998 * soft-fp/single.h: Likewise.
4999 * soft-fp/soft-fp.h: Likewise.
5000 * soft-fp/subdf3.c: Likewise.
5001 * soft-fp/subsf3.c: Likewise.
5002 * soft-fp/subtf3.c: Likewise.
5003 * soft-fp/truncdfsf2.c: Likewise.
5004 * soft-fp/trunctfdf2.c: Likewise.
5005 * soft-fp/trunctfsf2.c: Likewise.
5006 * soft-fp/trunctfxf2.c: Likewise.
5007 * soft-fp/unorddf2.c: Likewise.
5008 * soft-fp/unordsf2.c: Likewise.
5009 * soft-fp/unordtf2.c: Likewise.
5010
2e6fc1ac
GG
50112016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5012
5013 PR gcov-profile/67097
5014 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5015
a266236e
ML
50162016-08-10 Martin Liska <mliska@suse.cz>
5017
5018 PR gcov-profile/58306
5019 * Makefile.in: New functions (modules) are added.
5020 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5021 function.
5022 (__gcov_pow2_profiler_atomic): New function.
5023 (__gcov_one_value_profiler_body): New argument is instroduced.
5024 (__gcov_one_value_profiler): Call with the new argument.
5025 (__gcov_one_value_profiler_atomic): Likewise.
5026 (__gcov_indirect_call_profiler_v2): Likewise.
5027 (__gcov_time_profiler_atomic): New function.
5028 (__gcov_average_profiler_atomic): Likewise.
5029 (__gcov_ior_profiler_atomic): Likewise.
5030 * libgcov.h: Declare the aforementioned functions.
5031
e0c8eebf
ML
50322016-08-09 Martin Liska <mliska@suse.cz>
5033
5034 * libgcov-util.c: Fix typo and GNU coding style.
5035
6dce6418
ML
50362016-08-09 Martin Liska <mliska@suse.cz>
5037
5038 * Makefile.in: Remove __gcov_indirect_call_profiler.
5039 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5040 function.
5041 * libgcov.h: And the declaration of the function.
5042
dcb1e137
ML
50432016-08-09 Martin Liska <mliska@suse.cz>
5044
5045 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5046 power of two.
5047
d6e69705
BS
50482016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5049
5050 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5051 * config/rs6000/_mulkc3.c: Likewise.
5052
96aa1f95
GJL
50532016-07-29 Georg-Johann Lay <avr@gjlay.de>
5054
5055 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5056 zero_reg as previous call to __umulhisi3 already cleared it.
5057
a1b01d34
AJ
50582016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5059
5060 PR target/59833
5061 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5062
985a47b2
NC
50632016-07-19 Nick Clifton <nickc@redhat.com>
5064
5065 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5066 Add crtinit.o and crtfini.o to extra_parts.
5067
f906f5ed
BS
50682016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5069
5070 * config/rs6000/_divkc3.c: New.
5071 * config/rs6000/_mulkc3.c: New.
5072 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5073 and _divkc3.
5074 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5075 fp128_ppc_funcs.
5076
82742404
HW
50772016-07-11 Hale Wang <hale.wang@arm.com>
5078 Andre Vieira <andre.simoesdiasvieira@arm.com>
5079
5080 * config/arm/lib1funcs.S: Add new wrapper.
5081
05a437c1
TP
50822016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5083
5084 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5085
3d16d9ec
TP
50862016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5087
5088 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5089 and ARMv5t* rather than for a fixed list of architectures.
5090
6f493951
TP
50912016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5092
5093 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5094 implementation suitable for.
5095 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5096 for all Thumb-1 only targets.
5097 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5098 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5099 __ARM_ARCH_6M__.
5100 (EQUIV): Likewise.
5101 (ARM_FUNC_ALIAS): Likewise.
5102 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5103 version.
5104 (modsi3): Likewise.
5105 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5106 (clzdi2): Likewise.
5107 (ctzsi2): Likewise.
5108 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5109 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5110 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5111 __ARM_ARCH_6M__ and add comment to indicate the connection between
5112 this condition and the one in gcc/config/arm/elf.h.
5113 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5114 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5115 * config/arm/t-softfp: Likewise.
5116
1770511a
TS
51172016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5118
5119 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5120 CTOR_LISTS_DEFINED_EXTERNALLY.
5121
ba6be749
WL
51222016-06-28 Walter Lee <walt@tilera.com>
5123
5124 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5125 asm/unistd.h.
5126 (SPR_CMPEXCH_VALUE): Define for tilegx.
5127 (__NR_FAST_cmpxchg): Define for tilepro.
5128 (__NR_FAST_atomic_update): Define for tilepro.
5129 (__NR_FAST_cmpxchg64): Define for tilepro.
5130
a34c0db5
JS
51312016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5132
18362447 5133 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5134
0609abda
TS
51352016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5136
5137 * config.host: Remove support for mep-*.
5138 * config/mep/lib1funcs.S: Remove.
5139 * config/mep/lib2funcs.c: Remove.
5140 * config/mep/t-mep: Remove.
5141 * config/mep/tramp.c: Remove.
5142
3e326935
TS
51432016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5144
5145 * config.host: Remove support for avr-rtems.
5146 * config/avr/t-rtems: Remove.
5147
914b155c
TS
51482016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5149
5150 * config.host: Remove m32r-rtems support.
5151
5ebf89bd
TS
51522016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5153
5154 * config.host: Remove h8300-rtems support.
5155
8466af06
TS
51562016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5157
5158 * config.host: Remove support for knetbsd.
5159
d980e738
TS
51602016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5161
5162 * config.host: Remove support for openbsd 2 and 3.
5163
ee2499b4
TS
51642016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5165
5166 * config.host: Remove interix support.
5167 * config/i386/t-interix: Remove.
5168
9f92937b
JDA
51692016-06-18 John David Anglin <danglin@gcc.gnu.org>
5170
5171 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5172 least-significant bit in function pointer for fixup.
5173
0a0ec53d
AC
51742016-06-05 Aaron Conole <aconole@redhat.com>
5175 Nathan Sidwell <nathan@acm.org>
5176
5177 PR libgcc/71400
5178 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5179 (get_gcov_error_file): Check __gcov_error_file before trying to
5180 initialize it.
5181 (gcov_error): Always use get_gcov_error_file.
5182
8aa5bdd6
AC
51832016-06-02 Aaron Conole <aconole@redhat.com>
5184
5185 * libgcov-driver-system.c (__gcov_error_file): New.
5186 (get_gcov_error_file): New.
5187 (gcov_error): Use and set __gcov_error_file.
5188 (gcov_error_exit): New.
5189 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5190
40774faf
NS
51912016-05-26 Nathan Sidwell <nathan@acm.org>
5192
5193 * config/nvptx/free.asm: Delete.
5194 * config/nvptx/malloc.asm: Delete.
5195 * config/nvptx/realloc.c: Delete.
5196 * t-nvptx: Update.
5197
69a6d5ad
NS
51982016-05-25 Nathan Sidwell <nathan@acm.org>
5199
5200 * config/nvptx/crt0.s: Delete.
5201 * config/nvptx/crt0.c: New.
5202 * t-nvptx: Update.
5203
6befaff6
SL
52042016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5205
385c7747 5206 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5207 dw2/seh configuration.
5208 [x86_64-*-mingw*]: Likewise.
5209
ad251dfd
JS
52102016-05-10 Joel Sherrill <joel@rtems.org>
5211
5212 PR libgcc/70720
5213 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5214 targets so the same extra_parts are built. Also have tmake_file add
5215 on to its value rather than override.
5216
bc6d9014
OE
52172016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5218
5219 * config.host: Remove SH5 support.
5220 * configure: Likewise.
5221
9129c8cf
OE
52222016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5223
5224 * config/sh/crt1.S: Remove SH5 support.
5225 * config/sh/crti.S: Likewise.
5226 * config/sh/crtn.S: Likewise.
5227 * config/sh/lib1funcs-4-300.S: Likewise.
5228 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5229 * config/sh/lib1funcs.S: Likewise.
5230 * config/sh/linux-unwind.h: Likewise.
5231 * config/sh/t-sh64: Delete.
5232
39d50464
CZ
52332016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5234
5235 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5236
8b48923b
CZ
52372016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5238 Joern Rennecke <joern.rennecke@embecosm.com>
5239
5240 * config/arc/crttls.S: New file.
5241 * config/arc/t-arc: New rule.
5242 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5243
2de1cf8c
NC
52442016-04-25 Nick Clifton <nickc@redhat.com>
5245
5246 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5247 (__mspabi_cmpd): Likewise.
5248 * config/msp430/floathidf.c (__floathidf): Likewise.
5249 * config/msp430/floathisf.c (__floathisf): Likewise
5250 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5251 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5252 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5253 second parameter.
5254 (__ashrsi3): Likewise.
5255
b8ce3fe2
WB
52562016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5257
5258 * config/m68k/linux-atomic.c: Do not include unistd.h
5259
4986f823
MG
52602016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5261
5262 * config/arm/ieee754-df.S: Fix typos in comments.
5263
35fbda43
MM
52642016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5265
5266 PR target/70381
5267 * configure.ac (powerpc*-*-linux*): Rework tests to build
5268 __float128 emulation routines to not depend on using #pragma GCC
5269 target to enable -mfloat128.
5270 * configure: Regnerate.
5271
72d1a48d
EB
52722016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5273
5274 PR target/67172
5275 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5276 __MINGW32__ is defined.
5277
dc2e8995
JB
52782016-03-28 James Bowman <james.bowman@ftdichip.com>
5279
385c7747 5280 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 5281
104cdaf1
MM
52822016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5283
5284 PR libgcc/70363
5285 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5286 built with an assembler that does not support ISA 3.0
5287 instructions, rename __extendkftf2_sw to __extendkftf2.
5288
a5046f48
RO
52892016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5290
5291 PR target/38239
5292 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5293 call-clobbered registers.
5294 (internal_mcount): Remove __i386__ handling.
5295
df674f74
JS
52962016-02-26 Joel Sherrill <joel@rtems.org>
5297
5298 * config.host: Add x86_64-*-rtems*.
5299
7cb065d6
JS
53002016-02-26 Joel Sherrill <joel@rtems.org>
5301
5302 * libgcc/config.host: Add aarch64-*-rtems*.
5303
47dfdc53
PM
53042016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5305 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5306
5307 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5308 union of u64 and double.
5309 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5310 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5311 value.
5312 (FP_ROUNDMODE): Update the usage of _fpscr.
5313
e6861a99
IV
53142016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5315
5316 PR driver/68463
5317 * Makefile.in (crtoffloadtable$(objext)): New rule.
5318 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5319 enable_offload_targets is not empty.
5320 * configure: Regenerate.
5321 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5322 crtoffloadtable.
5323
9bfcbdee
MF
53242016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5325
5326 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5327 .literal_position before the function.
5328 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5329 Likewise.
5330
4cb4721f
MK
53312016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5332
5333 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5334 * config/s390/morestack.S: New file.
5335 * config/s390/t-stack-s390: New file.
5336 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5337
b29d9a29
WL
53382016-02-12 Walter Lee <walt@tilera.com>
5339
5340 * config.host (tilegx*-*-linux*): remove ti from
5341 softfp_int_modes for 32-bit configs.
5342
03a0ae7d
ILT
53432016-02-10 Ian Lance Taylor <iant@google.com>
5344
5345 PR go/68562
5346 * config/i386/morestack.S (__stack_split_initialize): Align
5347 stack.
5348
68750bce
AT
53492016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5350
5351 PR bootstrap/69611
5352 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5353 __FLOAT128__ to compile only for __float128 capable targets.
5354
7d296953
JJ
53552016-01-25 Jakub Jelinek <jakub@redhat.com>
5356
5357 PR target/69444
5358 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5359 instead of ___NO_FPRS__.
5360
a71c0334 53612016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5362 Steven Munroe <munroesj@linux.vnet.ibm.com>
5363 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
5364
5365 * config/rs6000/float128-sed: New files to convert TF names to KF
5366 names for PowerPC IEEE 128-bit floating point support.
5367 * config/rs6000/float128-sed-hw: Likewise.
5368
5369 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5370 floating point hardware support.
5371
5372 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5373 128-bit floating point software emulation or use ISA 3.0 hardware
5374 support if it is available.
5375
5376 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5377 floating point.
5378
5379 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5380 floating point to IBM extended double.
5381
5382 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5383 double to IEEE 128-bit floating point.
5384
5385 * config/rs6000/t-float128: New Makefile fragments to enable
5386 building __float128 emulation support.
5387 * config/rs6000/t-float128-hw: Likewise.
5388
5389 * config/rs6000/sfp-exceptions.c: New file to provide exception
5390 support for IEEE 128-bit floating point.
5391
5392 * config/rs6000/floattikf.c: New files for converting between IEEE
5393 128-bit floating point and signed/unsigned 128-bit integers.
5394 * config/rs6000/fixunskfti.c: Likewise.
5395 * config/rs6000/fixkfti.c: Likewise.
5396 * config/rs6000/floatuntikf.c: Likewise.
5397
5398 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5399 when building on 64-bit systems, or when VSX is enabled.
5400 (_FP_W_TYPE): Likewise.
5401 (_FP_WS_TYPE): Likewise.
5402 (_FP_I_TYPE): Likewise.
5403 (TItype): Define on 64-bit systems.
5404 (UTItype): Likewise.
5405 (TI_BITS): Likewise.
5406 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5407 (_FP_MUL_MEAT_Q): Likewise.
5408 (_FP_DIV_MEAT_D): Likewise.
5409 (_FP_DIV_MEAT_Q): Likewise.
5410 (_FP_NANFRAC_D): Likewise.
5411 (_FP_NANFRAC_Q): Likewise.
5412 (ISA_BIT): Add exception support if we are being compiled on a
5413 machine with hardware floating point support to build the IEEE
5414 128-bit emulation functions.
5415 (FP_EX_INVALID): Likewise.
5416 (FP_EX_OVERFLOW): Likewise.
5417 (FP_EX_UNDERFLOW): Likewise.
5418 (FP_EX_DIVZERO): Likewise.
5419 (FP_EX_INEXACT): Likewise.
5420 (FP_EX_ALL): Likewise.
5421 (__sfp_handle_exceptions): Likewise.
5422 (FP_HANDLE_EXCEPTIONS): Likewise.
5423 (FP_RND_NEAREST): Likewise.
5424 (FP_RND_ZERO): Likewise.
5425 (FP_RND_PINF): Likewise.
5426 (FP_RND_MINF): Likewise.
5427 (FP_RND_MASK): Likewise.
5428 (_FP_DECL_EX): Likewise.
5429 (FP_INIT_ROUNDMODE): Likewise.
5430 (FP_ROUNDMODE): Likewise.
5431
5432 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5433 VSX code, enable IEEE 128-bit floating point. If the compiler can
5434 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5435 floating point hardware instructions and it supports declaring
5436 functions with the ifunc attribute, enable ifunc functions to
5437 switch between software and hardware support.
5438 * configure.ac (powerpc*-*-linux*): Likewise.
5439 * configure: Regenerate.
5440
bdc27e50
NC
54412016-01-15 Nick Clifton <nickc@redhat.com>
5442
5443 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5444 dependency as the source file to be compiled.
5445 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5446 (lib2hw_mul_f5.o): Likewise.
5447
006df05d
MM
54482016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5449
5450 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5451 * libgcc/config/rs6000/fixkfti.c: Likewise.
5452 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5453 * libgcc/config/rs6000/float128-hw.c: Likewise.
5454 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5455 * libgcc/config/rs6000/float128-sed: Likewise.
5456 * libgcc/config/rs6000/floattikf.c: Likewise.
5457 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5458 * libgcc/config/rs6000/quad-float128.h: Likewise.
5459 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5460 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5461 * libgcc/config/rs6000/t-float128: Likewise.
5462 * libgcc/config/rs6000/t-float128-hw: Likewise.
5463 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5464 * libgcc/config.host: Likewise.
5465 * libgcc/configure: Likewise.
5466 * libgcc/configure.ac: Likewise.
5467
29176d57 54682016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5469 Steven Munroe <munroesj@linux.vnet.ibm.com>
5470 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5471
5472 * config/rs6000/sfp-exceptions.c: New file to provide exception
5473 support for IEEE 128-bit floating point.
5474
5475 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5476 floating point hardware support.
5477
5478 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5479 point conversions.
5480 * config/rs6000/fixunskfti.c: Likewise.
5481 * config/rs6000/fixkfti.c: Likewise.
5482 * config/rs6000/floatuntikf.c: Likewise.
5483 * config/rs6000/extendkftf2-sw.c: Likewise.
5484 * config/rs6000/trunctfkf2-sw.c: Likewise.
5485
5486 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5487 128-bit floating point software emulation or use ISA 3.0 hardware
5488 support if it is available.
5489
5490 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5491 floating point.
5492
5493 * config/rs6000/t-float128: New Makefile fragments to enable
5494 building __float128 emulation support.
5495 * config/rs6000/t-float128-hw: Likewise.
5496
5497 * config/rs6000/float128-sed: New file to convert TF names to KF
5498 names for PowerPC IEEE 128-bit floating point support.
5499
5500 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5501 when building on 64-bit systems, or when VSX is enabled.
5502 (_FP_W_TYPE): Likewise.
5503 (_FP_WS_TYPE): Likewise.
5504 (_FP_I_TYPE): Likewise.
5505 (TItype): Define on 64-bit systems.
5506 (UTItype): Likewise.
5507 (TI_BITS): Likewise.
5508 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5509 (_FP_MUL_MEAT_Q): Likewise.
5510 (_FP_DIV_MEAT_D): Likewise.
5511 (_FP_DIV_MEAT_Q): Likewise.
5512 (_FP_NANFRAC_D): Likewise.
5513 (_FP_NANFRAC_Q): Likewise.
5514 (ISA_BIT): Add exception support if we are being compiled on a
5515 machine with hardware floating point support to build the IEEE
5516 128-bit emulation functions.
5517 (FP_EX_INVALID): Likewise.
5518 (FP_EX_OVERFLOW): Likewise.
5519 (FP_EX_UNDERFLOW): Likewise.
5520 (FP_EX_DIVZERO): Likewise.
5521 (FP_EX_INEXACT): Likewise.
5522 (FP_EX_ALL): Likewise.
5523 (__sfp_handle_exceptions): Likewise.
5524 (FP_HANDLE_EXCEPTIONS): Likewise.
5525 (FP_RND_NEAREST): Likewise.
5526 (FP_RND_ZERO): Likewise.
5527 (FP_RND_PINF): Likewise.
5528 (FP_RND_MINF): Likewise.
5529 (FP_RND_MASK): Likewise.
5530 (_FP_DECL_EX): Likewise.
5531 (FP_INIT_ROUNDMODE): Likewise.
5532 (FP_ROUNDMODE): Likewise.
5533
5534 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5535 compiler can do __float128.
5536 * configure: Regenerate.
5537
5538 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5539 VSX code, enable IEEE 128-bit floating point.
5540
a2218983
OH
55412016-01-05 Olivier Hainque <hainque@adacore.com>
5542
5543 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5544 specificities.
a2218983 5545
818ab71a
JJ
55462016-01-04 Jakub Jelinek <jakub@redhat.com>
5547
5548 Update copyright years.
5549
5a6c8ffa
AP
55502015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5551
5552 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5553 soft-fp targets.
5a6c8ffa 5554
077067a5
BE
55552015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5556
5557 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5558 instead of abort to avoid dependency on stdlib.h.
5559
787c1027
JDA
55602015-12-09 John David Anglin <danglin@gcc.gnu.org>
5561
5562 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5563 to initialize call to __dl_fixup once.
5564
04a9ae28
NC
55652015-12-04 Nick Clifton <nickc@redhat.com>
5566
5567 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5568 Allow for the second argument being negative.
5569 * config.host (extra_parts): Define for MSP430. Create separate
5570 libraries for each of the hardware multiply formats.
5571 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5572 that are needed.
5573 * config/msp430/lib2mul.c: Likewise.
5574 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5575 Add rules to build hardware multiply libraries.
5576 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5577 __mspabi_divul function.
5578 (__mspabi_divllu): New stub function.
5579
9a32d437
JDA
55802015-12-01 John David Anglin <danglin@gcc.gnu.org>
5581
5582 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5583 fixup values if saved GOT address doesn't match runtime address.
5584 (fixup_branch_offset): Reorder list.
5585
e5ef217c
RO
55862015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5587
5588 * Makefile.in (VTV_CFLAGS): New variable.
5589 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5590 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5591 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5592 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5593 to extra_parts if $enable_vtable_verify = yes.
5594
78cc43a2
SN
55952015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5596
5597 PR target/68059
5598 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5599 (write): ...this and fix the return type.
5600
9afebea2
DD
56012015-11-19 DJ Delorie <dj@redhat.com>
5602
5603 * config/msp430/lib2hw_mul.S: Fix alignment.
5604
33f47f42
NS
56052015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5606
5607 * config/nvptx/reduction.c: New.
5608 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5609
d9adb476
DE
56102015-11-15 David Edelsohn <dje.gcc@gmail.com>
5611
5612 * config/rs6000/on_exit.c: New file.
5613 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5614 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5615
c0ab1970
CZ
56162015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5617
5618 * config/arc/dp-hack.h: Add support for ARCHS.
5619 * config/arc/ieee-754/divdf3.S: Likewise.
5620 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5621 * config/arc/ieee-754/muldf3.S: Likewise.
5622 * config/arc/ieee-754/mulsf3.S: Likewise
5623 * config/arc/lib1funcs.S: Likewise
5624 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5625 for ARCv2 cores.
5626 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5627 for ARCv2 cores.
5628 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5629 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5630 cores.
5631
e6b6bf09
RO
56322015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5633
5634 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5635 value.
5636 * config/ia64/crtend.S: Likewise.
5637
a153644f
TS
56382015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5639
5640 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5641 __CHAR_BIT__ instead of BITS_PER_UNIT.
5642 * fixed-bit.h: Likewise.
5643 * fp-bit.h: Likewise.
5644 * libgcc2.c (__popcountSI2): Likewise.
5645 (__popcountDI2): Likewise.
5646 * libgcc2.h: Likewise.
5647 * libgcov.h: Likewise.
5648
3dee689d
DE
56492015-11-07 David Edelsohn <dje.gcc@gmail.com>
5650
5651 * config/rs6000/atexit.c: New file.
5652 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5653 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5654 * config/rs6000/cxa_finalize.c
5655 (catomic_compare_and_exchange_bool_acq): Negate return value.
5656
2ef543e4
VK
56572015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5658
5659 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5660 (processor_subtypes): Add znver1.
5661 (get_amd_cpu): Detect znver1.
5662
1300f017
CL
56632015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5664
5665 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5666 Include crtfastmath.o.
5667
3e5bb7ee
JR
56682015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5669
5670 PR libgcc/66883
5671 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5672
793aa938
KP
56732015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5674
5675 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5676 * config/rl78/divmodsi.S: Update return register to r8.
5677 * config/rl78/divmodhi.S: Update return register to r8,r9.
5678 Branch to main_loop_done_himode to pop registers before return.
5679
7d296953 56802015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5681
5682 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5683 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5684
6a192b5a
KY
56852015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5686
5687 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5688
4a0a9457
MF
56892015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5690
5691 * config.host (xtensa*-*-uclinux*): New configuration.
5692
ab91c076
KY
56932015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5694
385c7747 5695 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5696 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5697
30954527
JM
56982015-09-28 Joseph Myers <joseph@codesourcery.com>
5699
5700 * soft-fp/adddf3.c: Update from glibc.
5701 * soft-fp/addsf3.c: Likewise.
5702 * soft-fp/addtf3.c: Likewise.
5703 * soft-fp/divdf3.c: Likewise.
5704 * soft-fp/divsf3.c: Likewise.
5705 * soft-fp/divtf3.c: Likewise.
5706 * soft-fp/double.h: Likewise.
5707 * soft-fp/eqdf2.c: Likewise.
5708 * soft-fp/eqsf2.c: Likewise.
5709 * soft-fp/eqtf2.c: Likewise.
5710 * soft-fp/extenddftf2.c: Likewise.
5711 * soft-fp/extended.h: Likewise.
5712 * soft-fp/extendsfdf2.c: Likewise.
5713 * soft-fp/extendsftf2.c: Likewise.
5714 * soft-fp/extendxftf2.c: Likewise.
5715 * soft-fp/fixdfdi.c: Likewise.
5716 * soft-fp/fixdfsi.c: Likewise.
5717 * soft-fp/fixdfti.c: Likewise.
5718 * soft-fp/fixsfdi.c: Likewise.
5719 * soft-fp/fixsfsi.c: Likewise.
5720 * soft-fp/fixsfti.c: Likewise.
5721 * soft-fp/fixtfdi.c: Likewise.
5722 * soft-fp/fixtfsi.c: Likewise.
5723 * soft-fp/fixtfti.c: Likewise.
5724 * soft-fp/fixunsdfdi.c: Likewise.
5725 * soft-fp/fixunsdfsi.c: Likewise.
5726 * soft-fp/fixunsdfti.c: Likewise.
5727 * soft-fp/fixunssfdi.c: Likewise.
5728 * soft-fp/fixunssfsi.c: Likewise.
5729 * soft-fp/fixunssfti.c: Likewise.
5730 * soft-fp/fixunstfdi.c: Likewise.
5731 * soft-fp/fixunstfsi.c: Likewise.
5732 * soft-fp/fixunstfti.c: Likewise.
5733 * soft-fp/floatdidf.c: Likewise.
5734 * soft-fp/floatdisf.c: Likewise.
5735 * soft-fp/floatditf.c: Likewise.
5736 * soft-fp/floatsidf.c: Likewise.
5737 * soft-fp/floatsisf.c: Likewise.
5738 * soft-fp/floatsitf.c: Likewise.
5739 * soft-fp/floattidf.c: Likewise.
5740 * soft-fp/floattisf.c: Likewise.
5741 * soft-fp/floattitf.c: Likewise.
5742 * soft-fp/floatundidf.c: Likewise.
5743 * soft-fp/floatundisf.c: Likewise.
5744 * soft-fp/floatunditf.c: Likewise.
5745 * soft-fp/floatunsidf.c: Likewise.
5746 * soft-fp/floatunsisf.c: Likewise.
5747 * soft-fp/floatunsitf.c: Likewise.
5748 * soft-fp/floatuntidf.c: Likewise.
5749 * soft-fp/floatuntisf.c: Likewise.
5750 * soft-fp/floatuntitf.c: Likewise.
5751 * soft-fp/gedf2.c: Likewise.
5752 * soft-fp/gesf2.c: Likewise.
5753 * soft-fp/getf2.c: Likewise.
5754 * soft-fp/ledf2.c: Likewise.
5755 * soft-fp/lesf2.c: Likewise.
5756 * soft-fp/letf2.c: Likewise.
5757 * soft-fp/muldf3.c: Likewise.
5758 * soft-fp/mulsf3.c: Likewise.
5759 * soft-fp/multf3.c: Likewise.
5760 * soft-fp/negdf2.c: Likewise.
5761 * soft-fp/negsf2.c: Likewise.
5762 * soft-fp/negtf2.c: Likewise.
5763 * soft-fp/op-1.h: Likewise.
5764 * soft-fp/op-2.h: Likewise.
5765 * soft-fp/op-4.h: Likewise.
5766 * soft-fp/op-8.h: Likewise.
5767 * soft-fp/op-common.h: Likewise.
5768 * soft-fp/quad.h: Likewise.
5769 * soft-fp/single.h: Likewise.
5770 * soft-fp/soft-fp.h: Likewise.
5771 * soft-fp/subdf3.c: Likewise.
5772 * soft-fp/subsf3.c: Likewise.
5773 * soft-fp/subtf3.c: Likewise.
5774 * soft-fp/truncdfsf2.c: Likewise.
5775 * soft-fp/trunctfdf2.c: Likewise.
5776 * soft-fp/trunctfsf2.c: Likewise.
5777 * soft-fp/trunctfxf2.c: Likewise.
5778 * soft-fp/unorddf2.c: Likewise.
5779 * soft-fp/unordsf2.c: Likewise.
5780 * soft-fp/unordtf2.c: Likewise.
5781
4dfe21ac
RE
57822015-09-24 Richard Earnshaw <rearnsha@arm.com>
5783
5784 PR libgcc/67624
5785 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5786
df2a1cc4
RO
57872015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5788
5789 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5790 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5791 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5792 messages.
5793 (internal_mcount): Likewise.
5794 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5795 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5796
2d110442
RO
57972015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5798
5799 * configure.ac (libgcc_cv_solaris_crts): New test.
5800 * configure: Regenerate.
5801 * config.in: Regenerate.
5802 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5803 * config/gmon-sol2.c: Rename to ...
5804 * config/sol2/gmon.c: ... this.
5805 Include auto-target.h.
5806 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5807 * config/t-sol2: Rename to ...
5808 * config/sol2/t-sol2: ... this.
5809 (gmon.o): Reflect renaming.
5810 (crtp.o, crtpg.o): New rules.
5811 * config.host (*-*-solaris2*): Reflect renaming.
5812 Use system CRTs if present.
5813 Remove default CRT case.
5814
d572e439
JDA
58152015-09-23 John David Anglin <danglin@gcc.gnu.org>
5816
5817 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5818 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5819 __kernel_cmpxchg2.
5820 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5821 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5822 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5823 (__sync_lock_test_and_set_##WIDTH): Likewise.
5824 (__sync_lock_release_##WIDTH): Likewise.
5825 (__sync_fetch_and_##OP##_4): Change result to match type of
5826 __kernel_cmpxchg.
5827 (__sync_##OP##_and_fetch_4): Likewise.
5828 (__sync_val_compare_and_swap_4): Likewise.
5829 (__sync_bool_compare_and_swap_4): likewise.
5830 (__sync_lock_test_and_set_4): Likewise.
5831 (__sync_lock_release_4): Likewise.
5832 (FETCH_AND_OP_2): Add long long variants.
5833 (OP_AND_FETCH_2): Likewise.
5834 (COMPARE_AND_SWAP_2 ): Likewise.
5835 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5836 (SYNC_LOCK_RELEASE_2): Likewise.
5837 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5838
7d296953 58392015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5840
5841 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5842 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5843 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5844 (get_available_features): Habdle new features.
5845
131314e1
JB
58462015-09-21 James Bowman <james.bowman@ftdichip.com>
5847
5848 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5849 memory layout. Deal correctly with BSS region larger than 32K.
5850 Handle a watchdog reset like a power-on reset. Clean up unused
5851 code.
5852
04218b35
AD
58532015-09-18 Andrew Dixie <andrewd@gentrack.com>
5854 David Edelsohn <dje.gcc@gmail.com>
5855
5856 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5857 * config/rs6000/crtdbase.S: New file.
5858 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5859
c8338173
MF
58602015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5861
5862 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5863 Add support for call0 ABI.
5864
7a84bf71
JDA
58652015-09-13 John David Anglin <danglin@gcc.gnu.org>
5866
5867 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5868
4efab402
SH
58692015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5870
5871 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5872 (__GTHREAD_HAS_COND): Likewise.
5873 (__gthread_t): Likewise.
5874 (__gthread_cond_t): Likewise.
5875 (__gthread_time_t): Likewise.
5876 (__GTHREAD_MUTEX_INIT): Likewise.
5877 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5878 (__GTHREAD_COND_INIT): Likewise.
5879 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5880 (__GTHREAD_TIME_INIT): Likewise.
5881 (__gthread_create): Likewise.
5882 (__gthread_join): Likewise.
5883 (__gthread_detach): Likewise.
5884 (__gthread_equal): Likewise.
5885 (__gthread_self): Likewise.
5886 (__gthread_yield): Likewise.
5887 (__gthread_cond_broadcast): Likewise.
5888 (__gthread_cond_signal): Likewise.
5889 (__gthread_cond_wait): Likewise.
5890 (__gthread_cond_timedwait): Likewise.
5891 (__gthread_cond_wait_recursive): Likewise.
5892 (__gthread_cond_destroy): Likewise.
5893 (rtems_gxx_once): Delete.
5894 (rtems_gxx_key_create): Likewise.
5895 (rtems_gxx_key_delete): Likewise.
5896 (rtems_gxx_getspecific): Likewise.
5897 (rtems_gxx_setspecific): Likewise.
5898 (rtems_gxx_mutex_init): Likewise.
5899 (rtems_gxx_mutex_destroy): Likewise.
5900 (rtems_gxx_mutex_lock): Likewise.
5901 (rtems_gxx_mutex_trylock): Likewise.
5902 (rtems_gxx_mutex_unlock): Likewise.
5903 (rtems_gxx_recursive_mutex_init): Likewise.
5904 (rtems_gxx_recursive_mutex_lock): Likewise.
5905 (rtems_gxx_recursive_mutex_trylock): Likewise.
5906 (rtems_gxx_recursive_mutex_unlock): Likewise.
5907 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5908 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5909 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5910 (__gthread_once): Likewise.
5911 (__gthread_key_create): Likewise.
5912 (__gthread_key_delete): Likewise.
5913 (__gthread_getspecific): Likewise.
5914 (__gthread_setspecific): Likewise.
5915 (__gthread_key_t): Use <pthread.h> type.
5916 (__gthread_once_t): Likewise
5917 (__gthread_mutex_t): Use <sys/lock.h> type.
5918 (__gthread_recursive_mutex_t): Likewise
5919 (__gthread_mutex_lock): Use <sys/lock.h> function.
5920 (__gthread_mutex_trylock): Likewise.
5921 (__gthread_mutex_timedlock): Likewise.
5922 (__gthread_mutex_unlock): Likewise.
5923 (__gthread_mutex_destroy): Likewise.
5924 (__gthread_recursive_mutex_lock): Likewise.
5925 (__gthread_recursive_mutex_trylock): Likewise.
5926 (__gthread_recursive_mutex_timedlock): Likewise.
5927 (__gthread_recursive_mutex_unlock): Likewise.
5928 (__gthread_recursive_mutex_destroy): Likewise.
5929
991995c4
MF
59302015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5931
5932 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5933 context->sp instead of context->cfa.
5934
0e19db59
MF
59352015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5936
5937 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5938 with unwind-dw2-fde-dip.
5939
b6ac5f62
MF
59402015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5941
5942 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5943 CALL12 followed by series of ENTRY to spill windowed registers.
5944 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5945 instead of making linux spill syscall.
5946
3e0f3349
YR
59472015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5948
5949 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5950 (get_intel_cpu): Likewise.
5951
51c728b1
L
59522015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5953
5954 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5955 (get_intel_cpu): Add Knights Landing support.
5956
aff4eeac
UB
59572015-08-11 Uros Bizjak <ubizjak@gmail.com>
5958
5959 PR target/66954
5960 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5961 (get_available_features): Handle FEATURE_PCLMUL.
5962
736e56da
L
59632015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5964
5965 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5966 Broadwell.
5967
54d22142
UB
59682015-07-22 Uros Bizjak <ubizjak@gmail.com>
5969
5970 PR target/66954
5971 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5972 (get_available_features): Handle FEATURE_AES.
5973
20ca17e4
CLT
59742015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5975
5976 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5977 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5978
ebe4a560
NS
59792015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5980
5981 * offloadstuff.c: Constify host data.
5982
180744c0
JB
59832015-07-17 Jan Beulich <jbeulich@suse.com>
5984
5985 * config/t-softfp: Split up "else ifneq".
5986
a03c6ae3
SL
59872015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5988 Cesar Philippidis <cesar@codesourcery.com>
5989 Chung-Lin Tang <cltang@codesourcery.com>
5990
5991 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5992 for __nios2_arch__ level.
5993
73358db5
JM
59942015-07-13 John Marino <gnugcc@marino.st>
5995
5996 * config/i386/t-dragonfly: New.
5997
f9a12f7b
JDA
59982015-07-01 John David Anglin <danglin@gcc.gnu.org>
5999
6000 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6001 better match light-weight syscall argument order.
6002 (__kernel_cmpxchg2): Likewise.
6003 Adjust callers.
6004
cb78b51c
L
60052015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6006
6007 * config.host: Support i[34567]86-*-elfiamcu target.
6008 * config/t-softfp-sfdftf: New file.
6009 * config/i386/32/t-iamcu: Likewise.
6010 * configure: Regenerated.
6011
4fa0f9ea
JL
60122015-06-23 James Lemke <jwlemke@codesourcery.com>
6013
6014 libgcc/config/arm/
6015 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6016
428b3812
L
60172015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6018
6019 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6020
7d296953 60212015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6022
6023 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6024 md_unwind_header
6025 * config/i386/freebsd-unwind.h: New.
6026
9b789cc1
UB
60272015-05-22 Uros Bizjak <ubizjak@gmail.com>
6028
6029 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6030 i386/t-crtfm to tmake_file.
6031 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6032 (set_fast_math): Use set_fast_math_sse for SSE targets.
6033 * config/i386/t-crtfm: Remove.
6034
3dafb220
AM
60352015-05-21 Alan Modra <amodra@gmail.com>
6036
6037 PR libgcc/66225
6038 * config/rs6000/morestack.S: Remove ".abiversion 1".
6039
0f0fd745
AM
60402015-05-20 Alan Modra <amodra@gmail.com>
6041
6042 * config/rs6000/morestack.S: New.
6043 * config/rs6000/t-stack-rs6000: New.
6044 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6045 to tmake_file.
6046 * generic-morestack.c: Don't build for powerpc 32-bit.
6047
515ae71b
EB
60482015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6049
6050 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6051 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6052
36805406
JL
60532015-05-16 James Bowman <james.bowman@ftdichip.com>
6054
6055 * config.host: FT32 target added.
6056 * config/ft32/*: New files for FT32 target.
6057
ff935d0c
MG
60582015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6059
385c7747
UB
6060 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6061 New macros.
6062 * config/arm/ieee754-df.S: Add CFI directives.
6063 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6064
9b92a9f3
EB
60652015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6066
6067 * configure.ac: Include config/sjlj.m4.
6068 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6069 * config.in: Regenerate.
6070 * configure: Likewise.
6071 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6072
98b5dc61
UB
60732015-05-12 Uros Bizjak <ubizjak@gmail.com>
6074
6075 * libgcov-util.c: Add space between string literal and macro name.
6076
5a0ff57c
SL
60772015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6078 Chris Jones <chrisj@nvidia.com>
6079 Joshua Conner <jconner@nvidia.com>
6080
6081 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6082 (arm*-*-uclinux*): Likewise.
6083 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6084 * config/arm/crtfastmath.c: New file.
6085
d28ad5d4
BS
60862014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6087
6088 * Makefile.in (real_host_noncanonical): New variable.
6089 (libsubdir): Use it.
6090 * configure.ac (real_host_noncanonical): Compute. Remove special
6091 case for intelmicemul.
6092 * configure: Regenerate.
6093
cc86234f
UB
60942015-04-28 Uros Bizjak <ubizjak@gmail.com>
6095
6096 * config/frv/elf-lib.h: New file.
6097 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6098 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6099 to tm_file.
6100
61012015-04-28 Uros Bizjak <ubizjak@gmail.com>
6102
6103 * config/frv/frvbengin.c: Do not include defaults.h
6104 * config/frv/frvend.c: Ditto.
6105
2f6bd6eb
YS
61062015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6107
6108 * config.host: Add h8300-*-linux
6109 * config/h8300/t-linux: New file.
6110 * config/h8300/lib1funs.s: Change symbol prefix.
6111 * config/h8300/sfp-machine.h: 64bit double support.
6112
15aa7b44
GR
61132015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6114 Szabolcs Nagy <szabolcs.nagy@arm.com>
6115
6116 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6117 Linux if target provides dl_iterate_phdr.
6118
abd0cdc9
L
61192015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6120
6121 PR target/65612
6122 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6123 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6124 (__cpu_indicator_init@GCC_4.8.0): New.
6125 (__cpu_model@GCC_4.8.0): Likewise.
6126 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6127 -DUSE_ELF_SYMVER.
6128
72ed1126
NC
61292015-04-16 Nick Clifton <nickc@redhat.com>
6130
6131 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6132 and __modhi3 functions.
6133 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6134 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6135
d26b2237
CG
61362015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6137
6138 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6139 do-while loop as macro body to avoid warnings.
6140
cacf1f59
JJ
61412015-04-10 Jakub Jelinek <jakub@redhat.com>
6142 Iain Sandoe <iain@codesourcery.com>
6143
6144 PR target/65351
6145 * configure: Regenerate.
6146
e8a4ed3b
JJ
61472015-04-07 Jakub Jelinek <jakub@redhat.com>
6148 Iain Sandoe <iain@codesourcery.com>
6149
6150 PR target/65351
6151 * configure: Regenerate.
6152
0341335e
CLT
61532015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6154
6155 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6156
590e2636 61572015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6158
590e2636
MF
6159 Implement call0 ABI for xtensa
6160 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6161 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6162 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6163 use ret in call0 ABI.
6164 * config/xtensa/t-windowed: New file.
6165 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6166 * libgcc/configure: Regenerated.
6167 * libgcc/configure.ac: Check if xtensa target is configured for
6168 windowed ABI and thus needs to use custom unwind code.
6169
7727f8f2
JW
61702015-02-12 Jonathan Wakely <jwakely@redhat.com>
6171
6172 PR libgcc/64885
6173 * gthr-single.h: Use __unused__ attribute instead of unused.
6174 * config/gthr-vxworks.h: Likewise.
6175 * config/i386/gthr-win32.h: Likewise.
6176
0e4a0def
KT
61772015-02-27 Kai Tietz <ktietz@redhat.com>
6178
6179 PR target/65038
6180 * config.in: Regenerated.
6181 * configure: Likewise.
6182 * configure.ac (AC_HEADER_STDC): Added explicit.
6183 (AC_CHECK_HEADERS): Check for default headers plus
6184 for ftw.h header.
6185 * libgcov-util.c (gcov_read_profile_dir): Disable use
6186 of ftw-function, if header is not found.
6187 (ftw_read_file): Likewise.
6188
b6530d0a
TS
61892015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6190
6191 PR target/65181
6192 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6193 -Dinhibit_libc.
6194
53cfb467
SL
61952015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6196
6197 * config/arm/bpabi.S (test_div_by_zero): Make label names
6198 consistent between thumb2 and arm mode cases. Separate the
6199 signed comparison on the high word of the numerator from the
6200 unsigned comparison on the low word.
6201 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6202 signed comparison.
6203
77d10a1b
JM
62042015-02-17 Joseph Myers <joseph@codesourcery.com>
6205
6206 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6207 and <string.h>.
6208 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6209
98174188
RE
62102015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6211
6212 PR gcov-profile/61889
471274de 6213 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6214
771bef14
NC
62152015-02-02 Nick Clifton <nickc@redhat.com>
6216
6217 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6218 rounding up the fraction.
6219
40702893
JDA
62202015-01-31 John David Anglin <danglin@gcc.gnu.org>
6221
6222 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6223 oldval and newval to const void *. Fix typo.
6224 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6225 (FETCH_AND_OP_WORD): Likewise.
6226 (OP_AND_FETCH_WORD): Likewise.
6227 (COMPARE_AND_SWAP_2): Likewise.
6228 (__sync_val_compare_and_swap_4): Likewise.
6229 (__sync_lock_test_and_set_4): Likewise.
6230 (SYNC_LOCK_RELEASE_2): Likewise.
6231 Remove support for long long atomic operations.
6232
f7f049fa
CT
62332015-01-27 Caroline Tice <cmtice@google.com>
6234
6235 Committing VTV Cywin/Ming patch for Patrick Wollgast
6236 * Makefile.in: Move rules to build vtv_*.o out of the check
6237 for CUSTOM_CRTSTUFF.
6238 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6239 i[34567]86-*-mingw*)
3d3b561f 6240 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
6241 enable_vtable_verify.
6242
8410904a
NC
62432015-01-27 Nick Clifton <nickc@redhat.com>
6244
6245 * config/rl78/cmpsi2.S: Use function start and end macros.
6246 (__gcc_bcmp): New function.
6247 * config/rl78/lshrsi3.S: Use function start and end macros.
6248 * config/rl78/mulsi3.S: Add support for G10.
6249 (__mulqi3): New function for G10.
6250 * config/rl78/signbit.S: Use function start and end macros.
6251 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6252 fpmath-sf.S.
6253 (LIB2FUNCS_EXCLUDE): Define.
6254 (LIB2FUNCS_ST): Define.
6255 * config/rl78/trampoline.S: Use function start and end macros.
6256 * config/rl78/vregs.h (START_FUNC): New macro.
6257 (START_ANOTHER_FUNC): New macro.
6258 (END_FUNC): New macro.
6259 (END_ANOTHER_FUNC): New macro.
6260 * config/rl78/bit-count.S: New file. Contains assembler
6261 implementations of the bit counting functions: ___clzhi2,
6262 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6263 __paritysi2, __popcounthi2 and __popcountsi2.
6264 * config/rl78/fpbit-sf.S: New file. Contains assembler
6265 implementationas of the math functions: __negsf2, __cmpsf2,
6266 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6267 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6268 * config/rl78/fpmath-sf.S: New file. Contains assembler
6269 implementations of the math functions: __subsf3, __addsf3,
6270 __mulsf3 and __divsf3
6271
f962fbf1
RO
62722015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6273
6274 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6275 Add i386/elf-lib.h to tm_file.
6276 * config/i386/elf-lib.h: Fix comment.
6277 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6278 && __sun__ && __svr4__]: Remove workaround.
6279
939911c5
ASJ
62802015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6281
6282 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6283 FEATURE_BMI2.
6284 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6285
c8f2dff2
L
62862015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6287
6288 * config/i386/cpuinfo.c (processor_subtypes): Add
6289 INTEL_COREI7_BROADWELL.
6290 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6291 model numbers.
6292
7bbf9734
UB
62932015-01-23 Uros Bizjak <ubizjak@gmail.com>
6294
6295 * config/i386/elf-lib.h: New file.
6296 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6297 Wrap definition in #ifdef __i386__.
6298 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6299 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6300 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6301 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6302 to tm_file.
6303
324820f1
CG
63042015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6305
6306 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6307 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6308
a9ce4e4a
CLT
63092015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6310
6311 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6312 Update rt_sigframe format and address for current Nios II
6313 Linux conventions.
6314
82a19768
AT
63152015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6316
6317 * config.host (arm*-*-freebsd*): Add new configuration for
6318 arm*-*-freebsd*.
6319 * config/arm/freebsd-atomic.c: New file.
6320 * config/arm/t-freebsd: Likewise.
6321 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6322 'PC-relative indirect' OS's.
6323
0969ec7d
EB
63242015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6325
6326 * config.host: Add Visium support.
6327 * config/visium: New directory.
6328
5624e564
JJ
63292015-01-05 Jakub Jelinek <jakub@redhat.com>
6330
6331 Update copyright years.
6332
82f84ecb
MF
63332014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6334
6335 * config.host: Support mipsisa32r6 and mipsisa64r6.
6336 * config/mips/mips16.S: Do not build for R6.
6337
69044fa9
OE
63382014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6339
6340 * config/sh/crt.h: New.
6341 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6342 symbols.
6343 * config/sh/crt1.S: Likewise.
6344
2405e0ea
UB
63452014-12-15 Uros Bizjak <ubizjak@gmail.com>
6346
6347 PR libgcc/63832
6348 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6349 func_ptr *dtor_list temporary variable to avoid "array subscript
6350 is above array bounds" warnings.
6351
7d296953 63522014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
6353
6354 * Makefile.in (with_aix_soname): Define.
6355 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6356 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6357 * configure: Recreate.
6358
a66272f6
OH
63592014-12-05 Olivier Hainque <hainque@adacore.com>
6360
6361 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6362 now provided by defaults.h.
6363
6342b2c5
OE
63642014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6365
7d0ee249 6366 PR target/55351
6342b2c5
OE
6367 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6368 whether it's defined.
6369
c17eac85
IT
63702014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6371
6372 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6373 * config/i386/cpuinfo.c (get_available_features): Detect it.
6374
1025cb6c
TW
63752014-11-27 Tony Wang <tony.wang@arm.com>
6376
6377 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6378 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6379 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6380
d19f2e38
SB
63812014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6382
6383 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6384
17f6e9a3
JDA
63852014-11-24 John David Anglin <danglin@gcc.gnu.org>
6386
6387 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6388 instead.
6389
0cd7c672
GM
63902014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6391 John David Anglin <danglin@gcc.gnu.org>
6392
6393 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6394 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6395 (OP_AND_FETCH_2): Likewise.
6396 (COMPARE_AND_SWAP_2): Likewise.
6397 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6398 (SYNC_LOCK_RELEASE_2): Likewise.
6399 (SUBWORD_SYNC_OP): Remove.
6400 (SUBWORD_VAL_CAS): Likewise.
6401 (SUBWORD_BOOL_CAS): Likewise.
6402 (FETCH_AND_OP_WORD): Update.
6403 Consistently use signed types.
cc86234f 6404
85c64bbe
BS
64052014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6406 Thomas Schwinge <thomas@codesourcery.com>
6407 Ilya Verbin <ilya.verbin@intel.com>
6408 Andrey Turetskiy <andrey.turetskiy@intel.com>
6409
6410 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6411 (crtoffloadend$(objext)): Likewise.
6412 * configure: Regenerate.
6413 * configure.ac (accel_dir_suffix): Compute new variable.
6414 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6415 if enable_offload_targets is not empty.
6416 * offloadstuff.c: New file.
6417
52a1ff8b
NC
64182014-11-13 Nick Clifton <nickc@redhat.com>
6419
6420 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6421 Use START_FUNC and END_FUNC macros to enable linker garbage
6422 collection.
6423 * config/rl78/divmodqi.S: Likewise.
6424 * config/rl78/divmodsi.S: Likewise.
6425 * config/rl78/mulsi3.S: Likewise.
6426 * config/rl78/lib2div.c: Remove G10 functions.
6427 * config/rl78/lib2muls.c: Likewise.
6428 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6429 * config/rl78/vregs.h (START_FUNC): New macro.
6430 (END_FUNC): New macro.
6431
050af144
MF
64322014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6433
6434 * config/mips/mips16.S: Set .module when supported. Update O32
6435 FP64 calling convention and use for FPXX when possible. Add FPXX
6436 calling convention fallback case.
6437
738f2522
BS
64382014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6439
6440 * config.host: Handle nvptx-*-*.
6441 * shared-object.mk (as-flags-$o): Define.
6442 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6443 -xassembler-with-cpp.
6444 * static-object.mk: Identical changes.
6445 * config/nvptx/t-nvptx: New file.
6446 * config/nvptx/crt0.s: New file.
6447 * config/nvptx/free.asm: New file.
6448 * config/nvptx/malloc.asm: New file.
6449 * config/nvptx/realloc.c: New file.
6450
e610393c
JM
64512014-10-30 Joseph Myers <joseph@codesourcery.com>
6452
6453 * Makefile.in (libgcc.map.in): New target.
6454 (libgcc.map): Use libgcc.map.in.
6455 * config/t-softfp (softfp_compat): New variable to be set by
6456 users.
6457 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6458 variables.
6459 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6460 directory.
6461 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6462 that use compat symbols and disable all code unless [SHARED].
6463 * config/t-softfp-compat: New file.
6464 * find-symver.awk: New file.
6465 * configure.ac (--with-glibc-version): New configure option.
6466 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6467 * configure: Regenerate.
6468 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6469 soft-float and e500.
6470
bc1b3a88
JM
64712014-10-29 Joseph Myers <joseph@codesourcery.com>
6472
6473 * config/t-hardfp (hardfp_exclusions): Document new variable for
6474 user to define.
6475 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6476 * config/t-softfp (softfp_extras): Document new variable for user
6477 to define.
6478 (softfp_func_list): Add functions from $(softfp_extras).
6479 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6480 * config.host (powerpc*-*-linux*): For e500v1, use
6481 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6482 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6483 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6484
ef2810c1
JDA
64852014-10-26 John David Anglin <danglin@gcc.gnu.org>
6486
6487 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6488 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6489 memory read accesses are ok.
6490
d80c2bea
JM
64912014-10-25 Joseph Myers <joseph@codesourcery.com>
6492
6493 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6494 * configure: Regenerate.
6495 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6496 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6497 of soft-fp for 32-bit classic hard float. Do not use
6498 t-softfp-excl for soft float.
6499
693b297b
JM
65002014-10-22 Joseph Myers <joseph@codesourcery.com>
6501
6502 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6503 configurations.
6504 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6505 Remove variables.
6506
18a3415e
GJL
65072014-10-22 Georg-Johann Lay <avr@gjlay.de>
6508
6509 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6510 introduced with 2014-10-21 trunk r216525.
6511
c1dd9790 65122014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6513 Vidya Praveen <vidya.praveen@atmel.com>
6514 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6515 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6516 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6517
6518 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6519 order.
6520
6521 Updated library functions for AVRTINY arch.
6522 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6523 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6524 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6525 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6526 wsubi/wadi macors.
6527 (__mulsi3_helper): Update stack, preserve callee saved regs and
6528 argument from stack. Restore callee save registers.
6529 (__mulpsi3): Likewise.
6530 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6531 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6532 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6533 AVRTINY.
6534 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6535 (__do_copy_data): Added new definition for AVRTINY.
6536 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6537 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6538 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6539 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6540 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6541 macors.
18a3415e 6542 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6543 AVRTINY.
6544
18a3415e 6545 Fix broken long multiplication on tiny arch.
c1dd9790 6546
5f606431
JM
65472014-10-09 Joseph Myers <joseph@codesourcery.com>
6548
6549 * soft-fp/double.h: Update from glibc.
6550 * soft-fp/eqdf2.c: Likewise.
6551 * soft-fp/eqsf2.c: Likewise.
6552 * soft-fp/eqtf2.c: Likewise.
6553 * soft-fp/extenddftf2.c: Likewise.
6554 * soft-fp/extended.h: Likewise.
6555 * soft-fp/extendsfdf2.c: Likewise.
6556 * soft-fp/extendsftf2.c: Likewise.
6557 * soft-fp/extendxftf2.c: Likewise.
6558 * soft-fp/gedf2.c: Likewise.
6559 * soft-fp/gesf2.c: Likewise.
6560 * soft-fp/getf2.c: Likewise.
6561 * soft-fp/ledf2.c: Likewise.
6562 * soft-fp/lesf2.c: Likewise.
6563 * soft-fp/letf2.c: Likewise.
6564 * soft-fp/op-1.h: Likewise.
6565 * soft-fp/op-2.h: Likewise.
6566 * soft-fp/op-4.h: Likewise.
6567 * soft-fp/op-8.h: Likewise.
6568 * soft-fp/op-common.h: Likewise.
6569 * soft-fp/quad.h: Likewise.
6570 * soft-fp/single.h: Likewise.
6571 * soft-fp/soft-fp.h: Likewise.
6572 * soft-fp/unorddf2.c: Likewise.
6573 * soft-fp/unordsf2.c: Likewise.
6574 * soft-fp/unordtf2.c: Likewise.
6575 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6576 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6577 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6578 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6579 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6580 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6581 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6582 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6583 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6584 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6585
9b84e7a8
RX
65862014-10-08 Rong Xu <xur@google.com>
6587
6588 * libgcov-util.c (read_gcda_file): Fix format.
6589 (find_match_gcov_info): Ditto.
6590 (calculate_2_entries): New.
6591 (compute_one_gcov): Ditto.
6592 (gcov_info_count_all_cold): Ditto.
6593 (gcov_info_count_all_zero): Ditto.
6594 (extract_file_basename): Ditto.
6595 (get_file_basename): Ditto.
6596 (set_flag): Ditto.
6597 (matched_gcov_info): Ditto.
6598 (calculate_overlap): Ditto.
6599 (gcov_profile_overlap): Ditto.
6600 * libgcov-driver.c (compute_summary): Make
6601 it avavilable for external calls.
6602
fe1090c1
RX
66032014-10-06 Rong Xu <xur@google.com>
6604
6605 * Makefile.in: Ditto.
6606 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6607 (gcov_sort_icall_topn_counter): Ditto.
6608 (gcov_sort_topn_counter_arrays): Ditto.
6609 (dump_one_gcov): Sort indirect_call topn counters.
6610 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6611 function.
6612 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6613 utility function.
6614 (__gcov_indirect_call_topn_profiler): New profiler function.
6615 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6616 * libgcov.h: New decls.
6617
3daa7bbf
TS
66182014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6619
6620 * config.host: Remove support for score-*.
6621
9a79452d
JM
66222014-09-22 Joseph Myers <joseph@codesourcery.com>
6623
6624 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6625 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6626 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6627 __LIBGCC_XF_MANT_DIG__.
6628 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6629 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6630 __LIBGCC_TF_MANT_DIG__.
6631 * libgcc2.c (NOTRUNC): Define in terms of
6632 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6633 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6634
1a849e50
JM
66352014-09-22 Joseph Myers <joseph@codesourcery.com>
6636
6637 PR target/63312
6638 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6639 New macros.
6640
598a1586
HPN
66412014-09-22 Hans-Peter Nilsson <hp@axis.com>
6642
6643 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6644 override USE_PT_GNU_EH_FRAME.
6645 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6646 check USE_EH_FRAME_REGISTRY_ALWAYS against
6647 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6648 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6649 variable for substituted force_explicit_eh_registry.
6650 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6651 * configure.ac (explicit-exception-frame-registration):
6652 New AC_ARG_ENABLE.
6653 * configure: Regenerate.
6654
3a8fe7c6
OH
66552014-09-19 Olivier Hainque <hainque@adacore.com>
6656
6657 * config.host (powerpc-wrs-vxworksmils): New configuration,
6658 same as vxworksae.
6659
dd69f047
JM
66602014-09-18 Joseph Myers <joseph@codesourcery.com>
6661
6662 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6663
e770bfd9
JM
66642014-09-18 Joseph Myers <joseph@codesourcery.com>
6665
6666 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6667 bits not set bits as indicating trapping exceptions.
6668
cadb2b96
NS
66692014-09-17 Nathan sidwell <nathan@acm.org>
6670
6671 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6672 (LIBGCOV_DRIVER): ... here.
6673 * libgcov-driver.c (gcov_master): New.
6674 (gcov_exit): Remove from master chain.
6675 (__gcov_init): Add to master chain if version compatible. Don't
6676 clear the version.
6677 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6678 (gcov_reset_int): Clear master chain, if compatible.
6679 (gcov_dump_int): New internal interface. Dump master chain, if
6680 compatible.
6681 (gcov_dump): Alias for gcov_dump_int.
6682 * libgcov.h (struct gcov_root): Add next and prev fields.
6683 (struct gcov_master): New struct.
6684 (__gcov_master): New.
6685 (gcov_dump_int): Declare.
6686
580d22a3
OH
66872014-09-17 Olivier Hainque <hainque@adacore.com>
6688
6689 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6690 and crtbegin.o + crtend.o to extra_parts.
6691
8cc4b7a2
JM
66922014-09-12 Joseph Myers <joseph@codesourcery.com>
6693
6694 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6695 __LIBGCC_HAS_SF_MODE__.
6696 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6697 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6698 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6699 * config/libbid/bid_gcc_intrinsics.h
6700 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6701 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6702 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6703 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6704 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6705 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6706
ea3f2b24
GJL
67072014-09-11 Georg-Johann Lay <avr@gjlay.de>
6708
6709 PR target/63223
6710 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6711 and R24 as needed. Make work for all devices and .text locations.
6712 (__do_global_ctors, __do_global_dtors): Use word addresses.
6713 (__tablejump__, __tablejump_elpm__): Remove functions.
6714 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6715 Add _tablejump2.
6716 (XICALL, XIJMP): New macros.
6717
b677236a
MS
67182014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6719 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6720
6721 * config.host (aarch64*): Include crtfastmath.o and
6722 t-crtfm.
6723 * config/aarch64/crtfastmath.c: New file.
6724
157e859f
TS
67252014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6726
6727 * config.host: Remove picochip support.
6728 * config/picochip/adddi3.S: Remove.
6729 * config/picochip/ashlsi3.S: Remove.
6730 * config/picochip/ashlsi3.c: Remove.
6731 * config/picochip/ashrsi3.S: Remove.
6732 * config/picochip/ashrsi3.c: Remove.
6733 * config/picochip/clzsi2.S: Remove.
6734 * config/picochip/cmpsi2.S: Remove.
6735 * config/picochip/divmod15.S: Remove.
6736 * config/picochip/divmodhi4.S: Remove.
6737 * config/picochip/divmodsi4.S: Remove.
6738 * config/picochip/lib1funcs.S: Remove.
6739 * config/picochip/longjmp.S: Remove.
6740 * config/picochip/lshrsi3.S: Remove.
6741 * config/picochip/lshrsi3.c: Remove.
6742 * config/picochip/parityhi2.S: Remove.
6743 * config/picochip/popcounthi2.S: Remove.
6744 * config/picochip/setjmp.S: Remove.
6745 * config/picochip/subdi3.S: Remove.
6746 * config/picochip/t-picochip: Remove.
6747 * config/picochip/ucmpsi2.S: Remove.
6748 * config/picochip/udivmodhi4.S: Remove.
6749 * config/picochip/udivmodsi4.S: Remove.
6750
66bb34c0
JM
67512014-09-08 Joseph Myers <joseph@codesourcery.com>
6752
6753 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6754 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6755 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6756 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6757 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6758 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6759 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6760 defined and LIBGCC2_HAS_DF_MODE is defined.
6761 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6762 defined and LIBGCC2_HAS_XF_MODE is defined.
6763 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6764 defined and LIBGCC2_HAS_TF_MODE is defined.
6765
9686a2e6
JM
67662014-09-08 Joseph Myers <joseph@codesourcery.com>
6767
6768 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6769 and ROUND_TOWARDS_ZERO conditionals.
6770
71c3e2ef
NS
67712014-09-07 Nathan sidwell <nathan@acm.org>
6772
6773 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6774 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6775
53d68b9f
JM
67762014-09-05 Joseph Myers <joseph@codesourcery.com>
6777
6778 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6779 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6780 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6781 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6782 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6783 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6784 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6785 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6786 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6787 (DWARF_FRAME_REGISTERS): Change all uses to
6788 __LIBGCC_DWARF_FRAME_REGISTERS__.
6789 (EH_RETURN_STACKADJ_RTX): Change all uses to
6790 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6791 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6792 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6793 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6794 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6795 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6796 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6797 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6798 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6799 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6800 __LIBGCC_STACK_POINTER_REGNUM__.
6801 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6802 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6803 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6804 to __LIBGCC_STACK_POINTER_REGNUM__.
6805 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6806 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6807 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6808 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6809 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6810 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6811 (STACK_POINTER_REGNUM): Change all uses to
6812 __LIBGCC_STACK_POINTER_REGNUM__.
6813 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6814 use to __LIBGCC_STACK_POINTER_REGNUM__.
6815 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6816 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6817 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6818 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6819 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6820 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6821 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6822 to __LIBGCC_STACK_POINTER_REGNUM__.
6823 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6824 Remove conditional definition.
6825 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6826 __LIBGCC_TEXT_SECTION_ASM_OP__.
6827 (EH_FRAME_SECTION_NAME): Change all uses to
6828 __LIBGCC_EH_FRAME_SECTION_NAME__.
6829 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6830 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6831 (CTORS_SECTION_ASM_OP): Change all uses to
6832 __LIBGCC_CTORS_SECTION_ASM_OP__.
6833 (DTORS_SECTION_ASM_OP): Change all uses to
6834 __LIBGCC_DTORS_SECTION_ASM_OP__.
6835 (JCR_SECTION_NAME): Change all uses to
6836 __LIBGCC_JCR_SECTION_NAME__.
6837 (INIT_SECTION_ASM_OP): Change all uses to
6838 __LIBGCC_INIT_SECTION_ASM_OP__.
6839 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6840 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6841 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6842 __LIBGCC_STACK_GROWS_DOWNWARD__.
6843 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6844 __LIBGCC_INIT_SECTION_ASM_OP__.
6845 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6846 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6847 (EH_FRAME_SECTION_NAME): Change all uses to
6848 __LIBGCC_EH_FRAME_SECTION_NAME__.
6849 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6850 definitions. Change all uses to
6851 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6852 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6853 __LIBGCC_STACK_GROWS_DOWNWARD__.
6854 (DWARF_FRAME_REGISTERS): Change all uses to
6855 __LIBGCC_DWARF_FRAME_REGISTERS__.
6856 (EH_RETURN_STACKADJ_RTX): Change all uses to
6857 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6858 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6859 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6860 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6861 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6862 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6863
b20ee094
NS
68642014-09-02 Nathan sidwell <nathan@acm.org>
6865
6866 * libgcov-interface.c (STRONG_ALIAS): New.
6867 (__gcov_flush): Call __gcov_reset_int.
6868 (__gcov_reset): Strong alias for ...
6869 (__gcov_reset_ing): ... this renamed hidden version.
6870 * libgcov.h (__gcov_reset_int): New declaration.
6871
1ac83976
YS
68722014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6873
25efdb9f
YS
6874 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6875 call from here...
6876 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6877 (__dso_handle): Define on Cygwin.
6878 * config/i386/t-cygming (crtbeginS.o): New rule.
6879 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6880
1ac83976
YS
6881 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6882 declaration syntax.
6883
c6f9ea3b
SE
68842014-08-13 Steve Ellcey <sellcey@mips.com>
6885
6886 * crtstuff.c: Undef caddr_t.
6887
5b1ea7c5
SE
68882014-08-12 Steve Ellcey <sellcey@mips.com>
6889
6890 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6891
4303c581
NS
68922014-08-07 Nathan Sidwell <nathan@acm.org>
6893
6894 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6895 (LIBGCOV_DRIVER): ... to here.
6896 * libgcov.h (gcov_do_dump): New #define.
6897 (struct gcov_root): New.
6898 (__gcov_root): New declaration.
6899 (__gcov_dump_one): Declare.
6900 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6901 run_accounted): Delete.
6902 (gcov_compute_histogram): Add LIST argument, adjust.
6903 (compute_summary): Adjust gcov_compute_histogram call.
6904 (gcov_do_dump): Not hidden, static in libgcov.
6905 (gcov_clear): Move to interface.c.
6906 (__gcov_dump_one): New, broken out of ...
6907 (gcov_exit): ... here. Make static.
6908 (__gcov_root): New.
6909 (__gcov_init): Adjust.
6910 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6911 declarations.
6912 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6913 (gcov_clear): Moved from driver.c. Add LIST argument.
6914 (__gcov_reset): Adjust for changed interfaces.
6915 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6916
23742a9e
RAR
69172014-08-04 Rohit <rohitarulraj@freescale.com>
6918
6919 PR target/60102
6920 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6921 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6922
b98a872b
NS
69232014-08-01 Nathan Sidwell <nathan@acm.org>
6924
6925 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6926 LIBGCOV_INTERFACE): Reformat.
6927 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6928 IN_GCOV_TOOL.
6929 * libgcov-interface.c: Reformat some comments.
6930 (__gcov_flush_mx): Add declaration. Tidy up definition.
6931
6adaaa1d
AM
69322014-07-31 Alan Modra <amodra@gmail.com>
6933 Peter Bergner <bergner@vnet.ibm.com>
6934
6935 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6936 (pack_ldouble): New function.
6937 (__gcc_qadd): Use it.
6938 (__gcc_qmul): Likewise.
6939 (__gcc_qdiv): Likewise.
6940 (__gcc_qneg): Likewise.
6941 (__gcc_stoq): Likewise.
6942 (__gcc_dtoq): Likewise.
6943
87cb0c0c
UW
69442014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6945
6946 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6947 (__tpf_eh_return): Add original return address as second parameter.
6948 Handle cases where unwinder routines were called directly, instead
6949 of from within the C++ library.
6950
19926161
NS
69512014-07-29 Nathan Sidwell <nathan@acm.org>
6952
6953 * libgcov.h: Move renaming of entry points to lib gcov specific
6954 portion.
6955 (gcov_do_dump): New rename.
6956 (gcov_rewrite): Remove inline, make HIDDEN.
6957 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6958 (gcov_exit_compute_summary): Rename to ...
6959 (compute_summary): ... here. Add LIST argument.
6960 (gcov_exit_merge_gcda): Rename to ...
6961 (merge_one_data): ... here.
6962 (gcov_exit_write_gcda): Rename to ...
6963 (write_one_data): ... here.
6964 (gcov_exit_merge_summary): Rename to ...
6965 (merge_summary): Add RUN_COUNTED argument.
6966 (gcov_exit_dump_gcov): Rename to ...
6967 (dump_one_gcov): Add RUN_COUNTED argument.
6968 (gcov_do_dump): New function, broken out of ...
6969 (gcov_exit): ... here. Call it.
6970
17522262
AG
69712014-07-27 Anthony Green <green@moxielogic.com>
6972
6973 * config.host: Add moxiebox configuration suppport.
6974
6dc33097
NS
69752014-07-27 Nathan Sidwell <nathan@acm.org>
6976
6977 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6978 (struct gcov_filename): ... here. Include buffer and max length
6979 fields.
6980 (gcov_max_filename): Remove.
6981 (gi_filename): Remove.
6982 (gcov_exit_compute_summary): Compute max filename here.
6983 (gcov_exit_merge_gcda): Add filename parm, adjust.
6984 (gcov_exit_merge_summary): Likewise.
6985 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6986 (gcov_exit): Likewise.
6987 (__gcov_init): Don't calculate max length here.
6988 * libgcov_util.c (max_filename_len): Remove.
6989 (read_gcda_file): Don't calculate max length here.
6990 (gcov_read_profile_dir): Don't propagate here.
6991 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6992 struct gcov_filename changes.
6993 (gcov_exit_open_gcda_file): Likewise.
6994
770f687d
NS
69952014-07-25 Nathan Sidwell <nathan@acm.org>
6996
6997 * libgcov-driver.c (set_gcov_dump_complete,
6998 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6999 functions polluting user's namespace.
7000 (gcov_exit): Set variable directly.
7001 (gcov_clear): Reset variable directly.
7002 * libgcov-interface.c (get_gcov_dymp_complete,
7003 reset_gov_dump_complete): Remove declarations.
7004 (__gcov_reset, __gcov_dump): Don't call them.
7005
fabf71ba
DD
70062014-07-24 DJ Delorie <dj@redhat.com>
7007
7008 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7009 (__gcc_deregister_frame): Move logic to detect deregister function
7010 to ...
7011 (__gcc_register_frame): here, so it's consistent with the register
7012 logic.
fabf71ba 7013
d10ee722
NS
70142014-07-23 Nathan Sidwell <nathan@acm.org>
7015
7016 * libgcov-driver.c (set_gcov_list): Remove.
7017 (gcov_list): Make non-static in GCOV_TOOL.
7018 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7019
a4137090
JDA
70202014-07-17 John David Anglin <danglin@gcc.gnu.org>
7021
7022 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7023 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7024 Don't use SYNC_LOCK_RELEASE for int type.
7025
72602c6c
RB
70262014-07-14 Richard Biener <rguenther@suse.de>
7027
7028 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7029
d5313205
RX
70302014-07-11 Rong Xu <xur@google.com>
7031
7032 * libgcov-util.c (gcov_max_filename): Fix declartion.
7033
c77556a5
RX
70342014-07-10 Rong Xu <xur@google.com>
7035
7036 Add gcov-tool: an offline gcda profile processing tool
7037 Support.
7038 * libgcov-driver.c (gcov_max_filename): Make available
7039 to gcov-tool.
7040 * libgcov-merge.c (__gcov_merge_add): Replace
7041 gcov_read_counter() with a Macro.
7042 (__gcov_merge_ior): Ditto.
7043 (__gcov_merge_time_profile): Ditto.
7044 (__gcov_merge_single): Ditto.
7045 (__gcov_merge_delta): Ditto.
7046 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7047 in the utility functions.
7048 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7049 gcov_list object link lists.
7050 (tag_function): Ditto.
7051 (tag_blocks): Ditto.
7052 (tag_arcs): Ditto.
7053 (tag_lines): Ditto.
7054 (tag_counters): Ditto.
7055 (tag_summary): Ditto.
7056 (read_gcda_finalize): Ditto.
7057 (read_gcda_file): Ditto.
7058 (ftw_read_file): Ditto.
7059 (read_profile_dir_init): Ditto.
7060 (gcov_read_profile_dir): Ditto.
7061 (gcov_read_counter_mem): Ditto.
7062 (gcov_get_merge_weight): Ditto.
7063 (merge_wrapper): A wrapper function that calls merging handler.
7064 (gcov_merge): Merge two gcov_info objects with weights.
7065 (find_match_gcov_info): Find the matched gcov_info in the list.
7066 (gcov_profile_merge): Merge two gcov_info object lists.
7067 (__gcov_add_counter_op): Process edge profile counter values.
7068 (__gcov_ior_counter_op): Process IOR profile counter values.
7069 (__gcov_delta_counter_op): Process delta profile counter values.
7070 (__gcov_single_counter_op): Process single profile counter values.
7071 (fp_scale): Callback function for float-point scaling.
cc86234f 7072 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7073 (gcov_profile_scale): Scaling profile counters.
7074 (gcov_profile_normalize): Normalize profile counters.
7075 * libgcov.h: Add headers and functions for gcov-tool use.
7076 (gcov_get_counter): New.
7077 (gcov_get_counter_target): Ditto.
7078 (struct gcov_info): Make the functions field mutable in gcov-tool
7079 compilation.
7080
5c7dac8a
KT
70812014-06-23 Kai Tietz <ktietz@redhat.com>
7082
7083 PR libgcc/61585
7084 * unwind-seh.c (_Unwind_GetGR): Check for proper
7085 index range.
7086 (_Unwind_SetGR): Likewise.
7087
161c9312
NC
70882014-05-22 Nick Clifton <nickc@redhat.com>
7089
7090 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7091 -mhwmult=none.
7092
e3f0315f
TJ
70932014-05-22 Teresa Johnson <tejohnson@google.com>
7094
7095 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7096 include.
7097
dbed5a9b
JM
70982014-05-20 John Marino <gnugcc@marino.st>
7099
7100 * config.host (*-*-dragonfly*): New target.
7101 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7102 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7103 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7104 * config/i386/dragonfly-unwind.h: New.
7105
1ec380e5
MR
71062014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7107
7108 PR libgcc/60166
7109 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7110 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7111
54fde020
BE
71122014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7113
7114 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7115 implementation.
7116
999db125
GJL
71172014-05-12 Georg-Johann Lay <avr@gjlay.de>
7118
7119 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7120
cceaf54a
RO
71212014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7122
7123 PR libgcc/61097
7124 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7125 if --enable-shared.
7126
e3fe9b5b
BE
71272014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7128
7129 Work around for current cygwin32 build problems.
7130 * config/i386/cygming-crtbegin.c (__register_frame_info,
7131 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7132 functions only for 64-bit systems.
7133
54cf37e9
RO
71342014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7135
7136 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7137 (sigill_caught, sigill_hdlr): Remove.
7138
d9f069ab
RO
71392014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7140
7141 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7142 check.
7143 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7144 Solaris 9 single-threaded support.
7145 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7146 Solaris 9 single-threaded support. Add call_user_handler code
7147 sequences.
7148 (sparc_is_sighandler): Likewise.
7149
59976ef8
AK
71502014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7151
7152 * config.host: Append t-floattodi to tmake_file depending on
7153 host_address.
7154
d02bbcf3
JS
71552014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7156
31466bc0 7157 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7158
c2e7e597
UB
71592014-03-10 Uros Bizjak <ubizjak@gmail.com>
7160
7161 PR libgcc/60472
7162 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7163 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7164 Use __builtin_expect when checking *jcr_list for NULL.
7165
227a7dc8
RO
71662014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7167
7168 PR libgcc/59339
7169 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7170 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7171 vtv_*.o to extra_parts if enable_vtable_verify.
7172
df2b279c
NC
71732014-03-06 Nick Clifton <nickc@redhat.com>
7174
7175 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7176 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7177
dc11d79b
JY
71782014-02-28 Joey Ye <joey.ye@arm.com>
7179
7180 PR libgcc/60166
7181 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7182 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7183 Set to zero.
7184
341c653c
WL
71852014-02-24 Walter Lee <walt@tilera.com>
7186
7187 * config.host: Support "tilegx*" and "tilepro*" triplets.
7188 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7189 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7190
95ce7613
CLT
71912014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7192 Chung-Lin Tang <cltang@codesourcery.com>
7193
7194 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7195 * config/nios2/crti.S: Remove .file directive.
7196 * config/nios2/crtn.S: Likewise.
7197
0bb4fc05
KT
71982014-02-18 Kai Tietz <ktietz@redhat.com>
7199 Jonathan Schleifer <js@webkeks.org>
7200
7201 PR objc/56870
7202 * unwind-seh.c (_GCC_specific_handler): Pass proper
7203 value to unwind-handler.
7204
9acf28f1
JM
72052014-02-12 Joseph Myers <joseph@codesourcery.com>
7206
7207 * soft-fp/adddf3.c: Update from glibc.
7208 * soft-fp/addsf3.c: Likewise.
7209 * soft-fp/addtf3.c: Likewise.
7210 * soft-fp/divdf3.c: Likewise.
7211 * soft-fp/divsf3.c: Likewise.
7212 * soft-fp/divtf3.c: Likewise.
7213 * soft-fp/double.h: Likewise.
7214 * soft-fp/eqdf2.c: Likewise.
7215 * soft-fp/eqsf2.c: Likewise.
7216 * soft-fp/eqtf2.c: Likewise.
7217 * soft-fp/extenddftf2.c: Likewise.
7218 * soft-fp/extended.h: Likewise.
7219 * soft-fp/extendsfdf2.c: Likewise.
7220 * soft-fp/extendsftf2.c: Likewise.
7221 * soft-fp/extendxftf2.c: Likewise.
7222 * soft-fp/fixdfdi.c: Likewise.
7223 * soft-fp/fixdfsi.c: Likewise.
7224 * soft-fp/fixdfti.c: Likewise.
7225 * soft-fp/fixsfdi.c: Likewise.
7226 * soft-fp/fixsfsi.c: Likewise.
7227 * soft-fp/fixsfti.c: Likewise.
7228 * soft-fp/fixtfdi.c: Likewise.
7229 * soft-fp/fixtfsi.c: Likewise.
7230 * soft-fp/fixtfti.c: Likewise.
7231 * soft-fp/fixunsdfdi.c: Likewise.
7232 * soft-fp/fixunsdfsi.c: Likewise.
7233 * soft-fp/fixunsdfti.c: Likewise.
7234 * soft-fp/fixunssfdi.c: Likewise.
7235 * soft-fp/fixunssfsi.c: Likewise.
7236 * soft-fp/fixunssfti.c: Likewise.
7237 * soft-fp/fixunstfdi.c: Likewise.
7238 * soft-fp/fixunstfsi.c: Likewise.
7239 * soft-fp/fixunstfti.c: Likewise.
7240 * soft-fp/floatdidf.c: Likewise.
7241 * soft-fp/floatdisf.c: Likewise.
7242 * soft-fp/floatditf.c: Likewise.
7243 * soft-fp/floatsidf.c: Likewise.
7244 * soft-fp/floatsisf.c: Likewise.
7245 * soft-fp/floatsitf.c: Likewise.
7246 * soft-fp/floattidf.c: Likewise.
7247 * soft-fp/floattisf.c: Likewise.
7248 * soft-fp/floattitf.c: Likewise.
7249 * soft-fp/floatundidf.c: Likewise.
7250 * soft-fp/floatundisf.c: Likewise.
7251 * soft-fp/floatunditf.c: Likewise.
7252 * soft-fp/floatunsidf.c: Likewise.
7253 * soft-fp/floatunsisf.c: Likewise.
7254 * soft-fp/floatunsitf.c: Likewise.
7255 * soft-fp/floatuntidf.c: Likewise.
7256 * soft-fp/floatuntisf.c: Likewise.
7257 * soft-fp/floatuntitf.c: Likewise.
7258 * soft-fp/gedf2.c: Likewise.
7259 * soft-fp/gesf2.c: Likewise.
7260 * soft-fp/getf2.c: Likewise.
7261 * soft-fp/ledf2.c: Likewise.
7262 * soft-fp/lesf2.c: Likewise.
7263 * soft-fp/letf2.c: Likewise.
7264 * soft-fp/muldf3.c: Likewise.
7265 * soft-fp/mulsf3.c: Likewise.
7266 * soft-fp/multf3.c: Likewise.
7267 * soft-fp/negdf2.c: Likewise.
7268 * soft-fp/negsf2.c: Likewise.
7269 * soft-fp/negtf2.c: Likewise.
7270 * soft-fp/op-1.h: Likewise.
7271 * soft-fp/op-2.h: Likewise.
7272 * soft-fp/op-4.h: Likewise.
7273 * soft-fp/op-8.h: Likewise.
7274 * soft-fp/op-common.h: Likewise.
7275 * soft-fp/quad.h: Likewise.
7276 * soft-fp/single.h: Likewise.
7277 * soft-fp/soft-fp.h: Likewise.
7278 * soft-fp/subdf3.c: Likewise.
7279 * soft-fp/subsf3.c: Likewise.
7280 * soft-fp/subtf3.c: Likewise.
7281 * soft-fp/truncdfsf2.c: Likewise.
7282 * soft-fp/trunctfdf2.c: Likewise.
7283 * soft-fp/trunctfsf2.c: Likewise.
7284 * soft-fp/trunctfxf2.c: Likewise.
7285 * soft-fp/unorddf2.c: Likewise.
7286 * soft-fp/unordsf2.c: Likewise.
7287 * soft-fp/unordtf2.c: Likewise.
7288 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7289 macro.
7290 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7291 Likewise.
7292 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7293 Likewise.
7294 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7295 Likewise.
7296 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7297 Likewise.
7298 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7299 Likewise.
7300 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7301 Likewise.
7302 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7303 Likewise.
7304 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7305 Likewise.
7306 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7307 Likewise.
7308 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7309 Likewise.
7310 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7311 Likewise.
7312 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7313 Likewise.
7314 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7315 Likewise.
7316 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7317 Likewise.
7318 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7319 Likewise.
7320
ce245ec6
AK
73212014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7322
7323 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7324 cannot be represented.
7325 * config/s390/32/_fixsfdi.c: Likewise.
7326 * config/s390/32/_fixtfdi.c: Likewise.
7327 * config/s390/32/_fixunsdfdi.c: Likewise.
7328 * config/s390/32/_fixunssfdi.c: Likewise.
7329 * config/s390/32/_fixunstfdi.c: Likewise.
7330
1c51d688
RS
73312014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7332
7333 * configure.ac (libgcc_cv_mips_hard_float): New.
7334 * configure: Regenerate.
7335 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7336 t-softfp-sfdf for hard-float targets.
7337 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7338 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7339 (softfp_truncations, softfp_exclude_libgcc2): New.
7340 * config/t-hardfp: New file.
7341 * config/t-hardfp-sfdf: Likewise.
7342 * config/hardfp.c: Likewise.
7343
bbf391db
AK
73442014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7345
7346 * config.host: Include t-floattodi also for s390x.
7347 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7348 * config/s390/32/_fixsfdi.c: Likewise.
7349 * config/s390/32/_fixtfdi.c: Likewise.
7350 * config/s390/32/_fixunsdfdi.c: Likewise.
7351 * config/s390/32/_fixunssfdi.c: Likewise.
7352 * config/s390/32/_fixunstfdi.c: Likewise.
7353
91da0481
RO
73542014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7355
7356 PR target/59788
7357 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7358 (install-libgcc-unwind-map-forbuild): New target.
7359 (all): Depend on install-libgcc-unwind-map-forbuild.
7360 (install-libgcc-unwind-map): New target.
7361 (install): Depend on install-libgcc-unwind-map.
7362
02b67731
SL
73632014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7364
7365 * config/nios2/crti.S (_init): Initialize GOT pointer from
7366 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7367
1ea0a651
RS
73682014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7369
7370 * configure.ac: Check __mips64 when setting host_address.
7371 * configure: Regenerate.
7372 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7373 mips/t-mips64 and t-softfp.
7374 (mips*-*-linux*): Don't add mips/t-tpbit.
7375 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7376 (DPBIT, DPBIT_CFLAGS): Delete.
7377 * config/mips/sfp-machine.h: New file.
7378 * config/mips/t-mips64: Likewise.
7379 * config/mips/t-softfp-tf: Likewise.
7380 * config/mips/t-tpbit: Delete.
7381
f32b0061
MS
73822014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7383
7384 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7385 as long long.
7386
a5420aa4
WL
73872014-01-25 Walter Lee <walt@tilera.com>
7388
7389 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7390 config.h or system.h.
7391 (bool) Define.
7392
24534912
WL
73932014-01-25 Walter Lee <walt@tilera.com>
7394
7395 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7396 (post_atomic_barrier): Ditto.
7397 (__fetch_and_do): New macro.
7398 (__atomic_fetch_and_do): Use __fetch_and_do.
7399 (__sync_fetch_and_do): New macro.
7400 (__sync_fetch_and_add_4): New function.
7401 (__sync_fetch_and_sub_4): New function.
7402 (__sync_fetch_and_or_4): New function.
7403 (__sync_fetch_and_and_4): New function.
7404 (__sync_fetch_and_xor_4): New function.
7405 (__sync_fetch_and_nand_4): New function.
7406 (__sync_fetch_and_add_8): New function.
7407 (__sync_fetch_and_sub_8): New function.
7408 (__sync_fetch_and_or_8): New function.
7409 (__sync_fetch_and_and_8): New function.
7410 (__sync_fetch_and_xor_8): New function.
7411 (__sync_fetch_and_nand_8): New function.
7412 (__do_and_fetch): New macro.
7413 (__atomic_do_and_fetch): Use __do_and_fetch.
7414 (__sync_do_and_fetch): New macro.
7415 (__sync_add_and_fetch_4): New function.
7416 (__sync_sub_and_fetch_4): New function.
7417 (__sync_or_and_fetch_4): New function.
7418 (__sync_and_and_fetch_4): New function.
7419 (__sync_xor_and_fetch_4): New function.
7420 (__sync_nand_and_fetch_4): New function.
7421 (__sync_add_and_fetch_8): New function.
7422 (__sync_sub_and_fetch_8): New function.
7423 (__sync_or_and_fetch_8): New function.
7424 (__sync_and_and_fetch_8): New function.
7425 (__sync_xor_and_fetch_8): New function.
7426 (__sync_nand_and_fetch_8): New function.
7427 (__sync_exchange_methods): New macro.
7428 (__sync_val_compare_and_swap_4): New function.
7429 (__sync_bool_compare_and_swap_4): New function.
7430 (__sync_lock_test_and_test_4): New function.
7431 (__sync_val_compare_and_swap_8): New function.
7432 (__sync_bool_compare_and_swap_8): New function.
7433 (__sync_lock_test_and_test_8): New function.
7434 (__subword_cmpxchg_body): New macro.
7435 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7436 (__atomic_compare_exchange_2): Ditto.
7437 (__sync_subword_cmpxchg): New macro.
7438 (__sync_val_compare_and_swap_1): New function.
7439 (__sync_bool_compare_and_swap_1): New function.
7440 (__sync_val_compare_and_swap_2): New function.
7441 (__sync_bool_compare_and_swap_2): New function.
7442 (__atomic_subword): Rename to ...
7443 (__subword): ... New name.
7444 (__atomic_subword_fetch): Use __subword.
7445 (__sync_subword_fetch): New macro.
7446 (__sync_fetch_and_add_1): New function.
7447 (__sync_fetch_and_sub_1): New function.
7448 (__sync_fetch_and_or_1): New function.
7449 (__sync_fetch_and_and_1): New function.
7450 (__sync_fetch_and_xor_1): New function.
7451 (__sync_fetch_and_nand_1): New function.
7452 (__sync_fetch_and_add_2): New function.
7453 (__sync_fetch_and_sub_2): New function.
7454 (__sync_fetch_and_or_2): New function.
7455 (__sync_fetch_and_and_2): New function.
7456 (__sync_fetch_and_xor_2): New function.
7457 (__sync_fetch_and_nand_2): New function.
7458 (__sync_add_and_fetch_1): New function.
7459 (__sync_sub_and_fetch_1): New function.
7460 (__sync_or_and_fetch_1): New function.
7461 (__sync_and_and_fetch_1): New function.
7462 (__sync_xor_and_fetch_1): New function.
7463 (__sync_nand_and_fetch_1): New function.
7464 (__sync_add_and_fetch_2): New function.
7465 (__sync_sub_and_fetch_2): New function.
7466 (__sync_or_and_fetch_2): New function.
7467 (__sync_and_and_fetch_2): New function.
7468 (__sync_xor_and_fetch_2): New function.
7469 (__sync_nand_and_fetch_2): New function.
7470 (__atomic_subword_lock): Use __subword.
7471 (__sync_subword_lock): New macro.
7472 (__sync_lock_test_and_set_1): New function.
7473 (__sync_lock_test_and_set_2): New function.
7474
4d6d3bc5
WL
74752014-01-25 Walter Lee <walt@tilera.com>
7476
7477 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7478 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7479 (__atomic_subword): Ditto.
7480
cbd9890e
WL
74812014-01-25 Walter Lee <walt@tilera.com>
7482
7483 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7484 a prefix op argument.
7485 (__atomic_nand_fetch_4): Add prefix op.
7486 (__atomic_nand_fetch_8): Ditto.
7487
7d296953 74882014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7489
7490 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7491
46dd1242
L
74922014-01-09 Rong Xu <xur@google.com>
7493
7494 * libgcov-driver.c (this_prg): make it local to save
7495 bss space.
7496 (gcov_exit_compute_summary): Ditto.
7497 (gcov_exit_merge_gcda): Ditto.
7498 (gcov_exit_merge_summary): Ditto.
7499 (gcov_exit_dump_gcov): Ditto.
7500
cc86234f 75012014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7502
7503 * libgcov-driver.c: Use libgcov.h.
7504 (buffer_fn_data): Use xmalloc instead of malloc.
7505 (gcov_exit_merge_gcda): Ditto.
7506 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7507 * libgcov.h: New common header files for libgcov-*.h.
7508 * libgcov-interface.c: Use libgcov.h
7509 * libgcov-merge.c: Ditto.
7510 * libgcov-profiler.c: Ditto.
7511 * Makefile.in: Add dependence to libgcov.h
7512
a02e7bdd
JM
75132014-01-02 Joseph Myers <joseph@codesourcery.com>
7514
7515 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7516 case of small numerator and finite nonzero result.
7517
ac1dca3c
RS
75182014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7519
7520 Update copyright years
7521
f9030485
RS
75222014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7523
7524 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7525 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7526 config/arc/dp-hack.h, config/arc/fp-hack.h,
7527 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7528 config/arc/ieee-754/arc600-dsp/divdf3.S,
7529 config/arc/ieee-754/arc600-dsp/divsf3.S,
7530 config/arc/ieee-754/arc600-dsp/muldf3.S,
7531 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7532 config/arc/ieee-754/arc600-mul64/divdf3.S,
7533 config/arc/ieee-754/arc600-mul64/divsf3.S,
7534 config/arc/ieee-754/arc600-mul64/muldf3.S,
7535 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7536 config/arc/ieee-754/arc600/divsf3.S,
7537 config/arc/ieee-754/arc600/mulsf3.S,
7538 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7539 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7540 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7541 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7542 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7543 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7544 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7545 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7546 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7547 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7548 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7549 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7550 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7551 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7552 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7553 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7554 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7555 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7556 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7557 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7558 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7559 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7560 vtv_start_preinit.c: Use the standard form for the copyright notice.
7561
e430824f
CLT
75622013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7563 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 7564 Based on patches from Altera Corporation
e430824f
CLT
7565
7566 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7567 * config/nios2/lib2-nios2.h: New file.
7568 * config/nios2/lib2-divmod-hi.c: New file.
7569 * config/nios2/linux-unwind.h: New file.
7570 * config/nios2/lib2-divmod.c: New file.
7571 * config/nios2/linux-atomic.c: New file.
7572 * config/nios2/t-nios2: New file.
7573 * config/nios2/crti.asm: New file.
7574 * config/nios2/t-linux: New file.
7575 * config/nios2/lib2-divtable.c: New file.
7576 * config/nios2/lib2-mul.c: New file.
7577 * config/nios2/tramp.c: New file.
7578 * config/nios2/crtn.asm: New file.
7579
1879e97f
UB
75802013-12-26 Uros Bizjak <ubizjak@gmail.com>
7581
7582 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7583 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7584 from cpuid.h to check vendor signatures.
7585
f4a4bdbb
GG
75862013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7587
c2e7e597 7588 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7589 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7590 (get_amd_cpu): Likewise.
7591
8d2ae544
L
75922013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7593
7594 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7595 Haswell.
7596
74924838
ASJ
75972013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7598 H.J. Lu <hongjiu.lu@intel.com>
7599
0bb52f25
L
7600 PR target/59422
7601 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7602 and AMD_JAGUAR.
7603 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7604 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7605 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7606 FEATURE_XOP and FEATURE_FMA.
7607 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7608 AMDFAM15H_BDVER3.
7609 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 7610 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
7611 FEATURE_FMA4 and FEATURE_XOP.
7612
d3c11974
L
76132013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7614
7615 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7616 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7617 (get_intel_cpu): Updated.
7618
064c4ff2
ZC
76192013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7620
7621 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7622
8b02e720
UB
76232013-12-09 Uros Bizjak <ubizjak@gmail.com>
7624
7625 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 7626 instructions when __SSE_MATH__ is defined.
8b02e720 7627
3fa2ccb4
RC
76282013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7629
7630 * config.host (microblaze-*-rtems*): New.
7631
ecd78fc9
KV
76322013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7633
7634 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7635 architectures that do not have hardware divide instruction.
7636 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7637
b21fbbd2
RS
76382013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7639
7640 * longlong.h: Delete (moved to include/).
7641
b03fb8c9
AZ
76422013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7643
7644 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7645 of normal number and qNaN to not raise an inexact exception.
7646
3c716922
UB
76472013-11-28 Uros Bizjak <ubizjak@gmail.com>
7648
7649 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7650
76512013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
7652
7653 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7654 for correct opcodes on BE.
7655
a3458d22
UB
76562013-11-27 Uros Bizjak <ubizjak@gmail.com>
7657
7658 * soft-fp/op-4.h: Update from glibc.
7659
30b8f78b
KV
76602013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7661
7662 * libgcc2.c (__udivmoddi4): Define new implementation when
7663 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7664 divide instructions.
7665
82552a29
OE
76662013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7667
7668 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7669
80e87457
RO
76702013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7671
7672 * config/t-softfp (soft-fp-objects-base): New variable.
7673 (soft-fp-objects): Use it.
7674
44178879
DE
76752013-11-23 David Edelson <dje.gcc@gmail.com>
7676 Andrew Dixie <andrewd@gentrack.com>
7677
7678 PR target/33704
7679 * config/rs6000/aixinitfini.c: New file.
7680 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7681 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7682 symbols.
7683
e5287671
YR
76842013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7685
a3458d22 7686 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7687
867c8b03
JH
76882013-11-18 Jan Hubicka <jh@suse.cz>
7689
7f369373
JH
7690 * libgcov-driver.c (run_accounted): Make global level static.
7691 (gcov_exit_merge_summary): Silence warning; do not clear
7692 run_accounted here.
7693 (gcov_exit): Clear it here.
7694
1d0b3334
JH
7695 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7696 run_accounted.
7697
867c8b03
JH
7698 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7699 (all_prg, crc32): Remove static vars.
7700 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7701 all_prg.
7702 (gcov_exit_merge_gcda): Add crc32 parameter.
7703 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7704 do not account run if it was already accounted.
7705 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7706 (gcov_exit): Initialize all_prg; update.
7707
66204992
AS
77082013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7709
7710 * configure: Regenerate.
7711
b54214fe
UW
77122013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7713 Alan Modra <amodra@gmail.com>
7714
7715 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7716 (frob_update_context): Use it.
7717
77182013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7719 Alan Modra <amodra@gmail.com>
7720
7721 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7722 (trampoline_initial): Provide ELFv2 variant.
7723 (__trampoline_setup): Likewise.
7724
7725 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7726 check for AIX indirect function call sequence if _CALL_ELF == 2.
7727
77282013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7729 Alan Modra <amodra@gmail.com>
7730
7731 * config/rs6000/linux-unwind.h (get_regs): Do not support
7732 old kernel versions if _CALL_ELF == 2.
7733 (frob_update_context): Do not support PLT stub variants only
7734 generated by old linkers if _CALL_ELF == 2.
7735
13e0981a
UW
77362013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7737 Alan Modra <amodra@gmail.com>
7738
7739 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7740 location of CR save area for 64-bit little-endian systems.
7741
1a80085d
EB
77422013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7743
7744 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7745 in tmake_file.
7746 * config/arm/t-vxworks: Delete.
7747
cabeea52
KT
77482013-11-10 Kai Tietz <ktietz@redhat.com>
7749
7750 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7751 Increment load-count on use of LIBGCC_SONAME DLL.
7752 (hmod_libgcc): New static variable to hold handle of
7753 LIBGCC_SONAME DLL.
7754 (__gcc_deregister_frame): Decrement load-count of
7755 LIBGCC_SONAME DLL.
7756
ac088ba1
BRF
77572013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7758
7759 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7760 availability.
7761 * configure: Regenerate
7762
d59a8fcc
UB
77632013-11-07 Uros Bizjak <ubizjak@gmail.com>
7764
7765 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7766 FP_EX_DENORM. Store result to volatile location after SSE division
7767 to close interrupt window. Remove unneeded fwait after x87
7768 division since interrupt window will be closed by emitted fstp.
9de84e84 7769 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7770
9954c743
JM
77712013-11-06 Joseph Myers <joseph@codesourcery.com>
7772
7773 * soft-fp/README: Update.
7774 * soft-fp/adddf3.c: Update from glibc.
7775 * soft-fp/addsf3.c: Likewise.
7776 * soft-fp/addtf3.c: Likewise.
7777 * soft-fp/divdf3.c: Likewise.
7778 * soft-fp/divsf3.c: Likewise.
7779 * soft-fp/divtf3.c: Likewise.
7780 * soft-fp/double.h: Likewise.
7781 * soft-fp/eqdf2.c: Likewise.
7782 * soft-fp/eqsf2.c: Likewise.
7783 * soft-fp/eqtf2.c: Likewise.
7784 * soft-fp/extenddftf2.c: Likewise.
7785 * soft-fp/extended.h: Likewise.
7786 * soft-fp/extendsfdf2.c: Likewise.
7787 * soft-fp/extendsftf2.c: Likewise.
7788 * soft-fp/extendxftf2.c: Likewise.
7789 * soft-fp/fixdfdi.c: Likewise.
7790 * soft-fp/fixdfsi.c: Likewise.
7791 * soft-fp/fixdfti.c: Likewise.
7792 * soft-fp/fixsfdi.c: Likewise.
7793 * soft-fp/fixsfsi.c: Likewise.
7794 * soft-fp/fixsfti.c: Likewise.
7795 * soft-fp/fixtfdi.c: Likewise.
7796 * soft-fp/fixtfsi.c: Likewise.
7797 * soft-fp/fixtfti.c: Likewise.
7798 * soft-fp/fixunsdfdi.c: Likewise.
7799 * soft-fp/fixunsdfsi.c: Likewise.
7800 * soft-fp/fixunsdfti.c: Likewise.
7801 * soft-fp/fixunssfdi.c: Likewise.
7802 * soft-fp/fixunssfsi.c: Likewise.
7803 * soft-fp/fixunssfti.c: Likewise.
7804 * soft-fp/fixunstfdi.c: Likewise.
7805 * soft-fp/fixunstfsi.c: Likewise.
7806 * soft-fp/fixunstfti.c: Likewise.
7807 * soft-fp/floatdidf.c: Likewise.
7808 * soft-fp/floatdisf.c: Likewise.
7809 * soft-fp/floatditf.c: Likewise.
7810 * soft-fp/floatsidf.c: Likewise.
7811 * soft-fp/floatsisf.c: Likewise.
7812 * soft-fp/floatsitf.c: Likewise.
7813 * soft-fp/floattidf.c: Likewise.
7814 * soft-fp/floattisf.c: Likewise.
7815 * soft-fp/floattitf.c: Likewise.
7816 * soft-fp/floatundidf.c: Likewise.
7817 * soft-fp/floatundisf.c: Likewise.
7818 * soft-fp/floatunditf.c: Likewise.
7819 * soft-fp/floatunsidf.c: Likewise.
7820 * soft-fp/floatunsisf.c: Likewise.
7821 * soft-fp/floatunsitf.c: Likewise.
7822 * soft-fp/floatuntidf.c: Likewise.
7823 * soft-fp/floatuntisf.c: Likewise.
7824 * soft-fp/floatuntitf.c: Likewise.
7825 * soft-fp/gedf2.c: Likewise.
7826 * soft-fp/gesf2.c: Likewise.
7827 * soft-fp/getf2.c: Likewise.
7828 * soft-fp/ledf2.c: Likewise.
7829 * soft-fp/lesf2.c: Likewise.
7830 * soft-fp/letf2.c: Likewise.
7831 * soft-fp/muldf3.c: Likewise.
7832 * soft-fp/mulsf3.c: Likewise.
7833 * soft-fp/multf3.c: Likewise.
7834 * soft-fp/negdf2.c: Likewise.
7835 * soft-fp/negsf2.c: Likewise.
7836 * soft-fp/negtf2.c: Likewise.
7837 * soft-fp/op-1.h: Likewise.
7838 * soft-fp/op-2.h: Likewise.
7839 * soft-fp/op-4.h: Likewise.
7840 * soft-fp/op-8.h: Likewise.
7841 * soft-fp/op-common.h: Likewise.
7842 * soft-fp/quad.h: Likewise.
7843 * soft-fp/single.h: Likewise.
7844 * soft-fp/soft-fp.h: Likewise.
7845 * soft-fp/subdf3.c: Likewise.
7846 * soft-fp/subsf3.c: Likewise.
7847 * soft-fp/subtf3.c: Likewise.
7848 * soft-fp/truncdfsf2.c: Likewise.
7849 * soft-fp/trunctfdf2.c: Likewise.
7850 * soft-fp/trunctfsf2.c: Likewise.
7851 * soft-fp/trunctfxf2.c: Likewise.
7852 * soft-fp/unorddf2.c: Likewise.
7853 * soft-fp/unordsf2.c: Likewise.
7854 * soft-fp/unordtf2.c: Likewise.
7855
02ac9503
UB
78562013-11-05 Uros Bizjak <ubizjak@gmail.com>
7857
7858 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7859 (_FP_MUL_MEAT_D): Ditto.
7860 (_FP_DIV_MEAT_S): Ditto.
7861 (_FP_DIV_MEAT_D): Ditto.
7862 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7863 t-softfp-sfdf and t-softfp to tmake_file.
7864
61221141
UB
78652013-11-03 Uros Bizjak <ubizjak@gmail.com>
7866
7867 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7868 * config/i386/crtprec.c: Ditto.
7869
9304f876
CJW
78702013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7871 Shiva Chen <shiva0217@gmail.com>
7872
7873 * config.host (nds32*-elf*): Add nds32 target.
7874 * config/nds32 : New directory and files.
7875
0e499e75
HPN
78762013-10-16 Hans-Peter Nilsson <hp@axis.com>
7877
7878 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7879 * config.host (cpu_type) <Setting default>: Add entry for
7880 crisv32-*-*.
7881 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7882 <crisv32-*-linux*>: Adjust.
7883 * longlong.h: Wrap the whole CRIS section in a single
7884 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7885 and sub_ddmmss.
7886 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7887 defined.
7888 [__CRIS__] (__umulsidi3): Define.
7889 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7890 * config/cris/sfp-machine.h: New file.
7891 * config/cris/umulsidi3.S: New file.
7892 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7893 * config/cris/arit.c (SIGNMULT): New macro.
7894 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7895 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7896 saving 3 out of originally 33 cycles from the fastest
7897 path, 3 out of 54 from the medium path and one from the longest
7898 path. Improve comments.
7899
16022041
RS
79002013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7901
7902 * sync.c: Remove static aliases and define each function directly
7903 under its real name.
7904
69778659
JDA
79052013-10-02 John David Anglin <danglin@gcc.gnu.org>
7906
7907 * config.host (hppa*64*-*-linux*): Define extra_parts.
7908 (hppa*-*-linux*): Likewise.
7909
2deaf8b0
JR
79102013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7911
7912 * config/arc/crtgend.S: Add 2013 to Copyright years.
7913 * config/arc/gmon/atomic.h: Likewise.
7914 * config/arc/gmon/auxreg.h: Likewise.
7915 * config/arc/gmon/sys/gmon_out.h: Likewise.
7916 * config/arc/gmon/sys/gmon.h: Likewise.
7917 * config/arc/gmon/prof-freq.c: Likewise.
7918 * config/arc/gmon/mcount.c: Likewise.
7919 * config/arc/gmon/prof-freq-stub.S: Likewise.
7920 * config/arc/gmon/gmon.c: Likewise.
7921 * config/arc/gmon/machine-gmon.h: Likewise.
7922 * config/arc/gmon/profil.S: Likewise.
7923 * config/arc/gmon/dcache_linesz.S: Likewise.
7924 * config/arc/crtg.S: Likewise.
7925 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7926 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7927 * config/arc/ieee-754/adddf3.S: Likewise.
7928 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7929 * config/arc/ieee-754/fixsfsi.S: Likewise.
7930 * config/arc/ieee-754/gtsf2.S: Likewise.
7931 * config/arc/ieee-754/floatsisf.S: Likewise.
7932 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7933 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7934 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7935 * config/arc/ieee-754/fixdfsi.S: Likewise.
7936 * config/arc/ieee-754/addsf3.S: Likewise.
7937 * config/arc/ieee-754/gesf2.S: Likewise.
7938 * config/arc/ieee-754/floatsidf.S: Likewise.
7939 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7940 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7941 * config/arc/ieee-754/gtdf2.S: Likewise.
7942 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7943 * config/arc/ieee-754/uneqdf2.S: Likewise.
7944 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7945 * config/arc/ieee-754/uneqsf2.S: Likewise.
7946 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7947 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7948 * config/arc/ieee-754/eqdf2.S: Likewise.
7949 * config/arc/ieee-754/ordsf2.S: Likewise.
7950 * config/arc/ieee-754/divsf3.S: Likewise.
7951 * config/arc/ieee-754/divdf3.S: Likewise.
7952 * config/arc/ieee-754/floatunsidf.S: Likewise.
7953 * config/arc/ieee-754/orddf2.S: Likewise.
7954 * config/arc/ieee-754/eqsf2.S: Likewise.
7955 * config/arc/ieee-754/gedf2.S: Likewise.
7956 * config/arc/crtn.S: Likewise.
7957 * config/arc/crti.S: Likewise.
7958 * config/arc/t-arc700-uClibc: Likewise.
7959 * config/arc/asm.h: Likewise.
7960 * config/arc/libgcc-excl.ver: Likewise.
7961 * config/arc/t-arc-newlib: Likewise.
7962 * config/arc/divtab-arc700.c: Likewise.
7963 * config/arc/initfini.c: Likewise.
7964 * config/arc/fp-hack.h: Likewise.
7965
c8e318b0
JR
79662013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7967 Diego Novillo <dnovillo@google.com>
7968
7969 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7970 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7971 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7972 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7973
d38a64b4
JR
79742013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7975 Brendan Kehoe <brendan@zen.org>
7976 Simon Cook <simon.cook@embecosm.com>
7977
7978 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7979 * config/arc: New directory.
7980 * longlong.h [__arc__] (umul_ppmm): Remove.
7981 [__arc__] (__umulsidi3): Define.
7982 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7983 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7984
dff717d2
JC
79852013-09-17 Jacek Caban <jacek@codeweavers.com>
7986
7987 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7988 CreateSemaphoreA.
7989 * config/i386/gthr-win32.h: Likewise.
7990
5c0029de
DD
79912013-09-16 DJ Delorie <dj@redhat.com>
7992
844ad6c6 7993 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7994 * config/rl78/lib2mul.c: Enable for RL78/G10.
7995 * config/rl78/lib2div.c: Likewise.
7996 * config/rl78/lshrsi3.S: Use vregs.h.
7997 * config/rl78/cmpsi2.S: Likewise.
7998 * config/rl78/trampoline.S: Likewise.
7999 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8000
ceb2fc49
DD
80012013-09-14 DJ Delorie <dj@redhat.com>
8002 Nick Clifton <nickc@redhat.com>
8003
8004 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8005 * config/rl78/vregs.h: New.
8006 * config/rl78/signbit.S: New file. Implements signbit function.
8007 * config/rl78/divmodsi.S: New.
8008 * config/rl78/divmodhi.S: New.
8009 * config/rl78/divmodqi.S: New.
8010 * config/rl78/t-rl78: Build them here...
8011 * config/rl78/lib2div.c: ...but not here.
8012
f6a83b4a
DD
80132013-09-12 DJ Delorie <dj@redhat.com>
8014
8015 * config.host (msp*-*-elf): New.
8016 * config/msp430/: New port.
8017
9107b096
IS
80182013-08-18 Iain Sandoe <iain@codesourcery.com>
8019
8020 PR gcov-profile/58127
8021 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8022 __thread var for emulated TLS.
8023 (__gcov_indirect_call_counters): Likewise.
8024
0f9bde1f 80252013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8026 Catherine Moore <clm@codesourcery.com>
7d296953 8027 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8028
8029 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8030 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8031 (CALL_STUB_NO_RET): Likewise.
8032 (CALL_STUB_RET): Likewise.
8033 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8034 __mips16_ret call/return stub symbols.
8035 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8036 to tmake_file.
8037
2dc14aac
MR
80382013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8039
8040 * config.host <mips*-*-linux*>: Remove a stray comment.
8041
748d71f3
JH
80422013-08-10 Jan Hubicka <jh@suse.cz>
8043
8044 Work around binutils PR14342
8045 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8046 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8047 (L_gcov_indirect_call_profiler_v2): New.
8048
2fa3d31b
JH
80492013-08-06 Jan Hubicka <jh@suse.cz>
8050
8051 * libgcov.c (__gcov_indirect_call_callee,
8052 __gcov_indirect_call_counters): New global vars.
8053 (__gcov_indirect_call_profiler): replace by ...
8054 (__gcov_indirect_call_profiler_v2) ... this one.
8055
2077db1b
CT
80562013-08-06 Caroline Tice <cmtice@google.com>
8057
d0595b65 8058 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8059 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8060 * configure.ac: Add code to check/set enable_vtable_verify.
8061 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8062 true.
d0595b65
CT
8063 * vtv_start_preinit.c: New file.
8064 * vtv_end_preinit.c: New file.
8065 * vtv_start.c: New file.
8066 * vtv_end.c: New file.
8067 * configure: Regenerated.
2077db1b 8068
46549c20
MK
80692013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8070
8071 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8072 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8073 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8074 GPL-3.0-with-GCC-exception.
8075
72be589b
MR
80762013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8077
8078 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8079 ISA and up.
8080
902a3faf
AK
80812013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8082
8083 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8084 mapping for FPRs when creating the fallback framestate.
8085
02371798
GJL
80862013-07-19 Georg-Johann Lay <avr@gjlay.de>
8087
8088 PR target/57516
8089 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8090 (__round_s2_const, __round_u2_const)
8091 (__round_s4_const, __round_u4_const, __round_x8):
8092 Saturate result if addition result cannot be represented.
8093
ab0e8379
MK
80942013-07-15 Matthias Klose <doko@ubuntu.com>
8095
8096 * libgcc2.c: Don't include <limits.h>.
8097
7da38058
JJ
80982013-07-09 Janis Johnson <janisjo@codesourcery.com>
8099
8100 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8101
1f6eac90
JJ
81022013-07-06 Jakub Jelinek <jakub@redhat.com>
8103
8104 PR target/29776
8105 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8106
4ea3d774
JJ
81072013-06-28 Jakub Jelinek <jakub@redhat.com>
8108
8109 PR middle-end/36041
8110 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8111 Define.
8112 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8113 instead of table lookups.
8114 (__popcountDI2): Likewise.
8115
9d2cdf25
CJW
81162013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8117
8118 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8119 correctly.
8120
fa1e55b0
JM
81212013-06-21 Joseph Myers <joseph@codesourcery.com>
8122
8123 PR other/53317
8124 * soft-fp/adddf3.c: Update from glibc.
8125 * soft-fp/addsf3.c: Likewise.
8126 * soft-fp/addtf3.c: Likewise.
8127 * soft-fp/divdf3.c: Likewise.
8128 * soft-fp/divsf3.c: Likewise.
8129 * soft-fp/divtf3.c: Likewise.
8130 * soft-fp/double.h: Likewise.
8131 * soft-fp/eqdf2.c: Likewise.
8132 * soft-fp/eqsf2.c: Likewise.
8133 * soft-fp/eqtf2.c: Likewise.
8134 * soft-fp/extenddftf2.c: Likewise.
8135 * soft-fp/extended.h: Likewise.
8136 * soft-fp/extendsfdf2.c: Likewise.
8137 * soft-fp/extendsftf2.c: Likewise.
8138 * soft-fp/fixdfdi.c: Likewise.
8139 * soft-fp/fixdfsi.c: Likewise.
8140 * soft-fp/fixsfdi.c: Likewise.
8141 * soft-fp/fixsfsi.c: Likewise.
8142 * soft-fp/fixtfdi.c: Likewise.
8143 * soft-fp/fixtfsi.c: Likewise.
8144 * soft-fp/fixunsdfdi.c: Likewise.
8145 * soft-fp/fixunsdfsi.c: Likewise.
8146 * soft-fp/fixunssfdi.c: Likewise.
8147 * soft-fp/fixunssfsi.c: Likewise.
8148 * soft-fp/fixunstfdi.c: Likewise.
8149 * soft-fp/fixunstfsi.c: Likewise.
8150 * soft-fp/floatdidf.c: Likewise.
8151 * soft-fp/floatdisf.c: Likewise.
8152 * soft-fp/floatditf.c: Likewise.
8153 * soft-fp/floatsidf.c: Likewise.
8154 * soft-fp/floatsisf.c: Likewise.
8155 * soft-fp/floatsitf.c: Likewise.
8156 * soft-fp/floatundidf.c: Likewise.
8157 * soft-fp/floatundisf.c: Likewise.
8158 * soft-fp/floatunditf.c: Likewise.
8159 * soft-fp/floatunsidf.c: Likewise.
8160 * soft-fp/floatunsisf.c: Likewise.
8161 * soft-fp/floatunsitf.c: Likewise.
8162 * soft-fp/gedf2.c: Likewise.
8163 * soft-fp/gesf2.c: Likewise.
8164 * soft-fp/getf2.c: Likewise.
8165 * soft-fp/ledf2.c: Likewise.
8166 * soft-fp/lesf2.c: Likewise.
8167 * soft-fp/letf2.c: Likewise.
8168 * soft-fp/muldf3.c: Likewise.
8169 * soft-fp/mulsf3.c: Likewise.
8170 * soft-fp/multf3.c: Likewise.
8171 * soft-fp/negdf2.c: Likewise.
8172 * soft-fp/negsf2.c: Likewise.
8173 * soft-fp/negtf2.c: Likewise.
8174 * soft-fp/op-1.h: Likewise.
8175 * soft-fp/op-2.h: Likewise.
8176 * soft-fp/op-4.h: Likewise.
8177 * soft-fp/op-8.h: Likewise.
8178 * soft-fp/op-common.h: Likewise.
8179 * soft-fp/quad.h: Likewise.
8180 * soft-fp/single.h: Likewise.
8181 * soft-fp/soft-fp.h: Likewise.
8182 * soft-fp/subdf3.c: Likewise.
8183 * soft-fp/subsf3.c: Likewise.
8184 * soft-fp/subtf3.c: Likewise.
8185 * soft-fp/truncdfsf2.c: Likewise.
8186 * soft-fp/trunctfdf2.c: Likewise.
8187 * soft-fp/trunctfsf2.c: Likewise.
8188 * soft-fp/unorddf2.c: Likewise.
8189 * soft-fp/unordsf2.c: Likewise.
8190 * soft-fp/unordtf2.c: Likewise.
8191 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8192 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8193 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8194 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8195 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8196 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8197 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8198 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8199 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8200 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8201 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8202 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8203
0de86a92
JU
82042013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8205
8206 * config/mips/lib2funcs.c: New file.
8207 * config/mips/t-mips (LIB2ADD_ST): Add it.
8208
0d008882
OE
82092013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8210
8211 PR target/6526
8212 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8213 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8214
776434d1
WL
82152013-06-08 Walter Lee <walt@tilera.com>
8216
8217 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8218 Replace int64_t with long long. Add __extension__ where
8219 appropriate.
8220 * config/tilepro/atomic.c: Include config.h.
8221
6ab3ebb4
DR
82222013-06-06 Douglas B Rupp <rupp@adacore.com>
8223
8224 * config.host (arm-wrs-vxworks): Configure with other soft float.
8225
107eea2c
JU
82262013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8227
8228 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8229 (mips64r5900el-*-elf*): New configurations.
8230
5cc19c62
AM
82312013-06-04 Alan Modra <amodra@gmail.com>
8232
8233 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8234
0f1d3965
YR
82352013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8236
8237 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8238
0ba045df
EB
82392013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8240
8241 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8242 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8243 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8244
49dcafd4
EB
82452013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8246
8247 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8248 (powerpc-wrs-vxworks): Likewise.
8249
4fcb5d87
EB
82502013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8251
8252 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8253 signal frames as well.
8254 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8255 STACK_BIAS to the CFA offset.
8256
0ec33224
RH
82572013-05-17 Richard Henderson <rth@redhat.com>
8258
8259 PR target/49146
8260 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8261 (execute_cfa_program): Use it when storing to fs->regs.
8262
492a8029
KT
82632013-05-08 Kai Tietz <ktietz@redhat.com>
8264
8265 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8266 (__deregister_frame_info): Likewise.
8267
701e2f0a
TS
82682013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8269
e5123d08
TS
8270 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8271 NaN's payload.
8272
701e2f0a
TS
8273 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8274
b9a7eb5d
AM
82752013-04-25 Alan Modra <amodra@gmail.com>
8276
8277 * config.host: Match little-endian powerpc-linux.
8278
dfe192f5
YZ
82792013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8280
8281 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8282 as 'unsigned long long' instead of 'unsigned long'.
8283 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8284 'signed long'.
8285
b6b9af2f
JB
82862013-04-10 Julian Brown <julian@codesourcery.com>
8287
8288 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8289 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8290 unsigned char/unsigned short.
8291 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8292
ecabdd00
JDA
82932013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8294
8295 PR other/55274
8296 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8297
34652576
MI
82982013-04-04 Meador Inge <meadori@codesourcery.com>
8299
8300 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8301 computing the location of the link register.
8302 (aeabi_uldivmod): Ditto.
8303
e9fd8c19
KT
83042013-03-27 Kai Tietz <ktietz@redhat.com>
8305
8306 * config.host: Add support for cygwin x64 target.
8307 * configure: Regenerated.
8308
a6406324
WL
83092013-03-26 Walter Lee <walt@tilera.com>
8310
8311 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8312 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8313
55446c7e
KT
83142013-03-25 Kai Tietz <ktietz@redhat.com>
8315
8316 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8317
d2ae19d9
RM
83182013-03-20 Robert Mason <rbmj@verizon.net>
8319
8320 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8321 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8322 (__gthread_leave_tsd_dtor_context): Add prototypes.
8323 (tls_delete_hook): Update.
8324
22c4c869
CM
83252013-03-20 Catherine Moore <clm@codesourcery.com>
8326 Joseph Myers <joseph@codesourcery.com>
8327 Chao-ying Fu <fu@mips.com>
8328
8329 * config/mips/mips16.S: Don't build for microMIPS.
8330 * config/mips/linux-unwind.h: Handle microMIPS frame.
8331 * config/mips/crtn.S (fini, init): New labels.
8332
fbd28bc3
JJ
83332013-03-14 Jakub Jelinek <jakub@redhat.com>
8334
8335 PR tree-optimization/53265
8336 * unwind-dw2.c (execute_cfa_program): Avoid
8337 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8338 on targets with DWARF_FRAME_REGISTERS < 32.
8339
decc676e
OE
83402013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8341
8342 PR target/49880
8343 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8344 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8345
84ea618a
ST
83462013-03-07 Sriraman Tallam <tmsriram@google.com>
8347
8348 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8349 sandybridge processors.
8350
8f6d1c86
OE
83512013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8352
8353 PR target/56529
8354 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8355 inclusion list.
8356
ecdbd01a 83572013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
8358
8359 * config/microblaze/crti.S: Setup stack protection at entry
8360
0b4ce21b
GJL
83612013-03-04 Georg-Johann Lay <avr@gjlay.de>
8362
8363 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8364 (__rotldi3): Shift bytewise if applicable.
8365
b7c3f1ca
JG
83662013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8367
8368 * config/aarch64/sync-cache.c
8369 (__aarch64_sync_cache_range): Silence warnings.
8370
6d65e8f1
CM
83712013-02-25 Catherine Moore <clm@codesourcery.com>
8372
8373 Revert:
8374 2013-02-24 Catherine Moore <clm@codesourcery.com>
8375 Joseph Myers <joseph@codesourcery.com>
8376 Chao-ying Fu <fu@mips.com>
8377
8378 * config/mips/mips16.S: Don't build for microMIPS.
8379 * config/mips/linux-unwind.h: Handle microMIPS frame.
8380 * config/mips/crtn.S (fini, init): New labels.
8381
6941b508
CM
83822013-02-24 Catherine Moore <clm@codesourcery.com>
8383 Joseph Myers <joseph@codesourcery.com>
8384 Chao-ying Fu <fu@mips.com>
8385
8386 * config/mips/mips16.S: Don't build for microMIPS.
8387 * config/mips/linux-unwind.h: Handle microMIPS frame.
8388 * config/mips/crtn.S (fini, init): New labels.
8389
7c422dbb 83902012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8391 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8392 as dividend.
8393
110207ad
AM
83942013-02-16 Alan Modra <amodra@gmail.com>
8395
8396 PR target/55431
8397 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8398 (ppc_fallback_frame_state): Always set up save locations for fp
8399 and altivec. Don't bother with non-callee-saved regs, r0-r13
8400 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8401
e68a4ef6
GJL
84022013-02-12 Georg-Johann Lay <avr@gjlay.de>
8403
8404 PR target/54222
8405 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8406 _ssmulHA, _ssmulSA.
8407 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8408 _ssmulha3, _usmulusa3, _ssmulsa3.
8409 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8410 (__muldi3): XCALL __muldi3_6 instead of rcall.
8411 (__umulsidi3, __mulsidi3): New functions.
8412 (do_prologue_saves, do_epilogue_restores): New .macros.
8413 (__divdi3_moddi3): Use them.
8414 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8415 (__usmulusa3, __ssmulsa3): New functions.
8416
6c59ffd1
IS
84172013-02-11 Iain Sandoe <iain@codesourcery.com>
8418 Jack Howarth <howarth@bromo.med.uc.edu>
8419 Patrick Marlier <patrick.marlier@gmail.com>
8420
8421 PR libitm/55693
8422 * config/darwin-crt-tm.c: Remove dummy functions hack.
8423
85d768f3
GJL
84242013-02-08 Georg-Johann Lay <avr@gjlay.de>
8425
8426 PR target/54222
8427 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8428 * config/avr/lib2-object.mk: New iterator to build objects from it.
8429 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8430 lib2funcs.c.
8431 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8432 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8433 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8434 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8435 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8436 * config/avr/lib1funcs-fixed.S: Implement them.
8437
5d5bf775
RS
84382013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8439
8440 Update copyright years.
8441
99113dff
DE
84422013-02-01 David Edelsohn <dje.gcc@gmail.com>
8443
8444 PR target/54601
8445 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8446 Add crtcxa to extra_parts.
8447 * config/rs6000/exit.h: New file.
8448 * config/rs6000/cxa_atexit.c: New file.
8449 * config/rs6000/cxa_finalize.c: New file.
8450 * config/rs6000/crtcxa.c: New file.
8451 * config/rs6000/t-aix-cxa: New file.
8452 * config/rs6000/libgcc-aix-cxa.ver: New file.
8453
dbdbd982
NC
84542013-01-31 Nick Clifton <nickc@redhat.com>
8455
8456 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8457 variant.
8458
5893f158
GJL
84592013-01-29 Georg-Johann Lay <avr@gjlay.de>
8460
8461 PR target/54222
8462 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8463 _mulQQ, _mulHQ, _mulHA, _mulSA,
8464 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8465 _divQQ, _divHQ, _divHA, _divSA,
8466 _divUQQ, _divUHQ, _divUHA, _divUSA.
8467
ecdbd01a 84682013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8469
dbdbd982 8470 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8471 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8472 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8473 to exclude functions from being built with libgcc.c and use
8474 the microblaze assembly.
8475
ecdbd01a 84762013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8477
8478 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8479 extra_parts.
8480
922c57d1
YZ
84812013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8482
8483 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8484 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8485 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8486 alignment operation.
8487
e0f8b6a0
SN
84882013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8489
8490 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8491 loop start address for cache clearing.
8492
00892272
GJL
84932013-01-14 Georg-Johann Lay <avr@gjlay.de>
8494
8495 * config/avr/lib1funcs.S: Remove trailing blanks.
8496 * config/avr/lib1funcs-fixed.S: Ditto.
8497
e59ec5fd
GJL
84982013-01-14 Georg-Johann Lay <avr@gjlay.de>
8499
8500 * config/avr/avr-lib.h: Add GPL copyright notice.
8501
3ffc1958
GJL
85022013-01-14 Georg-Johann Lay <avr@gjlay.de>
8503
8504 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8505 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8506 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8507 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8508
25c210f9
MK
85092013-01-07 Mark Kettenis <kettenis@openbsd.org>
8510
8511 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8512 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8513
db59befb
NC
85142013-01-04 Nick Clifton <nickc@redhat.com>
8515
8516 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8517 the CALLT instruction is supported.
8518
5aa12dbf
JW
85192012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8520
8521 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8522 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8523
65f14117
JT
85242012-12-13 John Tytgat <John@bass-software.com>
8525
8526 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8527 is 25.
8528
ee3ae4f7
JJ
85292012-12-12 Jakub Jelinek <jakub@redhat.com>
8530
8531 PR libgcc/55451
8532 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8533 undefined signed overflows.
8534
2fcfba3d
UB
85352012-12-09 Uros Bizjak <ubizjak@gmail.com>
8536
8537 PR target/55344
8538 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8539
4f2b3dc2
UB
85402012-12-06 Uros Bizjak <ubizjak@gmail.com>
8541
8542 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8543 (FP_TRAPPING_EXCEPTIONS): Define.
8544 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8545 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8546
066161a2
RH
85472012-12-04 Richard Henderson <rth@redhat.com>
8548
8549 PR bootstrap/55571
8550 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8551
7d296953 85522012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8553
4f2b3dc2 8554 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8555 (FP_EX_SHIFT): Define.
8556 (FP_TRAPPING_EXCEPTIONS): Define.
8557
7d296953 85582012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8559
8560 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8561 (FP_ROUNDMODE): Use FP_RND_MASK.
8562 * config/aarch64/sfp-exceptions.c: New.
8563 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8564 Use __sfp_handle_exceptions.
8565
5005fe22
RE
85662012-12-04 Richard Earnshaw <rearnsha@arm.com>
8567
8568 * config.host: (arm*-*-freebsd*): Remove.
8569 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8570 (arm*-*-elf*): Remove.
8571 (arm*-*-wince-pe*): Remove.
8572 * arm/unwind-arm.c (struct fpa_reg): Delete.
8573 (struct fpa_regs): Delete.
8574 (phase1_vrs): Remove fpa element.
8575 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8576 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8577 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8578 * ieee754-sf.S (floatundisf): Remove FPA support.
8579 (floatdisf): Likewise.
8580 * ieee75f-df.S (floatundidf): Likewise.
8581 (floatdidf): Likewise.
8582
e5a81c8e
KT
85832012-11-29 Kai Tietz <ktietz@redhat.com>
8584
8585 PR target/55445
8586 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8587 * unwind-generic.h: Likewise.
8588 * unwind-seh.c: Likewise.
8589
f4919e4a
RH
85902012-11-28 Richard Henderson <rth@redhat.com>
8591
8592 PR libgcc/48076
8593 * emutls.c (__emutls_get_address): Avoid race condition between
8594 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8595
e13d9d5a
GJL
85962012-11-22 Georg-Johann Lay <avr@gjlay.de>
8597
8598 Adjust decimal point of signed accum mode to GCC default.
8599
8600 PR target/54222
8601 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8602 _divqq_helper.
8603 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8604 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8605 (__mulha3, __mulsa3)
8606 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8607 decimal point of signed accum types.
8608
e13d9d5a
GJL
8609 (__mulusa3_round): New function.
8610 (__mulusa3): Use it.
8611 (__divqq_helper): New function.
8612 (__udivuqq3): Use it.
8613
1b845c6e
JJ
86142012-11-20 Jakub Jelinek <jakub@redhat.com>
8615
8616 PR bootstrap/55370
8617 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8618
822a258a
TJ
86192012-11-18 Teresa Johnson <tejohnson@google.com>
8620
8621 PR bootstrap/55051
8622 * libgcov.c (gcov_exit): Remove merged program summary
8623 comparison unless !GCOV_LOCKED.
8624
7d296953 86252012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
8626
8627 * soft-fp: Updated from glibc upstream.
8628
e808687a
ILT
86292012-11-06 Ian Lance Taylor <iant@google.com>
8630
8631 * generic-morestack.c (__generic_morestack): Align the returned
8632 stack pointer to a 32 byte boundary.
8633 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8634 increment the return address until we have decided that we don't
8635 have a varargs function.
8636 (__morestack) [32-bit]: Align stack correctly when calling C
8637 functions.
8638 (__morestack) [64-bit]: Likewise.
8639
460277e0
TS
86402012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8641
8642 * configure: Regenerate.
8643
73edb277
UB
86442012-11-02 Uros Bizjak <ubizjak@gmail.com>
8645
8646 PR target/55175
8647 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8648 * config/i386/sfp-machine.h: Guard exception handling
8649 code with _SOFT_FLOAT.
8650 * config/i386/32/sfp-machine.h: Guard rounding handling
8651 code with _SOFT_FLOAT.
8652 * config/i386/64/sfp-machine.h: Ditto.
8653
c1d4fa04
JS
86542012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8655
8656 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8657 as extra_parts.
8658
eff6ca85
UB
86592012-10-26 Uros Bizjak <ubizjak@gmail.com>
8660
8661 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8662 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8663 when appropriate. Correct structure element types.
8664 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8665 -minline-all-stringops from compile flags.
8666
7d296953 86672012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8668
8669 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8670
7d296953 86712012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8672
eff6ca85 8673 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8674
6f288860
SH
86752012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8676
8677 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8678 tmake_file.
8679
1e3d5096
IB
86802012-10-23 Ian Bolton <ian.bolton@arm.com>
8681 Jim MacArthur <jim.macarthur@arm.com>
8682 Marcus Shawcroft <marcus.shawcroft@arm.com>
8683 Nigel Stephens <nigel.stephens@arm.com>
8684 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8685 Richard Earnshaw <rearnsha@arm.com>
8686 Sofiane Naci <sofiane.naci@arm.com>
8687 Stephen Thomas <stephen.thomas@arm.com>
8688 Tejas Belagod <tejas.belagod@arm.com>
8689 Yufeng Zhang <yufeng.zhang@arm.com>
8690
8691 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8692 * config/aarch64/crti.S: New file.
8693 * config/aarch64/crtn.S: New file.
8694 * config/aarch64/linux-unwind.h: New file.
8695 * config/aarch64/sfp-machine.h: New file.
8696 * config/aarch64/sync-cache.c: New file.
8697 * config/aarch64/t-aarch64: New file.
8698 * config/aarch64/t-softfp: New file.
8699
8a740f07
HPN
87002012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8701
8702 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8703 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8704 no-longer-needed LDBU insns.
8705
7d296953 87062012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8707
8708 * config.host
8709 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8710 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8711
595fefee
MGD
87122012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8713
8714 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8715
9945a876
MK
87162012-10-15 Matthias Klose <doko@ubuntu.com>
8717
8718 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8719
1183dc2c
PC
87202012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8721
8722 * configure: Regenerate.
8723 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8724
945a9c1f
UB
87252012-10-10 Uros Bizjak <ubizjak@gmail.com>
8726
8727 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8728 instructions for 64bit targets only.
8729
fb8bf47a
UB
87302012-10-10 Uros Bizjak <ubizjak@gmail.com>
8731
8732 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8733 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8734 * config/i386/32/sfp-machine.h: ... here.
8735 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8736 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8737 New defines.
8738
acb72498
MK
87392012-10-07 Matthias Klose <doko@ubuntu.com>
8740
8741 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8742 as unused.
8743 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8744
8eaee0f0
MK
87452012-10-06 Mark Kettenis <kettenis@openbsd.org>
8746
8747 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8748 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8749 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8750 (ElfW): Likewise.
8751
5e3e4fe8
JW
87522012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8753
8754 PR other/53889
8755 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8756 Fix parameter names.
8757
86086376
OE
87582012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8759
8760 PR target/33135
8761 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8762 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8763 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8764
9597375a
OE
87652012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8766
8767 PR target/50457
8768 * config/sh/linux-atomic.S: Delete.
8769 * config/sh/linux-atomic.c: New.
8770 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8771 linux-atomic.c. Add cflags to disable warnings.
8772
1504e3e1
JW
87732012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8774
8775 PR other/53889
8776 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8777 function.
8778 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8779 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8780 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8781 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8782 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8783 Likewise.
1504e3e1
JW
8784 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8785 Likewise.
8786 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8787 Likewise.
8788 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8789 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8790
17f293b0
MK
87912012-09-19 Mark Kettenis <kettenis@openbsd.org>
8792
9597375a
OE
8793 * config.host (hppa-*-openbsd*): New target.
8794 * config/pa/t-openbsd: New file.
17f293b0 8795
51526856
GJL
87962012-09-15 Georg-Johann Lay <avr@gjlay.de>
8797
8798 PR target/54222
8799 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8800 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8801 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8802 (__divsa3): Use __negsi2 to negate r_quoL.
8803 * config/avr/lib1funcs.S (FALIAS): New macro.
8804 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8805 (__negsi2): ...this new function.
8806 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8807 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8808 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8809 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8810 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8811 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8812
aadb5b43
OE
88132012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8814
8815 PR target/54089
8816 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8817 (lshrsi3): Reimplement as lshrsi3_r0.
8818
d5d66749
AS
88192012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8820
8821 PR target/46191
8822 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8823 of libgcc.a.
8824
c6c36e73
TJ
88252012-09-07 Teresa Johnson <tejohnson@google.com>
8826
9597375a 8827 PR gcov-profile/54487
c6c36e73 8828 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8829 differences.
c6c36e73 8830
b588ae30
GJL
88312012-09-05 Georg-Johann Lay <avr@gjlay.de>
8832
8833 PR target/54461
8834 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8835 not configured --with-avrlibc=no.
8836 * config/avr/t-avrlibc: New file.
8837 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8838 (DPBIT_FUNCS): Ditto.
8839 (TPBIT_FUNCS): Ditto.
8840
abd16fb1
TJ
88412012-09-04 Teresa Johnson <tejohnson@google.com>
8842
8843 * libgcov.c (struct gcov_summary_buffer): New structure.
8844 (gcov_histogram_insert): New function.
8845 (gcov_compute_histogram): Ditto.
8846 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8847 histograms during summary merging.
8848
613061fd
MK
88492012-09-01 Mark Kettenis <kettenis@openbsd.org>
8850
8851 * config.host (x86_64-*-openbsd*): New target.
73edb277 8852
867a8345
CLT
88532012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8854
8855 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8856 attribute.
8857
4aeaaca3
GJL
88582012-08-24 Georg-Johann Lay <avr@gjlay.de>
8859
8860 PR target/54222
8861 * config/avr/t-avr (conv_X): Rename to func_X.
8862
e55e4056
GJL
88632012-08-24 Georg-Johann Lay <avr@gjlay.de>
8864
8865 PR target/54222
8866 * config/avr/lib1funcs-fixed.S: New file.
8867 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8868 after they are used.
8869 (neg2, neg4): New macros.
8870 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8871 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8872 (__umulhisi3): Speed up MUL variant if there is enough flash.
8873 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8874 avr-modes.def.
8875 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8876 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8877 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8878 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8879 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8880 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8881 (LIB2FUNCS_EXCLUDE): Add supported functions.
8882
a147b6d2
GJL
88832012-08-22 Georg-Johann Lay <avr@gjlay.de>
8884
8885 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8886 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8887 libgcc-s-objects.
8888 * fixed-obj.mk: Only expand dependency if $o is not in
8889 LIB2FUNCS_EXCLUDE.
8890
c637141a
L
88912012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8892
8893 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8894
130e00bd
JM
88952012-08-22 Joseph Myers <joseph@codesourcery.com>
8896
8897 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8898 depend on --enable-shared.
8899 ($(lib1asmfuncs-o)): Use %.vis files independent of
8900 --enable-shared.
8901 * static-object.mk ($(base)$(objext), $(base).vis)
8902 ($(base)_s$(objext)): Use same rules for visibility handling as in
8903 shared-object.mk.
8904
4b1b3788
ILT
89052012-08-21 Ian Lance Taylor <iant@google.com>
8906
8907 * config/i386/morestack.S (__morestack_non_split): Increase amount
8908 of space allocated for non-split code stack.
8909
d2468141
JM
89102012-08-19 Joseph Myers <joseph@codesourcery.com>
8911
8912 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8913 even if inhibit_libc.
8914
a508e1a8
JB
89152012-08-17 Julian Brown <julian@codesourcery.com>
8916
8917 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8918 -fexceptions -fnon-call-exceptions if not defined.
8919 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8920 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8921
5615a07d
AS
89222012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8923
8924 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8925 type.
8926
138f5acd
DE
89272012-08-16 David Edelsohn <dje.gcc@gmail.com>
8928
8929 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8930 rs6000/t-slibgcc-aix.
8931
18efc0dd
SB
89322012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8933
8934 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8935
6b39bc38
SB
89362012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8937
8938 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8939
cd25dea0
L
89402012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8941
8942 PR driver/54171
8943 * Makefile.in (version): Replace top_srcdir with srcdir.
8944
a3dda30b
JY
89452012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8946
8947 * Makefile.in (version): set to BASE-VER file from gcc directory.
8948
d04aacfc
NC
89492012-08-01 Nick Clifton <nickc@redhat.com>
8950
8951 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8952 Implements __clrsb for an HImode argument.
8953
0d13c974
NC
89542012-07-31 Nick Clifton <nickc@redhat.com>
8955
8956 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8957 Implements __clrsb for an HImode argument.
8958 * config/stormy16/clrsbhi2.c: New file:
8959 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8960
efbb59b2
SB
89612012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8962
8963 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8964
bf1431e3
TG
89652012-07-19 Tristan Gingold <gingold@adacore.com>
8966 Richard Henderson <rth@redhat.com>
8967
8968 * unwind-seh.c: New file.
8969 * unwind-generic.h: Include windows.h for SEH.
8970 (_Unwind_Exception): Use 6 private fields for SEH.
8971 (_GCC_specific_handler): Declare.
8972 * unwind-c.c (__gcc_personality_seh0): New function.
8973 Adjust for SEH.
8974 * config/i386/libgcc-cygming.ver: New file.
8975 * config/i386/t-seh-eh: New file.
8976 * config.host (x86_64-*-mingw*): Default to seh.
8977
659140c8
SB
89782012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8979
8980 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8981
a20d08fd
UB
89822012-06-17 Uros Bizjak <ubizjak@gmail.com>
8983
8984 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8985 __builtin_expect when checking for exceptions.
8986 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8987
79261115
UB
89882012-06-13 Uros Bizjak <ubizjak@gmail.com>
8989
4a172156
UB
8990 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8991 function declaration.
8992 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8993 (FP_RND_MASK): New.
8994 * config/ia64/sfp-exceptions.c: New.
8995 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8996
bb5c97d4
UB
89972012-06-13 Uros Bizjak <ubizjak@gmail.com>
8998
8999 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9000 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9001 * config/i386/64/sfp-machine: ... (delete here) ...
9002 * config/i386/sfp-machine.h: ... to here.
9003 (FP_EX_MASK): Remove.
9004 (FP_RND_MASK): New.
9005 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9006
91fe5efb
ST
90072012-06-11 Sriraman Tallam <tmsriram@google.com>
9008
9009 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9010 * config/i386/libgcc-sol2.ver: Ditto.
9011 * config/i386/libgcc-glibc.ver: Ditto.
9012
67a218c5
RM
90132012-06-11 Roland McGrath <mcgrathr@google.com>
9014
9015 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9016 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9017 pthread_cancel.
9018
492fbea1
UB
90192012-06-09 Uros Bizjak <ubizjak@gmail.com>
9020
9021 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9022 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9023 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9024 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9025 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9026 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9027 * config/i386/64/sfp-machine: ... (delete here) ...
9028 * config/i386/sfp-machine.h: ... to here.
9029 (FP_EX_MASK): New.
9030 (__sfp_handle_exceptions): New function declaration.
9031 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9032 * config/i386/sfp-exceptions.c: New.
9033 * config/i386/t-softfp: New.
9034 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9035 i386/t-softfp to tmake_file.
9036
7b4cf266
DM
90372012-06-03 David S. Miller <davem@davemloft.net>
9038
9039 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9040 change.
9041
0de0d5c6
DM
90422012-05-31 David S. Miller <davem@davemloft.net>
9043
9044 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9045 multiply and divide instructions on 32-bit when V9.
9046 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9047
d8c9d391
JM
90482012-05-29 Joseph Myers <joseph@codesourcery.com>
9049
9050 * config/arm/ieee754-df.S: Fix typos.
9051 * config/arm/ieee754-sf.S: Fix typos.
9052 * config/c6x/libunwind.S: Fix typos.
9053 * config/epiphany/udivsi3-float.c: Fix typos.
9054 * config/microblaze/muldi3_hard.S: Fix typos.
9055 * config/picochip/adddi3.S: Fix typos.
9056 * config/picochip/ashlsi3.S: Fix typos.
9057 * config/picochip/ashrsi3.S: Fix typos.
9058 * config/picochip/clzsi2.S: Fix typos.
9059 * config/picochip/cmpsi2.S: Fix typos.
9060 * config/picochip/divmod15.S: Fix typos.
9061 * config/picochip/divmodhi4.S: Fix typos.
9062 * config/picochip/divmodsi4.S: Fix typos.
9063 * config/picochip/longjmp.S: Fix typos.
9064 * config/picochip/lshrsi3.S: Fix typos.
9065 * config/picochip/parityhi2.S: Fix typos.
9066 * config/picochip/popcounthi2.S: Fix typos.
9067 * config/picochip/setjmp.S: Fix typos.
9068 * config/picochip/subdi3.S: Fix typos.
9069 * config/picochip/ucmpsi2.S: Fix typos.
9070 * config/picochip/udivmodhi4.S: Fix typos.
9071 * config/picochip/udivmodsi4.S: Fix typos.
9072 * config/spu/divv2df3.c: Fix typos.
9073 * config/spu/mfc_multi_tag_release.c: Fix typos.
9074 * config/spu/mfc_tag_release.c: Fix typos.
9075 * configure.ac: Fix typos.
9076 * configure: Regenerate.
9077
31a18a7e
ILT
90782012-05-25 Ian Lance Taylor <iant@google.com>
9079
9080 * config/i386/morestack.S (__morestack_non_split): Check whether
9081 caller is varargs and needs %bp to hold the stack frame on return.
9082
c5768510
OH
90832012-05-25 Olivier Hainque <hainque@adacore.com>
9084
9085 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9086 sequence in the non pic case on VxWorks.
9087
7c7c339b
OH
90882012-05-24 Olivier Hainque <hainque@adacore.com>
9089
73fb7630 9090 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9091 "install-leaf" to "install".
9092
fdc1b7d3
OH
90932012-05-24 Olivier Hainque <hainque@adacore.com>
9094
9095 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9096 Use a separate command for stamp removals.
9097
07ba94b9
AP
90982012-05-21 Andrew Pinski <apinski@cavium.com>
9099
9100 PR bootstrap/53183
9101 * configure.ac: Define the default includes to being none.
9102 * configure: Regenerate.
9103
4677d2eb
OH
91042012-05-16 Olivier Hainque <hainque@adacore.com>
9105
9106 * Makefile.in (install-unwind_h): Rename into ...
9107 (install-unwind_h-forbuild): New target.
9108 (all): Use it instead of the former install-unwind_h.
9109 (install-unwind_h): Reinstate, copy to user install destination
9110 for include files, not to the internal gcc object directory one.
9111 (install-leaf): Depend on it.
9112
7d67c380
OH
91132012-05-15 Olivier Hainque <hainque@adacore.com>
9114
9115 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9116 register numbers. LR_REGNO replaces R_LR.
9117 (ucontext_for): New, helper for ...
9118 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9119 and 5.3 of ...
9120 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9121
aca06c90
RO
91222012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9123
9124 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9125 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9126 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9127 i386/t-cpuinfo ...
9128 (i[34567]86-*-*, x86_64-*-*): ... here.
9129
9130 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9131 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9132
9133 * config/i386/i386-cpuinfo.c: Rename to ...
9134 * config/i386/cpuinfo.c: ... this.
9135 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9136
9137 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9138 (libgcc_cv_init_priority): New test.
9139 * configure: Regenerate.
9140 * config.in: New file.
9141 * Makefile.in (clean): Rename config.h to auto-target.h.
9142 (config.h): Likewise.
9143 (stamp-h): Likewise.
9144
9145 * config/i386/cpuinfo.c (auto-target.h): Include.
9146 (CONSTRUCTOR_PRIORITY): Define.
9147 (__cpu_indicator_init): Use it.
9148
0d03ac1b
L
91492012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9150
9151 * longlong.h: Use a URL instead of an FSF postal address.
9152 Replace spaces with tab.
9153
4a172156 91542012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9155
9156 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9157 (__gcov_dump): Ditto.
9158 (gcov_dump_complete): New global variable.
9159 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9160 (__gcov_flush): Outline functionality now in gcov_clear.
9161 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9162
e4bb767e
AJ
91632012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9164
31a18a7e
ILT
9165 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9166 (mips*-*-linux*): Include mips/t-tpbit when long double is
9167 16 bytes long.
e4bb767e 9168
5ddecff9
ST
91692012-04-25 Sriraman Tallam <tmsriram@google.com>
9170
9171 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9172 (get_available_features): New argument. Check for AVX2.
9173 (__cpu_indicator_init): Modify call to get_available_features.
9174
b427dd7a
AM
91752012-04-25 Alan Modra <amodra@gmail.com>
9176
9177 * config/rs6000/crtsavevr.S: New file.
9178 * config/rs6000/crtrestvr.S: New file.
9179 * config/rs6000/t-savresfgpr: Build the above.
9180 * config/rs6000/t-netbsd: Likewise.
9181
ad491329
ST
91822012-04-24 Sriraman Tallam <tmsriram@google.com>
9183
9184 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9185
792317cc
ST
91862012-04-24 Sriraman Tallam <tmsriram@google.com>
9187
9188 * libgcc/config/i386/i386-cpuinfo.c: New file.
9189 * libgcc/config/i386/t-cpuinfo: New file.
9190 * libgcc/config.host: Include t-cpuinfo.
9191 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9192
e1be98a4
CF
91932012-04-24 Chao-ying Fu <fu@mips.com>
9194
9195 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9196
1bde7dab
TS
91972012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9198
9199 struct siginfo vs. siginfo_t
9200
9201 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9202 siginfo_t instead of struct siginfo.
9203 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9204 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9205 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9206 (ia64_handle_unwabi): Likewise.
9207 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9208 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9209 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9210 (sh_fallback_frame_state): Likewise.
9211 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9212 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9213
24590f66
L
92142012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9215
9216 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9217 system call number.
9218
9a9dcce8
EB
92192012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9220
9221 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9222 if it hasn't been previously saved.
9223
6401aaf5
L
92242012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9225
9226 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9227 only for glibc.
9228
7fd6378e
GJL
92292012-03-28 Georg-Johann Lay <avr@gjlay.de>
9230
9231 PR target/52737
9232 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9233 instead of __AVR_HAVE_8BIT_SP__.
9234
9e916de7
TG
92352012-03-26 Tristan Gingold <gingold@adacore.com>
9236
9237 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9238 (unw_table_entry): Use unw_word instead of unsigned long.
9239 (_Unwind_FindTableEntry): Likewise.
9240 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9241 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9242 (_Unwind_FindTableEntry): Likewise.
9243 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9244 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9245 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9246 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9247 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9248 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9249 (uw_init_context_1, uw_install_context): Likewise.
9250 (unw_word): Move to unwind-ia64.h
9251
4b12e93d
TG
92522012-03-26 Tristan Gingold <gingold@adacore.com>
9253
9254 * config/vms/vms-ucrt0.c: Update copyright years.
9255 Add a sanity check.
9256 (___gcc_main_flags): Declare.
9257 (__main): Check flags to remap argv and exit code.
9258 * config.host (*-*-*vms*): Adjust extra_parts.
9259 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9260 (crt0.o): Add.
9261
06ea7371
RE
92622012-03-22 Richard Earnshaw <rearnsha@arm.com>
9263
9264 * arm/lib1funcs.asm (ctzsi2): New function.
9265 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9266 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9267 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9268 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9269 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9270 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9271
d82ad50d
AT
92722012-03-21 Andreas Tobler <andreast@fgznet.ch>
9273
9274 * config.host: Add bits to support powerpc64-*-freebsd*.
9275 * config/rs6000/freebsd-unwind.h: New file.
9276 * config/rs6000/t-freebsd64: New file.
9277
b260a8c0
RG
92782012-03-20 Richard Guenther <rguenther@suse.de>
9279
9280 PR gcov-profile/52627
9281 * libgcov.c (init_mx): Fix mutex name.
9282
86286a8a
TG
92832012-03-16 Tristan Gingold <gingold@adacore.com>
9284
9285 * config/ia64/vms-unwind.h: Remove ulong (and replace
9286 it by unw_reg where used). Define unw_reg with __int64.
9287
7888f266
RO
92882012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9289
9290 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9291 Solaris 8 handling.
9292 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9293 Solaris 8 handling.
9294 (sparc_is_sighandler): Likewise.
9295
f155bc64
L
92962012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9297
9298 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9299 <= saved reg size.
9300
d47657bd
RO
93012012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9302
9303 * config/arm/crtn.S: Fix typo.
9304
5bef73a1
RG
93052012-03-13 Richard Guenther <rguenther@suse.de>
9306
9307 * libgcov.c: Remove stdio.h include and NULL un-define.
9308
9c4271f3
RG
93092012-03-13 Richard Guenther <rguenther@suse.de>
9310
9311 PR target/52569
9312 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9313
c6d10e7c
RG
93142012-03-13 Richard Guenther <rguenther@suse.de>
9315
9316 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9317
074a385f
RG
93182012-03-13 Richard Guenther <rguenther@suse.de>
9319
9320 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9321 and __gthread_mutex_init_function definitions.
9322
c4bc5c25
RO
93232012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9324
9325 * config.host (mips*-*-openbsd*): Remove.
9326
5c30094f
RO
93272012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9328
9329 * config.host: Remove alpha*-dec-osf5.1* handling.
9330 * config/alpha/gthr-posix.c: Remove.
9331 * config/alpha/libgcc-osf5.ver: Remove.
9332 * config/alpha/osf5-unwind.h: Remove.
9333 * config/alpha/t-osf-pthread: Remove.
9334 * config/alpha/t-slibgcc-osf: Remove.
9335 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9336 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9337 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9338 * mkmap-flat.awk: Remove osf_export handling.
9339
33e3e24d
RG
93402012-03-12 Richard Guenther <rguenther@suse.de>
9341
9342 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9343 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9344 (__gthread_mutex_init_function): New function.
9345 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9346
9347 PR gcov/49484
9348 * libgcov.c: Include gthr.h.
9349 (__gcov_flush_mx): New global variable.
9350 (init_mx, init_mx_once): New functions.
9351 (__gcov_flush): Protect self with a mutex.
9352 (__gcov_fork): Re-initialize mutex after forking.
9353 * unwind-dw2-fde.c: Change condition under which to use
9354 __GTHREAD_MUTEX_INIT_FUNCTION.
9355
d8aba32a
TG
93562012-03-12 Tristan Gingold <gingold@adacore.com>
9357
9358 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9359 * config/ia64/t-vms: Likewise.
9360
75ffafdc
MH
93612012-03-11 Michael Hope <michael.hope@linaro.org>
9362
4a172156
UB
9363 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9364 for Thumb-2.
75ffafdc 9365
ef6c2c53
WL
93662012-03-07 Walter Lee <walt@tilera.com>
9367
9368 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9369 "arch_atomic_".
9370 (atomic_xor): Rename and move definition to
9371 config/tilepro/atomic.h.
9372 (atomic_nand): Ditto.
9373 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9374 "arch_atomic_".
9375 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9376 (arch_atomic_nand): Ditto.
9377
4e30d980
GJL
93782012-03-07 Georg-Johann Lay <avr@gjlay.de>
9379
9380 PR target/52507
9381 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9382
61108225
GJL
93832012-03-07 Georg-Johann Lay <avr@gjlay.de>
9384
9385 PR target/52505
9386 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9387 from RAM.
9388
b30e10ab
GJL
93892012-03-07 Georg-Johann Lay <avr@gjlay.de>
9390
9391 PR target/52461
9392 PR target/52508
9393 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9394 if RAMPZ affects reading from RAM.
9395 (__tablejump_elpm__): Ditto.
9396 (.xload): Ditto.
9397 (__movmemx_hi): Ditto.
9398 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9399 (__do_global_dtors): Ditto.
9400 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9401 (__movmemx_hi): Ditto.
9402
8993fde4
RH
94032012-03-05 Richard Henderson <rth@redhat.com>
9404
9405 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9406 [ARM] (count_trailing_zeros): Use the builtin.
9407
b7633ee3
KT
94082012-03-01 Kai Tietz <ktietz@redhat.com>
9409
9410 * soft-fp: Imported from glibc upstream.
9411
fbd3340c
KT
94122012-02-28 Kai Tietz <ktietz@redhat.com>
9413
9414 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9415 for mingw-targets as attribute gcc_struct.
9416
e9e053eb
ILT
94172012-02-28 Ian Lance Taylor <iant@google.com>
9418
9419 * generic-morestack.c (__splitstack_releasecontext): Correct call
9420 to __morestack_release_segments.
9421
d80c632e
ST
94222012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9423
9424 PR target/52390
9425 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9426 for __linux__ when removing signals from __morestack_fullmask.
9427
0253a8b1
GJL
94282012-02-23 Georg-Johann Lay <avr@gjlay.de>
9429
9430 PR target/52261
9431 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9432
e10e461e
UW
94332012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9434
9435 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9436 instead of HAVE_INITFINI_ARRAY.
9437 * config/ia64/crtend.S: Likewise.
9438
0c0c6398
KT
94392012-02-20 Kai Tietz <ktietz@redhat.com>
9440
d7470374
KT
9441 PR libstdc++/52300
9442 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9443
0c0c6398
KT
9444 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9445 to w32-unwind.h header.
9446
78c27266
RS
94472012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9448
9449 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9450 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9451 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9452 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9453
5adeb246
RS
94542012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9455
9456 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9457
672ed313
IS
94582012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9459
9460 PR libitm/52220
9461 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9462
e948a1fb
IS
94632012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9464 Patrick Marlier <patrick.marlier@gmail.com>
9465
9466 PR libitm/52220
9467 * config/darwin-crt-tm.c: Generate dummy functions.
9468
6017aed3
IS
94692012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9470 Patrick Marlier <patrick.marlier@gmail.com>
9471
9472 PR libitm/52042
9473 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9474 (__doTMRegistrations): Call it.
e9e053eb 9475 (__doTMdeRegistrations): Likewise.
6017aed3 9476
2da8c1ad 94772012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9478 Anatoly Sokolov <aesok@post.ru>
9479 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9480
9481 PR target/52261
9482 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9483 (__epilogue_restores__): Ditto.
9484
0f952eb4
EB
94852012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9486
9487 PR target/51921
9488 PR target/52205
9489 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9490 Solaris 11 and slightly reformat.
9491 (sparc_is_sighandler): Likewise.
9492
dd552284
WL
94932012-02-14 Walter Lee <walt@tilera.com>
9494
9495 * config.host: Handle tilegx and tilepro.
9496 * config/tilegx/sfp-machine.h: New file.
9497 * config/tilegx/sfp-machine32.h: New file.
9498 * config/tilegx/sfp-machine64.h: New file.
9499 * config/tilegx/t-crtstuff: New file.
9500 * config/tilegx/t-softfp: New file.
9501 * config/tilegx/t-tilegx: New file.
9502 * config/tilepro/atomic.c: New file.
9503 * config/tilepro/atomic.h: New file.
9504 * config/tilepro/linux-unwind.h: New file.
9505 * config/tilepro/sfp-machine.h: New file.
9506 * config/tilepro/softdivide.c: New file.
9507 * config/tilepro/softmpy.S: New file.
9508 * config/tilepro/t-crtstuff: New file.
9509 * config/tilepro/t-tilepro: New file.
9510
b59cbd50
JW
95112012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9512
9513 PR libstdc++/51296
9514 PR libstdc++/51906
9515 * gthr-posix.h: Allow static initializer macros to be disabled.
9516 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9517
6caf807f
CLT
95182012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9519
9520 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9521 Add t-slibgcc-libgcc to tmake_file.
9522 * config/mips/libgcc-mips16.ver: Revert previous patch.
9523 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9524
7d296953
JJ
95252012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9526 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9527
9528 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9529 * config/cr16/crti.S: New file.
9530 * config/cr16/crtlibid.S: New file.
9531 * config/cr16/crtn.S: New file.
9532 * config/cr16/lib1funcs.S: New file.
9533 * config/cr16/t-cr16: New file.
9534 * config/cr16/t-crtlibid: New file.
9535 * config/cr16/unwind-dw2.h: New file.
9536 * config/cr16/unwind-cr16.c: New file.
9537 * config/cr16/divmodhi3.c: New file.
9538
8ef03aa7
AM
95392012-01-25 Alan Modra <amodra@gmail.com>
9540
9541 * config/rs6000/t-linux64: Delete. Move..
9542 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9543 * config/rs6000/t-linux: ..and libgcc flags to here.
9544
daecebc8
DR
95452012-01-22 Douglas B Rupp <rupp@gnat.com>
9546
9547 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9548 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9549 * configure: Regenerate.
9550
ddaf8125
RS
95512012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9552 Richard Sandiford <rdsandiford@googlemail.com>
9553
9554 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9555 * config/mips/mips16.S (__mips16_rdhwr): New function.
9556 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9557
2cd8b32c
NS
95582012-01-11 Nathan Sidwell <nathan@acm.org>
9559
9560 * libgcov.c (__gcov_init): Ignore objects with no functions.
9561
cba300dd
GJL
95622012-01-10 Georg-Johann Lay <avr@gjlay.de>
9563
9564 PR target/49868
9565 Extend __pgmx semantics to linearize memory.
9566 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9567 * config/avr/lib1funcs.S (__xload_1): New function.
9568 (__movmemx_qi, __movmemx_hi): New functions.
9569 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9570 semantics.
9ffaf4bc 9571
3d137660
EB
95722012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9573
9574 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9575 purported sigacthandler address isn't null before dereferencing it.
9576 (sparc_is_sighandler): Likewise.
9577
bf4db96c
EB
95782012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9579
9580 PR ada/41929
9581 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9582 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9583 (sparc_is_sighandler): Likewise.
9584 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9585
1ab3568b
TG
95862012-01-06 Tristan Gingold <gingold@adacore.com>
9587
9588 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9589 compatibility thunks...
9590 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9591 (crtbeginS.o, crtendS.o): ... and these to ...
9592 * config/ia64/t-ia64-elf: ... this new file.
9593 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9594 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9595
925b0ed8
AK
95962012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9597
9598 * configure: Regenerate.
9599 * config/s390/t-crtstuff: Remove -fPIC.
9600
a99ad737
JW
96012012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9602
9603 PR bootstrap/51006
9604 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9605 for NetBSD.
9606
884f56d1
GJL
96072012-01-02 Georg-Johann Lay <avr@gjlay.de>
9608
9609 PR target/51345
9610 * config/avr/lib1funcs.S: Remove FIXME comments.
9611 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9612
8c57e547
GJL
96132012-01-02 Georg-Johann Lay <avr@gjlay.de>
9614
9615 Implement light-weight DImode support.
9616 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9617 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9618 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9619 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9620
04dbc287
NS
96212011-12-30 Nathan Sidwell <nathan@acm.org>
9622
9623 * libgcov.c (gcov_crc32): Remove global var.
9624 (free_fn_data): New function.
9625 (buffer_fn_data): Pass in filename, more robust error recovery.
9626 (crc32_unsigned): New function.
9627 (gcov_exit): More robust detection of new program. More robust
9628 error recovery.
9629 (__gcov_init): Do not update program's crc here.
9630
8e1d97d4
TG
96312011-12-21 Tristan Gingold <gingold@adacore.com>
9632
9633 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9634
9ffaf4bc
ILT
96352011-12-21 Ian Lance Taylor <iant@google.com>
9636
9637 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9638
a0c8d0c1
ILT
96392011-12-20 Ian Lance Taylor <iant@google.com>
9640
9641 * config/i386/morestack.S (__morestack_non_split): If there is
9642 enough stack space already, don't split. Ask for more stack space
9643 than we required.
9644
69048898
SDJ
96452011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9646
9647 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9648 `sys/sdt.h'.
9649 (_Unwind_DebugHook): New function.
9650 (uw_restore_core_regs): New define.
9651 (unwind_phase2): Use uw_restore_core_regs instead of
9652 restore_core_regs.
9653 (unwind_phase2_forced): Likewise.
9654 (__gnu_Unwind_Resume): Likewise.
9655
1bb4b6a3
UB
96562011-12-20 Uros Bizjak <ubizjak@gmail.com>
9657
9658 * config/alpha/linux-unwind.h: Update copyright years.
9659 (MD_FROB_UPDATE_CONTEXT): New define.
9660 (alpha_frob_update_context): New function.
9661
eb028768
RS
96622011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9663
9664 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9665 tmake_file rather replacing it.
9666
6a2045bf
IS
96672011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9668
9669 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9670 function is not used for PPC64.
6a2045bf
IS
9671 (save_world): Amend comments. Update the VRsave mask to reflect the
9672 saved regs.
9673 (rest_world): Update comments, do not clobber r10, do not use r8.
9674 (eh_rest_world_r10): Amend comments, do not use r8.
9675 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9676 no longer used, move restore of CR and target address to the end of
9677 the routine.
9678
a13780a6
L
96792011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9680
9681 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9682 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9683
d7288dfb
GJL
96842011-12-14 Georg-Johann Lay <avr@gjlay.de>
9685
9686 PR target/49313
9687 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9688 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9689
8d2c862d
EB
96902011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9691
9692 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9693
3447cae6
GJL
96942011-12-09 Georg-Johann Lay <avr@gjlay.de>
9695
9696 PR target/49313
9697 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9698 * config/avr/lib1funcs.S (__muldi3): New function.
9699
806fc6aa
AP
97002011-12-06 Andrew Pinski <apinski@cavium.com>
9701
9702 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9703 size of func_ptr.
9704 (__frame_dummy_init_array_entry): Likewise.
9705
28c5e6b5
GJL
97062011-12-06 Georg-Johann Lay <avr@gjlay.de>
9707
9708 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9709
9710 PR target/51345
9711 PR target/51002
9712 * config/avr/lib1funcs.S (__prologue_saves__,
9713 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9714 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9715
8f90394a
IS
97162011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9717
9718 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9719
06dd33ac
JDA
97202011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9721
9722 PR other/51272
9723 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9724 (_ITM_deregisterTMCloneTable): Likewise.
9725 (__register_frame_info): Fix unused warning.
9726 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9727 pthread_default_stacksize_np): Likewise.
9728 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9729
85b8555e
DD
97302011-11-29 DJ Delorie <dj@redhat.com>
9731
9732 * config.host (rl78-*-elf): New case.
9733 * config/rl78: New directory for the Renesas RL78.
9734
4d5ae4ea
BS
97352011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9736
9737 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9738 formatting.
9739
f9c55897
RO
97402011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9741
9742 PR other/51022
9743 * config/rs6000/t-savresfgpr: New file.
9744 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9745 $(srcdir)/config/rs6000/eabi.S.
9746 * config/rs6000/t-ppccomm-ldbl: Remove.
9747 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9748 tmake_file.
9749 (powerpc-*-eabispe*): Likewise.
9750 (powerpc-*-eabi*): Likewise.
9751 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9752 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9753 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9754 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9755 tmake_file.
9756 (powerpc-*-eabisim*): Likewise.
9757 (powerpc-*-elf*): Likewise.
9758 (powerpc-*-eabialtivec*): Likewise.
9759 (powerpc-xilinx-eabi*): Likewise.
9760 (powerpc-*-rtems*): Likewise.
9761 (powerpcle-*-elf*): Likewise.
9762 (powerpcle-*-eabisim*): Likewise.
9763 (powerpcle-*-eabi*): Likewise.
9764
a01207c4
ILT
97652011-11-27 Ian Lance Taylor <iant@google.com>
9766
9767 * generic-morestack.c (__splitstack_find): Check for NULL old
9768 stack value.
9769 (__splitstack_resetcontext): New function.
9770 (__splitstack_releasecontext): New function.
9771 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9772
2b0b8ab2
IS
97732011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9774
9775 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9776
c1d8101c
IS
97772011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9778
9779 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9780
8b281334
RH
97812011-11-26 Richard Henderson <rth@redhat.com>
9782
9783 * config/m68k/linux-atomic.c: New file.
9784 * config/m68k/t-linux: New file.
9785 * config.host (m68k-uclinux, m68k-linux): Use it.
9786
7546aa9d
RH
97872011-11-26 Richard Henderson <rth@redhat.com>
9788
9789 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9790 (__TMC_END__): Only declare if hidden is available; in the definition,
9791 if hidden is unavailable add a null record.
9792 (deregister_tm_clones, register_tm_clones): New.
9793 (__do_global_dtors_aux, frame_dummy): Use them.
9794 (__do_global_dtors, __do_global_ctors_1): Likewise.
9795
e2362f5d
IS
97962011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9797
9798 * config/darwin-crt-tm.c: New file.
9799 * config.host (darwin): Build crttms.o crttme.o to provide
9800 startup and shutdown for tm clones.
9801 * config/t-darwin (crttms.o): New build rule.
9802 (crttme.o): Likewise.
9803
6685dd96
HPN
98042011-11-21 Hans-Peter Nilsson <hp@axis.com>
9805
9806 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9807 et al.
9808
b0dc7e4c
RH
98092011-11-21 Richard Henderson <rth@redhat.com>
9810
9811 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9812 (__TMC_LIST__, __TMC_END__): New.
9813 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9814 (__do_global_dtors): Likewise.
9815 (frame_dummy): Call _ITM_registerTMCloneTable.
9816 (__do_global_ctors_1): Likewise.
9817
d4b4b542
RO
98182011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9819
9820 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9821 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9822 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9823 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9824 * config/i386/t-darwin64: Remove.
9825 * config/sh/t-netbsd (LIB2ADD): Remove.
9826
989bdb74
GJL
98272011-11-21 Georg-Johann Lay <avr@gjlay.de>
9828
9829 PR target/49313
9830 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9831 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9832 * config/avr/lib1funcs.S (wmov): New assembler macro.
9833 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9834 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9835 (__udivmod64): New function.
9836 (__negdi2): New function.
9837
515a0cfc
GP
98382011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9839
9840 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9841 *-*-freebsd*aout*): Remove.
9842
0115d17f
HPN
98432011-11-20 Hans-Peter Nilsson <hp@axis.com>
9844
9845 * static-object.mk (c_flags-$o): Save c_flags.
9846 ($(base)$(objext)): Use it.
9847
93aeb62b
SE
98482011-11-18 Steve Ellcey <sje@cup.hp.com>
9849
9850 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9851
7bc6df2c
GJL
98522011-11-18 Georg-Johann Lay <avr@gjlay.de>
9853
9854 PR target/49868
9855 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9856 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9857 New functions.
9858
425d737b
MGD
98592011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9860
9861 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9862 functions.
1bb4b6a3 9863 (aeabi_uidivmod): Likewise.
425d737b
MGD
9864 (umodsi3): Likewise.
9865 (divsi3): Likewise.
9866 (aeabi_idivmod): Likewise.
9867 (modsi3): Likewise.
9868
f2a176dc
TG
98692011-11-16 Tristan Gingold <gingold@adacore.com>
9870
9871 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9872
7c209481
GJL
98732011-11-15 Georg-Johann Lay <avr@gjlay.de>
9874
9875 PR target/49868
9876 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9877 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9878
9dfd5832
JDA
98792011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9880
9881 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9882 tmake_file list.
9883 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9884 * config/pa/t-stublib64: Delete.
9885
f77dca5d
RH
98862011-11-12 Richard Henderson <rth@redhat.com>
9887
9888 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9889 cast the pointer argument to _Unwind_SetGRPtr.
9890
902828f0
RO
98912011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9892
9893 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9894
e14304ef
ILT
98952011-11-09 Ian Lance Taylor <iant@google.com>
9896
9897 * generic-morestack.c: Include <string.h>.
9898 (uintptr_type): Define.
9899 (struct initial_sp): Add dont_block_signals field. Reduce size of
9900 extra array by 1.
9901 (allocate_segment): Set prev field to NULL. Don't set
9902 __morestack_current_segment or __morestack_segments.
9903 (__generic_morestack): Update current->prev and *pp after calling
9904 allocate_segment.
9905 (__morestack_block_signals): Don't do anything if
9906 dont_block_signals is set.
9907 (__morestack_unblock_signals): Likewise.
9908 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9909 uintptr_type.
9910 (__splitstack_block_signals): New function.
9911 (enum __splitstack_content_offsets): Define.
9912 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9913 (__splitstack_makecontext): New function.
9914 (__splitstack_block_signals_context): New function.
9915 (__splitstack_find_context): New function.
9916 * config/i386/morestack.S (__morestack_get_guard): New function.
9917 (__morestack_set_guard, __morestack_make_guard): New functions.
9918 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9919
e3d871e4
RO
99202011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9921
9922 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9923 (i[34567]86-*-mingw*): ... here.
9924 (x86_64-*-mingw*): ... here.
9925
e55cef40
RO
99262011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9927
9928 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9929
5366b186
NS
99302011-11-07 Nathan Sidwell <nathan@acm.org>
9931
9932 * libgcov.c (struct gcov_fn_buffer): New struct.
9933 (buffer_fn_data): New helper.
9934 (gcov_exit): Rework for new gcov data structures.
9935
74155a6f
GJL
99362011-11-07 Georg-Johann Lay <avr@gjlay.de>
9937
9938 PR target/49313
9939 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9940
200feb07
RO
99412011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9942
9943 * config.host (tmake_file): Correct comment.
9944 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9945 t-libgcc-pic.
9946 (bfin*-uclinux*): Likewise.
9947 (bfin*-linux-uclibc*): Likewise.
9948 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9949
9950 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9951 assigning.
9952 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9953 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9954 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9955 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9956 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9957 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9958 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9959 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9960 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9961 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9962 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9963 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9964 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9965
9966 * config/bfin/t-elf: Remove.
9967 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9968
c9cd1a07
RO
99692011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9970
9971 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9972 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9973 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9974 (lm32-*-elf*): ... this.
9975 (lm32-*-rtems*): ... and this.
9976 Add to tmake_file.
9977 (m32r-*-rtems*): Add to tmake_file.
9978 (moxie-*-rtems*): Likewise.
9979 (sparc-*-rtems*): Likewise.
9980 Remove t-rtems from tmake_file.
9981 (sparc64-*-rtems*): Likewise.
9982 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9983 instead.
9984
9fbcc75d
RO
99852011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9986
9987 PR bootstrap/50982
9988 * config/gthr-posix.h: Move ...
9989 * gthr-posix.h: ... here.
9990 * config/gthr-lynx.h: Reflect this.
9991 * config/gthr-vxworks.h: Likewise.
9992 * config/rs6000/gthr-aix.h: Likewise.
9993 * configure.ac (target_thread_file): Likewise.
9994 * configure: Regenerate.
9995
76644b68
SH
99962011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9997
9998 * config.host (arm*-*-rtemseabi*): New target.
9999
5e490f2a
JDA
100002011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10001
10002 PR other/50991
10003 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10004 extra-parts.
10005
feeeff5c
JR
100062011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10007
10008 * config.host (epiphany-*-elf*): New configuration.
10009 * config/epiphany: New Directory.
10010
d618bb2c
RC
100112011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10012
10013 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10014 * config/avr/t-rtems: New.
10015 Filter out _exit from LIB1ASMFUNCS.
10016
1bb6f778
DM
100172011-11-04 David S. Miller <davem@davemloft.net>
10018
10019 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10020 * configure: Rebuild.
10021
9a7f7422
AK
100222011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10023
10024 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10025 variable.
10026
e4fe948a
GJL
100272011-11-04 Georg-Johann Lay <avr@gjlay.de>
10028
10029 PR target/50931
10030 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10031 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10032
7084e037
JS
100332011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10034
10035 PR target/50989
10036 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10037
1a032034
RO
100382011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10039
10040 * config/c6x/t-elf (LIB2ADDEH): Set.
10041 * config/c6x/t-c6x-elf: Remove.
10042
d385f772
RO
100432011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10044
10045 * config/i386/sol2-ci.S: Rename to ...
10046 * config/i386/crti.S: ... this.
10047 * config/i386/sol2-cn.S: Rename to ...
10048 * config/i386/crtn.S: ... this.
10049 * config/sparc/sol2-ci.S: Rename to ...
10050 * config/sparc/crti.S: ... this.
10051 * config/sparc/sol2-cn.S: Rename to ...
10052 * config/sparc/crtn.S: ... this.
10053 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10054 (crti.o, crtn.o): Remove.
10055
1ba878a9
TG
100562011-11-04 Tristan Gingold <gingold@adacore.com>
10057
10058 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10059
02750c15
KK
100602011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10061
10062 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10063
bf86b067
HPN
100642011-11-03 Hans-Peter Nilsson <hp@axis.com>
10065
10066 * config.host (crisv32-*-none, cris-*-none): Remove.
10067 (crisv32-*-elf): Append to tmake_file, don't just set it.
10068 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10069
d0bc53bd
RO
100702011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10071
10072 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10073 (ecrtn$(objext)): Likewise.
10074 (ncrti$(objext)): Likewise.
10075 (ncrtn$(objext)): Likewise.
10076
036da830
AS
100772011-11-03 Andreas Schwab <schwab@redhat.com>
10078
10079 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10080
d2a7d041
DM
100812011-11-02 David S. Miller <davem@davemloft.net>
10082
10083 * configure.ac: Set host_address on sparc too.
10084 * configure: Regenerate.
10085 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10086 based upon host_address.
10087 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10088
af8ed618
JM
100892011-11-02 Jason Merrill <jason@redhat.com>
10090
10091 * config/rs6000/t-ppccomm: Add missing \.
10092
5d1c8e77
RO
100932011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10094
10095 * gthr-single.h, gthr.h: New files.
10096 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10097 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10098 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10099 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10100 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10101 * configure.ac (thread_header): New variable.
10102 Set it depending on target_thread_file.
10103 (gthr-default.h): Link from $thread_header.
10104 * configure: Regenerate.
10105 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10106
852b75ed
RO
101072011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10108
10109 * configure.ac (tm_file_): New variable.
10110 Determine from tm_file.
10111 (tm_file, tm_defines): Substitute.
10112 * configure: Regenerate.
10113 * mkheader.sh: New file.
10114 * Makefile.in (clean): Remove libgcc_tm.h.
10115 ($(objects)): Depend on libgcc_tm.h.
10116 (libgcc_tm_defines, libgcc_tm_file): New variables.
10117 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10118 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10119 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10120 ($(extra-parts)): Depend on libgcc_tm.h.
10121 * config.host (tm_defines, tm_file): New variable.
10122 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10123 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10124 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10125 (avr-*-rtems*): Likewise.
10126 (avr-*-*): Likewise.
10127 (frv-*-elf): Likewise.
10128 (frv-*-*linux*): Likewise.
10129 (h8300-*-rtems*): Likewise.
10130 (h8300-*-elf*): Likewise.
10131 (i[34567]86-*-darwin*): Likewise.
10132 (x86_64-*-darwin*): Likewise.
10133 (rx-*-elf): Likewise.
10134 (tic6x-*-uclinux): Likewise.
10135 (tic6x-*-elf): Likewise.
10136 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10137 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10138 * config/i386/cygming-crtbegin.c: Likewise.
10139 * config/i386/cygming-crtend.c: Likewise.
10140 * config/ia64/fde-vms.c: Likewise.
10141 * config/ia64/unwind-ia64.c: Likewise.
10142 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10143 * config/rs6000/darwin-fallback.c: Likewise.
10144 * config/stormy16/lib2funcs.c: Likewise.
10145 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10146 * crtstuff.c: Likewise.
10147 * dfp-bit.h: Likewise.
10148 * emutls.c: Likewise.
10149 * fixed-bit.c: Likewise.
10150 * fp-bit.c: Likewise.
10151 * generic-morestack-thread.c: Likewise.
10152 * generic-morestack.c: Likewise.
10153 * libgcc2.c: Likewise.
10154 * libgcov.c: Likewise.
10155 * unwind-dw2-fde-dip.c: Likewise.
10156 * unwind-dw2-fde.c: Likewise.
10157 * unwind-dw2.c: Likewise.
10158 * unwind-sjlj.c: Likewise.
10159
f9989b51
RO
101602011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10161
10162 * configure.ac: Include ../config/picflag.m4.
10163 (GCC_PICFLAG): Call it.
10164 Substitute.
10165 * configure: Regenerate.
10166 * Makefile.in (gcc_srcdir): Remove.
10167 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10168 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10169 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10170 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10171 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10172 Use $<.
10173 Remove comment.
10174 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10175 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10176 to refer to libgcc2.c.
10177 Use $<.
10178 * config/darwin-64.c: New file.
10179 * config/darwin-crt3.c: Remove comment.
10180 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10181 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10182 config/udivmodsi4.c: New files.
10183 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10184 config/memset.c: New files.
10185 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10186 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10187 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10188 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10189 * config/t-openbsd-thread: New file.
10190 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10191 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10192 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10193 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10194 qrnnd.S.
10195 Adapt filename.
10196 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10197 to refer to gthr-posix.c.
10198 * config/alpha/t-vms (LIB2ADD): Set.
10199 * config/alpha/vms-gcc_shell_handler.c: New file.
10200 * config/arm/bpabi.c, config/arm/fp16.c,
10201 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10202 config/arm/unaligned-funcs.c: New files.
10203 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10204 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10205 * config/arm/t-linux: Likewise.
10206 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10207 * config/arm/t-netbsd: New file.
10208 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10209 * config/arm/t-symbian (LIB2ADD_ST): Set.
10210 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10211 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10212 * config/bfin/t-elf: New file.
10213 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10214 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10215 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10216 config/c6x/ltf.c: New files.
10217 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10218 (HOST_LIBGCC2_CFLAGS): Set.
10219 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10220 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10221 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10222 New files.
10223 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10224 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10225 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10226 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10227 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10228 files.
10229 * config/frv/t-frv (LIB2ADD): Set.
10230 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10231 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10232 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10233 config/h8300/popcounthi2.c: New files.
10234 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10235 * config/i386/gthr-win32.c: New file.
10236 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10237 * config/i386/t-cygwin: Likewise.
10238 * config/i386/t-darwin, config/i386/t-darwin64,
10239 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10240 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10241 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10242 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10243 * config/ia64/quadlib.c: New file.
10244 * config/ia64/t-hpux (LIB2ADD): Set.
10245 * config/ia64/t-ia64: Add comment.
10246 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10247 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10248 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10249 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10250 * config/m32c/t-m32c (LIB2ADD): Set.
10251 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10252 * config/m32r/t-m32r: Likewise.
10253 * config/m68k/fpgnulib.c: New file.
10254 * config/m68k/t-floatlib (LIB2ADD): Set.
10255 (xfgnulib.c): New target.
10256 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10257 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10258 * config/mep/t-mep (LIB2ADD): Set.
10259 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10260 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10261 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10262 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10263 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10264 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10265 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10266 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10267 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10268 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10269 New files.
10270 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10271 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10272 * config/pa/fptr.c, config/pa/lib2funcs.S,
10273 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10274 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10275 (LIB2ADD, LIB2ADD_ST): Set.
10276 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10277 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10278 Set.
10279 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10280 * config/pdp11/t-pdp11: New file.
10281 * config/picochip/libgccExtras/adddi3.S,
10282 config/picochip/libgccExtras/ashlsi3.S,
10283 config/picochip/libgccExtras/ashrsi3.S,
10284 config/picochip/libgccExtras/clzsi2.S,
10285 config/picochip/libgccExtras/cmpsi2.S,
10286 config/picochip/libgccExtras/divmod15.S,
10287 config/picochip/libgccExtras/divmodhi4.S,
10288 config/picochip/libgccExtras/divmodsi4.S,
10289 config/picochip/libgccExtras/lshrsi3.S,
10290 config/picochip/libgccExtras/parityhi2.S,
10291 config/picochip/libgccExtras/popcounthi2.S,
10292 config/picochip/libgccExtras/subdi3.S,
10293 config/picochip/libgccExtras/ucmpsi2.S,
10294 config/picochip/libgccExtras/udivmodhi4.S,
10295 config/picochip/libgccExtras/udivmodsi4.S: New files.
10296 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10297 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10298 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10299 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10300 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10301 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10302 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10303 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10304 files.
10305 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10306 (HOST_LIBGCC2_CFLAGS): Set.
10307 * config/rs6000/t-darwin64: New file.
10308 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10309 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10310 * config/rs6000/t-ppccomm (LIB2ADD): Add
10311 $(srcdir)/config/rs6000/tramp.S.
10312 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10313 Add $(srcdir)/config/rs6000/eabi.S.
10314 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10315 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10316 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10317 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10318 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10319 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10320 * config/rs6000/tramp.S: New file.
10321 * config/s390/t-tpf: Remove.
10322 * config/sh/linux-atomic.S: New file.
10323 * config/sh/t-linux (LIB2ADD): Set.
10324 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10325 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10326 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10327 to unwind-dw2.c.
10328 (HOST_LIBGCC2_CFLAGS): Set.
10329 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10330 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10331 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10332 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10333 config/spu/mfc_multi_tag_release.c,
10334 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10335 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10336 config/spu/multi3.c: New files.
10337 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10338 (HOST_LIBGCC2_CFLAGS): Set.
10339 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10340 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10341 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10342 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10343 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10344 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10345 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10346 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10347 config/stormy16/umodsi3.c: New files.
10348 * config/xtensa/lib2funcs.S: New file.
10349 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10350 * config/xtensa/t-xtensa (LIB2ADD): Set.
10351 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10352 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10353 Add t-freebsd-thread to tmake_file for posix threads.
10354 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10355 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10356 (*-*-lynxos*): Likewise.
10357 (*-*-netbsd*): Likewise.
10358 (*-*-openbsd*): Likewise.
10359 Add t-openbsd-thread to tmake_file for posix threads.
10360 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10361 (*-*-vxworks*): Set tmake_file.
10362 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10363 (alpha*-*-freebsd*): Likewise.
10364 (alpha*-*-netbsd*): Likewise.
10365 (alpha*-*-openbsd*): Likewise.
10366 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10367 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10368 (alpha*-dec-*vms*): Likewise.
10369 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10370 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10371 (bfin*-uclinux*): Likewise.
10372 (bfin*-linux-uclibc*): Likewise.
10373 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10374 (crisv32-*-none): Likewise.
10375 (cris-*-elf): Likewise.
10376 (cris-*-none): Likewise.
10377 (cris-*-linux*, crisv32-*-linux*): Likewise.
10378 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10379 tmake_file.
10380 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10381 tmake_file.
10382 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10383 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10384 (x86_64-*-elf*): Likewise.
10385 (i[34567]86-*-nto-qnx*): Likewise.
10386 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10387 win32 threads.
10388 (x86_64-*-mingw*): Likewise.
10389 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10390 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10391 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10392 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10393 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10394 tmake_file.
10395 (mipsisa64sr71k-*-elf*): Likewise.
10396 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10397 (mips-*-elf*, mipsel-*-elf*): Likewise.
10398 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10399 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10400 (mips*-*-rtems*): Likewise.
10401 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10402 to tmake_file.
10403 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10404 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10405 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10406 (spu-*-elf*): Likewise.
10407 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10408
45b86625
RO
104092011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10410
10411 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10412 $(srcdir) to refer to $(LIB1ASMSRC).
10413 Use $<.
10414 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10415 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10416 config/arm/lib1funcs.S: New files.
10417 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10418 * config/arm/t-arm: New file.
10419 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10420 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10421 config/arm/t-strongarm-elf: New files.
10422 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10423 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10424 * config/avr/lib1funcs.S: New file.
10425 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10426 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10427 * config/c6x/lib1funcs.S: New file.
10428 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10429 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10430 * config/frv/lib1funcs.S: New file.
10431 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10432 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10433 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10434 * config/ia64/__divxf3.asm: Rename to ...
10435 * config/ia64/__divxf3.S: ... this.
10436 Adapt lib1funcs.asm filename.
10437 * config/ia64/_fixtfdi.asm: Rename to ...
10438 * config/ia64/_fixtfdi.S: ... this.
10439 Adapt lib1funcs.asm filename.
10440 * config/ia64/_fixunstfdi.asm: Rename to ...
10441 * config/ia64/_fixunstfdi.S: ... this.
10442 Adapt lib1funcs.asm filename.
10443 * config/ia64/_floatditf.asm: Rename to ...
10444 * config/ia64/_floatditf.S: ... this.
10445 Adapt lib1funcs.asm filename.
10446 * config/ia64/lib1funcs.S: New file.
10447 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10448 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10449 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10450 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10451 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10452 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10453 * config/mep/lib1funcs.S: New file.
10454 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10455 * config/mips/mips16.S: New file.
10456 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10457 * config/pa/milli64.S: New file.
10458 * config/pa/t-linux, config/pa/t-linux64: New files.
10459 * config/picochip/lib1funcs.S: New file.
10460 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10461 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10462 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10463 * config/sh/t-netbsd: New file.
10464 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10465 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10466 * config/sh/t-sh64: New file.
10467 * config/sparc/lb1spc.S: New file.
10468 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10469 filename.
10470 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10471 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10472 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10473 config/xtensa/lib1funcs.S: New files.
10474 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10475 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10476 tmake_file.
10477 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10478 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10479 (arm*-*-linux*): Likewise.
10480 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10481 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10482 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10483 (arm*-*-ecos-elf): Likewise.
10484 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10485 (arm*-*-rtems*): Likewise.
10486 (arm*-*-elf): Likewise.
10487 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10488 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10489 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10490 (bfin*-uclinux*): Likewise.
10491 (bfin*-linux-uclibc*): Likewise.
10492 (bfin*-rtems*): Likewise.
10493 (bfin*-*): Likewise.
10494 (fido-*-elf): Merge into m68k-*-elf*.
10495 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10496 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10497 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10498 (h8300-*-elf*): Likewise.
10499 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10500 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10501 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10502 (i[34567]86-*-mingw*): Likewise.
10503 (x86_64-*-mingw*): Likewise.
10504 (i[34567]86-*-interix3*): Likewise.
10505 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10506 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10507 (m68k-*-elf*): Also handle fido-*-elf.
10508 Add m68k/t-floatlib to tmake_file.
10509 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10510 (m68k-*-linux*): Likewise.
10511 (m68k-*-rtems*): Likewise.
10512 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10513 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10514 sh64*-*-*.
10515 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10516 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10517 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10518 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10519 sh/t-netbsd to tmake_file.
10520 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10521 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10522 (sh-wrs-vxworks): Likewise.
10523 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10524 *-leon[3-9]*.
10525 (v850*-*-*): Add v850/t-v850 to tmake_file.
10526 (vax-*-linux*): Add vax/t-linux to tmake_file.
10527 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10528
5f73c6cc
RO
105292011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10530
10531 * crtstuff.c: New file.
10532 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10533 (CRTSTUFF_T_CFLAGS): Define.
10534 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10535 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10536 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10537 crtstuff.c.
10538 Use $<.
10539 (crtbeginT.o): Use $(objext).
10540 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10541 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10542 (gcc-extra-parts): Remove.
10543 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10544 Set extra_parts.
10545 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10546 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10547 Add t-crtstuff-pic to tmake_file.
10548 (*-*-lynxos*): New case.
10549 Set tmake_file, extra_parts.
10550 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10551 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10552 *-*-netbsdelf[2-9]*.
10553 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10554 (*-*-rtems*): Set extra_parts.
10555 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10556 (*-*-uclinux*): New case.
10557 Set extra_parts.
10558 (*-*-vms*): New case.
10559 Set tmake_file, extra_parts.
10560 (*-*-elf): Set extra_parts.
10561 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10562 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10563 vms/t-vms64.
10564 Set extra_parts.
10565 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10566 Set extra_parts.
10567 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10568 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10569 (arm-wrs-vxworks): Append to tmake_file.
10570 Set extra_parts.
10571 (arm*-*-uclinux*): Set extra_parts.
10572 (arm*-*-ecos-elf): Likewise.
10573 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10574 arm*-*-eabi*.
10575 (arm*-*-rtems*): Set extra_parts.
10576 (arm*-*-elf): Likewise.
10577 (avr-*-rtems*): Clear extra_parts.
10578 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10579 Set extra_parts.
10580 (bfin*-uclinux*): Likewise.
10581 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10582 (bfin*-rtems*): Append to tmake_file.
10583 Set extra_parts.
10584 (bfin*-*): Likewise.
10585 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10586 (crisv32-*-elf): ... this.
10587 (crisv32-*-none): ... this.
10588 (cris-*-elf, cris-*-none): New cases.
10589 Add cris/t-elfmulti to tmake_file.
10590 (fr30-*-elf): Append to tmake_file.
10591 Set extra_parts.
10592 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10593 Set extra_parts.
10594 (h8300-*-rtems*): Append to tmake_file.
10595 Set extra_parts.
10596 (h8300-*-elf*): Likewise.
10597 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10598 Set extra_parts.
10599 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10600 Set extra_parts.
10601 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10602 (x86_64-*-elf*): Likewise.
10603 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10604 (x86_64-*-freebsd*): Likewise.
10605 (x86_64-*-netbsd*): Likewise.
10606 (i[34567]86-*-linux*): Likewise.
10607 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10608 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10609 (x86_64-*-linux*): Likewise.
10610 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10611 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10612 tmake_file.
10613 Set extra_parts.
10614 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10615 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10616 Append to extra_parts, remove crtbegin.o, crtend.o.
10617 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10618 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10619 crtend.o, crtbeginS.o, crtendS.o.
10620 (ia64*-*-linux*): Comment extra_parts.
10621 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10622 Set extra_parts.
10623 (iq2000*-*-elf*): Clear extra_parts.
10624 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10625 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10626 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10627 (m32r-*-rtems*): ... this.
10628 Add m32r/t-m32r to tmake_file.
10629 (m68k-*-elf*): Add t-crtin to tmake_file.
10630 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10631 (mcore-*-elf): Likewise.
10632 (microblaze*-*-*): Set extra_parts.
10633 (mips*-sde-elf*): New case.
10634 Set tmake_file, extra_parts.
10635 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10636 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10637 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10638 tmake_file.
10639 Set extra_parts.
10640 (mipsisa64sr71k-*-elf*): Likewise.
10641 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10642 (mips-*-elf*, mipsel-*-elf*): Likewise.
10643 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10644 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10645 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10646 (mips*-*-rtems*): Likewise.
10647 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10648 (moxie-*-*): Split into ...
10649 (moxie-*-elf, moxie-*-uclinux*): ... this.
10650 Add to extra_parts, remove crtbegin.o, crtend.o.
10651 (moxie-*-rtems*): New case.
10652 Set tmake_file.
10653 Clear extra_parts.
10654 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10655 Set extra_parts.
10656 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10657 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10658 tmake_file.
10659 Set extra_parts.
10660 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10661 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10662 Set extra_parts.
10663 (powerpc-*-eabisim*): Likewise.
10664 (powerpc-*-elf*): Likewise.
10665 (powerpc-*-eabialtivec*): Likewise.
10666 (powerpc-xilinx-eabi*): Likewise.
10667 (powerpc-*-eabi*): Likewise.
10668 (powerpc-*-rtems*): Likewise.
10669 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10670 tmake_file.
10671 Set extra_parts.
10672 (powerpc-*-lynxos*): Add to tmake_file.
10673 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10674 rs6000/t-crtstuff, t-crtstuff-pic.
10675 Set extra_parts.
10676 (powerpcle-*-eabisim*): Likewise.
10677 (powerpcle-*-eabi*): Likewise.
10678 (rx-*-elf): Remove extra_parts.
10679 (s390x-ibm-tpf*): Set extra_parts.
10680 (score-*-elf): Set extra_parts.
10681 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10682 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10683 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10684 (sh64l*-*-netbsd*): Split into ...
10685 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10686 Add t-crtstuff-pic to tmake_file.
10687 Set extra_parts.
10688 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10689 Set extra_parts.
10690 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10691 (sparc-*-elf*): Remove t-crtin from tmake_file.
10692 Add to extra_parts, remove crtbegin.o, crtend.o.
10693 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10694 (sparc64-*-linux*): Likewise.
10695 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10696 Add to extra_parts, remove crtbegin.o, crtend.o.
10697 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10698 Add to extra_parts, remove crtbegin.o, crtend.o.
10699 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10700 Add to extra_parts, remove crtbegin.o, crtend.o.
10701 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10702 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10703 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10704 Set extra_parts.
10705 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10706 Set extra_parts.
10707 (tic6x-*-*): Change to ...
10708 (tic6x-*-elf): ... this.
10709 Set extra_parts.
10710 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10711 Set extra_parts.
10712 (am33_2.0-*-linux*): Add comment.
10713 (mep*-*-*): Add mep/t-mep to tmake_file.
10714 Set extra_parts.
10715 * config/alpha/t-vms: New file.
10716 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10717 * config/arm/crti.S, config/arm/crtn.S: New files.
10718 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10719 * config/bfin/crtlibid.S: New file.
10720 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10721 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10722 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10723 (crti.o, crtin.o): New rules.
10724 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10725 * config/c6x/t-uclinux: New file.
10726 * config/cris/t-elfmulti: New file.
10727 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10728 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10729 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10730 * config/frv/t-frv: New file.
10731 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10732 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10733 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10734 New files.
10735 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10736 refer to cygming-crtbegin.c, cygming-crtend.c.
10737 Use $<.
10738 * config/i386/t-nto: New file.
10739 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10740 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10741 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10742 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10743 Use .S extension.
10744 Use $<.
10745 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10746 (crtinitS.o): New rule.
10747 * config/ia64/vms-crtinit.S: New file.
10748 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10749 * config/m32r/initfini.c: New file.
10750 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10751 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10752 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10753 * config/mep/t-mep: New file.
10754 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10755 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10756 * config/mips/crti.S, config/mips/crtn.S: New files.
10757 * config/mips/t-crtstuff: New file.
10758 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10759 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10760 (CUSTOM_CRTIN): Set.
10761 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10762 dependencies.
10763 Use $(srcdir) to refer to crti.S, crtn.S.
10764 Use .S extension, $<.
10765 * config/moxie/crti.asm: Rename to ...
10766 * config/moxie/crti.S: ... this.
10767 * config/moxie/crtn.asm: Rename to ...
10768 * config/moxie/crtn.S: ... this.
10769 * config/moxie/t-moxie: Remove.
10770 * config/pa/stublib.c: New file.
10771 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10772 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10773 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10774 * config/rs6000/t-crtstuff: New file.
10775 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10776 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10777 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10778 Make output file explicit.
10779 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10780 Make output file explicit.
10781 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10782 Make output file explicit.
10783 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10784 Make output file explicit.
10785 * config/score/crti.S, config/score/crtn.S: New files.
10786 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10787 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10788 files.
10789 * config/sh/t-sh, config/sh/t-superh: New files.
10790 * config/sparc/t-linux64: New file.
10791 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10792 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10793 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10794 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10795 * config/t-crtin: Remove.
10796 * config/t-crtstuff-pic: New file.
10797 * config/t-sol2 (CUSTOM_CRTIN): Set.
10798 (crti.o, crtn.o): New rules.
10799 * config/vms/t-vms: New file.
10800 * config/vms/vms-ucrt0.c: New file.
10801 * config/xtensa/t-elf: New file.
10802
b040f2be
RO
108032011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10804
10805 * Makefile.in (SHLIB_NM_FLAGS): Set.
10806 * mkmap-flat.awk, mkmap-symver.awk: New files.
10807 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10808 exceptions.
10809 * configure: Regenerate.
10810 * config/libgcc-glibc.ver: New file.
10811 * config/libgcc-libsystem.ver: New file.
10812 * config/t-libunwind (SHLIB_LC): Set.
10813 * config/t-linux: New file.
10814 * config/t-slibgcc (INSTALL_SHLIB): New.
10815 (SHLIB_INSTALL): Use it.
10816 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10817 to mkmap-symver.awk.
10818 (SHLIB_MAPFILES): Don't append, adapt pathname.
10819 (SHLIB_VERPFX): Set.
10820 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10821 to mkmap-symver.awk.
10822 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10823 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10824 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10825 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10826 to mkmap-flat.awk.
10827 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10828 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10829 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10830 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10831 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10832 * config/i386/libgcc-darwin.10.4.ver,
10833 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10834 New files.
10835 * config/i386/t-darwin: Remove.
10836 * config/i386/t-darwin64: Likewise.
10837 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10838 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10839 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10840 * config/i386/t-linux: New file.
10841 * config/i386/t-mingw32: New file.
10842 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10843 * config/ia64/t-glibc: Rename to ...
10844 * config/ia64/t-linux: ... this.
10845 (SHLIB_MAPFILES): Set.
10846 * config/ia64/t-glibc-libunwind: Rename to ...
10847 * config/ia64/t-linux-libunwind: ... this.
10848 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10849 * config/ia64/t-slibgcc-hpux: New file.
10850 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10851 * config/m68k/t-slibgcc-elf-ver: New file.
10852 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10853 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10854 to mkmap-flat.awk.
10855 * config/pa/t-slibgcc-hpux: New file.
10856 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10857 files.
10858 * config/rs6000/libgcc-darwin.10.4.ver,
10859 config/rs6000/libgcc-darwin.10.5.ver: New files.
10860 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10861 config/rs6000/libgcc-glibc.ver.
10862 * config/rs6000/libgcc-ppc64.ver: Rename to
10863 config/rs6000/libgcc-ibm-ldouble.ver.
10864 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10865 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10866 * config/rs6000/t-ldbl128: Rename to ...
10867 * config/rs6000/t-linux: ... this.
10868 (SHLIB_MAPFILES): Adapt filename.
10869 * config/rs6000/t-slibgcc-aix: New file.
10870 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10871 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10872 libgcc-excl.ver, libgcc-glibc.ver.
10873 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10874 * config/sparc/libgcc-glibc.ver: New file.
10875 * config/sparc/t-linux: New file.
10876 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10877 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10878 t-slibgcc-elf-ver to tmake_file.
10879 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10880 *-*-freebsd[34].
10881 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10882 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10883 t-slibgcc-elf-ver, t-linux to tmake_file.
10884 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10885 tmake_file.
10886 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10887 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10888 (alpha*-dec-*vms*): Likewise.
10889 (arm*-*-freebsd*): Append to tmake_file.
10890 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10891 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10892 arm*-*-linux-*eabi.
10893 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10894 tmake_file for arm*-*-symbianelf*.
10895 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10896 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10897 cris/t-linux.
10898 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10899 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10900 pa/t-slibgcc-dwarf-ver to tmake_file.
10901 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10902 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10903 (hppa*64*-*-hpux11*): Likewise.
10904 (hppa[12]*-*-hpux11*): Likewise.
10905 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10906 i386/t-crtpc, i386/t-crtfm.
10907 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10908 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10909 to tmake_file.
10910 Add i386/t-cygwin to tmake_file.
10911 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10912 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10913 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10914 to tmake_file.
10915 Add i386/t-mingw32 to tmake_file.
10916 (x86_64-*-mingw*): Likewise.
10917 (ia64*-*-freebsd*): Append to tmake_file.
10918 (ia64*-*-linux*): Append to tmake_file.
10919 Replace ia64/t-glibc by ia64/t-linux.
10920 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10921 system libunwind.
10922 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10923 t-slibgcc-hpux to tmake_file.
10924 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10925 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10926 (m32rle-*-linux*): Likewise.
10927 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10928 sjlj exceptions.
10929 (microblaze*-linux*): New case.
10930 Append to tmake_file, add t-slibgcc-nolc-override.
10931 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10932 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10933 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10934 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10935 rs6000/t-slibgcc-aix to tmake_file.
10936 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10937 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10938 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10939 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10940 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10941 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10942 sh*-*-linux*.
10943 (sparc-*-linux*): Append to tmake_file for *-leon*.
10944 Add sparc/t-linux to tmake_file for non-Leon targets.
10945 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10946 (tic6x-*-uclinux): New case.
10947 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10948 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10949 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10950 (am33_2.0-*-linux*): Append to tmake_file.
10951 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10952 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10953 x86_64-*-kfreebsd*-gnu.
10954 Add i386/t-linux to tmake_file.
10955
18b4bd7b
ILT
109562011-10-28 Ian Lance Taylor <iant@google.com>
10957
10958 * config/i386/morestack.S: Correct CFI information to do proper
10959 returns throughout function. In 32-bit mode, save %ebx so that it
10960 is restored on unwind.
10961
5b2d9d90
BS
109622011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10963
10964 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10965 case where B3 isn't the return register.
10966
0d53e346
BS
10967 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10968 logic for doubleword pops.
10969
cbffbd59
AT
109702011-10-25 Andreas Tobler <andreast@fgznet.ch>
10971
10972 * config/rs6000/t-freebsd: Add wildcard.
10973
56dc349e
PB
109742011-10-21 Paul Brook <paul@codesourcery.com>
10975
10976 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10977
1e06b07d
UB
109782011-10-16 Uros Bizjak <ubizjak@gmail.com>
10979 Eric Botcazou <ebotcazou@adacore.com>
10980
10981 PR target/50737
10982 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10983 fs->signal_frame to 1.
10984
b5204884
ILT
109852011-10-07 Ian Lance Taylor <iant@google.com>
10986
10987 * generic-morestack-thread.c: #include <errno.h>.
10988
91a639a1
ILT
109892011-10-07 Ian Lance Taylor <iant@google.com>
10990
10991 PR target/46093
10992 * generic-morestack.c (__generic_morestack): Make sure the segment
10993 is large enough for both the stack frame and the copied
10994 parameters.
10995
cc49116d
RO
109962011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10997
10998 PR bootstrap/49804
10999 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11000 extra_parts.
11001
2996d8c3
NC
110022011-09-28 Nick Clifton <nickc@redhat.com>
11003
11004 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11005 64-bit doubles are not enabled.
11006 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11007 and floatunsisf functions.
11008
1e874273 110092011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11010
1e874273
PB
11011 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11012 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11013 * unwind-arm-common.inc: New file.
11014 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11015 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11016 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11017 * config/c6x/libunwind.S: New file.
11018 * config/c6x/pr-support.c: New file.
11019 * config/c6x/unwind-c6x.c: New file.
11020 * config/c6x/unwind-c6x.h: New file.
11021 * config/c6x/t-c6x-elf: New file.
11022
f70c879a
UB
110232011-08-23 Uros Bizjak <ubizjak@gmail.com>
11024
11025 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11026 (ASM_DIVZERO): Ditto.
11027 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11028
c55b374b
RS
110292011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11030
11031 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11032
1e138510
RS
110332011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11034
11035 PR target/50090
11036 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11037 instead of an assembly one.
11038
1563503d
PB
110392011-08-12 Paolo Bonzini <bonzini@gnu.org>
11040
11041 PR bootstrap/50047
11042 * Makefile.in (install-unwind_h): Create
11043 $(gcc_objdir)/include/unwind.h atomically.
11044
3627ac1a
RO
110452011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11046
11047 * Makefile.in (install-unwind_h): Remove destination file first.
11048
c6412d86
RO
110492011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11050
11051 * sync.c: New file.
11052 * config/mips/t-mips16: New file.
11053 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11054 (mips*-*-linux*): Likewise.
11055 (mips*-sde-elf*): Likewise.
11056 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11057 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11058 Add mips/t-mips16 to tmake_file.
11059 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11060 (mips-*-elf*): Likewise.
11061 (mips64-*-elf*): Likewise.
11062 (mips64orion-*-elf*): Likewise.
11063 (mips*-*-rtems*): Likewise.
11064 (mipstx39-*-elf*): Likewise.
11065 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11066 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11067 LIBGCC_SYNC_CFLAGS.
11068 Use $(srcdir) to refer to sync.c.
11069 Use $<.
11070 ($(libgcc-sync-funcs-o)): Likewise.
11071 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11072 ($(libgcc-sync-funcs-s-o)): Likewise.
11073
3cb6e5bd
AS
110742011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11075
11076 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11077 t-libunwind.
11078
cca2207a
L
110792011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11080
11081 PR other/48007
11082 * config/i386/value-unwind.h: New.
11083
ed39fbad
RS
110842011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11085
11086 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11087 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11088 Add to tmake_file rather than overriding it.
11089
aca0b0b3
RO
110902011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11091
11092 * config/t-softfp: Remove.
11093 * soft-fp: Moved from ../gcc/config.
11094 * soft-fp/README: Remove t-softfp reference.
11095 * soft-fp/t-softfp: Move to config/t-softfp.
11096 (softfp_machine_header): Remove.
11097 (softfp_file_list): Remove config subdir.
11098 (soft-fp-objects): New variable.
11099 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11100 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11101 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11102 * config/t-softfp-excl: New file.
11103 * config/t-softfp-sfdf: New file.
11104 * config/t-softfp-tf: New file.
11105 * config/no-sfp-machine.h: New file.
11106 * config/arm/sfp-machine.h: New file.
11107 * config/arm/t-softfp: New file.
11108 * config/c6x/sfp-machine.h: New file.
11109 * config/i386/32/t-fprules-softfp: Rename to ...
11110 * config/i386/32/t-softfp: ... this.
11111 (tifunctions, LIB2ADD): Remove.
11112 (softfp_int_modes): Override.
11113 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11114 subdir.
11115 * config/i386/64/eqtf2.c: Likewise.
11116 * config/i386/64/getf2.c: Likewise.
11117 * config/i386/64/letf2.c: Likewise.
11118 * config/ia64/sft-machine.h: New file.
11119 * config/ia64/t-fprules-softfp: Rename to ...
11120 * config/ia64/t-softfp: ... this.
11121 * config/lm32/sfp-machine.h: New file.
11122 * config/moxie/t-moxie-softfp: Remove.
11123 * config/rs6000/ibm-ldouble-format: New file.
11124 * config/rs6000/ibm-ldouble.c: New file.
11125 * config/rs6000/libgcc-ppc-glibc.ver: New file
11126 * config/rs6000/libgcc-ppc64.ver: New file
11127 * config/rs6000/sfp-machine.h: New file.
11128 * config/rs6000/t-freebsd: New file.
11129 * config/rs6000/t-ibm-ldouble: New file.
11130 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11131 libgcc-ppc-glibc.ver.
11132 * config/rs6000/t-linux64: New file.
11133 * config/rs6000/t-ppccomm (LIB2ADD): Add
11134 $(srcdir)/config/rs6000/ibm-ldouble.c.
11135 * config/rs6000/t-ppccomm-ldbl: New file.
11136 * config/score/sfp-machine.h: New file.
11137 * config.host (sfp_machine_header): Explain.
11138 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11139 t-softfp to tmake_file.
11140 (arm*-*-uclinux*): Likewise.
11141 (arm*-*-ecos-elf): Likewise.
11142 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11143 (arm*-*-rtems*): Likewise.
11144 (arm*-*-elf): Likewise.
11145 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11146 in tmake_file.
11147 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11148 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11149 (lm32-*-uclinux*): Likewise.
11150 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11151 t-softfp-excl, t-softfp.
11152 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11153 (powerpc64-*-darwin*): Likewise.
11154 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11155 to tmake_file.
11156 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11157 tmake_file.
11158 (powerpc-*-eabisim*): Likewise.
11159 (powerpc-*-elf*): Likewise.
11160 (powerpc-*-eabialtivec*): Likewise.
11161 (powerpc-xilinx-eabi*): Likewise.
11162 (powerpc-*-rtems*): Likewise.
11163 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11164 t-softfp-excl, t-softfp to tmake_file.
11165 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11166 rs6000/t-ppccomm-ldbl to tmake_file.
11167 (powerpcle-*-elf*): Likewise.
11168 (powerpcle-*-eabisim*): Likewise.
11169 (powerpcle-*-eabi*): Likewise.
11170 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11171 rs6000/t-ibm-ldouble to tmake_file.
11172 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11173 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11174 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11175 (tic6x-*-*): Likewise.
11176 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11177 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11178 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11179 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11180 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11181 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11182 t-softfp to tmake_file.
11183 * configure.ac (sfp_machine_header): Provide default if unset.
11184 Substitute.
11185 Link sfp-machine.h to config/$sfp_machine_header.
11186 * configure: Regenerate.
11187
569dc494
RO
111882011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11189
11190 * Makefile.in (double_type_size, long_double_type_size): Set.
11191 Remove $(fpbit-in-libgcc) support.
11192 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11193 (fpbit-src): New variable.
11194 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11195 Compile with -DFLOAT $(FPBIT_CFLAGS).
11196 Use $<.
11197 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11198 Compile with $(FPBIT_CFLAGS).
11199 Use $<.
11200 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11201 Compile with -DFLOAT $(TPBIT_CFLAGS).
11202 Use $<.
11203 * configure.ac (double_type_size, long_double_type_size):
11204 Determine and substitute.
11205 * configure: Regenerate.
11206 * fp-bit.c, fp-bit.h: New files.
11207 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11208 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11209 * config/mips/t-mips: New file.
11210 * config/mips/t-sdemtk: New file.
11211 * config/rs6000/ppc64-fp.c: New file.
11212 * config/rs6000/t-darwin (LIB2ADD): Add
11213 $(srcdir)/config/rs6000/ppc64-fp.c.
11214 * config/rs6000/t-ppc64-fp: New file.
11215 * config/rx/rx-lib.h: New file.
11216 * config/rx/t-rx (FPBIT): Set to true.
11217 ($(gcc_objdir)/fp-bit.c): Remove.
11218 (DPBIT): Set to true only with -m64bit-doubles.
11219 ($(gcc_objdir)/dp-bit.c): Remove.
11220 * config/sparc/t-softfp: Remove.
11221 * config/spu/t-elf: New file.
11222 * config/t-fdpbit, config/t-fpbit: New files.
11223 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11224 (mips*-*-*): Likewise.
11225 (arm-wrs-vxworks): Likewise.
11226 (arm*-*-freebsd*): Likewise.
11227 (avr-*-rtems*): Add t-fpbit to tmake_file.
11228 (avr-*-*): Likewise.
11229 (bfin*-elf*): Add t-fdpbit to tmake_file.
11230 (bfin*-uclinux*): Likewise.
11231 (bfin*-linux-uclibc*): Likewise.
11232 (bfin*-rtems*): New case.
11233 Add t-fdpbit to tmake_file.
11234 (bfin*-*): Add t-fdpbit to tmake_file.
11235 (crisv32-*-elf): Likewise.
11236 (cris-*-linux*): Likewise.
11237 (fr30-*-elf): Likewise.
11238 (frv-*-elf, frv-*-*linux*): Likewise.
11239 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11240 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11241 (m32r-*-elf*): Likewise.
11242 (m32rle-*-elf*): Likewise.
11243 (m32r-*-linux*): Likewise.
11244 (m32rle-*-linux*): Likewise.
11245 (mcore-*-elf): Add t-fdpbit to tmake_file.
11246 (microblaze*-*-*): Likewise.
11247 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11248 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11249 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11250 Fix typo.
11251 Add mips/t-tpbit to tmake-file.
11252 (mips*-*-linux*): Fix typo.
11253 (mips*-sde-elf*): New case
11254 Add mips/t-sdemtk unless using newlib.
11255 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11256 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11257 (mn10300-*-*): Likewise.
11258 (pdp11-*-*): Likewise.
11259 (picochip-*-*): Add t-fpbit to tmake_file.
11260 (powerpc-*-eabisimaltivec*): Likewise.
11261 (powerpc-*-eabisim*): Likewise.
11262 (powerpc-*-elf*): Likewise.
11263 (powerpc-*-eabialtivec*): Likewise.
11264 (powerpc-xilinx-eabi*): New case.
11265 Add t-fdpbit to tmake_file.
11266 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11267 (powerpc-*-rtems*): Likewise.
11268 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11269 tmake_file.
11270 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11271 tmake_file.
11272 (powerpc-*-lynxos*): Likewise.
11273 (powerpcle-*-elf*): Likewise.
11274 (powerpcle-*-eabisim*): Likewise.
11275 (powerpcle-*-eabi*): Likewise.
11276 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11277 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11278 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11279 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11280 (rx-*-elf): Add t-fdpbit to tmake_file.
11281 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11282 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11283 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11284 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11285 sh*-*-netbsd*.
11286 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11287 (sh-wrs-vxworks): Likewise.
11288 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11289 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11290 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11291 (sparc64-*-rtems*): ... new case.
11292 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11293 (spu-*-elf*): Likewise.
11294 Add spu/t-elf to tmake_file.
11295 (v850*-*-*): Add t-fdpbit to tmake_file.
11296 (xstormy16-*-elf): Likewise.
11297 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11298 (mep*-*-*): Likewise.
11299
201cdb74
RO
113002011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11301
11302 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11303 variables.
11304 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11305 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11306 (install-unwind_h): New target.
11307 (all): Depend on it.
11308 * config.host (unwind_header): New variable.
11309 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11310 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11311 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11312 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11313 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11314 Set unwind_header.
11315 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11316 Set unwind_header.
11317 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11318 arm*-*-eabi*.
11319 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11320 Set unwind_header.
11321 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11322 (ia64*-*-freebsd*): Likewise.
11323 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11324 tmake_file.
11325 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11326 $with_system_libunwind.
11327 (ia64*-*-hpux*): Set tmake_file.
11328 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11329 (picochip-*-*): Set tmake_file.
11330 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11331 md_unwind_header.
11332 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11333 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11334 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11335 (xtensa*-*-elf*): Set tmake_file.
11336 (xtensa*-*-linux*): Likewise.
11337 * configure.ac: Include ../config/unwind_ipinfo.m4.
11338 Call GCC_CHECK_UNWIND_GETIPINFO.
11339 Link unwind.h to $unwind_header.
11340 * configure: Regenerate.
11341 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11342 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11343 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11344 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11345 * config/unwind-dw2-fde-darwin.c: New file.
11346 * config/arm/libunwind.S, config/arm/pr-support.c,
11347 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11348 config/arm/unwind-arm.h,: New files.
11349 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11350 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11351 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11352 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11353 config/ia64/unwind-ia64.h: New files.
11354 * config/picochip/t-picochip: New file.
11355 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11356 files.
11357 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11358 * config/s390/t-tpf (LIB2ADDEH): Remove.
11359 * config/t-darwin (LIB2ADDEH): Set.
11360 * config/t-eh-dw2-dip: New file.
11361 * config/t-libunwind, config/t-libunwind-elf: New files.
11362 * config/t-sol2 (LIB2ADDEH): Remove.
11363 * config/xtensa/t-xtensa: New file.
11364
40f2f11f
L
113652011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11366
11367 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11368 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11369 long long to check rt_sigreturn syscall.
11370
bd15e32c
AM
113712011-08-02 Alan Modra <amodra@gmail.com>
11372
11373 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11374 Restore for indirect call bcrtl from correct stack slot, and only
11375 if cfa+40 isn't valid.
11376
655b30bf
JB
113772011-08-01 Julian Brown <julian@codesourcery.com>
11378
11379 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11380 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11381 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11382
247eb06f
JB
113832011-08-01 Julian Brown <julian@codesourcery.com>
11384
11385 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11386 (libgcc-std.ver.in): Use above.
11387 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11388 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11389 throughout file.
11390 * config/t-fixedpoint-gnu-prefix: New file.
11391 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11392 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11393 instead of __PFX__.
11394
02a8fe00
L
113952011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11396
11397 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11398 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11399 for x86-64. Properly check __x86_64__ and __LP64__.
11400
5fce9126
L
114012010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11402
11403 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11404 version.
11405 (_FP_WS_TYPE): Likewise.
11406 (_FP_I_TYPE): Likewise.
11407
2374a88a
AM
114082011-07-28 Alan Modra <amodra@gmail.com>
11409
11410 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11411 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11412 in a plt call stub. Do restore r2 if stopped on bctrl.
11413
e44dbbe1
RO
114142011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11415
11416 * config.host (i[3456x]86-*-netware*): Remove.
11417 * config/i386/netware-crt0.c, config/i386/t-nwld,
11418 config/i386/t-slibgcc-nwld: Remove.
11419
bcead286
BS
114202011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11421
11422 * config.host: Handle tic6x-*-*.
11423 * config/c6x/c6x-abi.h: New file.
11424
b3fe1584
RO
114252011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11426
11427 * config/i386/crtprec.c: New file.
11428 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11429 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11430 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11431 (x86_64-*-darwin*): Likewise.
11432 (i[34567]86-*-solaris2*: Likewise.
11433
35d8090d
RO
114342011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11435
11436 * config/alpha/crtfastmath.c: New file.
11437 * config/i386/crtfastmath.c: New file.
11438 * config/ia64/crtfastmath.c: New file.
11439 * config/mips/crtfastmath.c: New file.
11440 * config/sparc/crtfastmath.c: New file.
11441
11442 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11443 crtfastmath.c.
11444 Add -frandom-seed=gcc-crtfastmath.
11445 * config/alpha/t-crtfm: Remove.
11446 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11447 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11448
11449 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11450 (alpha*-dec-osf5.1*): Likewise.
11451 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11452 Add crtfastmath.o to extra_parts.
11453 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11454 Add crtfastmath.o to extra_parts.
11455 (x86_64-*-darwin*): Likewise.
11456 (x86_64-*-mingw*): Likewise.
11457 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11458 (ia64*-*-freebsd*): Likewise.
11459 (ia64*-*-linux*): Likewise.
11460 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11461 Add crtfastmath.o to extra_parts.
11462
e141542e
RO
114632011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11464
11465 * config/darwin-crt3.o: New file.
11466 * config/rs6000/darwin-crt2.c: New file.
11467 * config/t-darwin: New file.
11468 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11469 (crt2.o): New rule.
11470 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11471 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11472 (powerpc64-*-darwin*): Likewise.
11473
2d1efe2d
RO
114742011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11475
11476 * config/i386/netware-crt0.c: New file.
11477 * config/i386/t-nwld: Rename to ...
11478 * config/i386/t-slibgcc-nwld: ... this.
11479 * config/i386/t-nwld: New file.
11480 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11481 tmake_file.
11482 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11483 extra_parts.
11484
4a8bb046
RO
114852011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11486
11487 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11488 i386/t-crtstuff.
11489 * configure: Regenerate.
11490
2d8d5935
RO
114912011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11492
11493 * dfp-bit.c, dfp-bit.h: New files.
11494 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11495 variables.
11496 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11497 ($(d64pbit-o)): Likewise.
11498 ($(d128pbit-o)): Likewise.
11499 * config/t-dfprules: New file.
11500 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11501 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11502 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11503 (x86_64-*-linux*): Likewise.
11504 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11505 (i[34567]86-*-cygwin*): Likewise.
11506 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11507 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11508
2c50b2c3
RO
115092011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11510
11511 * Makfile.in (LIBGCOV): New variable.
11512 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11513 * libgcov.c: New file.
11514
a039d7c2
RO
115152011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11516
11517 * fixed-bit.c, fixed-bit.h: New files.
11518 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11519 refer to fixed-bit.c.
11520
1e4b2746
JM
115212011-07-07 Joseph Myers <joseph@codesourcery.com>
11522
11523 * config.host (*local*): Remove.
11524
fbdd5d87
RO
115252011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11526
11527 PR target/39150
11528 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11529 like i?86-*-solaris2.1[0-9]*.
11530 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11531 * configure.ac (i?86-*-solaris2*): Likewise.
11532 * configure: Regenerate.
11533
9e7714f4
TS
115342011-07-06 Thomas Schwinge <thomas@schwinge.name>
11535
11536 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11537 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11538 md_unwind_header by splitting out of...
11539 (i[34567]86-*-linux*): ... this.
11540 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11541 Remove md_unwind_header by splitting out of...
11542 (x86_64-*-linux*): ... this.
11543
6dab9931
GJL
115442011-07-04 Georg-Johann Lay <avr@gjlay.de>
11545
11546 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11547
4be46d19
NC
115482011-06-28 Nick Clifton <nickc@redhat.com>
11549
11550 * config.host: Recognize all V850 variants.
11551
1da9434b
UB
115522011-06-22 Uros Bizjak <ubizjak@gmail.com>
11553
11554 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11555
e4d48a4d
RO
115562011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11557
11558 * shared-object.mk (c_flags-$o): Save c_flags.
11559 ($(base)$(objext)): Use it.
11560 ($(base)_s$(objext)): Likewise.
11561
3801c801
BS
115622011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11563
11564 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11565 * libgcc-std.ver.in (GCC_4.7.0): New section.
11566
0ad8bb3b 115672011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11568
0ad8bb3b
GJL
11569 PR target/49313
11570 PR target/29524
11571 * config/avr/t-avr: Fix line endings.
11572 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11573 _parityXX2.
11574
ea963999
OH
115752011-06-14 Olivier Hainque <hainque@adacore.com>
11576 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11577
11578 * config/mips/irix6-unwind.h: New file.
11579 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11580
b11b0904
EB
115812011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11582
11583 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11584 (sparc64_fallback_frame_state): Use it.
11585 (sparc64_frob_update_context): Further adjust context.
11586 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11587 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11588 * config/sparc/sol2-cn.S: Likewise.
11589
10e48e39
RO
115902011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11591
11592 * enable-execute-stack-empty.c: New file.
11593 * enable-execute-stack-mprotect.c: New file.
11594 * config/i386/enable-execute-stack-mingw32.c: New file.
11595 * config.host (enable_execute_stack): New variable.
11596 Select appropriate variants.
11597 * configure.ac: Link enable-execute-stack.c to
11598 $enable_execute_stack.
11599 * configure: Regenerate.
11600 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11601 (lib2funcs): Remove _enable_execute_stack.
11602
10c4cabc
DM
116032011-06-09 David S. Miller <davem@davemloft.net>
11604 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11605
11606 * config.host (sparc-*-linux*): Correct md_unwind_header
11607 filename.
11608 (s390x-ibm-tpf*): Fix typo.
11609
aa4203e7
RO
116102011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11611
11612 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11613 Add crtfastmath.o to extra_parts.
11614 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11615 mips/t-crtfm.
11616 * config/mips/t-crtfm: Remove.
11617
0defd786
JDA
116182011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11619
11620 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11621
82f247af
KK
116222011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11623
11624 * config.host (sh*-*-linux*): Fix typo.
11625
58cd1d70
RO
116262011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11627
11628 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11629 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11630 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11631 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11632 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11633 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11634 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11635 Wrap in !__MINGW64__.
11636 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11637 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11638 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11639 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11640 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11641 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11642 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11643 Wrap in !__LP64__.
11644 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11645 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11646 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11647 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11648 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11649 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11650 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11651 * config/no-unwind.h: New file.
11652 * config.host (md_unwind_header): Document.
11653 Define.
11654 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11655 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11656 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11657 hppa[12]*-*-hpux11*): Set md_unwind_header.
11658 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11659 Set md_unwind_header.
11660 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11661 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11662 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11663 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11664 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11665 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11666 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11667 md_unwind_header.
11668 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11669 * configure: Regenerate.
11670
737346fa
RO
116712011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11672
11673 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11674 Set tmake_file, extra_parts.
11675 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11676 Remove O32 support.
11677 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11678 Remove O32 support.
11679 * config/mips/t-irix6: New file.
11680 * config/mips/t-slibgcc-irix: New file.
11681
c192cee6
RO
116822011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11683
11684 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11685 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11686
ee33b5f0
RO
116872011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11688
11689 * configure.ac (target_thread_file): Determine thread model.
11690 * configure: Regenerate.
11691 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11692 * config/alpha/t-alpha: New file.
11693 * config/alpha/t-crtfm: Use $<.
11694 * config/alpha/t-ieee: New file.
11695 * config/alpha/t-osf-pthread: New file.
11696 * config/alpha/t-slibgcc-osf: New file.
11697 * config/alpha/libgcc-osf5.ver: New file.
11698
0699e415
RO
116992011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11700
11701 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11702 tmake_file.
11703 Add crtfastmath.o to extra_parts.
11704
a3fab9c2
RO
117052011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11706
11707 * config/gmon-sol2.c: Reindent.
11708 Cleanup comments.
11709 Remove, correct casts.
11710 Use STDERR_FILENO, NULL.
11711 (BASEADDRESS): Remove.
11712 (minbrk): Remove.
11713 (errno, sbrk): Remove declarations.
11714 (monstartup) [hp300]: Remove.
11715 (mcount): Remove.
11716
ca24c5ad
RO
117172011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11718
11719 * Makefile.in (cpu_type): Define.
11720 * config.host (i[34567]86-*-rtems*): Handle it.
11721 (i[34567]86-*-solaris2*): Move body ...
11722 (*-*-solaris2*): ... here.
11723 New case, generalize.
11724 (sparc-*-elf*): Handle it.
11725 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11726 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11727 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11728 Fold into ...
11729 (sparc*-*-solaris2*): ... this.
11730 New case.
11731 (sparc64-*-elf*): Handle it.
11732 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11733 Merge ../gcc/config/i386/gmon-sol2.c.
11734 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11735 Use C comments.
11736 Merge ../gcc/config/i386/sol2-gc1.asm.
11737 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11738 Use C comments.
11739 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11740 Use C comments.
11741 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11742 * config/i386/t-crtstuff: New file.
11743 * config/i386/t-softfp: New file.
11744 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11745 $(T)crti.o, $(T)crtn.o): Remove.
11746 (gcrt1.o): New rule.
11747 (TARGET_LIBGCC2_CFLAGS): Remove.
11748 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11749 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11750 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11751 * config/sparc/t-sol2: New file.
11752 * config/sparc/t-crtfm: Move to ...
11753 * config/t-crtfm: ... this.
11754 Use $(cpu_type), $<.
11755 * config/t-crtin: New file.
11756 * config/sparc/t-softfp: New file.
11757 * config/sparc/t-softmul: New file.
11758 * config/t-rtems: New file.
11759 * config/t-slibgcc: New file.
11760 * config/t-slibgcc-elf-ver: New file.
11761 * config/t-slibgcc-gld: New file.
11762 * config/t-slibgcc-sld: New file.
11763 * config/t-sol2: New file.
11764 * configure.ac: Include ../config/lib-ld.m4.
11765 Call AC_LIB_PROG_LD_GNU.
11766 Substitute cpu_type.
11767 * configure: Regenerate.
11768
ad5f3d7b
BS
117692011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11770
11771 PR bootstrap/49173
11772 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11773 libgcc-std.ver in the build directory.
11774 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11775 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11776
cdbf4541
BS
117772011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11778
11779 * libgcc-std.ver.in: New file.
11780 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11781 variables.
11782 (libgcc-std.ver): New rule.
11783 * config/t-gnu-prefix: New file.
11784
c8028650
RO
117852011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11786
11787 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11788
4a68b4ca
JM
117892011-05-10 Joseph Myers <joseph@codesourcery.com>
11790
11791 * config/i386/darwin-lib.h: New file.
11792
80cf2e08
JM
117932011-05-10 Joseph Myers <joseph@codesourcery.com>
11794
11795 * config/arm/symbian-lib.h: New.
11796
a3330c9d
CD
117972011-05-04 Chris Demetriou <cgd@google.com>
11798
11799 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11800 (__x86.get_pc_thunk.bx): ...this.
11801 (__morestack): Adjust for rename, remove undef of __i686.
11802
6ace0756
CD
118032011-05-03 Chris Demetriou <cgd@google.com>
11804
11805 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11806
ebb9f8b0
JM
118072011-03-22 Joseph Myers <joseph@codesourcery.com>
11808
11809 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11810 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11811 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11812 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11813 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11814 Remove cases.
11815
9cfa1499
AT
118162011-03-14 Andreas Tobler <andreast@fgznet.ch>
11817
11818 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11819 Adjust copyright year.
11820
457186f6
ILT
118212011-03-07 Ian Lance Taylor <iant@google.com>
11822
11823 * generic-morestack.c (__splitstack_find): Adjust returned stack
11824 pointer to include all registers pushed by __morestack.
11825
58c741a6
DK
118262011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11827
11828 PR target/40125
11829 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11830 (toolexecdir): Calculate and AC_SUBST.
11831 (toolexeclibdir): Likewise.
11832 * Makefile.in (target_noncanonical): Import.
11833 (toolexecdir): Likewise.
11834 (toolexeclibdir): Likewise.
11835 * configure: Regenerate.
11836
26716c44
NF
118372010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11838
11839 PR target/46040
11840 * config/arm/bpabi.h: Rename to...
11841 * config/arm/bpabi-lib.h: ...this.
11842
b595b1a1
RO
118432010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11844
11845 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11846 appropriate.
11847 * configure: Regenerate.
11848
a3abe41c
NF
118492010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11850
11851 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11852 __FLOAT_WORD_ORDER__.
11853 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11854 Delete.
11855
455c8f48
RW
118562010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11857
11858 PR other/46202
11859 * Makefile.in (install-strip): New phony target.
11860
f3824a8b
ILT
118612010-11-07 Ian Lance Taylor <iant@google.com>
11862
11863 PR target/46089
11864 * config/i386/morestack.S (__morestack_large_model): New
11865 function.
11866
18ed6ee4
NF
118672010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11868
11869 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11870 Delete.
11871 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11872
8ac7fdcb
NF
118732010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11874
11875 * config/arm/bpabi.h: New file.
11876 * config/frv/frv-abi.h: New file.
11877
cdb388c2
ILT
118782010-10-01 Ian Lance Taylor <iant@google.com>
11879
11880 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11881 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11882
ef7c141c
L
118832010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11884
11885 PR target/45858
11886 * config.host: Add the missing `$'.
11887
80920132
ME
118882010-09-30 Michael Eager <eager@eagercon.com>
11889
11890 * config.host: Add microblaze*-*-*.
11891 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11892 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11893 udivsi3.asm,umodsi3.asm}: New.
11894
6dace308
ILT
118952010-09-28 Ian Lance Taylor <iant@google.com>
11896
11897 * configure.ac: Adjust CFI test to test assembler directly rather
11898 than checking gcc preprocessor macro.
11899 * configure: Rebuild.
11900
b6110d6d
ILT
119012010-09-27 Ian Lance Taylor <iant@google.com>
11902
11903 * configure.ac: Test whether assembler supports CFI directives.
11904 * config.host: Only add t-stack and i386/t-stack-i386 to
11905 tmake_file if libgcc_cv_cfi is "yes".
11906 * configure: Rebuild.
11907
7458026b
ILT
119082010-09-27 Ian Lance Taylor <iant@google.com>
11909
11910 * generic-morestack.h: New file.
11911 * generic-morestack.c: New file.
11912 * generic-morestack-thread.c: New file.
11913 * config/i386/morestack.S: New file.
11914 * config/t-stack: New file.
11915 * config/i386/t-stack-i386: New file.
11916 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11917 i386/t-stack-i386 to tmake_file.
11918
5b50fc0c
IS
119192010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11920
11921 * Makefile.in (libgcc-extra-parts): Check for static archives and
11922 invoke ranlib after installing them.
11923 (gcc-extra-parts): Likewise.
11924 (install-leaf): Likewise.
11925
b93cf342
L
119262010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11927
11928 * configure: Regenerated.
11929
996b42ef
KT
119302010-09-10 Kai Tietz <kai.tietz@onevision.com>
11931
b93cf342 11932 * configure: Regenerated.
996b42ef 11933
be1c764e
GP
119342010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11935 Andrew Pinski <pinskia@gmail.com>
11936
1da9434b 11937 PR target/40959
be1c764e
GP
11938 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11939
cc0ae0ca
L
119402010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11941
11942 PR target/45524
11943 * configure: Regenerated.
11944
84f47d20
AS
119452010-09-06 Andreas Schwab <schwab@redhat.com>
11946
11947 * configure: Regenerate.
11948
4159fb8d
UB
119492010-09-03 Uros Bizjak <ubizjak@gmail.com>
11950
11951 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11952 64bit targets.
11953 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11954 for 64bit targets.
11955
0df8fcc8
UB
119562010-09-03 Uros Bizjak <ubizjak@gmail.com>
11957 Iain Sandoe <iains@gcc.gnu.org>
11958
11959 PR target/45476
11960 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11961 LIB2FUNCS_EXCLUDE functions.
11962
3c39bca6
AK
119632010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11964
11965 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11966 Include dfp.m4.
11967 * configure: Regenerate.
11968
d78552bd
UB
119692010-09-01 Uros Bizjak <ubizjak@gmail.com>
11970
11971 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11972 i386/t-freebsd to tmake_file.
11973 * config/i386/t-freebsd: New file.
11974 * config/i386/libgcc-bsd.ver: New file.
11975
c5b79d4e
NF
119762010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11977
11978 * config.host (powerpc*-eabispe*): Set tmake_file.
11979 (powerpc*-eabi*): Likewise.
11980 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11981 crtbeginS, crtendS, crtbeginT.
11982
48b09a92
KH
119832010-06-12 Kazu Hirata <kazu@codesourcery.com>
11984
11985 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11986 to tmake_file. Add crtfastmath.o to extra_parts.
11987 * config/mips/t-crtfm: New.
11988
7d296953 119892010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11990
11991 * config.host (sparc64-*-rtems*): New target.
11992
ed104137
RO
119932010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11994
11995 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11996 assembler syntax.
11997
3f56ef8b
TS
119982010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11999
12000 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12001
8c200350
RO
120022010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12003
12004 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12005 alpha-dec-osf5.0* support.
12006
7d296953 120072010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12008
12009 * config.host: Add lm32-*-rtems*.
12010
f128db92 120112010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12012 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12013
12014 PR target/39048
12015 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12016 like other remaining 32-bit x86 OSes.
12017 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12018 assembler syntax.
12019 * config/i386/libgcc-sol2.ver: New file.
12020 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12021
7d296953 120222010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12023
12024 PR c/43553
12025 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12026 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12027 is used and substitute set_use_emutls.
12028 * configure: Regenerated.
12029
15baf7f8
TG
120302010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12031
12032 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12033
7f5441df
RO
120342010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12035
12036 PR target/38085
12037 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12038 MULTILIB_CFLAGS.
12039 ($(T)gcrt1.o): Likewise.
12040 ($(T)crt1.o): Likewise.
12041 ($(T)crti.o): Likewise.
12042 ($(T)crtn.o): Likewise.
12043
ef74edbd
RW
120442010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12045
12046 PR other/42980
12047 * Makefile.in (install): Use $(MAKE) string in rule, for
12048 parallel make.
12049
e7c914db
HPN
120502010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12051
12052 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12053 * config/mmix/t-mmix: New file.
12054 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12055
1bcb71c4
JH
120562010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12057
12058 PR java/41991
12059 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12060 SHLIB_MAPFILES.
12061
e6e50811
AG
120622010-01-04 Anthony Green <green@moxielogic.com>
12063
12064 * config/moxie/crti.asm, config/moxie/crtn.asm,
12065 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12066 config/moxie/t-moxie: New files.
12067 * config.host: Add t-moxie-softfp reference.
12068
7d296953 120692009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12070
12071 PR other/39888
12072 * config/t-slibgcc-darwin: Fix embedded rpaths for
12073 --enable-version-specific-runtime-libs, build extension stub
12074 libs exposing features available from current libgcc_s.
12075
7d296953 120762009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12077
d78552bd
UB
12078 * config.host: Add lm32 targets.
12079 * config/lm32: New directory.
12080 * config/lm32/libgcc_lm32.h: New file.
12081 * config/lm32/_mulsi3.c: New file.
12082 * config/lm32/_udivmodsi4.c: New file.
12083 * config/lm32/_divsi3.c: New file.
12084 * config/lm32/_modsi3.c: New file.
12085 * config/lm32/_udivsi3.c: New file.
12086 * config/lm32/_umodsi3.c: New file.
12087 * config/lm32/_lshrsi3.S: New file.
12088 * config/lm32/_ashrsi3.S: New file.
12089 * config/lm32/_ashlsi3.S: New file.
12090 * config/lm32/crti.S: New file.
12091 * config/lm32/crtn.S: New file.
12092 * config/lm32/t-lm32: New file.
12093 * config/lm32/t-elf: New file.
12094 * config/lm32/t-uclinux: New file.
aa4945c1 12095
65a324b4
NC
120962009-10-26 Nick Clifton <nickc@redhat.com>
12097
12098 * config.host: Add support for RX target.
12099 * config/rx: New directory.
12100 * config/rx/rx-abi-functions.c: New file. Supplementary
12101 functions for libgcc to support the RX ABI.
12102 * config/rx/rx-abi.h: New file. Supplementary header file for
12103 libgcc RX ABI functions.
12104 * config/rx/t-rx: New file: Makefile fragment for building
12105 libgcc for the RX.
12106
dfb3b0e3
UB
121072009-10-09 Uros Bizjak <ubizjak@gmail.com>
12108
12109 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12110 constraint of y0 to "g".
12111
81dd9fd7
AK
121122009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12113
12114 * config.host: Include the s390 makefile fragments.
12115 * config/s390/32/_fixdfdi.c: New file.
12116 * config/s390/32/_fixsfdi.c: New file.
12117 * config/s390/32/_fixtfdi.c: New file.
12118 * config/s390/32/_fixunsdfdi.c: New file.
12119 * config/s390/32/_fixunssfdi.c: New file.
12120 * config/s390/32/_fixunstfdi.c: New file.
12121 * config/s390/32/t-floattodi: New file.
12122 * config/s390/libgcc-glibc.ver: New file.
12123 * config/s390/t-crtstuff: New file.
12124 * config/s390/t-linux: New file.
12125 * config/s390/t-tpf: New file.
12126
df58e648
RW
121272009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12128
12129 * configure.ac (AC_PREREQ): Bump to 2.64.
12130
79052be3
KK
121312009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12132
12133 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12134
5213506e
RW
121352009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12136
12137 * configure: Regenerate.
12138
a9a25daa
DR
121392009-08-09 Douglas B Rupp <rupp@gnat.com>
12140
12141 * config.host (ia64-hp-*vms*): New target.
12142 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12143 with ia64-hp-*vms*.
12144
6efbd53f
RW
121452009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12146
12147 * configure.ac: Add snippet for maintainer-mode.
12148 * configure: Regenerate.
12149 * Makefile.in (AUTOCONF, configure_deps): New variables.
12150 ($(srcdir)/configure)): New rule, active only with maintainer
12151 mode turned on.
12152
7acf4da6
DD
121532009-06-23 DJ Delorie <dj@redhat.com>
12154
12155 Add MeP port.
12156 * config.host: Add mep support.
12157
54f549af
KT
121582009-06-22 Kai Tietz <kai.tietz@onevision.com>
12159
34481f28 12160 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12161 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12162
12163 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12164 for mingw targets.
54f549af
KT
12165 * config/i386/64/_multc3.c: Likewise.
12166 * config/i386/64/_powitf2.c: Likewise.
12167 * config/i386/64/eqtf2.c: Likewise.
12168 * config/i386/64/getf2.c: Likewise.
12169 * config/i386/64/letf2.c: Likewise.
12170 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12171 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12172 unsigned long long for x64 mingw targets.
12173 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12174 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12175
fea96e25
MR
121762009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12177
12178 * config.host (vax-*-linux*): New.
12179
cceb575c
AG
121802009-05-31 Anthony Green <green@moxielogic.com>
12181
12182 * config.host: Add moxie support.
12183 * config/moxie/t-moxie: New file.
12184
7d296953 121852009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12186
12187 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12188 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12189
532bfb0a
AJ
121902009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12191
12192 * config.host: Add i386/${host_address}/t-fprules-softfp to
12193 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12194
748086b7
JJ
121952009-04-09 Nick Clifton <nickc@redhat.com>
12196
12197 * config/ia64/tf-signs.c: Change copyright header to refer to
12198 version 3 of the GNU General Public License with version 3.1
12199 of the GCC Runtime Library Exception and to point readers at
12200 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12201 web page.
12202 * config/i386/32/tf-signs.c: Likewise.
12203 * config/libbid/_addsub_dd.c: Likewise.
12204 * config/libbid/_addsub_sd.c: Likewise.
12205 * config/libbid/_addsub_td.c: Likewise.
12206 * config/libbid/_dd_to_df.c: Likewise.
12207 * config/libbid/_dd_to_di.c: Likewise.
12208 * config/libbid/_dd_to_sd.c: Likewise.
12209 * config/libbid/_dd_to_sf.c: Likewise.
12210 * config/libbid/_dd_to_si.c: Likewise.
12211 * config/libbid/_dd_to_td.c: Likewise.
12212 * config/libbid/_dd_to_tf.c: Likewise.
12213 * config/libbid/_dd_to_udi.c: Likewise.
12214 * config/libbid/_dd_to_usi.c: Likewise.
12215 * config/libbid/_dd_to_xf.c: Likewise.
12216 * config/libbid/_df_to_dd.c: Likewise.
12217 * config/libbid/_df_to_sd.c: Likewise.
12218 * config/libbid/_df_to_td.c: Likewise.
12219 * config/libbid/_di_to_dd.c: Likewise.
12220 * config/libbid/_di_to_sd.c: Likewise.
12221 * config/libbid/_di_to_td.c: Likewise.
12222 * config/libbid/_div_dd.c: Likewise.
12223 * config/libbid/_div_sd.c: Likewise.
12224 * config/libbid/_div_td.c: Likewise.
12225 * config/libbid/_eq_dd.c: Likewise.
12226 * config/libbid/_eq_sd.c: Likewise.
12227 * config/libbid/_eq_td.c: Likewise.
12228 * config/libbid/_ge_dd.c: Likewise.
12229 * config/libbid/_ge_sd.c: Likewise.
12230 * config/libbid/_ge_td.c: Likewise.
12231 * config/libbid/_gt_dd.c: Likewise.
12232 * config/libbid/_gt_sd.c: Likewise.
12233 * config/libbid/_gt_td.c: Likewise.
12234 * config/libbid/_isinfd128.c: Likewise.
12235 * config/libbid/_isinfd32.c: Likewise.
12236 * config/libbid/_isinfd64.c: Likewise.
12237 * config/libbid/_le_dd.c: Likewise.
12238 * config/libbid/_le_sd.c: Likewise.
12239 * config/libbid/_le_td.c: Likewise.
12240 * config/libbid/_lt_dd.c: Likewise.
12241 * config/libbid/_lt_sd.c: Likewise.
12242 * config/libbid/_lt_td.c: Likewise.
12243 * config/libbid/_mul_dd.c: Likewise.
12244 * config/libbid/_mul_sd.c: Likewise.
12245 * config/libbid/_mul_td.c: Likewise.
12246 * config/libbid/_ne_dd.c: Likewise.
12247 * config/libbid/_ne_sd.c: Likewise.
12248 * config/libbid/_ne_td.c: Likewise.
12249 * config/libbid/_sd_to_dd.c: Likewise.
12250 * config/libbid/_sd_to_df.c: Likewise.
12251 * config/libbid/_sd_to_di.c: Likewise.
12252 * config/libbid/_sd_to_sf.c: Likewise.
12253 * config/libbid/_sd_to_si.c: Likewise.
12254 * config/libbid/_sd_to_td.c: Likewise.
12255 * config/libbid/_sd_to_tf.c: Likewise.
12256 * config/libbid/_sd_to_udi.c: Likewise.
12257 * config/libbid/_sd_to_usi.c: Likewise.
12258 * config/libbid/_sd_to_xf.c: Likewise.
12259 * config/libbid/_sf_to_dd.c: Likewise.
12260 * config/libbid/_sf_to_sd.c: Likewise.
12261 * config/libbid/_sf_to_td.c: Likewise.
12262 * config/libbid/_si_to_dd.c: Likewise.
12263 * config/libbid/_si_to_sd.c: Likewise.
12264 * config/libbid/_si_to_td.c: Likewise.
12265 * config/libbid/_td_to_dd.c: Likewise.
12266 * config/libbid/_td_to_df.c: Likewise.
12267 * config/libbid/_td_to_di.c: Likewise.
12268 * config/libbid/_td_to_sd.c: Likewise.
12269 * config/libbid/_td_to_sf.c: Likewise.
12270 * config/libbid/_td_to_si.c: Likewise.
12271 * config/libbid/_td_to_tf.c: Likewise.
12272 * config/libbid/_td_to_udi.c: Likewise.
12273 * config/libbid/_td_to_usi.c: Likewise.
12274 * config/libbid/_td_to_xf.c: Likewise.
12275 * config/libbid/_tf_to_dd.c: Likewise.
12276 * config/libbid/_tf_to_sd.c: Likewise.
12277 * config/libbid/_tf_to_td.c: Likewise.
12278 * config/libbid/_udi_to_dd.c: Likewise.
12279 * config/libbid/_udi_to_sd.c: Likewise.
12280 * config/libbid/_udi_to_td.c: Likewise.
12281 * config/libbid/_unord_dd.c: Likewise.
12282 * config/libbid/_unord_sd.c: Likewise.
12283 * config/libbid/_unord_td.c: Likewise.
12284 * config/libbid/_usi_to_dd.c: Likewise.
12285 * config/libbid/_usi_to_sd.c: Likewise.
12286 * config/libbid/_usi_to_td.c: Likewise.
12287 * config/libbid/_xf_to_dd.c: Likewise.
12288 * config/libbid/_xf_to_sd.c: Likewise.
12289 * config/libbid/_xf_to_td.c: Likewise.
12290 * config/libbid/bid128.c: Likewise.
12291 * config/libbid/bid128_2_str.h: Likewise.
12292 * config/libbid/bid128_2_str_macros.h: Likewise.
12293 * config/libbid/bid128_2_str_tables.c: Likewise.
12294 * config/libbid/bid128_add.c: Likewise.
12295 * config/libbid/bid128_compare.c: Likewise.
12296 * config/libbid/bid128_div.c: Likewise.
12297 * config/libbid/bid128_fma.c: Likewise.
12298 * config/libbid/bid128_logb.c: Likewise.
12299 * config/libbid/bid128_minmax.c: Likewise.
12300 * config/libbid/bid128_mul.c: Likewise.
12301 * config/libbid/bid128_next.c: Likewise.
12302 * config/libbid/bid128_noncomp.c: Likewise.
12303 * config/libbid/bid128_quantize.c: Likewise.
12304 * config/libbid/bid128_rem.c: Likewise.
12305 * config/libbid/bid128_round_integral.c: Likewise.
12306 * config/libbid/bid128_scalb.c: Likewise.
12307 * config/libbid/bid128_sqrt.c: Likewise.
12308 * config/libbid/bid128_string.c: Likewise.
12309 * config/libbid/bid128_to_int16.c: Likewise.
12310 * config/libbid/bid128_to_int32.c: Likewise.
12311 * config/libbid/bid128_to_int64.c: Likewise.
12312 * config/libbid/bid128_to_int8.c: Likewise.
12313 * config/libbid/bid128_to_uint16.c: Likewise.
12314 * config/libbid/bid128_to_uint32.c: Likewise.
12315 * config/libbid/bid128_to_uint64.c: Likewise.
12316 * config/libbid/bid128_to_uint8.c: Likewise.
12317 * config/libbid/bid32_to_bid128.c: Likewise.
12318 * config/libbid/bid32_to_bid64.c: Likewise.
12319 * config/libbid/bid64_add.c: Likewise.
12320 * config/libbid/bid64_compare.c: Likewise.
12321 * config/libbid/bid64_div.c: Likewise.
12322 * config/libbid/bid64_fma.c: Likewise.
12323 * config/libbid/bid64_logb.c: Likewise.
12324 * config/libbid/bid64_minmax.c: Likewise.
12325 * config/libbid/bid64_mul.c: Likewise.
12326 * config/libbid/bid64_next.c: Likewise.
12327 * config/libbid/bid64_noncomp.c: Likewise.
12328 * config/libbid/bid64_quantize.c: Likewise.
12329 * config/libbid/bid64_rem.c: Likewise.
12330 * config/libbid/bid64_round_integral.c: Likewise.
12331 * config/libbid/bid64_scalb.c: Likewise.
12332 * config/libbid/bid64_sqrt.c: Likewise.
12333 * config/libbid/bid64_string.c: Likewise.
12334 * config/libbid/bid64_to_bid128.c: Likewise.
12335 * config/libbid/bid64_to_int16.c: Likewise.
12336 * config/libbid/bid64_to_int32.c: Likewise.
12337 * config/libbid/bid64_to_int64.c: Likewise.
12338 * config/libbid/bid64_to_int8.c: Likewise.
12339 * config/libbid/bid64_to_uint16.c: Likewise.
12340 * config/libbid/bid64_to_uint32.c: Likewise.
12341 * config/libbid/bid64_to_uint64.c: Likewise.
12342 * config/libbid/bid64_to_uint8.c: Likewise.
12343 * config/libbid/bid_b2d.h: Likewise.
12344 * config/libbid/bid_binarydecimal.c: Likewise.
12345 * config/libbid/bid_conf.h: Likewise.
12346 * config/libbid/bid_convert_data.c: Likewise.
12347 * config/libbid/bid_decimal_data.c: Likewise.
12348 * config/libbid/bid_decimal_globals.c: Likewise.
12349 * config/libbid/bid_div_macros.h: Likewise.
12350 * config/libbid/bid_dpd.c: Likewise.
12351 * config/libbid/bid_flag_operations.c: Likewise.
12352 * config/libbid/bid_from_int.c: Likewise.
12353 * config/libbid/bid_functions.h: Likewise.
12354 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12355 * config/libbid/bid_inline_add.h: Likewise.
12356 * config/libbid/bid_internal.h: Likewise.
12357 * config/libbid/bid_round.c: Likewise.
12358 * config/libbid/bid_sqrt_macros.h: Likewise.
12359
123602009-04-09 Jakub Jelinek <jakub@redhat.com>
12361
12362 * Makefile.in: Change copyright header to refer to version
12363 3 of the GNU General Public License and to point readers at the
12364 COPYING3 file and the FSF's license web page.
12365 * config.host: Likewise.
12366
633dd061
AM
123672009-04-07 Alan Modra <amodra@bigpond.net.au>
12368
12369 * config.host: Reorder and merge to match config.gcc change.
12370
457d1d00
AM
123712009-04-03 Alan Modra <amodra@bigpond.net.au>
12372
12373 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12374
52c0e446
JM
123752009-03-28 Joseph Myers <joseph@codesourcery.com>
12376
12377 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12378 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12379 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12380 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12381
ba181049
UB
123822009-02-12 Uros Bizjak <ubizjak@gmail.com>
12383
12384 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12385 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12386
c252db20
L
123872009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12388
ba181049
UB
12389 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12390 ia64/t-softfp-compat to tmake_file.
c252db20
L
12391
12392 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12393
12394 * config/ia64/__divxf3.asm: New.
12395 * config/ia64/_fixtfdi.asm: Likewise.
12396 * config/ia64/_fixunstfdi.asm: Likewise.
12397 * config/ia64/_floatditf.asm: Likewise.
12398 * config/ia64/t-fprules-softfp: Likewise.
12399 * config/ia64/t-softfp-compat: Likewise.
12400 * config/ia64/tf-signs.c: Likewise.
12401
c60535f9
BE
124022009-01-18 Ben Elliston <bje@au.ibm.com>
12403
12404 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12405
ce16861e
BE
124062009-01-16 Ben Elliston <bje@au.ibm.com>
12407
12408 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12409 to tmake_file.
12410
bcf4713b
BE
124112009-01-13 Ben Elliston <bje@au.ibm.com>
12412
12413 * config/t-softfp: New file.
12414 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12415 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12416
7d296953 124172009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12418
12419 * config.host: Add m32r*-*-rtems*.
12420
7d296953 124212008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12422
12423 * config.host: Add m32c*-*-rtems*.
12424
19523300
RO
124252008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12426
12427 PR bootstrap/33100
12428 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12429 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12430 * configure: Regenerate.
12431 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12432 tmake_file here from gcc/config.gcc.
12433 Move extra_parts here from gcc/config.gcc.
12434 * config/i386/t-sol2: Move here from gcc/config/i386.
12435 Use gcc_srcdir instead of srcdir.
12436
0a4a51c7
AN
124372008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12438
12439 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12440 case.
12441
2a761e46
TS
124422008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12443
12444 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12445
c0451df7
TS
124462008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12447
12448 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12449
358da97e
HS
124502008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12451
12452 Add picoChip port.
12453 * config.host: Add picochip-*-*.
12454
c660f132
BW
124552008-08-06 Bob Wilson <bob.wilson@acm.org>
12456
12457 * config.host: Match more processor names for Xtensa.
12458
d1349557
L
124592008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12460
12461 * config/i386/64/t-softfp-compat: Update comments.
12462
dd7b73c0
L
124632008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12464
12465 * config/i386/64/_divtc3-compat.c: Moved to ...
12466 * config/i386/64/_divtc3.c: Here.
12467
12468 * config/i386/64/_multc3-compat.c: Moved to ...
12469 * config/i386/64/_multc3.c: Here.
12470
12471 * config/i386/64/_powitf2-compat.c: Moved to ...
12472 * config/i386/64/_powitf2.c: Here.
12473
12474 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12475 .c suffix instead of -compat.c.
12476
6e1fab3d
UB
124772008-07-05 Uros Bizjak <ubizjak@gmail.com>
12478
12479 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12480 (_FP_MUL_MEAT_D): Ditto.
12481 (_FP_DIV_MEAT_S): Ditto.
12482 (_FP_DIV_MEAT_D): Ditto.
12483
f92518d7
RS
124842008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12485
12486 * Makefile.in: Add support for __sync_* libgcc functions.
12487
d0aede14
L
124882008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12489
12490 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12491
c174f11c
L
124922008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12493
12494 PR boostrap/36702
12495 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12496 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12497
12498 * config/i386/64/t-fprules-softfp: Moved to ...
12499 * config/i386/64/t-softfp-compat: This. New.
12500
5f464fa2
UB
125012008-07-02 Uros Bizjak <ubizjak@gmail.com>
12502
12503 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12504 Initialize f with 0.0.
12505
ff473280
L
125062008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12507
12508 PR target/36669
12509 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12510
12511 * config/i386/64/_divtc3-compat.c: New.
12512 * config/i386/64/_multc3-compat.c: Likewise.
12513 * config/i386/64/_powitf2-compat.c: Likewise.
12514 * config/i386/64/eqtf2.c: Likewise.
12515 * config/i386/64/getf2.c: Likewise.
12516 * config/i386/64/letf2.c: Likewise.
12517 * config/i386/64/t-fprules-softfp: Likewise.
12518
125192008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12520
12521 * config.host: Add i386/${host_address}/t-fprules-softfp to
12522 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12523 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12524
12525 * configure.ac: Set host_address to 64 or 32 for x86.
12526 * configure: Regenerated.
12527
12528 * Makefile.in (config.status): Also depend on
12529 $(srcdir)/config.host.
12530
12531 * config/i386/32/t-fprules-softfp: New.
12532 * config/i386/32/tf-signs.c: Likewise.
12533
12534 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12535
125362008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12537 Uros Bizjak <ubizjak@gmail.com>
12538
12539 * config/i386/32/sfp-machine.h: New.
12540
30551d99
NF
125412008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12542
12543 * config/rs6000/t-ppccomm: Remove rules that conflict with
12544 auto-generated rules.
12545
18c04407
RW
125462008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12547
12548 * configure.ac: sinclude override.m4.
12549 * configure: Regenerate.
12550
10fbe77a
BRF
125512008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12552
12553 * configure: Regenerate.
12554
bc6d4c3f
JM
125552008-06-10 Joseph Myers <joseph@codesourcery.com>
12556
12557 * Makefile.in (DECNUMINC): Remove
12558 -I$(MULTIBUILDTOP)../../libdecnumber.
12559 * gstdint.h: New.
12560
cd985f66
JM
125612008-06-07 Joseph Myers <joseph@codesourcery.com>
12562
12563 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12564 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12565 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12566 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12567 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12568 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12569 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12570 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12571 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12572 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12573 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12574 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12575 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12576 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12577
93fea8d3
AL
125782008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12579
12580 * config.host (sh2[lbe]*-*-linux*): Allow target.
12581
18724e30
NF
125822008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12583
12584 * config/rs6000/t-ppccomm: Add build rules for new files.
12585 (LIB2ADD_ST): New variable.
12586
47583040
AH
125872008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12588
12589 PR target/34210
12590 PR target/35508
12591 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12592 * config/t-avr: New file. Build 16bit libgcc functions.
12593
cf8e67fe
JJ
125942008-03-02 Jakub Jelinek <jakub@redhat.com>
12595
12596 PR target/35401
12597 * config/t-slibgcc-darwin: Make install-leaf dependent on
12598 install-darwin-libgcc-stubs instead of install.
12599
8d8da227
JM
126002008-01-25 Joseph Myers <joseph@codesourcery.com>
12601
12602 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12603 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12604 sh-*-rtemscoff*): Remove cases.
12605
edbf8b16
RS
126062007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12607
12608 * Makefile.in (all): Use install-leaf rather than install.
12609 (install): Split most of the rule into...
12610 (install-leaf): ...this new one.
12611
89deeaff
EK
126122007-12-19 Etsushi Kato <ek.kato@gmail.com>
12613 Paolo Bonzini <bonzini@gnu.org>
12614
12615 PR target/30572
5f464fa2
UB
12616 * Makefile.in: Use @shlib_slibdir@ substitution to get
12617 correct install name on darwin.
89deeaff 12618 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 12619
4081d704
HPN
126202007-12-15 Hans-Peter Nilsson <hp@axis.com>
12621
12622 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12623 cris-*-elf and cris-*-none.
12624 (crisv32-*-linux*): Similar, as cris-*-linux*.
12625
f43e89a3
RIL
126262007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12627
12628 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12629
b4e9c2c6
L
126302007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12631
12632 PR regression/33926
12633 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12634 * configure: Regenerated.
12635
b2a00c89
L
126362007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12637
12638 * Makefile.in (dfp-filenames): Replace decimal_globals,
12639 decimal_data, binarydecimal and convert_data with
12640 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12641 and bid_convert_data, respectively.
12642
8d2a9e0e
CF
126432007-09-17 Chao-ying Fu <fu@mips.com>
12644 Nigel Stephens <nigel@mips.com>
12645
12646 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12647 * Makefile.in (fixed_point): Define.
12648 Check if fixed_point is yes to build support functions.
12649 * configure.ac: Check for fixed_point support.
12650 * configure: Regenerated.
12651 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12652 funcs, modes, from, to.
12653
2b53935d
JJ
126542007-09-11 Janis Johnson <janis187@us.ibm.com
12655
12656 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12657
2533577f
JJ
126582007-09-10 Janis Johnson <janis187@us.ibm.com>
12659
12660 * Makefile.in (dfp-filenames): Remove decUtility, add
12661 decDouble, decPacked, decQuad, decSingle.
12662
3ae3dbd6
HK
126632007-08-27 Hans Kester <hans.kester@ellips.nl>
12664
12665 * config.host : Add x86_64-elf target.
12666
22867d02
L
126672007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12668
12669 * configure.ac (set_have_cc_tls): Add a missing =.
12670 * configure: Regenerated.
12671
6f461e76
L
126722007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12673
12674 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12675 and x86_64-*-linux*.
12676
12677 * config/t-tls: New file.
12678
dfb3b0e3 12679 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12680
12681 * configure.ac: Include ../config/enable.m4 and
12682 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12683 supports TLS and substitute set_have_cc_tls.
12684 * configure: Regenerated.
12685
200359e8
L
126862007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12687
12688 * Makefile.in: Use libbid for DFP when BID is enabled.
12689
76f5e200
DS
126902007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12691
12692 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12693 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12694 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12695
9bd196f0 126962007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12697 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12698
12699 PR target/29498
12700 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12701 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12702 * config/i386/t-crtfm: Compile crtfastmath.o with
12703 -minline-all-stringops.
12704
1910440e
RS
127052007-05-10 Richard Sandiford <richard@codesourcery.com>
12706
12707 * config.host (sparc-wrs-vxworks): New target.
12708
7d33c31d
KH
127092007-04-14 Kazu Hirata <kazu@codesourcery.com>
12710
12711 * config.host: Recognize fido.
12712
96fccd0d
JJ
127132007-04-04 Janis Johnson <janis187@us.ibm.com>
12714
12715 * configure: Check host, not target, for decimal float support.
12716
577565f9
UB
127172007-04-03 Uros Bizjak <ubizjak@gmail.com>
12718
12719 * config/i386/t-crtpc: New file.
12720 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12721 (x86_64-*-linux*): Ditto.
577565f9 12722
ccf8e764
RH
127232007-02-30 Kai Tietz <kai.tietz@onevision.com>
12724
12725 * config.host (x86_64-*-mingw*): New target.
12726
79b87c74
MM
127272007-03-23 Michael Meissner <michael.meissner@amd.com>
12728 H.J. Lu <hongjiu.lu@intel.com>
12729
12730 * Makefile.in (enable_decimal_float): New.
12731 (DECNUMINC): Add
12732 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12733 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12734 (decbits-filenames): This.
12735 (decbits-objects): New.
12736 (libgcc-objects): Add $(decbits-objects).
12737
12738 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12739 Substitute enable_decimal_float.
12740 * configure: Regenerated.
12741
8fce4e31
HPN
127422007-03-19 Hans-Peter Nilsson <hp@axis.com>
12743
12744 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12745
e8bb4597
BM
127462007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12747
12748 * Makefile.in (install-info): New dummy target.
12749
344189f9
BS
127502007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12751
12752 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12753
ac84c172
BM
127542007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12755
12756 * Makefile.in: Add install-html and install-pdf dummy
12757 targets.
12758
cd5c2357
RS
127592007-02-05 Roger Sayle <roger@eyesopen.com>
12760 Daniel Jacobowitz <dan@codesourcery.com>
12761
12762 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12763 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12764 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12765
d9a66f98
JJ
127662007-01-29 Janis Johnson <janis187@us.ibm.com>
12767
12768 * Makefile.in (dec-filenames): Add decExcept.
12769
9891ec5f
DJ
127702007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12771
12772 PR bootstrap/30469
12773 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12774 -fprofile-use.
12775
d6efbf5a
DJ
127762007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12777
12778 * configure.ac: Add --enable-version-specific-runtime-libs.
12779 Correct $slibdir default.
12780 * configure: Regenerated.
12781
17caeff2
JM
127822007-01-23 Joseph Myers <joseph@codesourcery.com>
12783
12784 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12785
5ea41e3a
AP
127862007-01-21 Andrew Pinski <pinskia@gmail.com>
12787
12788 PR target/30519
12789 * config.host (alpha*-*-linux*): Set extra_parts.
12790
26900826
KK
127912007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12792
12793 * config/sh/t-linux: New.
12794 * config.host (sh*-*-linux*): Set tmake_file.
12795
97af925b
DJ
127962007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12797
12798 * Makefile.in (install): Handle multilibs.
12799
b0088af7
BM
128002007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12801
12802 * Makefile.in: Added .PHONY entry for documentation targets.
12803
e0a9456a
BM
128042007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12805
12806 * Makefile.in: Add empty info, html, dvi, pdf targets.
12807
7fd453b4
MS
128082007-01-04 Mike Stump <mrs@apple.com>
12809
12810 * Makefile.in (MAKEINFO): Remove.
12811 (PERL): Likewise.
12812
14e8fc8b
PB
128132007-01-04 Paolo Bonzini <bonzini@gnu.org>
12814
12815 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12816 * configure: Regenerate.
12817 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12818 (gcc_objdir): Use it.
14e8fc8b 12819
1555beba
DJ
128202007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12821
12822 * config.host (ia64*-*-linux*): Set tmake_file.
12823
79e6eaeb
DJ
128242007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12825
12826 * Makefile.in (version): Define.
12827
fa958513
DJ
128282007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12829 Paolo Bonzini <bonzini@gnu.org>
12830
12831 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12832 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12833 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12834 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12835 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12836 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12837 * configure: Generated.
818ab71a 12838\f
68127a8e 12839Copyright (C) 2007-2023 Free Software Foundation, Inc.
818ab71a
JJ
12840
12841Copying and distribution of this file, with or without modification,
12842are permitted in any medium without royalty provided the copyright
12843notice and this notice are preserved.