]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
09abeb73
GA
12023-03-19 Stafford Horne <shorne@gmail.com>
2
3 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4 statement clearing existing exceptions.
5
a9835599
GA
62023-03-13 Max Filippov <jcmvbkbc@gmail.com>
7
8 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
9 * config/xtensa/crtn.S: Likewise.
10 * config/xtensa/lib1funcs.S: Likewise.
11 * config/xtensa/lib2funcs.S: Likewise.
12
44ea7318
GA
132023-03-12 Jakub Jelinek <jakub@redhat.com>
14
15 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
16 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
17 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
18 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
19 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
20 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
21 * soft-fp/floatundibf.c: New file.
22 * soft-fp/floatdibf.c: New file.
23
c8065441
GA
242023-03-10 Jakub Jelinek <jakub@redhat.com>
25
26 PR target/107703
27 * soft-fp/floattibf.c: New file.
28 * soft-fp/floatuntibf.c: New file.
29 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
30 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
31 floatuntibf.
32 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
33
6a87fdd3
GA
342023-03-08 Kewen Lin <linkw@linux.ibm.com>
35
36 PR libgcc/108727
37 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
38 bump size.
39
3dd4ada4
GA
402023-03-06 Michael Meissner <meissner@linux.ibm.com>
41
42 PR target/107299
43 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
44 whether long double is IBM or IEEE.
45 (INFINITY): Likewise.
46 (FABS): Likewise.
47 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
48 (INFINITY): Likewise.
49 * config/rs6000/quad-float128.h (TF): Remove definition.
50 (TFtype): Define to be long double or _Float128.
51 (TCtype): Define to be _Complex long double or _Complex _Float128.
52 * libgcc2.h (TFtype): Allow machine config files to override this.
53 (TCtype): Likewise.
54 * soft-fp/quad.h (TFtype): Likewise.
55
ae719781
GA
562023-02-13 Kito Cheng <kito.cheng@sifive.com>
57
58 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
59 * config/riscv/value-unwind.h: New.
60
49e52115
GA
612023-02-03 Christophe Lyon <christophe.lyon@arm.com>
62
63 * config/arm/pr-support.c (__gnu_unwind_execute): Use
64 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
65
897a0502
GA
662023-01-30 Flavio Cruz <flaviocruz@gmail.com>
67
68 * config.host: Recognize x86_64-*-gnu* targets.
69 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
70 TODO for now.
71
607f278a
GA
722023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
73
74 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
75 "0xb5".
76
772023-01-23 Andrea Corallo <andrea.corallo@arm.com>
78 Tejas Belagod <tbelagod@arm.com>
79 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
80
81 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
82 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
83 with AUTG if found.
84 * config/arm/unwind-arm.c (struct pseudo_regs): New.
85 (phase1_vrs): Introduce new field to store pseudo-reg state.
86 (phase2_vrs): Likewise.
87 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
88 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
89 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
90
9f98cfa5
GA
912023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
92
93 PR target/107678
94 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
95 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
96 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
97 encode the return address signing state.
98 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
99 Check current return address signing state.
100 (aarch64_frob_update_contex): Remove.
101
5013c3bb
GA
1022023-01-13 John David Anglin <danglin@gcc.gnu.org>
103
104 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
105 pa/t-pa64-linux.
106 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
107 instead of pa/t-hpux and pa/t-pa64.
108 * config/pa/linux-atomic.c: Define u32 type.
109 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
110 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
111 defines to use atomic_load calls for type.
112 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
113 * config/pa/sync-libfuncs.c: New file.
114 * config/pa/t-netbsd (LIB2ADD_ST): Define.
115 * config/pa/t-openbsd (LIB2ADD_ST): Define.
116 * config/pa/t-pa64-hpux: New file.
117 * config/pa/t-pa64-linux: New file.
118
1192023-01-13 Jonathan Wakely <jwakely@redhat.com>
120
121 PR libstdc++/108331
122 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
123 struct matching the previous __gthread_mutex_t struct.
124 (__GTHREAD_LEGACY_MUTEX_T): Define.
125
1262023-01-13 Seija Kijin <doremylover456@gmail.com>
127
128 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
129 unified syntax.
130
d901bf8a
GA
1312023-01-07 LIU Hao <lh_mouse@126.com>
132
133 PR middle-end/108300
134 * config/i386/enable-execute-stack-mingw32.c: Define
135 `WIN32_LEAN_AND_MEAN` before <windows.h>.
136 * libgcc2.c: Likewise.
137 * unwind-generic.h: Likewise.
138
0f8fbb57
GA
1392023-01-03 Florian Weimer <fweimer@redhat.com>
140
141 * unwind-dw2-execute_cfa.h: New file. Extracted from
142 the execute_cfa_program function in unwind-dw2.c.
143 * unwind-dw2.c (execute_cfa_program_generic): New function.
144 (execute_cfa_program_specialized): Likewise.
145 (execute_cfa_program): Call execute_cfa_program_specialized
146 or execute_cfa_program_generic, as appropriate.
147
1482023-01-03 Florian Weimer <fweimer@redhat.com>
149
150 Revert:
151 2023-01-03 Florian Weimer <fweimer@redhat.com>
152
153 * unwind-dw2.c (dwarf_reg_size): New function.
154 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
155 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
156 (uw_init_context_1): Do not initialize dwarf_reg_size_table
157 if not in use.
158
1592023-01-03 Florian Weimer <fweimer@redhat.com>
160
161 Revert:
162 2023-01-03 Florian Weimer <fweimer@redhat.com>
163
164 * unwind-dw2-execute_cfa.h: New file. Extracted from
165 the execute_cfa_program function in unwind-dw2.c.
166 * unwind-dw2.c (execute_cfa_program_generic): New function.
167 (execute_cfa_program_specialized): Likewise.
168 (execute_cfa_program): Call execute_cfa_program_specialized
169 or execute_cfa_program_generic, as appropriate.
170
fee53a31
GA
1712023-01-02 Florian Weimer <fweimer@redhat.com>
172
173 * unwind-dw2-execute_cfa.h: New file. Extracted from
174 the execute_cfa_program function in unwind-dw2.c.
175 * unwind-dw2.c (execute_cfa_program_generic): New function.
176 (execute_cfa_program_specialized): Likewise.
177 (execute_cfa_program): Call execute_cfa_program_specialized
178 or execute_cfa_program_generic, as appropriate.
179
1802023-01-02 Florian Weimer <fweimer@redhat.com>
181
182 * unwind-dw2.c (dwarf_reg_size): New function.
183 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
184 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
185 (uw_init_context_1): Do not initialize dwarf_reg_size_table
186 if not in use.
187
bc38aee7
GA
1882022-12-25 Jonathan Yong <10walls@gmail.com>
189
190 * config/i386/gthr-win32.h: undef CC_NONE
191
843c4d2f
GA
1922022-12-24 Iain Sandoe <iain@sandoe.co.uk>
193
194 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
195 install of libgcc_s.1.dylib when the installation is into the build
196 gcc directory.
197
376d6b8c
GA
1982022-12-23 Eric Botcazou <ebotcazou@adacore.com>
199
200 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
201 as well as new i386/t-slibgcc-mingw fragment.
202 (x86_64-*-mingw*): Likewise.
203 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
204 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
205 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
206 Include stdlib.h instead of errno.h and do not include _mingw.h.
207 (CONST_CAST2): Add specific definition for C++.
208 (ATTRIBUTE_UNUSED): New macro.
209 (__UNUSED_PARAM): Delete.
210 Define WIN32_LEAN_AND_MEAN before including windows.h.
211 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
212 (__gthread_objc_init_thread_system): Likewise.
213 (__gthread_objc_thread_get_data): Minor tweak.
214 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
215 (__gthread_objc_condition_deallocate): Likewise.
216 (__gthread_objc_condition_wait): Likewise.
217 (__gthread_objc_condition_broadcast): Likewise.
218 (__gthread_objc_condition_signal): Likewise.
219 Include sys/time.h.
220 (__gthr_win32_DWORD): New typedef.
221 (__gthr_win32_HANDLE): Likewise.
222 (__gthr_win32_CRITICAL_SECTION): Likewise.
223 (__gthr_win32_CONDITION_VARIABLE): Likewise.
224 (__gthread_t): Adjust.
225 (__gthread_key_t): Likewise.
226 (__gthread_mutex_t): Likewise.
227 (__gthread_recursive_mutex_t): Likewise.
228 (__gthread_cond_t): New typedef.
229 (__gthread_time_t): Likewise.
230 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
231 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
232 (__GTHREAD_COND_INIT_FUNCTION): Define.
233 (__GTHREAD_TIME_INIT): Likewise.
234 (__gthr_i486_lock_cmp_xchg): Delete.
235 (__gthr_win32_create): Declare.
236 (__gthr_win32_join): Likewise.
237 (__gthr_win32_self): Likewise.
238 (__gthr_win32_detach): Likewise.
239 (__gthr_win32_equal): Likewise.
240 (__gthr_win32_yield): Likewise.
241 (__gthr_win32_mutex_destroy): Likewise.
242 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
243 (__gthr_win32_cond_broadcast): Likewise.
244 (__gthr_win32_cond_signal): Likewise.
245 (__gthr_win32_cond_wait): Likewise.
246 (__gthr_win32_cond_timedwait): Likewise.
247 (__gthr_win32_recursive_mutex_init_function): Delete.
248 (__gthr_win32_recursive_mutex_lock): Likewise.
249 (__gthr_win32_recursive_mutex_unlock): Likewise.
250 (__gthr_win32_recursive_mutex_destroy): Likewise.
251 (__gthread_create): New inline function.
252 (__gthread_join): Likewise.
253 (__gthread_self): Likewise.
254 (__gthread_detach): Likewise.
255 (__gthread_equal): Likewise.
256 (__gthread_yield): Likewise.
257 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
258 (__gthread_cond_broadcast): Likewise.
259 (__gthread_cond_signal): Likewise.
260 (__gthread_cond_wait): Likewise.
261 (__gthread_cond_timedwait): Likewise.
262 (__GTHREAD_WIN32_INLINE): New macro.
263 (__GTHREAD_WIN32_COND_INLINE): Likewise.
264 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
265 Define WIN32_LEAN_AND_MEAN before including windows.h.
266 (__gthread_once): Minor tweaks.
267 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
268 (__gthread_key_delete): Minor tweak.
269 (__gthread_getspecific): Likewise.
270 (__gthread_setspecific): Likewise.
271 (__gthread_mutex_init_function): Reimplement.
272 (__gthread_mutex_destroy): Likewise.
273 (__gthread_mutex_lock): Likewise.
274 (__gthread_mutex_trylock): Likewise.
275 (__gthread_mutex_unlock): Likewise.
276 (__gthr_win32_abs_to_rel_time): Declare.
277 (__gthread_recursive_mutex_init_function): Reimplement.
278 (__gthread_recursive_mutex_destroy): Likewise.
279 (__gthread_recursive_mutex_lock): Likewise.
280 (__gthread_recursive_mutex_trylock): Likewise.
281 (__gthread_recursive_mutex_unlock): Likewise.
282 (__gthread_cond_destroy): New inline function.
283 (__gthread_cond_wait_recursive): Likewise.
284 * config/i386/gthr-win32.c: Delete everything.
285 Include gthr-win32.h to get the out-of-line version of inline routines.
286 Add compile-time checks for the local version of the Win32 types.
287 * config/i386/gthr-win32-cond.c: New file.
288 * config/i386/gthr-win32-thread.c: Likewise.
289 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
290 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
291 the static version of libgcc.
292 * config/i386/t-slibgcc-mingw: New file.
293 * config/i386/libgcc-mingw.ver: Likewise.
294
5fb1e674
GA
2952022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
296
297 * unwind-dw2-fde.c: Initialize fde object lazily when
298 the first exception tries to pass through.
299
3002022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
301
302 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
303
e6110da4
GA
3042022-12-08 Max Filippov <jcmvbkbc@gmail.com>
305
306 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
307 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
308 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
309 (XSHAL_ABI): Remove stray symbols from macro definitions.
310
4bc2d9f6
GA
3112022-12-07 Max Filippov <jcmvbkbc@gmail.com>
312
313 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
314 xtensa-config-builtin.h.
315 * config/xtensa/crtn.S: Likewise.
316 * config/xtensa/lib1funcs.S: Likewise.
317 * config/xtensa/lib2funcs.S: Likewise.
318 * config/xtensa/xtensa-config-builtin.h: New File.
319
05788e9b
GA
3202022-11-04 Florian Weimer <fweimer@redhat.com>
321
322 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
323 values actually used by BFD ld.
324
00716b77
GA
3252022-10-23 LIU Hao <lh_mouse@126.com>
326
327 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
328 libobjc, instead of 'gthr.h'
329
87f9c4a4
GA
3302022-10-19 LIU Hao <lh_mouse@126.com>
331
332 * config.host: Add new cases for `mcf` thread model
333 * config/i386/gthr-mcf.h: New file
334 * config/i386/t-mingw-mcfgthread: New file
335 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
336 * configure: Regenerate
337
21de009f
GA
3382022-10-18 Jonathan Wakely <jwakely@redhat.com>
339
340 * Makefile.in: Quote variable.
341
6237663c
GA
3422022-10-17 H.J. Lu <hjl.tools@gmail.com>
343
344 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
345 argument.
346 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
347 _Unwind_Frames_Increment.
348 (_Unwind_ForcedUnwind_Phase2): Likewise.
349 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
350 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
351 return address on normal stack doesn't match the return address
352 on shadow stack.
353
3542022-10-17 Florian Weimer <fweimer@redhat.com>
355
356 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
357 and reduce its size.
358
baeec7cc
GA
3592022-10-14 Jakub Jelinek <jakub@redhat.com>
360
361 * config/i386/t-softfp (softfp_extensions): Add bfsf.
362 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
363 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
364 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
365 -msse2.
366 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
367 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
368 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
369 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
370 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
371 * soft-fp/brain.h: New file.
372 * soft-fp/truncsfbf2.c: New file.
373 * soft-fp/truncdfbf2.c: New file.
374 * soft-fp/truncxfbf2.c: New file.
375 * soft-fp/trunctfbf2.c: New file.
376 * soft-fp/trunchfbf2.c: New file.
377 * soft-fp/truncbfhf2.c: New file.
378 * soft-fp/extendbfsf2.c: New file.
379
781f477a
GA
3802022-10-12 Martin Liska <mliska@suse.cz>
381
382 * libgcov-driver.c: Use new function.
383 * libgcov.h (gcov_write_summary): Rename to ...
384 (gcov_write_object_summary): ... this.
385
ab332cd7
GA
3862022-10-11 Olivier Hainque <hainque@adacore.com>
387
388 * config.host (*vxworks*): When enable_shared, add
389 libgcc and crtstuff "shared" fragments for rtp except
390 large code model.
391 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
392 the list of fragments.
393
629d04d3
GA
3942022-10-06 Jakub Jelinek <jakub@redhat.com>
395
396 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
397 fs->regs.how[X] instead of fs->regs.reg[X].how.
398
3992022-10-06 Jakub Jelinek <jakub@redhat.com>
400
401 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
402 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
403 REG_UNDEFINED): New anonymous enum, moved from inside of
404 struct frame_state_reg_info.
405 (struct frame_state_reg_info): Remove reg[].how element and the
406 anonymous enum there. Add how element.
407 * unwind-dw2.c: Include stddef.h.
408 (uw_frame_state_for): Don't clear first
409 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
410 (execute_cfa_program, __frame_state_for, uw_update_context_1,
411 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
412 or fs.regs.how[X] instead of fs.regs.reg[X].how.
413 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
414 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
415 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
416 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
417 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
418 Likewise.
419 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
420 Likewise.
421 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
422 * config/arc/linux-unwind.h (arc_fallback_frame_state,
423 arc_frob_update_context): Likewise.
424 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
425 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
426 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
427 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
428 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
429 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
430 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
431 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
432 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
433 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
434 x86_fallback_frame_state): Likewise.
435 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
436 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
437 x86_fallback_frame_state): Likewise.
438 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
439 Likewise.
440 * config/i386/dragonfly-unwind.h
441 (x86_64_dragonfly_fallback_frame_state): Likewise.
442 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
443 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
444 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
445 Likewise.
446 * config/aarch64/freebsd-unwind.h
447 (aarch64_freebsd_fallback_frame_state): Likewise.
448 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
449 Likewise.
450 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
451 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
452 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
453 Likewise.
454 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
455 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
456 Likewise.
457 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
458 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
459 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
460 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
461
42231015
GA
4622022-10-02 Olivier Hainque <hainque@adacore.com>
463
464 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
465 -I options for gcc/include and gcc/include-fixed at the end
466 and make them -isystem.
467
4682022-10-02 Olivier Hainque <hainque@adacore.com>
469
470 * config/gthr-vxworks.h: Prevent Wpragma warning for the
471 pragma diagnostics on Wstrict-prototypes.
472
bbdcdf5c
GA
4732022-09-29 Olivier Hainque <hainque@adacore.com>
474
475 * config/vxcrtstuff.c: Improve the comment attached to the use
476 of auto-host.h and of __dso_handle. Remove redundant guard on
477 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
478
220c4d8e
GA
4792022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
480
481 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
482 for the non-fast-path case. Drop destructor priority.
483
279c6715
GA
4842022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
485
486 * unwind-dw2-fde.c: (release_register_frames) Remember
487 when the btree has been destroyed.
488 (__deregister_frame_info_bases) Disable the assert when
489 shutting down.
490
0990a778
GA
4912022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
492
493 * unwind-dw2-fde.c: Replace uintptr_t with typedef
494 for __UINTPTR_TYPE__.
495 * unwind-dw2-btree.h: Likewise.
496
7ee0fa10
GA
4972022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
498
499 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
500 (__register_frame_info_table_bases): Use btree in atomic fast path.
501 (__deregister_frame_info_bases): Likewise.
502 (_Unwind_Find_FDE): Likewise.
503 (base_from_object): Make parameter const.
504 (classify_object_over_fdes): Add query-only mode.
505 (get_pc_range): Compute PC range for lookup.
506 * unwind-dw2-fde.h (last_fde): Make parameter const.
507 * unwind-dw2-btree.h: New file.
508
542c60c4
GA
5092022-08-31 Martin Liska <mliska@suse.cz>
510
511 * config.host: Remove hppa.
512
3de9fb32
GA
5132022-08-30 Martin Liska <mliska@suse.cz>
514
515 * config.host: Remove the port.
516
16f542d6
GA
5172022-08-26 Martin Liska <mliska@suse.cz>
518
519 * config.host: Remove cr16 related stuff.
520 * config/cr16/crti.S: Removed.
521 * config/cr16/crtlibid.S: Removed.
522 * config/cr16/crtn.S: Removed.
523 * config/cr16/divmodhi3.c: Removed.
524 * config/cr16/lib1funcs.S: Removed.
525 * config/cr16/t-cr16: Removed.
526 * config/cr16/t-crtlibid: Removed.
527 * config/cr16/unwind-cr16.c: Removed.
528 * config/cr16/unwind-dw2.h: Removed.
529
47a61e65
GA
5302022-08-16 Kito Cheng <kito.cheng@sifive.com>
531
532 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
533 (_FP_NANFRAC_H): Ditto.
534 (_FP_NANSIGN_H): Ditto.
535 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
536 routines.
537 (softfp_truncations): Ditto.
538 (softfp_extras): Ditto.
539 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
540
5412022-08-16 Kito Cheng <kito.cheng@sifive.com>
542
543 * soft-fp/fixhfdi.c: New.
544 * soft-fp/fixhfsi.c: Likewise.
545 * soft-fp/fixunshfdi.c: Likewise.
546 * soft-fp/fixunshfsi.c: Likewise.
547 * soft-fp/floatdihf.c: Likewise.
548 * soft-fp/floatsihf.c: Likewise.
549 * soft-fp/floatundihf.c: Likewise.
550 * soft-fp/floatunsihf.c: Likewise.
551 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
552 lines and update URL for license.
553 * soft-fp/addsf3.c: Likewise.
554 * soft-fp/addtf3.c: Likewise.
555 * soft-fp/divdf3.c: Likewise.
556 * soft-fp/divsf3.c: Likewise.
557 * soft-fp/divtf3.c: Likewise.
558 * soft-fp/double.h: Likewise.
559 * soft-fp/eqdf2.c: Likewise.
560 * soft-fp/eqhf2.c: Likewise.
561 * soft-fp/eqsf2.c: Likewise.
562 * soft-fp/eqtf2.c: Likewise.
563 * soft-fp/extenddftf2.c: Likewise.
564 * soft-fp/extended.h: Likewise.
565 * soft-fp/extendhfdf2.c: Likewise.
566 * soft-fp/extendhfsf2.c: Likewise.
567 * soft-fp/extendhftf2.c: Likewise.
568 * soft-fp/extendhfxf2.c: Likewise.
569 * soft-fp/extendsfdf2.c: Likewise.
570 * soft-fp/extendsftf2.c: Likewise.
571 * soft-fp/extendxftf2.c: Likewise.
572 * soft-fp/fixdfdi.c: Likewise.
573 * soft-fp/fixdfsi.c: Likewise.
574 * soft-fp/fixdfti.c: Likewise.
575 * soft-fp/fixhfti.c: Likewise.
576 * soft-fp/fixsfdi.c: Likewise.
577 * soft-fp/fixsfsi.c: Likewise.
578 * soft-fp/fixsfti.c: Likewise.
579 * soft-fp/fixtfdi.c: Likewise.
580 * soft-fp/fixtfsi.c: Likewise.
581 * soft-fp/fixtfti.c: Likewise.
582 * soft-fp/fixunsdfdi.c: Likewise.
583 * soft-fp/fixunsdfsi.c: Likewise.
584 * soft-fp/fixunsdfti.c: Likewise.
585 * soft-fp/fixunshfti.c: Likewise.
586 * soft-fp/fixunssfdi.c: Likewise.
587 * soft-fp/fixunssfsi.c: Likewise.
588 * soft-fp/fixunssfti.c: Likewise.
589 * soft-fp/fixunstfdi.c: Likewise.
590 * soft-fp/fixunstfsi.c: Likewise.
591 * soft-fp/fixunstfti.c: Likewise.
592 * soft-fp/floatdidf.c: Likewise.
593 * soft-fp/floatdisf.c: Likewise.
594 * soft-fp/floatditf.c: Likewise.
595 * soft-fp/floatsidf.c: Likewise.
596 * soft-fp/floatsisf.c: Likewise.
597 * soft-fp/floatsitf.c: Likewise.
598 * soft-fp/floattidf.c: Likewise.
599 * soft-fp/floattihf.c: Likewise.
600 * soft-fp/floattisf.c: Likewise.
601 * soft-fp/floattitf.c: Likewise.
602 * soft-fp/floatundidf.c: Likewise.
603 * soft-fp/floatundisf.c: Likewise.
604 * soft-fp/floatunditf.c: Likewise.
605 * soft-fp/floatunsidf.c: Likewise.
606 * soft-fp/floatunsisf.c: Likewise.
607 * soft-fp/floatunsitf.c: Likewise.
608 * soft-fp/floatuntidf.c: Likewise.
609 * soft-fp/floatuntihf.c: Likewise.
610 * soft-fp/floatuntisf.c: Likewise.
611 * soft-fp/floatuntitf.c: Likewise.
612 * soft-fp/gedf2.c: Likewise.
613 * soft-fp/gesf2.c: Likewise.
614 * soft-fp/getf2.c: Likewise.
615 * soft-fp/half.h: Likewise.
616 * soft-fp/ledf2.c: Likewise.
617 * soft-fp/lesf2.c: Likewise.
618 * soft-fp/letf2.c: Likewise.
619 * soft-fp/muldf3.c: Likewise.
620 * soft-fp/mulsf3.c: Likewise.
621 * soft-fp/multf3.c: Likewise.
622 * soft-fp/negdf2.c: Likewise.
623 * soft-fp/negsf2.c: Likewise.
624 * soft-fp/negtf2.c: Likewise.
625 * soft-fp/op-1.h: Likewise.
626 * soft-fp/op-2.h: Likewise.
627 * soft-fp/op-4.h: Likewise.
628 * soft-fp/op-8.h: Likewise.
629 * soft-fp/op-common.h: Likewise.
630 * soft-fp/quad.h: Likewise.
631 * soft-fp/single.h: Likewise.
632 * soft-fp/soft-fp.h: Likewise.
633 * soft-fp/subdf3.c: Likewise.
634 * soft-fp/subsf3.c: Likewise.
635 * soft-fp/subtf3.c: Likewise.
636 * soft-fp/truncdfhf2.c: Likewise.
637 * soft-fp/truncdfsf2.c: Likewise.
638 * soft-fp/truncsfhf2.c: Likewise.
639 * soft-fp/trunctfdf2.c: Likewise.
640 * soft-fp/trunctfhf2.c: Likewise.
641 * soft-fp/trunctfsf2.c: Likewise.
642 * soft-fp/trunctfxf2.c: Likewise.
643 * soft-fp/truncxfhf2.c: Likewise.
644 * soft-fp/unorddf2.c: Likewise.
645 * soft-fp/unordsf2.c: Likewise.
646 * soft-fp/unordtf2.c: Likewise.
647
79fb1124
GA
6482022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
649
650 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
651 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
652 configurations.
653
87509781
GA
6542022-06-25 Jeff Law <jeffreyalaw@gmail.com>
655
656 * config.host: Removed tilegx and tilepro entries.
657 * config/tilegx/sfp-machine.h: Removed.
658 * config/tilegx/sfp-machine32.h: Removed.
659 * config/tilegx/sfp-machine64.h: Removed.
660 * config/tilegx/t-crtstuff: Removed.
661 * config/tilegx/t-softfp: Removed.
662 * config/tilegx/t-tilegx: Removed.
663 * config/tilepro/atomic.c: Removed.
664 * config/tilepro/atomic.h: Removed.
665 * config/tilepro/linux-unwind.h: Removed.
666 * config/tilepro/sfp-machine.h: Removed.
667 * config/tilepro/softdivide.c: Removed.
668 * config/tilepro/softmpy.S: Removed.
669 * config/tilepro/t-crtstuff: Removed.
670 * config/tilepro/t-tilepro: Removed.
671
e3bba42f
GA
6722022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
673
674 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
675 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
676
3164de6a
GA
6772022-06-01 H.J. Lu <hjl.tools@gmail.com>
678
679 PR libgcc/27576
680 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
681
3dff965c
GA
6822022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
683
684 PR libgcc/105708
685 * config/aarch64/lse-init.c: Increase constructor priority.
686
6872022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
688
689 PR target/104689
690 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
691 Handle the !REG_UNSAVED case.
692 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
693
57f2ce6a
GA
6942022-05-20 Christophe Lyon <christophe.lyon@arm.com>
695
696 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
697 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
698 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
699
7002022-05-20 Christophe Lyon <christophe.lyon@arm.com>
701
702 * config.host: Add t-dfprules to AArch64 targets.
703
7042022-05-20 Christophe Lyon <christophe.lyon@arm.com>
705
706 * configure: Regenerate.
707
9df4ffe4
GA
7082022-05-13 Sebastian Pop <spop@amazon.com>
709
710 PR target/105162
711 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
712 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
713
e8778989
GA
7142022-05-10 Martin Liska <mliska@suse.cz>
715 Hans-Peter Helfert <peter-helfert@t-online.de>
716
717 PR gcov-profile/105535
718 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
719 n_functions.
720
6259d8aa
GA
7212022-05-02 Martin Liska <mliska@suse.cz>
722
723 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
724
6b6f53d8
GA
7252022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
726
727 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
728 (gcov_profile_merge_stream): Likewise.
729
7302022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
731
732 * libgcov-util.c (consume_stream): New.
733 (get_target_profiles_for_merge): Likewise.
734 (gcov_profile_merge_stream): Likewise.
735
7362022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
737
738 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
739
7402022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
741
742 * libgcov-util.c (read_gcda_file): Do not open file.
743 (ftw_read_file): Open file here.
744
7452022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
746
747 * libgcov-util.c (read_gcda_file): Prepend new info object to global
748 list.
749 (ftw_read_file): Remove list append here.
750
7512022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
752
753 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
754 (ftw_read_file): Duplicate filename for read_gcda_file().
755
7562022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
757
758 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
759 (__gcov_filename_to_gcfn): Declare and document.
760 * libgcov-driver.c (dump_string): New.
761 (__gcov_filename_to_gcfn): Likewise.
762 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
763
7642022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
765
766 * libgcov.h (gcov_seek): Remove define and declaration.
767
7682022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
769
770 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
771 parameter. Pass mode to gcov_open() calls.
772 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
773 gcov_exit_open_gcda_file() call.
774 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
775 calls.
776 (__gcov_dump_one): Open file for reading and writing.
777
7782022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
779
780 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
781 reading and writing.
782 * libgcov-util.c (read_gcda_file): Open file for reading.
783 * libgcov.h (gcov_open): Delete declaration.
784
7852022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
786
787 * libgcov-util.c (gcov_profile_merge): Return the list of merged
788 profiles. Accept empty target and source profile lists.
789
405eda0d
GA
7902022-04-08 Sergei Trofimovich <siarheit@google.com>
791
792 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
793
9f774626
GA
7942022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
795 Lulu Cheng <chenglulu@loongson.cn>
796
797 * configure: Regenerate file.
798
7992022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
800 Lulu Cheng <chenglulu@loongson.cn>
801
802 * config/loongarch/crtfastmath.c: New file.
803 * config/loongarch/linux-unwind.h: Like wise.
804 * config/loongarch/sfp-machine.h: Like wise.
805 * config/loongarch/t-crtstuff: Like wise.
806 * config/loongarch/t-loongarch: Like wise.
807 * config/loongarch/t-loongarch64: Like wise.
808 * config/loongarch/t-softfp-tf: Like wise.
809 * config.host: Add LoongArch tuples.
810 * configure.ac: Add LoongArch support.
811
d7f00da1
GA
8122022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
813
814 PR libgcc/86224
815 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
816 for __mulsi3.
817 (__udivsi3_internal, __divsi3_internal): Similarly.
818 (__umodsi3, __modsi3): Use the internal function names.
819
8cc4f9cd
GA
8202022-03-09 Tobias Burnus <tobias@codesourcery.com>
821
822 PR target/102215
823 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
824 a line up to non-arg-dependent value first.
825 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
826 __atomic_compare_exchange_{1,2}.
827
8d96e14c
GA
8282022-03-04 Iain Sandoe <iain@sandoe.co.uk>
829
830 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
831 * config/t-darwin-ehs: Add dependency on unwind.h.
832
756a6185
GA
8332022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
834
835 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
836 with 0 instead of NULL.
837
8382022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
839
840 PR target/104656
841 * configure.ac: --disable-gcov if targetting bpf-*.
842 * configure: Regenerate.
843
e0b8716f
GA
8442022-01-25 Florian Weimer <fweimer@redhat.com>
845
846 PR libgcc/104207
847 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
848
fc829782
GA
8492022-01-17 Martin Liska <mliska@suse.cz>
850
851 * libgcov-driver.c: Rename .c names to .cc.
852
9248ee41
GA
8532022-01-15 David <gccbugzilla@limegreensocks.com>
854
855 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
856 Remove inlined version, Windows 95 is no longer relevant.
857 * config/i386/gthr-win32.h
858 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
859
617db51d
GA
8602022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
861
862 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
863 DWARF_ALT_FRAME_RETURN_COLUMN macro.
864
7d11b64b
GA
8652022-01-04 Florian Weimer <fweimer@redhat.com>
866
867 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
868 if available.
869
5da23a13
GA
8702022-01-02 John David Anglin <danglin@gcc.gnu.org>
871
872 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
873 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
874 return is not equal _ASM_EFAULT.
875 (__kernel_cmpxchg2): Likewise.
876
2554e2da
GA
8772021-12-17 Iain Sandoe <iain@sandoe.co.uk>
878
879 * config.host: Add shim declaration header to powerpc*-darwin builds.
880 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
881 file.
882 * config/t-darwin-ehs: Add dependencies to the shared unwinder
883 objects.
884 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
885 the shared EH lib. Add all-multi to the dependencies for the
886 libgcc_s.1.dylib redirections.
887
7f1239cb
GA
8882021-12-13 Olivier Hainque <hainque@adacore.com>
889
890 * config.host (powerpc*-*-vxworks7*): Remove
891 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
892
8932021-12-13 Olivier Hainque <hainque@adacore.com>
894
895 * config.host (*vxworks*): Remove special case for
896 arm on the use of vxcrtstuff.
897
8982021-12-13 Fred Konrad <konrad@adacore.com>
899 Olivier Hainque <hainque@adacore.com>
900
901 * config/t-vxcrtstuffS: New Makefile fragment.
902 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
903 functions for INITFINI_ARRAY support in shared libs and guard
904 the definition of eh table registration functions on conditions
905 indicating they are needed.
906
9072021-12-13 Olivier Hainque <hainque@adacore.com>
908
909 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
910 ahead of the other files in tmake_files.
911 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
912 overriding it.
913
9142021-12-13 Olivier Hainque <hainque@adacore.com>
915
916 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
917 both VxWorks7 and earlier.
918 * config/t-vxworks7: Remove.
919 * config.host: Remove special case for vxworks7.
920
e8decbe7
GA
9212021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
922
923 * config/vxcrtstuff.c: Make constructor and destructor
924 functions static when possible.
925
9262021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
927
928 * config/vxcrtstuff.c: Remove constructor/destructor
929 declarations.
930
0bceef16
GA
9312021-12-10 Iain Sandoe <iain@sandoe.co.uk>
932
933 * config/t-darwin: Add libgcc_tm.h to the dependencies
934 for darwin10-unwind-find-enc-func.
935
9362021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
937
938 * config/rs6000/t-vxworks: New file.
939 * config.host (powerpc*-*-vxworks*): Use it instead of
940 t-ppccomm.
941
4b4839e3
GA
9422021-12-09 Fred Konrad <konrad@adacore.com>
943
944 * config.host (powerpc*-wrs-vxworks7*): Fix path to
945 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
946
9472021-12-09 Olivier Hainque <hainque@adacore.com>
948 Rasmus Villemoes <rv@rasmusvillemoes.dk>
949
950 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
951 $(LIBGCC2_INCLUDES).
952 * config/t-vxworks7: Likewise.
953
641ff219
GA
9542021-12-08 Iain Sandoe <iain@sandoe.co.uk>
955
956 * config.host (*-*-darwin*): Add logic to build a shared
957 unwinder library for Darwin8-10.
958 * config/i386/t-darwin: Build legacy libgcc_s.1.
959 * config/rs6000/t-darwin: Likewise.
960 * config/t-darwin: Reorganise the EH fragments to place
961 them for inclusion in a shared EH lib.
962 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
963 the supporting pieces (all FAT libs).
964 * config/t-darwin-noeh: Removed.
965 * config/darwin-unwind.ver: New file.
966 * config/rs6000/t-darwin-ehs: New file.
967 * config/t-darwin-ehs: New file.
968
3a580f96
GA
9692021-12-06 Nelson Chu <nelson.chu@sifive.com>
970
971 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
972 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
973 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
974 HIDDEN_DEF.
975
c177e806
GA
9762021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
977
978 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
979 ssize_t and vfork after including auto-host.h.
980
87cd82c8
GA
9812021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
982
983 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
984 crtend.o to extra_parts.
985
d62c8c74
GA
9862021-11-27 John David Anglin <danglin@gcc.gnu.org>
987
988 * config/pa/t-dimode (lib2difuncs): Fix typo.
989
091ccc06
GA
9902021-11-25 Florian Weimer <fweimer@redhat.com>
991
992 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
993 Remove func, ret.
994 (find_fde_tail): New function. Split from
995 _Unwind_IteratePhdrCallback. Move the result initialization
996 from _Unwind_Find_FDE.
997 (_Unwind_Find_FDE): Updated to call find_fde_tail.
998
06be28f6
GA
9992021-11-22 Florian Weimer <fweimer@redhat.com>
1000
1001 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1002 (struct unw_eh_callback_data): Make dbase member conditional.
1003 (unw_eh_callback_data_dbase): New function.
1004 (base_from_cb_data): Simplify for the non-dbase case.
1005 (_Unwind_IteratePhdrCallback): Adjust.
1006 (_Unwind_Find_FDE): Likewise.
1007
10082021-11-22 Florian Weimer <fweimer@redhat.com>
1009
1010 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1011 tbase member.
1012 (base_from_cb_data): Adjust.
1013 (_Unwind_IteratePhdrCallback): Likewise.
1014 (_Unwind_Find_FDE): Likewise.
1015
9c077398
GA
10162021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1017
1018 * config.host: Add weak emutls crt to the extra_parts.
1019 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1020 workaround.
1021 * config/libgcc-libsystem.ver: Add exclude list for the system-
1022 provided unwinder.
1023 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1024 * config/i386/libgcc-darwin.10.4.ver: Removed.
1025 * config/i386/libgcc-darwin.10.5.ver: Removed.
1026 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1027 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1028 * config/t-darwin-noeh: New file.
1029
10302021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1031
1032 * config/t-darwin: Build weak-defined emutls objects.
1033 * emutls.c (__emutls_get_address): Add optional attributes.
1034 (__emutls_register_common): Likewise.
1035 (EMUTLS_ATTR): New.
1036
b39265d4
GA
10372021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1038
1039 PR libgcc/103044
1040 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1041 called with a null argument or at the end of the backtrace and return.
1042 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1043
8d36a0d2
GA
10442021-11-10 Jakub Jelinek <jakub@redhat.com>
1045
1046 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1047 formatting fix.
1048
851dff04
GA
10492021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1050
1051 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1052 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1053
10542021-11-05 John David Anglin <danglin@gcc.gnu.org>
1055
1056 PR libgomp/96661
1057 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1058 (hppa*64*-*-hpux11*): Likewise.
1059 * config/pa/sfp-exceptions.c: New.
1060 * config/pa/sfp-machine.h: New.
1061 * config/pa/t-dimode: New.
1062 * config/pa/t-softfp-sfdftf: New.
1063
04a2cf3f
GA
10642021-10-27 John David Anglin <danglin@gcc.gnu.org>
1065
1066 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1067 tmake_file.
1068 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1069 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1070 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1071 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1072 (LIB1ASMFUNCS): Revise.
1073 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1074
c2bd5d8a
GA
10752021-10-22 Stafford Horne <shorne@gmail.com>
1076
1077 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1078 Change to 0.
1079
5d5885c9
GA
10802021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1081
1082 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1083 outside of get_regs() in order to use it in another function, this
1084 is done twice: for __powerpc64__ and for !__powerpc64__.
1085 (struct trace_arg): New struct.
1086 (struct layout): New struct.
1087 (ppc_backchain_fallback): New function.
1088 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1089 state and call MD_BACKCHAIN_FALLBACK.
1090
9eb28a0f
GA
10912021-10-13 Martin Liska <mliska@suse.cz>
1092
1093 PR gcov-profile/90364
1094 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1095 checksums.
1096 (write_one_data): Write also checksum.
1097 * libgcov-util.c (read_gcda_file): Read also checksum field.
1098 * libgcov.h (struct gcov_info): Add new field.
1099
ce6eec39
GA
11002021-10-08 Ian Lance Taylor <iant@golang.org>
1101
1102 * config/i386/morestack.S: Use .init_array for constructor if
1103 available.
1104 * config/rs6000/morestack.S: Likewise.
1105 * config/s390/morestack.S: Likewise.
1106
154fd089
GA
11072021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1108
1109 PR target/101104
1110 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1111 Use more correct values for native IBM 128-bit.
1112
fd133479
GA
11132021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1114
1115 * config/i386/libgcc-darwin.ver: Add Symbols for
1116 __cpu_model, __cpu_indicator_init.
1117
e4777439
GA
11182021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1119
1120 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1121 using __APPLE__.
1122
34fac9ef
GA
11232021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1124
1125 * config/t-slibgcc-darwin: Delete unused code.
1126
11272021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1128
1129 * config/i386/t-darwin: Add in a vers file for X86-specific
1130 symbols.
1131 * config/t-darwin: Add the generic symbol maps here...
1132 * config/t-slibgcc-darwin: ... removing from here.
1133 * config/i386/libgcc-darwin.ver: New file.
1134
11352021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1136
1137 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1138 and __mulhc3.
1139
11402021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1141
1142 * config.host: Use convenience library for Darwin10
1143 unwinder shim.
1144 * config/t-darwin: Build Darwin10 unwinder shim as a
1145 convenience library.
1146
07985c47
GA
11472021-09-13 Andrew Pinski <apinski@marvell.com>
1148
1149 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1150 * config/m32r/libgcc-glibc.ver: Removed.
1151 * config/m32r/t-linux: Removed.
1152
b6db7cd4
GA
11532021-09-08 liuhongt <hongtao.liu@intel.com>
1154
1155 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1156 libgcc_s.so.1.
1157
11582021-09-08 Jakub Jelinek <jakub@redhat.com>
1159 Iain Sandoe <iain@sandoe.co.uk>
1160
1161 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1162 and export *hf* and *hc* functions at GCC_12.0.0.
1163
9f99555f
GA
11642021-09-06 liuhongt <hongtao.liu@intel.com>
1165
1166 * Makefile.in: Adjust to support specific CFLAGS for each
1167 libgcc source file.
1168 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1169 related libgcc source files.
1170 * config/i386/t-softfp: Ditto.
1171 * config/i386/_divhc3.c: New file.
1172 * config/i386/_mulhc3.c: New file.
1173
7b739540
GA
11742021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1175
1176 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1177 alias_DFtype, alias_TFtype): New.
1178 (ALIAS_SELECTOR): New.
1179 (strong_alias): Use __typeof and a _Generic selector to
1180 provide the type to the synthesized function.
1181
9f7c2bad
GA
11822021-09-02 liuhongt <hongtao.liu@intel.com>
1183
1184 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1185 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1186 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1187 * config/i386/t-softfp: Add hf soft-fp.
1188 * config.host: Add i386/64/t-softfp.
1189 * config/i386/64/t-softfp: New file.
1190
11912021-09-02 liuhongt <hongtao.liu@intel.com>
1192
1193 * soft-fp/eqhf2.c: New file.
1194 * soft-fp/extendhfdf2.c: New file.
1195 * soft-fp/extendhfsf2.c: New file.
1196 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1197 * soft-fp/truncdfhf2.c: New file
1198 * soft-fp/truncsfhf2.c: New file
1199
e11c6046
GA
12002021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1201
1202 * unwind-arm-common.inc (abort): Remove.
1203
6d51ee43
GA
12042021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1205
1206 * config/aarch64/value-unwind.h: Add missing runtime exception
1207 paragraph.
1208 * config/frv/frv-abi.h: Likewise.
1209 * config/i386/value-unwind.h: Likewise.
1210 * config/pa/pa64-hpux-lib.h: Likewise.
1211
ccc19145
GA
12122021-08-26 David Edelsohn <dje.gcc@gmail.com>
1213
1214 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1215 __gcc_qadd.
1216 (__gcc_qadd): Call ldouble_qadd_internal.
1217 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1218 argument negated.
1219
12202021-08-26 Jonathan Yong <10walls@gmail.com>
1221
1222 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1223 and register_frame_dtor warnings.
1224
05ace294
GA
12252021-08-24 Richard Earnshaw <rearnsha@arm.com>
1226
1227 PR target/102035
1228 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1229 Add vlldm erratum work-around.
1230
4be4fa4e
GA
12312021-08-21 John David Anglin <danglin@gcc.gnu.org>
1232
1233 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1234
9d1d9fc8
GA
12352021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1236
1237 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1238 (gcov_type_unsigned): Likewise.
1239
7dd8f198
GA
12402021-08-14 Stafford Horne <shorne@gmail.com>
1241
1242 PR target/99783
1243 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1244 * config/or1k/t-crtstuff: New file.
1245
f92f4778
GA
12462021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1247
1248 * libgcov-driver.c (#include <stdint.h>): Remove.
1249 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1250
12512021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1252
1253 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1254 * gcov.h (gcov_info): Declare.
1255 (__gcov_info_to_gdca): Likewise.
1256 * libgcov.h (gcov_write_counter): Remove.
1257 (gcov_write_tag_length): Likewise.
1258 * libgcov-driver.c (#include <stdint.h>): New.
1259 (#include <string.h>): Remove.
1260 (NEED_L_GCOV): Conditionally define.
1261 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1262 (are_all_counters_zero): New.
1263 (gcov_dump_handler): Likewise.
1264 (gcov_allocate_handler): Likewise.
1265 (dump_unsigned): Likewise.
1266 (dump_counter): Likewise.
1267 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1268 Use dump_unsigned() and dump_counter().
1269 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1270 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1271 (__gcov_info_to_gcda): New.
1272
8ebf4fb5
GA
12732021-08-05 Jakub Jelinek <jakub@redhat.com>
1274
1275 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1276 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1277 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1278 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1279
2697f832
GA
12802021-08-04 Jakub Jelinek <jakub@redhat.com>
1281
1282 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1283
d97d71a1
GA
12842021-07-15 Alan Modra <amodra@gmail.com>
1285
1286 * config/rs6000/morestack.S (R2_SAVE): Define.
1287 (__morestack): Save and restore r2. Set up r2 for called
1288 functions.
1289
bea7c16a
GA
12902021-07-01 H.J. Lu <hjl.tools@gmail.com>
1291
1292 * soft-fp/extendhfxf2.c: New file.
1293 * soft-fp/truncxfhf2.c: Likewise.
1294
6bc18203
GA
12952021-06-29 Julian Brown <julian@codesourcery.com>
1296
1297 * config/gcn/lib2-bswapti2.c: New file.
1298 * config/gcn/lib2-divmod-di.c: New file.
1299 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1300 typedefs.
1301 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1302 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1303 lib2-bswapti2.c.
1304
13052021-06-29 Julian Brown <julian@codesourcery.com>
1306
1307 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1308 return types to USItype.
1309 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1310
fcf617f0
GA
13112021-06-23 Kewen Lin <linkw@linux.ibm.com>
1312
1313 * configure: Regenerate.
1314 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1315 typos among the name, CFLAGS and the test.
1316 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1317 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1318 Remove.
1319 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1320 macro FLOAT128_HW_INSNS_ISA3_1.
1321 (FP128_3_1_CFLAGS_HW): Fix option typo.
1322 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1323 FLOAT128_HW_INSNS_ISA3_1.
1324 (__floattikf_resolve): Likewise.
1325 (__floatuntikf_resolve): Likewise.
1326 (__fixkfti_resolve): Likewise.
1327 (__fixunskfti_resolve): Likewise.
1328 (__floattikf): Likewise.
1329 (__floatuntikf): Likewise.
1330 (__fixkfti): Likewise.
1331 (__fixunskfti): Likewise.
1332
f16f65f8
GA
13332021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1334
1335 PR target/99939
1336 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1337 macro.
1338 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1339 on passing -mcmse option.
1340
43c35d0d
GA
13412021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1342
1343 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1344 _ARCH_PPC64 .
1345
4f625f47
GA
13462021-06-09 Carl Love <cel@us.ibm.com>
1347
1348 * config.host: Add if test and set for
1349 libgcc_cv_powerpc_3_1_float128_hw.
1350 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1351 Change calls of __fixkfti to __fixkfti_sw.
1352 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1353 Change calls of __fixunskfti to __fixunskfti_sw.
1354 * config/rs6000/float128-p10.c (__floattikf_hw,
1355 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1356 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1357 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1358 __fixunskfti_resolve): Add resolve functions.
1359 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1360 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1361 __fixtfti, __fixunstfti): Add editor commands to change names.
1362 * config/rs6000/float128-sed-hw (__floattitf,
1363 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1364 change names.
1365 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1366 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1367 * config/rs6000/quad-float128.h (__floattikf_sw,
1368 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1369 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1370 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1371 * config/rs6000/t-float128 (floattikf, floatuntikf,
1372 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1373 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1374 file names to fp128_ppc_funcs.
1375 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1376 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1377 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1378 * config/rs6000/t-float128-p10-hw: New file.
1379 * configure: Update script for isa 3.1 128-bit float support.
1380 * configure.ac: Add check for 128-bit float hardware support.
1381 * config/rs6000/fixkfti-sw.c: New file.
1382 * config/rs6000/fixunskfti-sw.c: New file.
1383 * config/rs6000/floattikf-sw.c: New file.
1384 * config/rs6000/floatuntikf-sw.c: New file.
1385
f9af11c7
GA
13862021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1387
1388 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1389
4d0385df 13902021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1391
1392 * libgcov-driver.c: Fix GNU coding style.
1393
aa891c56
GA
13942021-05-10 Martin Liska <mliska@suse.cz>
1395
1396 * libgcov-driver.c (gcov_version): Use different name that does
1397 not clash with newly introduced macro.
1398
3c8e539d
GA
13992021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1400
1401 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1402 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1403 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1404
e4ff4ffb
GA
14052021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1406
1407 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1408 Define.
1409 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1410 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1411 Define.
1412 (__divkc3): Improve complex divide.
1413
05ec629f
GA
14142021-04-23 Michael Meissner <meissner@linux.ibm.com>
1415
1416 PR target/98952
1417 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1418 trampoline size comparison in 32-bit by reversing test and
1419 combining load immediate with compare.
1420 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1421 in 32-bit by reversing test and combining load immediate with
1422 compare.
1423
b1da9916
GA
14242021-04-05 Florian Weimer <fweimer@redhat.com>
1425 Michael Meissner <meissner@linux.ibm.com>
1426
1427 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1428 point functions for $(decimal_float) only.
1429
c0756c4e
GA
14302021-04-03 Jakub Jelinek <jakub@redhat.com>
1431
1432 PR target/97653
1433 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1434 $(objext) instead of $(object). Use _floatunditf instead of
1435 _floatunsditf. Add tf <-> ti conversion objects.
1436 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1437
65374af2
GA
14382021-03-29 Michael Meissner <meissner@linux.ibm.com>
1439
1440 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1441 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1442 (fp128_decstr_objs): Delete.
1443 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1444 _Float128 to a Decimal type. Call __strtoieee128 to do
1445 conversions from a Decimal type to _Float128.
1446 * config/rs6000/_sprintfkf.c: Delete file.
1447 * config/rs6000/_sprintfkf.h: Delete file.
1448 * config/rs6000/_strtokf.c: Delete file.
1449 * config/rs6000/_strtokf.h: Delete file.
1450
bf1f3168
GA
14512021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1452
1453 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1454 to __BYTE_ORDER__.
1455
0ad6a2e2
GA
14562021-03-06 Jakub Jelinek <jakub@redhat.com>
1457
1458 PR gcov-profile/99406
1459 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1460 defined, define these macros if not defined already.
1461
67f10d28
GA
14622021-03-04 Martin Liska <mliska@suse.cz>
1463
1464 PR gcov-profile/99105
1465 * libgcov-driver.c (write_top_counters): Rename to ...
1466 (write_topn_counters): ... this.
1467 (write_one_data): Pre-allocate buffer for number of items
1468 in the corresponding linked lists.
1469 * libgcov.h (malloc_mmap): New function.
1470 (allocate_gcov_kvp): Use it.
1471
14722021-03-04 Martin Liska <mliska@suse.cz>
1473
1474 PR gcov-profile/99385
1475 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1476
f3641ac7
GA
14772021-03-03 Martin Liska <mliska@suse.cz>
1478
1479 PR gcov-profile/97461
1480 * config.in: Regenerate.
1481 * configure: Likewise.
1482 * configure.ac: Check sys/mman.h header file
1483 * libgcov-driver.c (struct gcov_kvp): Remove static
1484 pre-allocated pool and use a dynamic one.
1485 * libgcov.h (MMAP_CHUNK_SIZE): New.
1486 (gcov_counter_add): Use mmap to allocate pool for struct
1487 gcov_kvp.
1488
d97a92dc
GA
14892021-03-02 Michael Meissner <meissner@linux.ibm.com>
1490
1491 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1492 the function.
1493 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1494
4028d01a
GA
14952021-02-24 Jakub Jelinek <jakub@redhat.com>
1496
1497 PR libgcc/99236
1498 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1499 negation of m in unsigned type.
1500
15012021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1502 Hau Hsu <hsuhau617@gmail.com>
1503
1504 PR target/99157
1505 * config/arm/t-arm: Fix cmse support detection.
1506
2f5765cf
GA
15072021-02-22 Michael Meissner <meissner@linux.ibm.com>
1508
1509 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1510
15112021-02-22 Michael Meissner <meissner@linux.ibm.com>
1512
1513 * config/rs6000/_dd_to_kf.c: New file.
1514 * config/rs6000/_kf_to_dd.c: New file.
1515 * config/rs6000/_kf_to_sd.c: New file.
1516 * config/rs6000/_kf_to_td.c: New file.
1517 * config/rs6000/_sd_to_kf.c: New file.
1518 * config/rs6000/_sprintfkf.c: New file.
1519 * config/rs6000/_sprintfkf.h: New file.
1520 * config/rs6000/_strtokf.h: New file.
1521 * config/rs6000/_strtokf.c: New file.
1522 * config/rs6000/_td_to_kf.c: New file.
1523 * config/rs6000/quad-float128.h: Add new declarations.
1524 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1525 (fp128_decstr_funcs): New macro.
1526 (ibm128_dec_funcs): New macro.
1527 (fp128_ppc_funcs): Add the new conversions.
1528 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1529 compiled with -mabi=ieeelongdouble.
1530 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1531 compiled with -mabi=ibmlongdouble.
1532 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1533 compiled with -mabi=ieeelongdouble.
1534 (FP128_CFLAGS_DECIMAL): New macro.
1535 (IBM128_CFLAGS_DECIMAL): New macro.
1536 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1537 (BFP_TO_DFP): Add PowerPC _Float128 support.
1538 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1539 IEEE 128-bit floating point.
1540 (DFP_TO_BFP): Add PowerPC _Float128 support.
1541 (BFP_TO_DFP): Add PowerPC _Float128 support.
1542 (BFP_SPRINTF): New macro.
1543
aa69f0a8
GA
15442021-01-27 Jakub Jelinek <jakub@redhat.com>
1545
1546 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1547 * config/i386/savms64f.h: Likewise.
1548 * config/i386/resms64.h: Likewise.
1549 * config/i386/resms64f.h: Likewise.
1550 * config/i386/resms64x.h: Likewise.
1551 * config/i386/resms64fx.h: Likewise.
1552
e62bb7f0
GA
15532021-01-26 Martin Liska <mliska@suse.cz>
1554
1555 PR gcov-profile/98739
1556 * libgcov.h (gcov_topn_add_value): Do not train when
1557 we have a merged profile with a negative number of total
1558 value.
1559
161e4c08
GA
15602021-01-25 Martin Liska <mliska@suse.cz>
1561
1562 PR gcov-profile/98739
1563 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1564 ends with a dropped counter.
1565 * libgcov.h (gcov_topn_add_value): Add return value.
1566
be0851b8
GA
15672021-01-13 Stafford Horne <shorne@gmail.com>
1568
1569 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1570 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1571 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1572 FP_EX_ALL): New constant macros.
1573 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1574 FP_HANDLE_EXCEPTIONS): New macros.
1575 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1576
15772021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1578
1579 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1580 posix siginfo case to struct handler_args. Detect between legacy
1581 and siginfo from the second parameter, which is a small sigcode in
1582 the legacy case, and a pointer in the siginfo case.
1583
108beb75
GA
15842020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1585
1586 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1587 functions.
1588 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1589 _bswapdi2.
1590
f6e8e279
GA
15912020-12-08 Ian Lance Taylor <iant@golang.org>
1592
1593 * generic-morestack-thread.c (free_segments): Block signals during
1594 thread exit.
1595
b8dd0ef7
GA
15962020-12-03 Michael Meissner <meissner@linux.ibm.com>
1597
1598 PR libgcc/97543
1599 PR libgcc/97643
1600 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1601 (IBM128_SHARED_OBJS): New make variable.
1602 (IBM128_OBJS): New make variable. Set all objects to use the
1603 explicit IBM format, and disable gnu attributes.
1604 (IBM128_CFLAGS): New make variable.
1605 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1606 modules.
1607
16082020-12-03 Alexandre Oliva <oliva@adacore.com>
1609
1610 * config/t-vxworks (LIB2ADD): Drop.
1611 * config/t-vxworks7 (LIB2ADD): Likewise.
1612 * config/vxcache.c: Remove.
1613
94358e47
GA
16142020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1615
1616 * libgcc2.c (bswapsi2): Make constants unsigned.
1617
360258da
GA
16182020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1619
1620 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1621 builtin_add_overflow.
1622 (absvsi2, absvDI2): Likewise.
1623
82e5048e
GA
16242020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1625
1626 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1627 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1628
25bb75f8
GA
16292020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1630
1631 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1632 (if MUL_32): Use mult64_hw for __muldi3.
1633 (if MUL_F5): Use mult64_hw for __muldi3.
1634 * config/msp430/lib2mul.c (__muldi3): New.
1635 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1636
29c5d9ce
GA
16372020-11-17 Alan Modra <amodra@gmail.com>
1638
1639 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1640 (LIB2_SIDITI_CONV_FUNCS): Define.
1641 * config/rs6000/ppc64-fp.c: Delete file.
1642
cba30651
GA
16432020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1644
1645 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1646 hwmult library functions.
1647
bb622641
GA
16482020-11-10 Jeff Law <law@redhat.com>
1649
1650 * libgcc2.c: Fix whitespace issues in most recent change.
1651
16522020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1653
1654 * libgcc2.c (__addvSI3): Use overflow builtins.
1655 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1656 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1657 (__negvsi2, __negvDI2): Likewise.
1658 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1659 generated code.
1660 * libgcc2.h (__ucmpdi2): Adjust prototype.
1661
fd2325ea
GA
16622020-11-03 Pat Bernardi <bernardi@adacore.com>
1663 Olivier Hainque <hainque@adacore.com>
1664
1665 * config.host (aarch64-vxworks7*, tmake_file): Add
1666 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1667
16682020-11-03 Martin Storsjö <martin@martin.st>
1669
1670 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1671 before calling the callback.
1672
88ce3d5f
GA
16732020-10-30 Olivier Hainque <hainque@adacore.com>
1674 Douglas Rupp <rupp@adacore.com>
1675 Pat Bernardi <bernardi@adacore.com>
1676
1677 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1678 to apply to VxWorks 7 as well.
1679
4f0606fe
GA
16802020-10-29 Olivier Hainque <hainque@adacore.com>
1681
1682 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1683 controlling the definition of VX_ENTER_TLS_DTOR and
1684 VX_LEAVE_TLS_DTOR based on a version major check.
1685
16862020-10-29 Olivier Hainque <hainque@adacore.com>
1687
1688 * config/gthr-vxworks-thread.c: Fix name of macro used
1689 to condition the inclusion of an actual implementation.
1690
89bb01e7
GA
16912020-10-27 Martin Liska <mliska@suse.cz>
1692
1693 PR gcov-profile/97461
1694 * libgcov.h (gcov_counter_add): Use first static counters
1695 as it should help to have malloc wrappers set up.
1696
efe71fcc
GA
16972020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1698
1699 * config/gthr-vxworks-thread.c: #include gthr.h before
1700 testing the guard defined there.
1701 * config/gthr-vxworks-cond.c: Likewise.
1702
56ddd5e2
GA
17032020-10-21 Douglas Rupp <rupp@adacore.com>
1704 Olivier Hainque <hainque@adacore.com>
1705
1706 * config.host (powerpc*-wrs-vxworks7*): New case.
1707 * configure.ac: Handle powerpc*-*-vxworks7* as
1708 powerpc*-*-linux* for ppc-fp_type.
1709 * configure: Regenerate.
1710
56e4eee9
GA
17112020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1712
1713 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1714 section on VxWorks >= 6.
1715 * config/gthr-vxworks-thread.c: Condition the entire
1716 implementation on __GTHREAD_CXX0X.
1717
17182020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1719
1720 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1721 section on VxWorks >= 6.
1722 * config/gthr-vxworks-cond.c: Condition the entire
1723 implementation on __GTHREAD_HAS_COND.
1724
17252020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1726
1727 * config/gthr-vxworks.c: #include <taskLib.h>.
1728
17292020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1730
1731 * config/gthr-vxworks.h: Rewrite remaining occurrence
1732 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1733
17342020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1735 Olivier Hainque <hainque@adacore.com>
1736
1737 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1738 except on VxWorks 6.
1739
17402020-10-16 Olivier Hainque <hainque@adacore.com>
1741
1742 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1743
b2698c21
GA
17442020-10-14 Alexandre Oliva <oliva@adacore.com>
1745
1746 * config/gthr-vxworks-thread.c: Include stdlib.h.
1747 (tls_delete_hook): Prototype it.
1748 (__gthread_cond_signal): Return early if no waiters. Consume
1749 signal in case the semaphore got full. Use semInfoGet instead
1750 of kernel-mode-only semInfo.
1751 (__gthread_cond_timedwait): Use semExchange. Always take the
1752 mutex again before returning.
1753 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1754
17552020-10-14 Olivier Hainque <hainque@adacore.com>
1756
1757 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1758 $(MULTISUBDIR) to the -I path for fixed headers, as we
1759 arrange to have different sets of such headers for different
1760 multilibs when they are activated.
1761 * config/t-vxworks7: Likewise.
1762
17632020-10-14 Olivier Hainque <hainque@adacore.com>
1764
1765 * config/t-vxworks: Add include-fixed to include search
1766 paths for libgcc on VxWorks.
1767 * config/t-vxworks7: Likewise.
1768
c74a0e82
GA
17692020-10-09 H.J. Lu <hjl.tools@gmail.com>
1770
1771 PR target/97148
1772 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1773 instead of <cetintrin.h>.
1774
6c2675fa
GA
17752020-10-01 Alan Modra <amodra@gmail.com>
1776
1777 * config/rs6000/morestack.S,
1778 * config/rs6000/tramp.S: Support __PCREL__ code.
1779
17802020-10-01 Alan Modra <amodra@gmail.com>
1781
1782 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1783
93bca37c
GA
17842020-09-29 Maciej W. Rozycki <macro@wdc.com>
1785
1786 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1787 variable.
1788
e84761c6
GA
17892020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1790
1791 * config/aarch64/libgcc-softfp.ver: New file.
1792 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1793
4383c595
GA
17942020-09-27 Clement Chigot <clement.chigot@atos.net>
1795
1796 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1797
521d2711
GA
17982020-09-22 Sergei Trofimovich <siarheit@google.com>
1799
1800 PR gcov-profile/96913
1801 * libgcov-driver.c (write_one_data): Avoid function pointer
1802 comparison in TOP streaming decision.
1803
2aad20c0
GA
18042020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1805 Christophe Lyon <christophe.lyon@linaro.org>
1806
1807 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1808 qualifier.
1809 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1810 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1811 missing prototypes.
1812
18132020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1814
1815 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1816 unused variable warning.
1817
ecde1b0a
GA
18182020-09-16 Jojo R <jiejie_rong@c-sky.com>
1819
1820 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1821
80f86e78
GA
18222020-09-09 Tom de Vries <tdevries@suse.de>
1823
1824 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1825 Wbuiltin-declaration-mismatch.
1826
57ea0894
GA
18272020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1828
1829 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1830 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1831 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1832
b3cb5606
GA
18332020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1834
1835 * config/nvptx/atomic.c: New.
1836 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1837
6a1ad710
GA
18382020-08-03 Ian Lance Taylor <iant@golang.org>
1839
1840 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1841
18422020-08-03 Jakub Jelinek <jakub@redhat.com>
1843
1844 PR target/96402
1845 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1846 of x(tmp0), x(tmp1) in STXP arguments.
1847
48cc2e46
GA
18482020-07-31 Maciej W. Rozycki <macro@wdc.com>
1849
1850 * config/riscv/save-restore.S [__riscv_xlen == 64]
1851 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1852 (__riscv_save_2): Replace negative immediates used for the final
1853 stack pointer adjustment with positive ones, right-shifted by 4.
1854
18552020-07-31 Martin Liska <mliska@suse.cz>
1856
1857 * libgcov-driver.c: Add __gcov_kvp_pool
1858 and __gcov_kvp_pool_index variables.
1859 * libgcov.h (allocate_gcov_kvp): New.
1860 (gcov_topn_add_value): Use it.
1861
53256ee3
GA
18622020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1863
1864 * config/aarch64/lse.S: Add PAC property note.
1865
9bb403dc
GA
18662020-07-23 Martin Liska <mliska@suse.cz>
1867
1868 PR gcov-profile/96035
1869 * libgcov-driver-system.c: Create gcov folders with 0777
1870 so that it respects a system umask.
1871
8ca07a30
GA
18722020-07-14 David Edelsohn <dje.gcc@gmail.com>
1873
1874 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1875
ea69fcf9
GA
18762020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1877
1878 PR target/94891
1879 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1880 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1881 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1882 (MD_DEMANGLE_RETURN_ADDR): This.
1883 (aarch64_post_extract_frame_addr): Rename to ...
1884 (aarch64_demangle_return_addr): This.
1885 (aarch64_post_frob_eh_handler_addr): Remove.
1886 * unwind-dw2.c (uw_update_context): Demangle return address.
1887 (uw_frob_return_addr): Remove.
1888
3f8ca9cb
GA
18892020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1890
1891 PR target/96001
1892 * config/aarch64/lse.S: Add BTI marking and related definitions,
1893 and add BTI c to function entries.
1894
18952020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1896
1897 * config/aarch64/lse.S: Add stack note.
1898
b5f24739
GA
18992020-07-02 Martin Liska <mliska@suse.cz>
1900
1901 PR gcov-profile/95348
1902 * libgcov-driver.c (merge_one_data): Merge only profiles
1903 that are not of non-zero type.
1904 (write_one_data): Write counters only if there's one non-zero
1905 value.
1906 * libgcov-util.c (tag_function): Change signature from unsigned
1907 to int.
1908 (tag_blocks): Likewise.
1909 (tag_arcs): Likewise.
1910 (tag_counters): Likewise.
1911 (tag_summary): Likewise.
1912 (tag_lines): Read only if COUNTERS is non-zero.
1913 (read_gcda_file): Handle negative length for COUNTERS type.
1914
d61ffe12
GA
19152020-06-25 Martin Liska <mliska@suse.cz>
1916
1917 * libgcov-driver.c (merge_summary): Remove function as its name
1918 is misleading and doing something different.
1919 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1920 in gcov-tool.
1921 * libgcov-util.c (curr_object_summary): Remove.
1922 (read_gcda_file): Remove unused curr_object_summary.
1923 (gcov_merge): Merge summaries.
1924 * libgcov.h: Add summary argument for gcov_info struct.
1925
2e546c26
GA
19262020-06-24 H.J. Lu <hjl.tools@gmail.com>
1927
1928 PR target/95259
1929 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1930 "common/config/i386/i386-cpuinfo.h" and
1931 "common/config/i386/cpuinfo.h".
1932 (__cpu_features2): Changed to array.
1933 (get_amd_cpu): Removed.
1934 (get_intel_cpu): Likewise.
1935 (get_available_features): Likewise.
1936 (__cpu_indicator_init): Call cpu_indicator_init.
1937 * config/i386/cpuinfo.h: Removed.
1938
4543acc8
GA
19392020-06-23 David Edelsohn <dje.gcc@gmail.com>
1940
1941 * Makefile.in: Remove uses of empty.mk. Use -include.
1942 * config/avr/t-avr: Use -include.
1943 * empty.mk: Delete.
1944
f86e11a2
GA
19452020-06-21 David Edelsohn <dje.gcc@gmail.com>
1946
1947 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1948 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1949 and 64 bit with -maix64.
1950 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1951 Build and install AIX-style FAT libraries.
1952
aff95ee7
GA
19532020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1954
1955 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1956 'i386/gnu-unwind.h'
1957 * config/i386/gnu-unwind.h: New file.
1958
19592020-06-17 Martin Liska <mliska@suse.cz>
1960
1961 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1962 (merge_wrapper): Add both counts and use them properly.
1963 (topn_to_memory_representation): New function.
1964 (gcov_merge): Covert on disk representation to in memory
1965 representation.
1966 * libgcov.h: Remove const operator.
1967
6fb94d67
GA
19682020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1969
1970 * configure: Regenerate.
1971 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1972 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1973
b952c2cf
GA
19742020-06-09 Martin Liska <mliska@suse.cz>
1975
1976 PR gcov-profile/95494
1977 * libgcov-driver.c (write_top_counters): Cast first to
1978 intptr_t as sizeof(*) != sizeof(gcov_type).
1979 * libgcov.h (gcov_counter_set_if_null): Remove.
1980 (gcov_topn_add_value): Cast first to intptr_t and update
1981 linked list directly.
1982
19832020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1984
1985 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1986 with uw_install_context_1.
1987
3add3425
GA
19882020-06-04 Andreas Schwab <schwab@suse.de>
1989
1990 PR target/59230
1991 PR libfortran/59227
1992 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1993 soft-fp/divtf3.c.
1994 (LIB2ADD): Add config/ia64/divtf3.c.
1995 * config/ia64/divtf3.c: New file.
1996
9a5b7438
GA
19972020-06-03 Martin Liska <mliska@suse.cz>
1998
1999 PR gcov-profile/95480
2000 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2001 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2002 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2003 (gcov_counter_set_if_null): Likewise.
2004
a9312a79
GA
20052020-06-02 Jim Wilson <jimw@sifive.com>
2006
2007 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2008 to bgtz.
2009
20102020-06-02 Martin Liska <mliska@suse.cz>
2011
2012 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2013 of xmalloc.
2014
20152020-06-02 Martin Liska <mliska@suse.cz>
2016
2017 * libgcov-driver.c (prune_topn_counter): Remove.
2018 (prune_counters): Likewise.
2019 (merge_one_data): Special case TOP N counters
2020 as they have variable length.
2021 (write_top_counters): New.
2022 (write_one_data): Special case TOP N.
2023 (dump_one_gcov): Do not prune TOP N counters.
2024 * libgcov-merge.c (merge_topn_values_set): Remove.
2025 (__gcov_merge_topn): Use gcov_topn_add_value.
2026 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2027 Likewise here.
2028 * libgcov.h (gcov_counter_add): New.
2029 (gcov_counter_set_if_null): Likewise.
2030 (gcov_topn_add_value): New.
2031
4a9aa9de
GA
20322020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2033
2034 * config/i386/sfp-exceptions.c (struct fenv):
2035 Add __attribute__ ((gcc_struct)).
2036
885ef72f
GA
20372020-05-29 H.J. Lu <hjl.tools@gmail.com>
2038
2039 PR bootstrap/95413
2040 * configure: Regenerated.
2041
53ffb43a
GA
20422020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2043
2044 PR gcov-profile/95332
2045 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2046 * libgcov.h (gcov_magic): Disable GCC poison.
2047
5855bdfa
L
20482020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 PR target/95212
2051 * config/i386/cpuinfo.h (processor_features): Move
2052 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2053
35b98036
L
20542020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 PR target/91695
2057 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2058 check.
2059
45395445
L
20602020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2061
2062 PR target/95212
2063 PR target/95220
2064 * config/i386/cpuinfo.c (get_available_features): Fix
2065 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2066 * config/i386/cpuinfo.h (processor_features): Add
2067 FEATURE_AVX512VP2INTERSECT.
2068
4c1a5d8b
L
20692020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2070
2071 PR bootstrap/95147
2072 * configure: Regenerated.
2073
8d286dd1
L
20742020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2075
2076 * configure: Regenerated.
2077
39748a89
HPN
20782020-05-09 Hans-Peter Nilsson <hp@axis.com>
2079
2080 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2081 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2082
d3a1459c
UB
20832020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2084
2085 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2086 (__math_force_eval_div): New define.
2087 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2088 generic division to generate INVALID, DIVZERO and INEXACT
2089 exceptions.
2090
12667785
KT
20912020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2092
2093 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2094 instead of getauxval.
2095 (AT_HWCAP): Define.
2096 (HWCAP_ATOMICS): Define.
2097 Guard detection on __gnu_linux__.
2098
ef836167
MM
20992020-05-05 Michael Meissner <meissner@linux.ibm.com>
2100
2101 * config.host: Delete changes meant for a private branch.
2102 * config/rs6000/t-float128: Likewise.
2103 * configure.ac: Likewise.
2104 * configure: Likewise.
2105
811b7636
ML
21062020-05-05 Martin Liska <mliska@suse.cz>
2107
2108 PR gcov-profile/93623
2109 * Makefile.in: Remove __gcov_flush.
2110 * gcov.h (__gcov_flush): Remove.
2111 * libgcov-interface.c (__gcov_flush): Remove.
2112 (init_mx): Use renamed mutex.
2113 (__gcov_lock): Likewise.
2114 (__gcov_unlock): Likewise.
2115 (__gcov_fork): Likewise.
2116 (__gcov_flush): Remove.
2117
c0532db4
ML
21182020-05-05 Martin Liska <mliska@suse.cz>
2119
2120 PR gcov-profile/93623
2121 * libgcov-interface.c (__gcov_fork): Do not flush
2122 and reset only in child process.
2123 (__gcov_execl): Dump counters only and reset them
2124 only if exec* fails.
2125 (__gcov_execlp): Likewise.
2126 (__gcov_execle): Likewise.
2127 (__gcov_execv): Likewise.
2128 (__gcov_execvp): Likewise.
2129 (__gcov_execve): Likewise.
2130
d39f7dc8
ML
21312020-05-05 Martin Liska <mliska@suse.cz>
2132
2133 PR gcov-profile/93623
2134 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2135 * libgcov-interface.c (ALIAS_void_fn): Remove.
2136 (__gcov_lock): New.
2137 (__gcov_unlock): New.
2138 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2139 (__gcov_reset): Likewise.
2140 (__gcov_dump): Likewise.
2141 * libgcov.h (__gcov_lock): New declaration.
2142 (__gcov_unlock): Likewise.
2143
afb9b710
UB
21442020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2145
2146 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2147 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2148 generic division to generate INVALID and DIVZERO exceptions.
2149
66711279
SH
21502020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2151
2152 * config/rs6000/crtresfpr.S: Use .machine ppc.
2153 * config/rs6000/crtresxfpr.S: Likewise.
2154 * config/rs6000/crtsavfpr.S: Likewise.
2155
fb22faf4
SN
21562020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2157
2158 PR target/94514
2159 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2160 Update context->flags accroding to the frame state.
2161
df73e584
UB
21622020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2163
2164 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2165 Remove unneeded assignments to volatile memory.
2166
5b2f76e3
JJ
21672020-04-15 Jakub Jelinek <jakub@redhat.com>
2168
2169 PR target/93053
2170 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2171 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2172 is not defined, use just .arch armv8-a.
2173 (B, M, N, OPN): Define.
2174 (COMMENT): New .macro.
2175 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2176 defined. Otherwise, move the operands right after the glue? and
2177 comment out operands where the macros are used.
2178 * configure: Regenerated.
2179 * config.in: Regenerated.
2180
50c78532
ILT
21812020-04-07 Ian Lance Taylor <iant@golang.org>
2182
2183 PR libgcc/94513
2184 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2185 syscall instead.
2186
458ca332
ILT
21872020-04-04 Ian Lance Taylor <iant@golang.org>
2188
2189 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2190
710d54ed
ILT
21912020-04-03 Ian Lance Taylor <iant@golang.org>
2192
2193 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2194 than mmap/munmap, to avoid hooks.
2195
b749b5ec
JJ
21962020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2197
2198 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2199 (TPFRA_OFFSET): Macros removed.
2200 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2201 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2202 (PG3_SKIPPING_OFFSET): New macros.
2203 (__isPATrange): Use cinfc_fast for the check.
2204 (__isSkipResetAddr): New function.
2205 (s390_fallback_frame_state): Check for skip trace addresses. Use
2206 either ICST_CRET or ICST_SRET to calculate return address
2207 location.
2208 (__tpf_eh_return): Handle skip trace addresses.
2209
a9cd2d78
RE
22102020-03-26 Richard Earnshaw <rearnsha@arm.com>
2211
2212 PR target/94220
2213 * config/arm/lib1funcs.asm (COND): Use a single definition for
2214 unified syntax.
2215 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2216 (aeabi_idivmod): Likewise.
2217 (divsi3_skip_div0_test): Likewise.
2218
f582ca0f
MI
22192020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2220
2221 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2222
068fe0a9
AK
22232020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2224
2225 * config.host: Include the new makefile fragment.
2226 * config/s390/t-tpf: New file.
2227
6b9ce2b4
RE
22282020-03-03 Richard Earnshaw <rearnsha@arm.com>
2229
2230 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2231 syntax.
2232 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2233 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2234 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2235 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2236 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2237 syntax.
2238 (divsi3, modsi3): Likewise.
2239 (clzdi2, ctzsi2): Likewise.
2240 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2241 unified syntax.
2242 (UNWIND_WRAPPER): Likewise.
2243
8dd5d8f3
ML
22442020-03-02 Martin Liska <mliska@suse.cz>
2245
2246 * libgcov-interface.c: Remove duplicate
2247 declaration of __gcov_flush_mx.
2248
ea0b1252
ML
22492020-02-18 Martin Liska <mliska@suse.cz>
2250
2251 PR ipa/92924
2252 * libgcov-merge.c (merge_topn_values_set): Record
2253 when a TOP N counter becomes invalid. When merging
2254 remove a smallest value if the space is needed.
2255
02ce382c
SL
22562020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2257
2258 PR libstdc++/79193
2259 PR libstdc++/88999
2260
2261 * configure: Regenerated.
2262
7214fce3
JL
22632020-02-10 Jeff Law <law@redhat.com>
2264
2265 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2266 sections.
2267 * config/frv/frvend.c: Similarly.
2268
cf0f07ef
L
22692020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2270
2271 PR libgcc/85334
2272 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2273 New.
2274
5602b48b
CL
22752020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2276
2277 PR target/93615
2278 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2279 _Unwind_gnu_Find_got.
2280 * unwind-pe.h: Likewise.
2281
811a475e
JJ
22822020-02-07 Jakub Jelinek <jakub@redhat.com>
2283
2284 PR target/93615
2285 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2286 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2287 trailing :s in asm. Formatting fixes.
2288 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2289
2d33dcfe
SL
22902020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2291
2292 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2293
2294 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2295 * config/nios2-elf-lib.h: New.
2296 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2297 code for finding GOT base for nios2.
2298
3ae37f92
ML
22992020-01-27 Martin Liska <mliska@suse.cz>
2300
2301 PR gcov-profile/93403
2302 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2303 Call __gcov_indirect_call_profiler_body.
2304 (__gcov_indirect_call_profiler_body): New.
2305 (__gcov_indirect_call_profiler_v4_atomic): New.
2306 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2307 New declaration.
2308
2744b8b2
CZ
23092020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2310
2311 * config/arc/crti.S: Add RF16 object attribute.
2312 * config/arc/crtn.S: Likewise.
2313 * config/arc/crttls.S: Likewise.
2314 * config/arc/lib1funcs.S: Likewise.
2315 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2316 * config/arc/lib2funcs.c: New file.
2317 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2318
e8e66971
MR
23192020-01-24 Maciej W. Rozycki <macro@wdc.com>
2320
2321 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2322 * configure.ac: Handle `--with-toolexeclibdir='.
2323 * configure: Regenerate.
2324
54b3d52c
DM
23252020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2326
2327 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2328
a3c1e1f2
DM
23292020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2330
2331 * config/mips/gnustack.h: New file.
2332 * config/mips/crti.S: Include gnustack.h.
2333 * config/mips/crtn.S: Likewise.
2334 * config/mips/mips16.S: Likewise.
2335 * config/mips/vr4120-div.S: Likewise.
2336
e9ee848d
ML
23372020-01-23 Martin Liska <mliska@suse.cz>
2338
2339 * libgcov-driver.c (prune_topn_counter): Remove
2340 check for -1 as we only prune run-time counters
2341 that do not generate an invalid state.
2342
7491c17f
ML
23432020-01-22 Martin Liska <mliska@suse.cz>
2344
2345 PR tree-optimization/92924
2346 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2347 try to find an existing value, then find an empty slot
2348 if not found.
2349
5f32f9cf
ML
23502020-01-22 Martin Liska <mliska@suse.cz>
2351
2352 PR tree-optimization/92924
2353 * libgcov-driver.c (prune_topn_counter): New.
2354 (prune_counters): Likewise.
2355 (dump_one_gcov): Prune a run-time counter.
2356 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2357 For a known value, add GCOV_TOPN_VALUES to value.
2358 Otherwise, decrement all counters by one.
2359
463f6499
HPN
23602020-01-18 Hans-Peter Nilsson <hp@axis.com>
2361
2362 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2363
84479e3a
JDA
23642020-01-18 John David Anglin <danglin@gcc.gnu.org>
2365
2366 PR libgcc/92988
2367 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2368 DEFAULT_USE_CXA_ATEXIT is true.
2369
e953433f 23702020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 2371 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
2372
2373 * config/arm/t-arm: Check return value of gcc rather than lack of
2374 output.
2375
03e87724
GJL
23762020-01-14 Georg-Johann Lay <avr@gjlay.de>
2377
2378 * config/avr/lib1funcs.S (skip): Simplify.
2379
af9bd920
KCY
23802020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2381
2382 * config/gcn/atomic.c: Remove include of stdint.h.
2383 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2384 __UINTPTR_TYPE__.
2385
d6491d15
KCY
23862020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2387
2388 * config/gcn/atomic.c: New.
2389 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2390
f30dd607
GJL
23912020-01-08 Georg-Johann Lay <avr@gjlay.de>
2392
2393 Implement 64-bit double functions.
2394
2395 PR target/92055
2396 * config.host (tmake_file) [target=avr]: Add t-libf7,
2397 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2398 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2399 depending on sizeof (double) or sizeof (long double).
2400 * config/avr/libf7: New folder.
2401
5205a445
OH
24022020-01-05 Olivier Hainque <hainque@adacore.com>
2403
2404 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2405 by IN_LIBGCC2.
2406
8d9254fc
JJ
24072020-01-01 Jakub Jelinek <jakub@redhat.com>
2408
2409 Update copyright years.
2410
abb6c3ee
OH
24112019-12-30 Olivier Hainque <hainque@adacore.com>
2412
2413 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2414 * config/gthr-vxworks-tls.c: Likewise.
2415
d7f5094a
OH
24162019-12-30 Olivier Hainque <hainque@adacore.com>
2417
2418 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2419 standard zero-initializer syntax.
2420
49cfaa2a
OH
24212019-12-30 Olivier Hainque <hainque@adacore.com>
2422
2423 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2424 reference to the internal VX_GET_TLS_DATA interface.
2425
89b9a554
OH
24262019-12-30 Olivier Hainque <hainque@adacore.com>
2427
2428 * config/vxcrtstuff.c: Fix incorrect spelling of
2429 USE_INITFINI_ARRAY in guard.
2430
e8aa9f55
JL
24312019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2432
2433 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2434 Override default "extra_parts" variable.
2435 * configure: Regenerate.
2436 * configure.ac: Disable TM clone registry by default for
2437 msp430-elfbare.
2438
a9046e98
JL
24392019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2440
2441 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2442 "extra_parts".
2443 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2444
34a53788
JL
24452019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2446
2447 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2448 true.
2449
21a098f4
JL
24502019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2451
2452 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2453 defined instead of its value.
2454
ad8b7783
JL
24552019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2456
2457 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2458 if it will have contents.
2459
08d7ff78
GJL
24602019-12-05 Georg-Johann Lay <avr@gjlay.de>
2461
2462 PR target/92055
2463 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2464
3d3a96a2
SN
24652019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2466
34b4d99d 2467 PR libgcc/91737
3d3a96a2
SN
2468 * config.host: Add t-gthr-noweak on *-*-musl*.
2469 * config/t-gthr-noweak: New file.
2470
632b5e3d
JDA
24712019-11-17 John David Anglin <danglin@gcc.gnu.org>
2472
2473 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2474 volatile void *. Remove trap check.
2475 (__kernel_cmpxchg2): Likewise.
2476 (FETCH_AND_OP_2): Adjust operand types.
2477 (OP_AND_FETCH_2): Likewise.
2478 (FETCH_AND_OP_WORD): Likewise.
2479 (OP_AND_FETCH_WORD): Likewise.
2480 (COMPARE_AND_SWAP_2): Likewise.
2481 (__sync_val_compare_and_swap_4): Likewise.
2482 (__sync_bool_compare_and_swap_4): Likewise.
2483 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2484 (__sync_lock_test_and_set_4): Likewise.
2485 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2486 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2487 for release.
2488 (__sync_lock_release_8): Remove.
2489
838fd641
SN
24902019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2491
2492 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2493 of __sigset_t.
2494
27204060
JL
24952019-11-14 Jerome Lambourg <lambourg@adacore.com>
2496 Doug Rupp <rupp@adacore.com>
2497 Olivier Hainque <hainque@adacore.com>
2498
2499 * config.host: Collapse the arm-vxworks entries into
2500 a single arm-wrs-vxworks7* one.
2501 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2502 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2503 kernel modules, to be overriden by libstdc++ when we link with
2504 it. Rely on externally provided __exidx_start/end.
2505
3004f893
DR
25062019-11-14 Doug Rupp <rupp@adacore.com>
2507 Olivier Hainque <hainque@adacore.com>
2508
2509 * config.host: Handle aarch64*-wrs-vxworks7*.
2510
36e5f4d4
OH
25112019-11-12 Olivier Hainque <hainque@adacore.com>
2512
2513 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2514 sources except the cxx0x support to LIB2ADDEH. We don't support
2515 cxx0x on AE/653.
2516 * config/t-vxworksae: New file.
2517 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2518 Makefile fragment files at their expected position in the tmake_file
2519 list, in accordance with what is done for other VxWorks variants.
2520
806dd047
CG
25212019-11-12 Corentin Gay <gay@adacore.com>
2522 Jerome Lambourg <lambourg@adacore.com>
2523 Olivier Hainque <hainque@adacore.com>
2524
2525 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2526 sources to LIB2ADDEH.
2527 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2528 * config/t-vxworks7: Likewise.
2529
2530 * config.host: Append a block at the end of the file to add the
2531 t-gthr files to the tmake_file list for VxWorks after everything
2532 else.
2533
2534 * config/vxlib.c: Rename as gthr-vxworks.c.
2535 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2536
2537 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2538 API and a basic error checking API, both internal. Simplify the
2539 __gthread_once_t type definition and initializers. Add sections
2540 for condition variables support and for the C++0x thread support,
2541 conditioned against Vx653 for the latter.
2542
2543 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2544 implementation, leveraging the TAS internal API.
2545 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2546 API, leveraging the general availability of TLS services in VxWorks7
2547 post SR6xxx.
2548 (__gthread_setspecific, __gthread_setspecific): Use it.
2549 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2550 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2551 support based on VxWorks primitives.
2552 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2553 based on VxWorks primitives.
2554
78e49fb1
JL
25552019-11-06 Jerome Lambourg <lambourg@adacore.com>
2556 Olivier Hainque <hainque@adacore.com>
2557
2558 * config/vxcrtstuff.c: New file.
2559 * config/t-vxcrtstuff: New Makefile fragment.
2560 * config.host: Append t-vxcrtstuff to the tmake_file list
2561 on all VxWorks ports using dwarf for table based EH.
2562
29f3def3
GJL
25632019-11-07 Georg-Johann Lay <avr@gjlay.de>
2564
2565 Support 64-bit double and 64-bit long double configurations.
2566
2567 PR target/92055
2568 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2569 long double is a 32-bit type.
2570 * config/avr/t-avrlibc: Copy double64 and long-double64
2571 multilib(s) from the vanilla one.
2572 * config/avr/t-copy-libgcc: New Makefile snip.
2573
62ec242e
JL
25742019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2575
2576 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2577 the target output object format is not ELF.
2578 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2579
da5c1bbe
OE
25802019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2581
2582 PR libgcc/78804
2583 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2584 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2585 FLOAT_BIT_ORDER_MISMATCH.
2586 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2587
8dc56a22
JW
25882019-11-01 Jim Wilson <jimw@sifive.com>
2589
2590 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2591
91c64455
JL
25922019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2593
2594 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2595 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2596 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2597 Define symbols for 32-bit and f5series hardware multiply
2598 register addresses.
2599 Replace hard-coded register addresses with symbols.
2600 Fix "_mspabi*" typo.
2601 Fix whitespace.
2602 * config/msp430/lib2mul.c: Add comment.
2603
85093ac6
JDA
26042019-10-15 John David Anglin <danglin@gcc.gnu.org>
2605
2606 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2607 unsigned int. Adjust callers.
2608 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2609 unsigned int *. Load relocation offset before function pointer.
2610 Add barrier to ensure ordering.
2611
1aea083d
JDA
26122019-10-12 John David Anglin <danglin@gcc.gnu.org>
2613
2614 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2615 Load PIC register after branch target. Fix white space.
2616 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2617 implementations. Load PIC register after branch target. Don't
2618 clobber function pointer when it points to function descriptor.
2619 Use nullification instead of branch in LINUX implementation.
2620
c49af82c
JDA
26212019-10-03 John David Anglin <danglin@gcc.gnu.org>
2622
2623 * config/pa/fptr.c: Disable -Warray-bounds warning.
2624
88a51d68
RH
26252019-09-25 Richard Henderson <richard.henderson@linaro.org>
2626
9e46fd07
RH
2627 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2628 not the ubuntu modified 2.69.
2629
58d169ba
RH
2630 PR target/91833
2631 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2632 initialization if !HAVE_SYS_AUXV_H.
2633 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2634 * config.in, configure: Rebuild.
2635
88a51d68
RH
2636 PR target/91834
2637 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2638 overlap the inputs.
2639
761e6bb9
SZ
26402019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2641
2642 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2643 CTR_EL0.IDC and CTR_EL0.DIC.
2644
76c93295
CL
26452019-09-20 Christophe Lyon <christophe.lyon@st.com>
2646
2647 Revert:
2648 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2649 Mickaël Guêné <mickael.guene@st.com>
2650
2651 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2652 architecture.
2653
33befddc
RH
26542019-09-19 Richard Henderson <richard.henderson@linaro.org>
2655
2656 * config/aarch64/lse-init.c: New file.
2657 * config/aarch64/lse.S: New file.
2658 * config/aarch64/t-lse: New file.
2659 * config.host: Add t-lse to all aarch64 tuples.
2660
ae1152e5
CL
26612019-09-10 Christophe Lyon <christophe.lyon@st.com>
2662 Mickaël Guêné <mickael.guene@st.com>
2663
84818dbb
CL
2664 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2665 architecture.
2666
26672019-09-10 Christophe Lyon <christophe.lyon@st.com>
2668 Mickaël Guêné <mickael.guene@st.com>
2669
ae1152e5
CL
2670 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2671 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2672 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2673 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2674 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2675 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2676 (__gnu_personality_sigframe_fdpic): New.
2677 (get_eit_entry): Add FDPIC signal frame support.
2678
5d727a4b
CL
26792019-09-10 Christophe Lyon <christophe.lyon@st.com>
2680 Mickaël Guêné <mickael.guene@st.com>
2681
2682 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2683 (__kernel_dmb): Likewise.
2684 (__fdpic_cmpxchg): New function.
2685 (__fdpic_dmb): New function.
2686 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2687 (gnu_Unwind_Find_got): New function.
2688 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2689 * unwind-arm-common.inc (UCB_PR_GOT): New.
2690 (funcdesc_t): New struct.
2691 (get_eit_entry): Add FDPIC support.
2692 (unwind_phase2): Likewise.
2693 (unwind_phase2_forced): Likewise.
2694 (__gnu_Unwind_RaiseException): Likewise.
2695 (__gnu_Unwind_Resume): Likewise.
2696 (__gnu_Unwind_Backtrace): Likewise.
2697 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2698
b1e21e5a 26992019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2700 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2701
11189793
CL
2702 * libgcc/crtstuff.c: Add support for FDPIC.
2703
27042019-09-10 Christophe Lyon <christophe.lyon@st.com>
2705
2706 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2707
91dfef96
JM
27082019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2709
2710 * config.host: Set cpu_type for bpf-*-* targets.
2711 * config/bpf/t-bpf: Likewise.
2712 * config/bpf/crtn.S: Likewise.
2713 * config/bpf/crti.S: New file.
2714
2f4d8951
JW
27152019-09-06 Jim Wilson <jimw@sifive.com>
2716
2717 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2718 (riscv*-*-freebsd*): Likewise.
2719
2f2aeda9
UW
27202019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2721
2722 * config.host: Remove references to spu.
2723 * config/spu/: Remove directory.
2724
d16017da
JL
27252019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2726
2727 PR target/91306
2728 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2729 element type, instead of "sizeof" the element type.
2730 (__DTOR_LIST__): Likewise.
2731 (__TMC_LIST__): Likewise.
2732 (__do_global_dtors_aux_fini_array_entry): Likewise.
2733 (__frame_dummy_init_array_entry): Likewise.
2734 (__CTOR_END__): Likewise.
2735 (__DTOR_END__): Likweise.
2736 (__FRAME_END__): Likewise.
2737 (__TMC_END__): Likewise.
2738
a9fcfec3
HL
27392019-08-20 Lili Cui <lilicui@intel.com>
2740
2741 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2742 INTEL_COREI7_COOPERLAKE.
2743
428642b1
MT
27442019-07-31 Matt Thomas <matt@3am-software.com>
2745 Nick Hudson <nick@nthcliff.demon.co.uk>
2746 Matthew Green <mrg@eterna.com.au>
2747 Maya Rashish <coypu@sdf.org>
2748
2749 * config.host (hppa*-*-netbsd*): New case.
2750 * config/pa/t-netbsd: New file.
2751
f0efd925
JH
27522019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2753
2754 * config/arm/cmse.c (cmse_check_address_range): Add
2755 warn_unused_result attribute.
2756
a861990d
ML
27572019-07-22 Martin Liska <mliska@suse.cz>
2758
2759 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2760 * config/pa/t-stublib: Likewise.
2761
9c0dba7c
SH
27622019-07-22 Stafford Horne <shorne@gmail.com>
2763
2764 PR target/90362
2765 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2766 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2767 instructions are not available on every processor. Change a
2768 l.bnf to l.bf to fix logic issue.
2769
61afc8f8
IS
27702019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2771
2772 * config.host: Remove reference to t-darwin8.
2773
179c7ef5
IS
27742019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2775
2776 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2777 list.
2778 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2779 mmacosx-version-min for crts to run across all system versions.
2780 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2781 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2782 system versions >= 10.4.
2783
596341c7
ML
27842019-07-03 Martin Liska <mliska@suse.cz>
2785
2786 * Makefile.in: Use topn_values instead of one_value names.
2787 * libgcov-merge.c (__gcov_merge_single): Move to ...
2788 (__gcov_merge_topn): ... this.
2789 (merge_single_value_set): Move to ...
2790 (merge_topn_values_set): ... this.
2791 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2792 ...
2793 (__gcov_topn_values_profiler_body): ... this.
2794 (__gcov_one_value_profiler_v2): Move to ...
2795 (__gcov_topn_values_profiler): ... this.
2796 (__gcov_one_value_profiler_v2_atomic): Move to ...
2797 (__gcov_topn_values_profiler_atomic): ... this.
2798 (__gcov_indirect_call_profiler_v4): Remove.
2799 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2800 (__gcov_topn_counter_op): ... this.
2801 * libgcov.h (L_gcov_merge_single): Remove.
2802 (L_gcov_merge_topn): New.
2803 (__gcov_merge_single): Remove.
2804 (__gcov_merge_topn): New.
2805 (__gcov_one_value_profiler_v2): Move to ..
2806 (__gcov_topn_values_profiler): ... this.
2807 (__gcov_one_value_profiler_v2_atomic): Move to ...
2808 (__gcov_topn_values_profiler_atomic): ... this.
2809
1b309ca5
ML
28102019-07-03 Martin Liska <mliska@suse.cz>
2811
2812 * libgcov-merge.c (merge_single_value_set): Support N values.
2813 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2814
5a460280
ID
28152019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2816
2817 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2818 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2819 * configure.ac: Add --disable-tm-clone-registry option.
2820 * configure: Regenerate.
2821
45309d28
ML
28222019-06-27 Martin Liska <mliska@suse.cz>
2823
2824 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2825 dead assignments.
2826 * libgcov-util.c: Likewise.
2827
c2f7a665
ML
28282019-06-27 Martin Liska <mliska@suse.cz>
2829
2830 * libgcov-util.c (gcov_profile_merge): Release allocated
2831 memory.
2832 (calculate_overlap): Likewise.
2833
a8e55c61
IS
28342019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2835
2836 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2837 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2838 Build objects for the out of line save/restore register functions
2839 so that they can be used for any supported Darwin version.
2840 * config/t-darwin: Default the build Darwin version to Darwin8
2841 (MacOS 10.4).
2842
e5ce4cbc
ML
28432019-06-25 Martin Liska <mliska@suse.cz>
2844
2845 * libgcov-driver-system.c (replace_filename_variables): Do not
2846 call strlen with NULL argument.
2847
52a47d28
AS
28482019-06-25 Andrew Stubbs <ams@codesourcery.com>
2849
2850 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2851 * config/gcn/unwind-gcn.c: New file.
2852
76d46331
KCY
28532019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2854 Andrew Stubbs <ams@codesourcery.com>
2855
2856 * configure: Regenerate.
2857 * config/gcn/gthr-gcn.h: New.
2858
787783a0
TV
28592019-06-18 Tom de Vries <tdevries@suse.de>
2860
2861 * config/nvptx/crt0.c (__main): Declare.
2862
f32f7585
MG
28632019-06-17 Matthew Green <mrg@eterna.com.au>
2864 Maya Rashish <coypu@sdf.org>
2865
2866 * config.host (aarch64*-*-netbsd*): New case.
2867
0fcc78f7
JL
28682019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2869
2870 * config/msp430/slli.S (__mspabi_sllll): New library function for
2871 performing a logical left shift of a 64-bit value.
2872 * config/msp430/srai.S (__mspabi_srall): New library function for
2873 performing a arithmetic right shift of a 64-bit value.
2874 * config/msp430/srll.S (__mspabi_srlll): New library function for
2875 performing a logical right shift of a 64-bit value.
2876
b27c1082
MT
28772019-06-14 Matt Thomas <matt@3am-software.com>
2878 Matthew Green <mrg@eterna.com.au>
2879 Nick Hudson <skrll@netbsd.org>
2880 Maya Rashish <coypu@sdf.org>
2881
2882 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2883 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2884 functions to build.
2885 * config/arm/t-netbsd-eabi: New file.
2886
ae7deb4b
DD
28872019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2888
2889 * config.host: Add PRU target.
2890 * config/pru/asri.c: New file.
2891 * config/pru/eqd.c: New file.
2892 * config/pru/eqf.c: New file.
2893 * config/pru/ged.c: New file.
2894 * config/pru/gef.c: New file.
2895 * config/pru/gtd.c: New file.
2896 * config/pru/gtf.c: New file.
2897 * config/pru/led.c: New file.
2898 * config/pru/lef.c: New file.
2899 * config/pru/lib2bitcountHI.c: New file.
2900 * config/pru/lib2divHI.c: New file.
2901 * config/pru/lib2divQI.c: New file.
2902 * config/pru/lib2divSI.c: New file.
2903 * config/pru/libgcc-eabi.ver: New file.
2904 * config/pru/ltd.c: New file.
2905 * config/pru/ltf.c: New file.
2906 * config/pru/mpyll.S: New file.
2907 * config/pru/pru-abi.h: New file.
2908 * config/pru/pru-asm.h: New file.
2909 * config/pru/pru-divmod.h: New file.
2910 * config/pru/sfp-machine.h: New file.
2911 * config/pru/t-pru: New file.
2912
0d7b3e47
JJ
29132019-06-11 Jakub Jelinek <jakub@redhat.com>
2914
2915 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2916
54e2d83c
ML
29172019-06-10 Martin Liska <mliska@suse.cz>
2918
2919 PR bootstrap/90808
2920 * libgcov.h: Add ATTRIBUTE_UNUSED.
2921
92d41717
ML
29222019-06-10 Martin Liska <mliska@suse.cz>
2923
2924 * Makefile.in: Add __gcov_one_value_profiler_v2,
2925 __gcov_one_value_profiler_v2_atomic and
2926 __gcov_indirect_call_profiler_v4.
2927 * libgcov-merge.c (__gcov_merge_single): Change
2928 function signature.
2929 (merge_single_value_set): New.
2930 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2931 Update functionality.
2932 (__gcov_one_value_profiler): Remove.
2933 (__gcov_one_value_profiler_v2): ... this.
2934 (__gcov_one_value_profiler_atomic): Rename to ...
2935 (__gcov_one_value_profiler_v2_atomic): this.
2936 (__gcov_indirect_call_profiler_v3): Rename to ...
2937 (__gcov_indirect_call_profiler_v4): ... this.
2938 * libgcov.h (__gcov_one_value_profiler): Remove.
2939 (__gcov_one_value_profiler_atomic): Remove.
2940 (__gcov_one_value_profiler_v2_atomic): New.
2941 (__gcov_indirect_call_profiler_v3): Remove.
2942 (__gcov_one_value_profiler_v2): New.
2943 (__gcov_indirect_call_profiler_v4): New.
2944 (gcov_get_counter_ignore_scaling): New function.
2945
e37333ba
ML
29462019-06-07 Martin Liska <mliska@suse.cz>
2947
2948 * Makefile.in: Remove usage of
2949 _gcov_merge_icall_topn.
2950 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2951 (gcov_sort_icall_topn_counter): Likewise.
2952 (gcov_sort_topn_counter_arrays): Likewise.
2953 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2954 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2955 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2956 Likewise.
2957 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2958 (struct indirect_call_tuple): Remove.
2959 (__gcov_indirect_call_topn_profiler): Remove.
2960 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2961 * libgcov.h (gcov_sort_n_vals): Remove.
2962 (L_gcov_merge_icall_topn): Likewise.
2963 (__gcov_merge_icall_topn): Likewise.
2964 (__gcov_indirect_call_topn_profiler): Likewise.
2965
34a4a9c2
IS
29662019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2967
2968 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2969 altivec enabled.
2970
d1b2f85f
JL
29712019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2972
2973 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2974 section.
2975 (__mspabi_slli): Likewise.
2976 (__mspabi_slll_n): Likewise.
2977 (__mspabi_slll): Likewise.
2978 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2979 (__mspabi_srai): Likewise.
2980 (__mspabi_sral_n): Likewise.
2981 (__mspabi_sral): Likewise.
2982 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2983 (__mspabi_srli): Likewise.
2984 (__mspabi_srll_n): Likewise.
2985 (__mspabi_srll): Likewise.
2986
e69a13d1
YS
29872019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2988
2989 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2990 Add appropriate tm_file clause as well.
2991 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2992
b009eac1
JC
29932019-06-05 James Clarke <jrtc27@jrtc27.com>
2994
2995 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2996 rather than .data/.bss so it can be accessed via gp-relative
2997 addressing.
2998
781d39f2
DE
29992019-06-05 David Edelsohn <dje.gcc@gmail.com>
3000
3001 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3002 (CR2_REGNO): Rename to R_CR2.
3003 (XER_REGNO): Rename to R_XER.
3004 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3005 (VRSAVE_REGNO): Rename to R_VRSAVE.
3006 (VSCR_REGNO): R_VSCR.
3007
76aaa9cd
YS
30082019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3009
3010 * config.host (rx-*-linux*): Add new case.
3011 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3012
8fc16d72
ST
30132019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3014
3015 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3016 function.
3017 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3018 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3019 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3020 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3021 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3022 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3023 string.
3024 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3025 string.
3026 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3027
e54b1a92
RO
30282019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3029
3030 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3031 Remove Solaris 9 and 10 support.
3032 (sparc_is_sighandler): Likewise.
3033
abbb8307
JDA
30342019-05-26 John David Anglin <danglin@gcc.gnu.org>
3035
3036 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3037
2581344d
L
30382019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3039
3040 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3041 4_FP_W_TYPEs are used for IEEE quad precision.
3042 * soft-fp/extendhftf2.c: Likewise.
3043 * soft-fp/extendsftf2.c: Likewise.
3044 * soft-fp/extendxftf2.c: Likewise.
3045 * soft-fp/trunctfdf2.c: Likewise.
3046 * soft-fp/trunctfhf2.c: Likewise.
3047 * soft-fp/trunctfsf2.c: Likewise.
3048 * soft-fp/trunctfxf2.c: Likewise.
3049 * config/rs6000/ibm-ldouble.c: Likewise.
3050
ccd1242e
RO
30512019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3052
3053 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3054 *-*-solaris2*.
3055 * configure.ac: Likewise.
3056 * configure: Regenerate.
3057
3058 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3059 Solaris 10 and Solaris 11 < snv_125 handling.
3060
ef5eb79d
IS
30612019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3062
3063 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3064
4f0e90fa
HL
30652019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3066
3067 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3068 * config/i386/cpuinfo.h (enum processor_features): Add
3069 FEATURE_AVX512BF16.
3070
48528842
RR
30712019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3072 Bernd Edlinger <bernd.edlinger@hotmail.de>
3073 Jakub Jelinek <jakub@redhat.com>
3074
3075 PR target/89093
3076 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3077 * config/arm/unwind-arm.c: Likewise.
3078 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3079 attribute for ARM.
3080
887e182f
MC
30812019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3082
3083 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3084 (RT_SIGRETURN): Update.
3085 (nds32_fallback_frame_state): Update.
3086
a90b0cdd
MS
30872019-02-21 Martin Sebor <msebor@redhat.com>
3088
3089 * libgcc2.h (__clear_cache): Correct signature.
3090 * libgcc2.c (__clear_cache): Same.
3091
1ed28eda
UB
30922019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3093
3094 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3095 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3096
fe95aee9
UB
30972019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3098
3099 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3100 regno instead of index to DWARF_ZERO_REG.
3101
bf7988f1
EB
31022019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3103
3104 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3105 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3106
ba2c1ca8
UB
31072019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3108
3109 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3110 to HOST_LIBGCC2_CFLAGS.
3111
6395ba73
L
31122019-01-23 Joseph Myers <joseph@codesourcery.com>
3113
3114 PR libgcc/88931
ba2c1ca8 3115 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3116
756721ba
ML
31172019-01-18 Martin Liska <mliska@suse.cz>
3118
3119 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3120 to ...
3121 (__gcov_indirect_call_profiler_v3): ... this.
3122 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3123 (__gcov_indirect_call_profiler_v3): Likewise.
3124 * Makefile.in: Bump function name.
3125
d273c40a
ML
31262019-01-18 Martin Liska <mliska@suse.cz>
3127
3128 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3129 (gcov_version): Use in gcov_error.
3130 (merge_one_data): Likewise.
3131 (dump_one_gcov): Likewise.
3132
be9d9fdb
ML
31332019-01-18 Martin Liska <mliska@suse.cz>
3134
3135 * libgcov-driver.c (gcov_version_string): New function.
3136 (gcov_version): Convert version integer into string.
3137
91d7b7fe
AS
31382019-01-17 Andrew Stubbs <ams@codesourcery.com>
3139 Kwok Cheung Yeung <kcy@codesourcery.com>
3140 Julian Brown <julian@codesourcery.com>
3141 Tom de Vries <tom@codesourcery.com>
3142
3143 * config.host: Recognize amdgcn*-*-amdhsa.
3144 * config/gcn/crt0.c: New file.
3145 * config/gcn/lib2-divmod-hi.c: New file.
3146 * config/gcn/lib2-divmod.c: New file.
3147 * config/gcn/lib2-gcn.h: New file.
3148 * config/gcn/sfp-machine.h: New file.
3149 * config/gcn/t-amdgcn: New file.
3150
67914693
SL
31512019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3152
3153 PR other/16615
3154
3155 * config/c6x/libunwind.S: Mechanically replace "can not" with
3156 "cannot".
3157 * config/tilepro/atomic.h: Likewise.
3158 * config/vxlib-tls.c: Likewise.
3159 * generic-morestack-thread.c: Likewise.
3160 * generic-morestack.c: Likewise.
3161 * mkmap-symver.awk: Likewise.
3162
a5544970
JJ
31632019-01-01 Jakub Jelinek <jakub@redhat.com>
3164
3165 Update copyright years.
3166
da77eace
L
31672018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3170 to ignore -Waddress-of-packed-member.
3171
72e3a529
TP
31722018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3173
3174 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3175 parameter and corresponding code.
3176 (ARM_FUNC_START): Likewise in both definitions.
3177 Also update footer comment about condition that need to match with
3178 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3179 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3180 defined. Weakly define it in this case.
3181 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3182 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3183 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3184 comment to keep condition in sync with the one in
3185 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3186
5d54c798
WX
31872018-12-18 Wei Xiao <wei3.xiao@intel.com>
3188
3189 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3190 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3191
5a2580b6
RV
31922018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3193
3194 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3195 and .cfi_endproc directives for VxWorks targets.
3196
c0c5112b
PK
31972018-12-05 Paul Koning <ni1d@arrl.net>
3198
3199 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3200
1ea7ea18
AM
32012018-11-27 Alan Modra <amodra@gmail.com>
3202
3203 * config/rs6000/morestack.S (__stack_split_initialize),
3204 (__morestack_get_guard, __morestack_set_guard),
3205 (__morestack_make_guard): Provide CFI covering these functions.
3206 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3207
ff641ae1
XQ
32082018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3209
1ea7ea18 3210 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3211 (sc_pt_regs_lr): Update for kernel.
3212 (sc_pt_regs_tls): Update for kernel.
3213
28209372
XQ
32142018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3215
3216 * config/csky/linux-unwind.h: Fix coding style.
3217
b2a71af6
XQ
32182018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3219
3220 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3221 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3222 instructions to adapt to changes in the kernel
3223
d929e137
SH
32242018-11-09 Stafford Horne <shorne@gmail.com>
3225 Richard Henderson <rth@twiddle.net>
3226
3227 * config.host: Add OpenRISC support.
3228 * config/or1k/*: New.
3229
222cfefa
KC
32302018-11-08 Kito Cheng <kito@andestech.com>
3231
3232 * soft-fp/adddf3.c: Update from glibc.
3233 * soft-fp/addsf3.c: Likewise.
3234 * soft-fp/addtf3.c: Likewise.
3235 * soft-fp/divdf3.c: Likewise.
3236 * soft-fp/divsf3.c: Likewise.
3237 * soft-fp/divtf3.c: Likewise.
3238 * soft-fp/double.h: Likewise.
3239 * soft-fp/eqdf2.c: Likewise.
3240 * soft-fp/eqsf2.c: Likewise.
3241 * soft-fp/eqtf2.c: Likewise.
3242 * soft-fp/extenddftf2.c: Likewise.
3243 * soft-fp/extended.h: Likewise.
3244 * soft-fp/extendhftf2.c: Likewise.
3245 * soft-fp/extendsfdf2.c: Likewise.
3246 * soft-fp/extendsftf2.c: Likewise.
3247 * soft-fp/extendxftf2.c: Likewise.
3248 * soft-fp/fixdfdi.c: Likewise.
3249 * soft-fp/fixdfsi.c: Likewise.
3250 * soft-fp/fixdfti.c: Likewise.
3251 * soft-fp/fixhfti.c: Likewise.
3252 * soft-fp/fixsfdi.c: Likewise.
3253 * soft-fp/fixsfsi.c: Likewise.
3254 * soft-fp/fixsfti.c: Likewise.
3255 * soft-fp/fixtfdi.c: Likewise.
3256 * soft-fp/fixtfsi.c: Likewise.
3257 * soft-fp/fixtfti.c: Likewise.
3258 * soft-fp/fixunsdfdi.c: Likewise.
3259 * soft-fp/fixunsdfsi.c: Likewise.
3260 * soft-fp/fixunsdfti.c: Likewise.
3261 * soft-fp/fixunshfti.c: Likewise.
3262 * soft-fp/fixunssfdi.c: Likewise.
3263 * soft-fp/fixunssfsi.c: Likewise.
3264 * soft-fp/fixunssfti.c: Likewise.
3265 * soft-fp/fixunstfdi.c: Likewise.
3266 * soft-fp/fixunstfsi.c: Likewise.
3267 * soft-fp/fixunstfti.c: Likewise.
3268 * soft-fp/floatdidf.c: Likewise.
3269 * soft-fp/floatdisf.c: Likewise.
3270 * soft-fp/floatditf.c: Likewise.
3271 * soft-fp/floatsidf.c: Likewise.
3272 * soft-fp/floatsisf.c: Likewise.
3273 * soft-fp/floatsitf.c: Likewise.
3274 * soft-fp/floattidf.c: Likewise.
3275 * soft-fp/floattihf.c: Likewise.
3276 * soft-fp/floattisf.c: Likewise.
3277 * soft-fp/floattitf.c: Likewise.
3278 * soft-fp/floatundidf.c: Likewise.
3279 * soft-fp/floatundisf.c: Likewise.
3280 * soft-fp/floatunditf.c: Likewise.
3281 * soft-fp/floatunsidf.c: Likewise.
3282 * soft-fp/floatunsisf.c: Likewise.
3283 * soft-fp/floatunsitf.c: Likewise.
3284 * soft-fp/floatuntidf.c: Likewise.
3285 * soft-fp/floatuntihf.c: Likewise.
3286 * soft-fp/floatuntisf.c: Likewise.
3287 * soft-fp/floatuntitf.c: Likewise.
3288 * soft-fp/gedf2.c: Likewise.
3289 * soft-fp/gesf2.c: Likewise.
3290 * soft-fp/getf2.c: Likewise.
3291 * soft-fp/half.h: Likewise.
3292 * soft-fp/ledf2.c: Likewise.
3293 * soft-fp/lesf2.c: Likewise.
3294 * soft-fp/letf2.c: Likewise.
3295 * soft-fp/muldf3.c: Likewise.
3296 * soft-fp/mulsf3.c: Likewise.
3297 * soft-fp/multf3.c: Likewise.
3298 * soft-fp/negdf2.c: Likewise.
3299 * soft-fp/negsf2.c: Likewise.
3300 * soft-fp/negtf2.c: Likewise.
3301 * soft-fp/op-1.h: Likewise.
3302 * soft-fp/op-2.h: Likewise.
3303 * soft-fp/op-4.h: Likewise.
3304 * soft-fp/op-8.h: Likewise.
3305 * soft-fp/op-common.h: Likewise.
3306 * soft-fp/quad.h: Likewise.
3307 * soft-fp/single.h: Likewise.
3308 * soft-fp/soft-fp.h: Likewise.
3309 * soft-fp/subdf3.c: Likewise.
3310 * soft-fp/subsf3.c: Likewise.
3311 * soft-fp/subtf3.c: Likewise.
3312 * soft-fp/truncdfsf2.c: Likewise.
3313 * soft-fp/trunctfdf2.c: Likewise.
3314 * soft-fp/trunctfhf2.c: Likewise.
3315 * soft-fp/trunctfsf2.c: Likewise.
3316 * soft-fp/trunctfxf2.c: Likewise.
3317 * soft-fp/unorddf2.c: Likewise.
3318 * soft-fp/unordsf2.c: Likewise.
3319 * soft-fp/unordtf2.c: Likewise.
3320
2901f42f
VK
33212018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3322
3323 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3324 * config/i386/cpuinfo.h (processor_types): Add znver2.
3325
4310ca66
PK
33262018-11-01 Paul Koning <ni1d@arrl.net>
3327
3328 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3329 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3330
22e05272
JM
33312018-10-31 Joseph Myers <joseph@codesourcery.com>
3332
3333 PR bootstrap/82856
3334 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3335 * configure: Regenerate.
3336
8180cde0
CZ
33372018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3338
3339 * config/arc/lib1funcs.S (_muldi3): New function.
3340 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3341
be7b071e
RV
33422018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3343
3344 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3345
3239d726
ML
33462018-10-25 Martin Liska <mliska@suse.cz>
3347
3348 PR other/87735
3349 * libgcov-profiler.c: Revert.
3350
19b55958
ML
33512018-10-24 Martin Liska <mliska@suse.cz>
3352
3353 * libgcov-profiler.c: Start from 1 in order to distinguish
3354 functions which were seen and these that were not.
3355
a9a2fddb
PK
33562018-10-18 Paul Koning <ni1d@arrl.net>
3357
3358 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3359 standard.
3360 * divmod.c: Update references to __udivmodsi4.
3361 * udivmod.c: Ditto.
3362 * udivhi3.c: New file.
3363 * udivmodhi4.c: New file.
3364 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3365
fc8abc46
RV
33662018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3367
3368 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3369
87f918e3
OH
33702018-10-12 Olivier Hainque <hainque@adacore.com>
3371
3372 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3373 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3374
be86efa7
PK
33752018-10-08 Paul Koning <ni1d@arrl.net>
3376
3377 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3378
3edbcdbe
ML
33792018-10-04 Martin Liska <mliska@suse.cz>
3380
3381 PR gcov-profile/84107
3382 * libgcov-profiler.c (__gcov_indirect_call):
3383 Change type to indirect_call_tuple.
3384 (struct indirect_call_tuple): New struct.
3385 (__gcov_indirect_call_topn_profiler): Change type.
3386 (__gcov_indirect_call_profiler_v2): Use the new
3387 variables.
3388 * libgcov.h (struct indirect_call_tuple): New struct
3389 definition.
3390
af8096fc
UB
33912018-10-03 Uros Bizjak <ubizjak@gmail.com>
3392
3393 * libgcc2.c (isnan): Use __builtin_isnan.
3394 (isfinite): Use __builtin_isfinite.
3395 (isinf): Use __builtin_isinf.
3396
0a76bba4
UB
33972018-09-26 Uros Bizjak <ubizjak@gmail.com>
3398
3399 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3400
5244089f
OH
34012018-09-21 Alexandre Oliva <oliva@adacore.com>
3402
3403 * config/vxcache.c: New file. Provide __clear_cache, based on
3404 the cacheTextUpdate VxWorks service.
3405 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3406 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3407 * config/t-vxwoks7: Likewise.
3408
512cc015
ML
34092018-09-21 Martin Liska <mliska@suse.cz>
3410
3411 * libgcov-driver.c (crc32_unsigned): Remove.
3412 (gcov_histogram_insert): Likewise.
3413 (gcov_compute_histogram): Likewise.
3414 (compute_summary): Simplify rapidly.
3415 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3416 (merge_summary): Rapidly simplify.
3417 (dump_one_gcov): Ignore gcov_summary.
3418 (gcov_do_dump): Do not handle program summary, it's not
3419 used.
3420 * libgcov-util.c (tag_summary): Remove.
3421 (read_gcda_finalize): Fix coding style.
3422 (read_gcda_file): Initialize curr_object_summary.
3423 (compute_summary): Remove.
3424 (calculate_overlap): Remove settings of run_max.
3425
36ff254b
MC
34262018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3427
3428 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3429 ucontext_t type instead.
3430 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3431
229a033d
KC
34322018-09-21 Kito Cheng <kito.cheng@gmail.com>
3433
3434 * config/nds32/t-nds32-glibc: New file.
3435
53c6feb2
RO
34362018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3437
3438 * configure.ac (solaris_ld_v2_maps): New test.
3439 * configure: Regenerate.
3440 * Makefile.in (solaris_ld_v2_maps): New variable.
3441 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3442 if supported.
3443
ebdb6f23
RE
34442018-08-23 Richard Earnshaw <rearnsha@arm.com>
3445
3446 PR target/86951
3447 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3448 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3449 to build.
3450
a49c064e
IS
34512018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3452
1ea7ea18 3453 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3454 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3455 * config/darwin10-unwind-find-enc-func.c: … to here.
3456 * config/t-darwin: Build Darwin10 unwinder shim crt.
3457 * libgcc/config.host: Add the Darwin10 unwinder shim.
3458
9a5b8df7
RV
34592018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3460
3461 * config.host: Add crtbegin.o and crtend.o for
3462 powerpc-wrs-vxworks target.
3463
4cd0bc3b
J
34642018-08-17 Jojo <jijie_rong@c-sky.com>
3465 Huibin Wang <huibin_wang@c-sky.com>
3466 Sandra Loosemore <sandra@codesourcery.com>
3467 Chung-Lin Tang <cltang@codesourcery.com>
3468
3469 C-SKY port: libgcc
3470
3471 * config.host: Add C-SKY support.
3472 * config/csky/*: New.
3473
a4931745
CJW
34742018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3475
3476 * config/nds32/t-nds32-isr: Rearrange object dependency.
3477 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3478 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3479 and registers usage.
3480 * config/nds32/isr-library/excp_isr.S: Ditto.
3481 * config/nds32/isr-library/intr_isr.S: Ditto.
3482 * config/nds32/isr-library/reset.S: Ditto.
3483 * config/nds32/isr-library/restore_all.inc: Ditto.
3484 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3485 * config/nds32/isr-library/restore_partial.inc: Ditto.
3486 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3487 * config/nds32/isr-library/save_all.inc: Ditto.
3488 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3489 * config/nds32/isr-library/save_partial.inc: Ditto.
3490 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3491 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3492
2b1969f6
JDA
34932018-08-11 John David Anglin <danglin@gcc.gnu.org>
3494
3495 * config/pa/linux-atomic.c: Update comment.
3496 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3497 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3498 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3499 __ATOMIC_RELAXED for atomic loads.
3500 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3501 unordered store to release lock.
3502 (__sync_lock_release_8): Likewise.
3503 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3504
89fff9cc
NP
35052018-08-02 Nicolas Pitre <nico@fluxnic.net>
3506
3507 PR libgcc/86512
3508 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3509 exponent goes negative. Update my email address.
3510 * config/arm/ieee754-sf.S: Likewise.
3511
fd2e1dcd
ML
35122018-08-01 Martin Liska <mliska@suse.cz>
3513
3514 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3515 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3516
b7415975
CL
35172018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3518
3519 * config/arm/ieee754-df.S: Fix comment for code working on
3520 architectures >= 4.
3521 * config/arm/ieee754-sf.S: Likewise.
3522
b72e71a3
L
35232018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3524
3525 PR libgcc/85334
3526 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3527 Removed.
3528
1c686aa4
JC
35292018-07-05 James Clarke <jrtc27@jrtc27.com>
3530
3531 * configure: Regenerated.
3532
b61c9b99
RO
35332018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3534
3535 * Makefile.in (install_leaf): Use enable_gcov instead of
3536 enable_libgcov.
3537
1765b023
RV
35382018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3539
3540 * configure.ac: Add --disable-gcov option.
3541 * configure: Regenerate.
3542 * Makefile.in: Honour @enable_gcov@.
3543
9b2e34ef
CL
35442018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3545
3546 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3547 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3548 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3549 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3550 __ARM_ARCH__.
3551 * config/arm/ieee754-sf.S: Likewise.
3552 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3553
d1b0dd54
CL
35542018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3555
3556 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3557 longer supported.
3558 * config/arm/ieee754-sf.S: Likewise.
3559
1f3fa525
TM
35602018-06-20 Than McIntosh <thanm@google.com>
3561
3562 PR libgcc/86213
3563 * generic-morestack.c (allocate_segment): Move calls to getenv and
3564 getpagesize to __morestack_load_mmap.
3565 (__morestack_load_mmap) Initialize static_pagesize and
3566 use_guard_page here so as to avoid clobbering SSE regs during a
3567 __morestack call.
3568
6a8886e4
MM
35692018-06-18 Michael Meissner <meissner@linux.ibm.com>
3570
3571 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3572 support modules with -mno-gnu-attribute.
3573 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3574
fb997097
OH
35752018-06-07 Olivier Hainque <hainque@adacore.com>
3576
3577 * config/t-vxworks (LIBGCC_INCLUDES): Add
3578 -I$(MULTIBUILDTOP)../../gcc/include.
3579 * config/t-vxworks7: Likewise. Reformat a bit to match
3580 the t-vxworks layout.
3581
a548a5a1
OM
35822018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3583
3584 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3585
244aebfd
ML
35862018-06-07 Martin Liska <mliska@suse.cz>
3587
3588 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3589 all_prg.
244aebfd 3590
6c086e8c
ML
35912018-06-07 Martin Liska <mliska@suse.cz>
3592
92a285c1 3593 PR bootstrap/86057
6c086e8c 3594 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3595 memcpy instead of mempcpy.
6c086e8c 3596 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3597 prefix and set it.
6c086e8c 3598 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3599 here and properly copy content into it.
6c086e8c 3600 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3601 field, change prefix from size_t into char *.
6c086e8c
ML
3602 (compute_summary): Do not calculate longest filename.
3603 (gcov_do_dump): Release memory of gf.filename after each file.
3604 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3605 compute_summary.
6c086e8c
ML
3606 (calculate_overlap): Likewise.
3607
97a53d1d
ML
36082018-06-05 Martin Liska <mliska@suse.cz>
3609
3610 PR gcov-profile/47618
3611 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3612 function.
97a53d1d
ML
3613 (gcov_exit_open_gcda_file): Use it.
3614
7f3577f5
ML
36152018-06-05 Martin Liska <mliska@suse.cz>
3616
3617 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3618 of gcov_ctr_summary.
3619 (compute_summary): Do it just for a single summary.
3620 (merge_one_data): Likewise.
3621 (merge_summary): Simplify as we read just single summary.
3622 (dump_one_gcov): Pass proper argument.
3623 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3624 single summary.
3625 (gcov_info_count_all_cold): Likewise.
3626 (calculate_overlap): Likewise.
3627
cf3cd43d
CJW
36282018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3629 Monk Chiang <sh.chiang04@gmail.com>
3630
3631 * config.host (nds32*-linux*): New.
3632 * config/nds32/linux-atomic.c: New file.
3633 * config/nds32/linux-unwind.h: New file.
3634
8b8003ed
UB
36352018-05-31 Uros Bizjak <ubizjak@gmail.com>
3636
3637 PR target/85591
3638 * config/i386/cpuinfo.c (get_amd_cpu): Return
3639 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3640
bbdf026f
RV
36412018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3642
92a285c1 3643 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 3644
0e8f29da
ML
36452018-05-29 Martin Liska <mliska@suse.cz>
3646
92a285c1 3647 PR gcov-profile/85759
0e8f29da 3648 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 3649 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 3650 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 3651 overwrite a gcov file with a different timestamp.
0e8f29da 3652
54fd1590
K
36532018-05-23 Kalamatee <kalamatee@gmail.com>
3654
3655 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3656 path to Lf$finfty.
3657
09baee1a
KC
36582018-05-18 Kito Cheng <kito.cheng@gmail.com>
3659 Monk Chiang <sh.chiang04@gmail.com>
3660 Jim Wilson <jimw@sifive.com>
3661
3662 * config/riscv/save-restore.S: Add support for rv32e.
3663
c3f808d3
KT
36642018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3665
3666 * config/arm/libunwind.S: Update comment relating to armv5.
3667
fcf4f831
JL
36682018-05-17 Jerome Lambourg <lambourg@adacore.com>
3669
3670 * config/arm/cmse.c (cmse_check_address_range): Replace
3671 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3672
74b2bb19
OM
36732018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3674
3675 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3676 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3677
50e461df
OM
36782018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3679
3680 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3681 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3682
e5f1cdb1
AC
36832018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3684
3685 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3686
8f479d7a
AT
36872018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3688 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3689
3690 PR libgcc/84292
3691 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3692 op_and_fetch to return the right result.
3693
ae043291
AM
36942018-04-27 Alan Modra <amodra@gmail.com>
3695
3696 PR libgcc/85532
3697 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3698 -fno-asynchronous-unwind-tables.
3699
ba169b74
CJW
37002018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3701
3702 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3703 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3704
ffc2fc06
L
37052018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3706
3707 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3708 when including "config/i386/shadow-stack-unwind.h".
3709
7b47ecf2
L
37102018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3711
3712 * configure: Regenerated.
3713
661eb8f9
MM
37142018-04-20 Michael Meissner <meissner@linux.ibm.com>
3715
3716 PR target/85456
3717 * config/rs6000/_powikf2.c: New file. Add support for the
3718 __builtin_powil function when long double is IEEE 128-bit floating
3719 point.
3720 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3721 __powikf2 support.
3722 (__powikf2): Likewise.
3723 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3724 (__powikf2_hw): Likewise.
3725 (__powikf2): Likewise.
3726 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3727 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3728 (_powikf2-hw.c): Likewise.
3729
5707be3c
L
37302018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3731
3732 PR libgcc/85334
3733 * unwind-generic.h (_Unwind_Frames_Increment): New.
3734 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3735 Likewise.
3736 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3737 count with _Unwind_Frames_Increment.
3738 (_Unwind_ForcedUnwind_Phase2): Likewise.
3739
5f9ca0b8
L
37402018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3741
3742 PR libgcc/85379
3743 * config/i386/morestack.S (__stack_split_initialize): Add
3744 _CET_ENDBR.
3745
a0e1df88
JJ
37462018-04-19 Jakub Jelinek <jakub@redhat.com>
3747
3748 * configure: Regenerated.
3749
001ddaa8
DM
37502018-04-18 David Malcolm <dmalcolm@redhat.com>
3751
3752 PR jit/85384
3753 * configure: Regenerate.
3754
a57f99ba
JJ
37552018-04-16 Jakub Jelinek <jakub@redhat.com>
3756
3757 PR target/84945
3758 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3759 -Wdangling-else warnings. Mask shift counts to avoid
3760 -Wshift-count-negative and -Wshift-count-overflow false positives.
3761
4d47fe5a
RB
37622018-04-06 Ruslan Bukin <br@bsdpad.com>
3763
3764 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3765
059cc8ac
L
37662018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3767
3768 PR target/85100
3769 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3770 (XSTATE_FP): Likewise.
3771 (XSTATE_SSE): Likewise.
3772 (XSTATE_YMM): Likewise.
3773 (XSTATE_OPMASK): Likewise.
3774 (XSTATE_ZMM): Likewise.
3775 (XSTATE_HI_ZMM): Likewise.
3776 (XCR_AVX_ENABLED_MASK): Likewise.
3777 (XCR_AVX512F_ENABLED_MASK): Likewise.
3778 (get_available_features): Enable AVX and AVX512 features only
3779 if their states are supported by OSXSAVE.
3780
f2620385
IT
37812018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3782
3783 PR target/85025
3784 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3785 Fix a typo, tmp => 255.
3786
ae6dca8c
JJ
37872018-03-20 Jakub Jelinek <jakub@redhat.com>
3788
3789 PR target/84945
3790 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3791 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3792 ifndef SHARED only.
3793 (set_feature): Define.
3794 (get_available_features): Use set_feature macro. Set __cpu_features2
3795 to the second word of features ifndef SHARED.
3796
c36b04c1
JK
37972018-03-15 Julia Koval <julia.koval@intel.com>
3798
3799 * config/i386/cpuinfo.c (get_available_features): Add
3800 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3801 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3802 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3803 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3804 FEATURE_AVX512BITALG.
3805
79ab5364
JK
38062018-03-14 Julia Koval <julia.koval@intel.com>
3807
3808 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3809 icelake client and icelake server.
3810
66a00b11
JDA
38112018-03-06 John David Anglin <danglin@gcc.gnu.org>
3812
3813 * config/pa/fptr.c (_dl_read_access_allowed): New.
3814 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3815
ce579a4f
JJ
38162018-02-28 Jakub Jelinek <jakub@redhat.com>
3817
3818 PR debug/83917
3819 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3820 $asm_hidden_op if visibility ("hidden") attribute works.
3821 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3822 * config/i386/i386-asm.h: Don't include auto-host.h.
3823 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3824 PACKAGE_URL): Don't undefine.
3825 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3826 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3827 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3828 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3829 definition instead of hardcoded .hidden.
3830 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3831 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3832 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3833 (USE_GAS_CFI_DIRECTIVES): Don't define.
3834 * configure: Regenerated.
3835 * config.in: Likewise.
3836
e5868319
JJ
38372018-02-26 Jakub Jelinek <jakub@redhat.com>
3838
3839 PR debug/83917
3840 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3841 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3842 inclusion of auto-target.h and auto-host.h.
3843 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3844 __GCC_HAVE_DWARF2_CFI_ASM.
3845 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3846 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3847 cfi_pop): Define.
3848 * config/i386/cygwin.S: Don't include auto-host.h here, just
3849 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3850 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3851 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3852 * config/i386/resms64fx.h: Add cfi_* directives.
3853 * config/i386/resms64x.h: Likewise.
3854
faef260e
MF
38552018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3856
3857 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3858 .literal_position directive.
3859 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3860
14e335ed
IT
38612018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3862
3863 PR target/84148
3864 * configure: Regenerate.
3865
95df0433
IT
38662018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3867
3868 PR target/84239
3869 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3870 Include cetintrin.h not x86intrin.h.
3871
f8de876d
IT
38722018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3873
3874 PR target/84239
95df0433 3875 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3876 Use new _get_ssp and _inc_ssp intrinsics.
3877
02da1e9c
JK
38782018-02-02 Julia Koval <julia.koval@intel.com>
3879
3880 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3881
048c6a9a
CZ
38822018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3883
3884 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3885 option.
3886 (__divsi3): Use RF16 safe registers.
3887 (__modsi3): Likewise.
3888
0889f168
MF
38892018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3890
3891 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3892 (__divsf3): Make NaN return value quiet.
3893 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3894 (__divdf3): Make NaN return value quiet.
3895
bc8b0d04
SP
38962018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3897
3898 * config/rl78/anddi3.S: New assembly file.
3899 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3900
99cc06ea
SP
39012018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3902
3903 * config/rl78/umindi3.S: New assembly file.
3904 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3905
6e9007a0
SP
39062018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3907
3908 * config/rl78/smindi3.S: New assembly file.
3909 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3910
d975e494 39112018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3912
d975e494
SP
3913 * config/rl78/smaxdi3.S: New assembly file.
3914 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3915
6a18c146 39162018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3917
5dd16013
SP
3918 * config/rl78/umaxdi3.S: New assembly file.
3919 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3920
07baf4a5
JDA
39212018-01-21 John David Anglin <danglin@gcc.gnu.org>
3922
3923 PR lto/83452
3924 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3925 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3926
dbc3af4f
RS
39272018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3928
3929 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3930 (DWARF_LAZY_REGISTER_VALUE): Define.
3931 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3932 to provide a fallback register value.
3933
68df9882
MM
39342018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3935
3936 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3937 __ibm128, instead of trying to use long double.
3938 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3939 accomidate -mabi=ieeelongdouble multilibs.
3940 (CVT_IBM128_TO_FLOAT128): Likewise.
3941 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3942 the appropriate IBM extended double type.
3943 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3944 (__gcc_qsub): Likewise.
3945 (__gcc_qmul): Likewise.
3946 (__gcc_qdiv): Likewise.
3947 (pack_ldouble): Likewise.
3948 (__gcc_qneg): Likewise.
3949 (__gcc_qeq): Likewise.
3950 (__gcc_qne): Likewise.
3951 (__gcc_qge): Likewise.
3952 (__gcc_qle): Likewise.
3953 (__gcc_stoq): Likewise.
3954 (__gcc_dtoq): Likewise.
3955 (__gcc_itoq): Likewise.
3956 (__gcc_utoq): Likewise.
3957 (__gcc_qunord): Likewise.
3958 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3959 quad-float128.h for the definitions.
3960 (COPYSIGN): Use the f128 version instead of the q version.
3961 (INFINITY): Likewise.
3962 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3963 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3964 quad-float128.h for the definitions.
3965 (COPYSIGN): Use the f128 version instead of the q version.
3966 (INFINITY): Likewise.
3967 (FABS): Likewise.
3968 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3969 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3970 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3971
64b371b1
SH
39722018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3973
3974 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3975 configuration.
3976
85ec4feb
JJ
39772018-01-03 Jakub Jelinek <jakub@redhat.com>
3978
3979 Update copyright years.
3980
39812017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3982
3983 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3984 * config/riscv/multi3.c: New file.
3985 * config/riscv/multi3.S: Remove.
3986
3a4c600f
JW
39872017-12-08 Jim Wilson <jimw@sifive.com>
3988
3989 * config/riscv/div.S: Use FUNC_* macros.
3990 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3991 * config/riscv/save-restore.S: Likewise.
3992 * config/riscv/riscv-asm.h: New.
3993
75ad35b5
MM
39942017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3995
6ae3512c
MM
3996 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3997 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3998
75ad35b5
MM
3999 PR libgcc/83112
4000 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4001 correct type for all ifunc resolvers to silence -Wattribute-alias
4002 warnings. Eliminate the forward declaration of the resolver
4003 functions which is no longer needed.
4004 (__subkf3_resolve): Likewise.
4005 (__mulkf3_resolve): Likewise.
4006 (__divkf3_resolve): Likewise.
4007 (__negkf2_resolve): Likewise.
4008 (__eqkf2_resolve): Likewise.
4009 (__nekf2_resolve): Likewise.
4010 (__gekf2_resolve): Likewise.
4011 (__gtkf2_resolve): Likewise.
4012 (__lekf2_resolve): Likewise.
4013 (__ltkf2_resolve): Likewise.
4014 (__unordkf2_resolve): Likewise.
4015 (__extendsfkf2_resolve): Likewise.
4016 (__extenddfkf2_resolve): Likewise.
4017 (__trunckfsf2_resolve): Likewise.
4018 (__trunckfdf2_resolve): Likewise.
4019 (__fixkfsi_resolve): Likewise.
4020 (__fixkfdi_resolve): Likewise.
4021 (__fixunskfsi_resolve): Likewise.
4022 (__fixunskfdi_resolve): Likewise.
4023 (__floatsikf_resolve): Likewise.
4024 (__floatdikf_resolve): Likewise.
4025 (__floatunsikf_resolve): Likewise.
4026 (__floatundikf_resolve): Likewise.
4027 (__extendkftf2_resolve): Likewise.
4028 (__trunctfkf2_resolve): Likewise.
4029
4030 PR libgcc/83103
4031 * config/rs6000/quad-float128.h (TF): Don't define if long double
4032 is IEEE 128-bit floating point.
4033 (TCtype): Define as either TCmode or KCmode, depending on whether
4034 long double is IEEE 128-bit floating point.
4035 (__mulkc3_sw): Add declarations for software/hardware versions of
4036 complex multiply/divide.
4037 (__divkc3_sw): Likewise.
4038 (__mulkc3_hw): Likewise.
4039 (__divkc3_hw): Likewise.
4040 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4041 handlers to switch between using software emulation and hardware
4042 float128 instructions, build the complex multiply/divide functions
4043 for both software and hardware support.
4044 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4045 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4046 (__divkc3_resolve): Likewise.
4047 (__mulkc3): Likewise.
4048 (__divkc3): Likewise.
4049 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4050 (fp128_hw_src): Likewise.
4051 (fp128_hw_static_obj): Likewise.
4052 (fp128_hw_shared_obj): Likewise.
4053 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4054 _mulkc3.c and _divkc3.c, changing the function name.
4055 (_divkc3-hw.c): Likewise.
4056 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4057 and _divkc3-hw.c.
4058
c234d831
UB
40592017-11-26 Julia Koval <julia.koval@intel.com>
4060
4061 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4062 * config/i386/cpuinfo.h (processor_subtypes): Add
4063 INTEL_COREI7_CANNONLAKE.
4064
1ebafce0
IT
40652017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4066
4067 PR bootstrap/83015
4068 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4069 parameter.
4070 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4071 * config/ia64/unwind-ia64.c: Add frames parameter.
4072 * unwind-sjlj.c: Likewise.
4073
6a10fff4
IT
40742017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4075
4076 * config/i386/linux-unwind.h: Include
4077 config/i386/shadow-stack-unwind.h.
4078 * config/i386/shadow-stack-unwind.h: New file.
4079 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4080 pass it to _Unwind_Frames_Extra.
4081 * unwind-generic.h (_Unwind_Frames_Extra): New.
4082 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4083 parameter. Add local variable frames to count number of frames.
4084 (_Unwind_ForcedUnwind_Phase2): Likewise.
4085 (_Unwind_RaiseException): Add local variable frames to count
4086 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4087 uw_install_context.
4088 (_Unwind_ForcedUnwind): Likewise.
4089 (_Unwind_Resume): Likewise.
4090 (_Unwind_Resume_or_Rethrow): Likewise.
4091
1ecae1fc
IT
40922017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4093
4094 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4095 (CET_FLAGS): New.
4096 * config/i386/morestack.S: Include <cet.h>.
4097 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4098 * config/i386/resms64.h: Include <cet.h>.
4099 * config/i386/resms64f.h: Likewise.
4100 * config/i386/resms64fx.h: Likewise.
4101 * config/i386/resms64x.h: Likewise.
4102 * config/i386/savms64.h: Likewise.
4103 * config/i386/savms64f.h: Likewise.
4104 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4105 (CRTSTUFF_T_CFLAGS): Likewise.
4106 * configure.ac: Include ../config/cet.m4.
4107 Set and substitute CET_FLAGS.
4108 * configure: Regenerated.
4109
f021f1d3
RO
41102017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4111
4112 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4113 renaming.
4114 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4115 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4116 * configure: Regenerate.
4117
65f480c7
TV
41182017-11-07 Tom de Vries <tom@codesourcery.com>
4119
4120 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4121 after "do {} while (0)".
4122
2a321acb
TV
41232017-11-07 Tom de Vries <tom@codesourcery.com>
4124
4125 PR other/82784
4126 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4127 semicolon after "do {} while (0)".
4128 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4129 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4130 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4131 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4132
59fcf6c3
AT
41332017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4134
4135 PR libgcc/82635
4136 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4137 sysctl to determine whether we're in a trampoline.
4138 Keep the pattern matching method for systems without
4139 KERN_PROC_SIGTRAMP sysctl.
4140
b0c7ddf8
CM
41412017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4142 Vineet Gupta <vgupta@synopsys.com>
4143
4144 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4145 * config/arc/linux-unwind-reg.def: New file.
4146 * config/arc/linux-unwind-reg.h: Likewise.
4147
5feee954
SP
41482017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4149
4150 * config/rl78/subdi3.S: New assembly file.
4151 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4152
a0bf6cf7
SP
41532017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4154
4155 * config/rl78/adddi3.S: New assembly file.
4156 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4157
e7176f75
JJ
41582017-10-13 Jakub Jelinek <jakub@redhat.com>
4159
4160 PR target/82274
4161 * libgcc2.c (__mulvDI3): If both operands have
4162 the same highpart of -1 and the topmost bit of lowpart is 0,
4163 multiplication overflows even if both lowparts are 0.
4164
db6601d2
JB
41652017-09-28 James Bowman <james.bowman@ftdichip.com>
4166
4167 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4168
938b6f1e
JM
41692017-09-26 Joseph Myers <joseph@codesourcery.com>
4170
4171 * config/microblaze/crti.S, config/microblaze/crtn.S,
4172 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4173 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4174 config/microblaze/mulsi3.S,
4175 config/microblaze/stack_overflow_exit.S,
4176 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4177 config/pa/milli64.S: Add .note.GNU-stack section.
4178
89762a83
DS
41792017-09-23 Daniel Santos <daniel.santos@pobox.com>
4180
4181 * configure.ac: Add Check for HAVE_AS_AVX.
4182 * config.in: Regenerate.
4183 * configure: Likewise.
4184 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4185 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4186 Correct out-of-date comments.
4187
cace2309
SP
41882017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4189
4190 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4191 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4192
3cb626e4
DS
41932017-09-17 Daniel Santos <daniel.santos@pobox.com>
4194
cace2309 4195 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4196 (ASMNAME): Modify to use PASTE2.
4197 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4198 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4199 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4200 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4201 * config/i386/resms64f.S: Likewise.
4202 * config/i386/resms64fx.S: Likewise.
4203 * config/i386/resms64x.S: Likewise.
4204 * config/i386/savms64.S: Likewise.
4205 * config/i386/savms64f.S: Likewise.
4206 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4207 includes it's corresponding header file.
cace2309
SP
4208 * config/i386/avx_resms64f.S: Likewise.
4209 * config/i386/avx_resms64fx.S: Likewise.
4210 * config/i386/avx_resms64x.S: Likewise.
4211 * config/i386/avx_savms64.S: Likewise.
4212 * config/i386/avx_savms64f.S: Likewise.
4213 * config/i386/sse_resms64.S: Likewise.
4214 * config/i386/sse_resms64f.S: Likewise.
4215 * config/i386/sse_resms64fx.S: Likewise.
4216 * config/i386/sse_resms64x.S: Likewise.
4217 * config/i386/sse_savms64.S: Likewise.
4218 * config/i386/sse_savms64f.S: Likewise.
4219 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4220
2f19c491 42212017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4222 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4223
611e7036
OH
42242017-08-31 Olivier Hainque <hainque@adacore.com>
4225
4226 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4227 match as powerpc-wrs-vxworks*.
4228
c8f34527
JY
42292017-08-07 Jonathan Yong <10walls@gmail.com>
4230
4231 * config.host (*-cygwin): Include file from mingw
4232 config/i386/enable-execute-stack-mingw32.c
4233
0b458d2b 42342017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
4235 Doug Rupp <rupp@adacore.com>
4236 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
4237
4238 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4239 as well as arm-wrs-vxworks.
4240 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4241 LIB2ADDEH.
4242 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4243 __exidx_start and __exidx_end for downloadable modules.
4244
4df612fa
OH
42452017-08-01 Olivier Hainque <hainque@adacore.com>
4246
4247 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4248 * config/t-vxworks7: Likewise.
4249
5560e8c0
OH
42502017-08-01 Olivier Hainque <hainque@adacore.com>
4251
4252 * config/t-vxworks: Instead of redefining LIB2ADD,
4253 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4254
16bab95a
SH
42552017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4256
4257 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4258
9cbc07cc
DS
42592017-07-24 Daniel Santos <daniel.santos@pobox.com>
4260
4261 PR testsuite/80759
4262 * config.host: include i386/t-msabi for darwin and solaris.
4263 * config/i386/i386-asm.h
4264 (ELFFN): Rename to FN_TYPE.
4265 (FN_SIZE): New macro.
4266 (FN_HIDDEN): Likewise.
4267 (ASMNAME): Likewise.
4268 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4269 .globl.
4270 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4271 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4272 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4273 .macro.
4274 * config/i386/resms64f.S: Likewise.
4275 * config/i386/resms64fx.S: Likewise.
4276 * config/i386/resms64x.S: Likewise.
4277 * config/i386/savms64.S: Likewise.
4278 * config/i386/savms64f.S: Likewise.
4279
de742204
JM
42802017-07-19 John Marino <gnugcc@marino.st>
4281
4282 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4283
3787ee47
MM
42842017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4285
4286 PR target/81193
4287 * configure.ac (PowerPC float128 hardware support): Test whether
4288 we can use __builtin_cpu_supports before enabling the ifunc
4289 handler.
4290 * configure: Regenerate.
4291
b1938888
VG
42922017-07-10 Vineet Gupta <vgupta@synopsys.com>
4293
4294 * config.host: Remove uclibc from arc target spec.
4295
bec75e53
KW
42962017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4297
4298 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4299
d4391a62
PB
43002017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4301
4302 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4303 (have_ieee_hw_p): Delete function.
4304 (SW_OR_HW) Use __builtin_cpu_supports().
4305
9296dd9b
TP
43062017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4307
4308 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4309
b85a969e
OH
43102017-07-03 Olivier Hainque <hainque@adacore.com>
4311
d4391a62 4312 * config/t-vxworks7: New file, really.
b85a969e 4313
883312dc
JM
43142017-06-28 Joseph Myers <joseph@codesourcery.com>
4315
4316 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4317 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4318 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4319 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4320 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4321 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4322 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4323 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4324 config/sh/linux-unwind.h (sh_fallback_frame_state),
4325 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4326 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4327 ucontext_t instead of struct ucontext.
4328
50567938
JL
43292017-06-27 Jerome Lambourg <lambourg@adacore.com>
4330
4331 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4332 (x86_64-wrs-vxworks7): Likewise.
4333
e4b0df93
OH
43342017-06-27 Olivier Hainque <hainque@adacore.com>
4335
4336 * config/t-vxworks7: New file.
4337 * config.host (*-*-vxworks7): Use it.
4338
60edf8bb
MT
43392017-06-22 Matt Turner <mattst88@gmail.com>
4340
4341 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4342 skylake case.
4343
a51a76e5
RB
43442017-06-21 Richard Biener <rguenther@suse.de>
4345
4346 PR gcov-profile/81080
4347 * configure.ac: Add AC_SYS_LARGEFILE.
4348 * libgcov.h: Include auto-target.h before tsystem.h to pick
4349 up _FILE_OFFSET_BITS which might differ for multilibs.
4350 * config.in: Regenerate.
4351 * configure: Likewise.
4352
f0cd49c5
RE
43532017-06-16 Richard Earnshaw <rearnsha@arm.com>
4354
4355 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4356
4f751c54
ML
43572017-06-09 Martin Liska <mliska@suse.cz>
4358
4359 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4360 Reset __gcov_indirect_call_callee to NULL.
4361
1ac644c8
OH
43622017-06-08 Olivier Hainque <hainque@adacore.com>
4363
4364 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4365 the set of -I options, support for direct inclusions of net/uio.h
4366 by VxWorks header files via ioLib.h.
4367
d8b9cd27
TR
43682017-06-07 Tony Reix <tony.reix@atos.net>
4369 Matthieu Sarter <matthieu.sarter.external@atos.net>
4370 David Edelsohn <dje.gcc@gmail.com>
4371
92a285c1
ML
4372 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4373 unconditionally.
4374 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4375 AIX 7.2 support.
d8b9cd27 4376
38a75ccc
OH
43772017-06-02 Olivier Hainque <hainque@adacore.com>
4378
4379 * config/vxlib.c (__gthread_once): Add missing value to
4380 return statement.
4381
5b2edf53
OH
43822017-05-30 Olivier Hainque <hainque@adacore.com>
4383
4384 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4385 dollar sign before $(MULTIDIR).
4386
7d66e265
RH
43872017-05-26 Richard Henderson <rth@redhat.com>
4388
4389 PR libgcc/80037
4390 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4391
78eca309
AT
43922017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4393
4394 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4395 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4396 * config/arm/unwind-arm.c: Implement the above.
4397
c39d309a
AZ
43982017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4399
4400 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4401 section for a non-executable stack.
4402
eac8c9f2
KW
44032017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4404
4405 PR target/80600
4406 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4407
d6d4d770
DS
44082017-05-14 Daniel Santos <daniel.santos@pobox.com>
4409
4410 * config.host: Add i386/t-msabi to i386/t-linux file list.
4411 * config/i386/i386-asm.h: New file.
4412 * config/i386/resms64.S: New file.
4413 * config/i386/resms64f.S: New file.
4414 * config/i386/resms64fx.S: New file.
4415 * config/i386/resms64x.S: New file.
4416 * config/i386/savms64.S: New file.
4417 * config/i386/savms64f.S: New file.
4418 * config/i386/t-msabi: New file.
4419
8ef2b9a7
AT
44202017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4421
4422 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4423 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4424
7ab8766a
JC
44252017-05-05 Joshua Conner <joshconner@google.com>
4426
4427 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4428 pc-relative indirect handling for fuchsia.
4429 * config/t-slibgcc-fuchsia: New file.
4430 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4431 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4432
46928a8f
ML
44332017-04-19 Martin Liska <mliska@suse.cz>
4434
4435 PR gcov-profile/80435
4436 * Makefile.in: Install gcov.h.
4437 * gcov.h: New file.
4438 * libgcov.h: Use the header and make __gcov_flush publicly
4439 visible.
4440
63971184
ML
44412017-04-18 Martin Liska <mliska@suse.cz>
4442
4443 PR gcov-profile/78783
4444 * libgcov-driver.c (gcov_get_filename): New function.
4445
29d8aae6
JL
44462017-04-07 Jeff Law <law@redhat.com>
4447
4448 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4449 target makefile fragment.
4450 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4451
2bdf7fc6
AM
44522017-04-07 Alan Modra <amodra@gmail.com>
4453
4454 PR target/45053
4455 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4456
5764ee3c
JW
44572017-04-03 Jonathan Wakely <jwakely@redhat.com>
4458
4459 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4460
c4192ad7
CZ
44612017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4462
4463 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4464
4ccfdb28
JM
44652017-03-10 John Marino <gnugcc@marino.st>
4466
4467 * config/aarch64/freebsd-unwind.h: New file.
4468 * config.host: Add aarch64-*-freebsd unwinder.
4469
4144e4e3
SB
44702017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4471
4472 * config/rs6000/crtrestvr.s: Use .machine altivec.
4473 * config/rs6000/crtsavevr.s: Ditto.
4474
7502c597
SB
44752017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4476
4477 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4478 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4479 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4480 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4481 * configure: Regenerate.
4482 * config.in: Regenerate.
4483
db9f7f65
JY
44842017-03-02 Jonathan Yong <10walls@gmail.com>
4485
4486 * config/i386/gthr-win32.h: Define NOGDI before
4487 windows.h include to prevent w32api CC_NONE macro
4488 clash with libgfortran.
4489
126437c5
JY
44902017-03-02 Jonathan Yong <10walls@gmail.com>
4491
4492 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4493
31927af6
AP
44942017-02-16 Andrew Pinski <apinski@cavium.com>
4495
4496 * config/aarch64/value-unwind.h: New file.
4497 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4498 to tm_file.
4499
0bd99911
PD
45002017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4501
4502 * config.host: Add RISC-V tuples.
4503 * config/riscv/atomic.c: New file.
4504 * config/riscv/crti.S: Likewise.
4505 * config/riscv/crtn.S: Likewise.
4506 * config/riscv/div.S: Likewise.
4507 * config/riscv/linux-unwind.h: Likewise.
4508 * config/riscv/muldi3.S: Likewise.
4509 * config/riscv/multi3.S: Likewise.
4510 * config/riscv/save-restore.S: Likewise.
4511 * config/riscv/sfp-machine.h: Likewise.
4512 * config/riscv/t-elf: Likewise.
4513 * config/riscv/t-elf32: Likewise.
4514 * config/riscv/t-elf64: Likewise.
4515 * config/riscv/t-softfp32: Likewise.
4516 * config/riscv/t-softfp64: Likewise.
4517
a8c9ef2a
JJ
45182017-01-24 Jakub Jelinek <jakub@redhat.com>
4519
4520 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4521 /* FALLTHRU */ comments.
4522
c6c82710
GP
45232017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4524
4525 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4526
a876231c
JW
45272017-01-20 Jiong Wang <jiong.wang@arm.com>
4528
4529 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4530 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4531 DW_CFA_GNU_window_save for AArch64 and LP64.
4532
aa348be2
JW
45332017-01-20 Jiong Wang <jiong.wang@arm.com>
4534
4535 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4536
5636faf2
JW
45372017-01-19 Jiong Wang <jiong.wang@arm.com>
4538
4539 * config/aarch64/aarch64-unwind.h: New file.
4540 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4541 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4542 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4543 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4544 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4545 (aarch64_post_extract_frame_addr): New function.
4546 (aarch64_post_frob_eh_handler_addr): New function.
4547 (aarch64_frob_update_context): New function.
4548 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4549 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4550 aarch64*-*-freebsd*):
4551 Initialize md_unwind_header to include aarch64-unwind.h.
4552 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4553 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4554 __aarch64__.
4555 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4556 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4557 (uw_frob_return_addr): New function.
4558 (uw_install_context): Use uw_frob_return_addr.
4559
3c36aa6b
JJ
45602017-01-17 Jakub Jelinek <jakub@redhat.com>
4561
4562 PR other/79046
4563 * configure.ac: Add GCC_BASE_VER.
4564 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4565 version from BASE-VER file.
4566 * configure: Regenerated.
4567
829afb8f
JS
45682017-01-13 Joe Seymour <joe.s@somniumtech.com>
4569
4570 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4571 libmul_f5.a): Filter archived prerequisites.
4572
79fc8ffe
AS
45732017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4574
4575 * config/i386/cpuinfo.h (processor_features): Add
4576 FEATURE_AVX512VPOPCNTDQ.
4577 * config/i386/cpuinfo.c (get_available_features): Habdle new
4578 feature.
4579
fec5f4e0
JM
45802017-01-04 Joseph Myers <joseph@codesourcery.com>
4581
4582 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4583 payload if [__mips_nan2008].
4584
8f56cb51
AM
45852017-01-04 Alan Modra <amodra@gmail.com>
4586
4587 * Makefile.in (configure_deps): Update.
4588 * configure: Regenerate.
4589
cbe34bb5
JJ
45902017-01-01 Jakub Jelinek <jakub@redhat.com>
4591
4592 Update copyright years.
4593
ab955692
KW
45942016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4595
4596 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4597 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4598 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4599
de34320f
MK
46002016-12-17 Matthias Klose <doko@ubuntu.com>
4601
4602 * config/arc/gmon: Remove empty directory.
4603
e04ea1da
CZ
46042016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4605
4606 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4607 crtgend.
4608 (arc*-*-elf*): Likewise.
4609 * config/arc/t-arc: Remove old gmon lib targets.
4610 * config/arc/crtg.S: Remove.
4611 * config/arc/crtgend.S: Likewise.
4612 * config/arc/gmon/atomic.h: Likewise.
4613 * config/arc/gmon/auxreg.h: Likewise.
4614 * config/arc/gmon/dcache_linesz.S: Likewise.
4615 * config/arc/gmon/gmon.c: Likewise.
4616 * config/arc/gmon/machine-gmon.h: Likewise.
4617 * config/arc/gmon/mcount.c: Likewise.
4618 * config/arc/gmon/prof-freq-stub.S: Likewise.
4619 * config/arc/gmon/prof-freq.c: Likewise.
4620 * config/arc/gmon/profil.S: Likewise.
4621 * config/arc/gmon/sys/gmon.h: Likewise.
4622 * config/arc/gmon/sys/gmon_out.h: Likewise.
4623 * config/arc/t-arc-newlib: Likewise.
4624 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4625
8ae1c2c1
GS
46262016-12-12 George Spelvin <linux@sciencehorizons.net>
4627
4628 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4629
a5b947fa
GS
46302016-12-12 George Spelvin <linux@sciencehorizons.net>
4631
4632 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4633 R16 instead of push + pop.
4634 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4635
d6574dd1
KW
46362016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4637
4638 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4639 tmake_file.
4640
62440b4f
CM
46412016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4642
4643 * config.host (arc*-*-linux-uclibc*): Use default extra
4644 objects. Include linux-android header.
4645 * config/arc/crti.S (_init): Declare symbol as function.
4646 (_fini): Likewise.
4647
31cfd832
TK
46482016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4649
4650 PR fortran/78379
4651 * config/i386/cpuinfo.c: Move denums for processor vendors,
4652 processor type, processor subtypes and declaration of
4653 struct __processor_model into
4654 * config/i386/cpuinfo.h: New header file.
4655
c92e08e3
AV
46562016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4657 Thomas Preud'homme <thomas.preudhomme@arm.com>
4658
4659 * config/arm/cmse_nonsecure_call.S: New.
4660 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4661
de7b5723
AV
46622016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4663 Thomas Preud'homme <thomas.preudhomme@arm.com>
4664
4665 * config/arm/t-arm (HAVE_CMSE): New.
4666 * config/arm/cmse.c: New.
4667
7a0d2bce
TP
46682016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4669
b3a5bff4
TP
4670 PR gcc/74748
4671 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4672 use generic linker version information on Blackfin.
4673
7a0d2bce
TP
4674 PR gcc/74748
4675 * libgcc/mkmap-symver.awk: add support for skip_underscore
4676
b410cf1d
IS
46772016-11-27 Iain Sandoe <iain@codesourcery.com>
4678 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4679
4680 PR target/67710
4681 * config/t-darwin: Default builds to 10.5 codegen.
4682
2e5f8203
JG
46832016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4684
4685 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4686 (_FP_NANSIGN_H): Likewise.
4687 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4688 (softfp_truncations): Add tfhf.
4689 (softfp_extras): Add required conversion functions.
4690
bea64ca3
JG
46912016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4692 Matthew Wahab <matthew.wahab@arm.com>
4693
4694 * config/arm/fp16.c (binary64): New.
4695 (__gnu_d2h_internal): New.
4696 (__gnu_d2h_ieee): New.
4697 (__gnu_d2h_alternative): New.
4698
8630cadb
JG
46992016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4700 Matthew Wahab <matthew.wahab@arm.com>
4701
4702 * config/arm/fp16.c (struct format): New.
4703 (binary32): New.
4704 (__gnu_float2h_internal): New. Body moved from
4705 __gnu_f2h_internal and generalize.
4706 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4707 Call it with binary32.
4708
5823ef23
JG
47092016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4710
4711 * soft-fp/extendhftf2.c: Update from glibc.
4712 * soft-fp/fixhfti.c: Likewise.
4713 * soft-fp/fixunshfti.c: Likewise.
4714 * soft-fp/floattihf.c: Likewise.
4715 * soft-fp/floatuntihf.c: Likewise.
4716 * soft-fp/half.h: Likewise.
4717 * soft-fp/trunctfhf2.c: Likewise.
4718
62a7df9f
MG
47192016-11-20 Marc Glisse <marc.glisse@inria.fr>
4720
4721 PR libgcc/77813
4722 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4723 __TMC_END__ behind a passthrough asm.
4724
7a384912
WL
47252016-11-18 Walter Lee <walt@tilera.com>
4726
62a7df9f 4727 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4728
9775c1a5
L
47292016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4730
4731 * config/i386/cpuinfo.c (processor_features): Add
4732 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4733
48c842ab
CZ
47342016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4735
4736 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4737 (__ARC_NORM__): Use instead ARC_OPTFPE.
4738 * config/arc/fp-hack.h: Likewise.
4739 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4740 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4741
5012919d
AM
47422016-11-16 Alexander Monakov <amonakov@ispras.ru>
4743
4744 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4745 * config/nvptx/mgomp.c: New file.
4746 * config/nvptx/t-nvptx: Add mgomp.c
4747
00178b98
WB
47482016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4749
4750 PR libgcc/68468
4751 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4752
d64af69f
CZ
47532016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4754
4755 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4756 of checking for cpus.
4757 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4758 (__modsi3, __clzsi2): Likewise.
4759
9d8f95de
SN
47602016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4761
4762 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4763 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4764 * config/i386/t-cpuinfo-static: New.
4765
7d29f8e3
ML
47662016-11-03 Martin Liska <mliska@suse.cz>
4767
4768 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4769 (__gcov_time_profiler_atomic): Likewise.
4770
5de3e2d8
BE
47712016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4772
4773 PR libgcc/78067
4774 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4775 count_leading_zeros.
4776
18362447
UB
47772016-11-02 Uros Bizjak <ubizjak@gmail.com>
4778
4779 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4780 * libgcc2.c (__divmoddi4): New function.
4781 * libgcc2.h (__divmoddi4): Declare.
4782 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4783 and __PFX_divmodti4.
4784
33107571
FW
47852016-10-24 Florian Weimer <fweimer@redhat.com>
4786
4787 PR libgcc/78064
4788 * unwind-c.c: Include auto-target.h.
4789
4c6d7494
JDA
47902016-10-19 John David Anglin <danglin@gcc.gnu.org>
4791
18362447 4792 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4793 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4794 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4795 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4796 hppa*64*-*-hpux11*.
4797
2a26adf1
MF
47982016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4799
4800 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4801 definition.
4802 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4803 definition.
4804 * config/xtensa/t-windowed (LIB2ADDEH): Use
4805 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4806 or xtensa/t-linux.
4807
66192aa1
DKC
48082016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4809
4810 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4811 __ieee754_sqrt): New functions.
4812 (__divdf3): Add implementation with new FPU instructions under
4813 #if XCHAL_HAVE_DFP_DIV.
4814 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4815 __ieee754_sqrtf): New functions.
4816 (__divsf3): Add implementation with new FPU instructions under
4817 #if XCHAL_HAVE_FP_DIV.
4818 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4819 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4820
4d0cdd0c
TP
48212016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4822
4823 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4824 equivalent.
4825 * config/tilepro/atomic.c: Likewise and stop casting model to
4826 enum memmodel.
4827
73f01cca
JM
48282016-10-10 Joseph Myers <joseph@codesourcery.com>
4829
4830 PR target/77586
4831 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4832 soft-fp.
4833
b20e7532
AT
48342016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4835
4836 * config.host: Add support for aarch64-*-freebsd*.
4837
a786cec4
AS
48382016-10-05 Andreas Schwab <schwab@suse.de>
4839
4840 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4841 (.section .init_array): Don't call __do_jv_register_classes.
4842 (.section .init): Likewise.
4843
5a79befb
JJ
48442016-10-04 Jakub Jelinek <jakub@redhat.com>
4845
4846 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4847 (__JCR_LIST__): Remove.
4848 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4849 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4850 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4851 * config/ia64/crtend.S (__JCR_END__): Remove.
4852 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4853 conditionals.
4854 (__JCR_LIST__, __JCR_END__): Remove.
4855 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4856 (__do_global_ctors_1): Likewise.
4857
e0ab3753
UB
48582015-09-28 Uros Bizjak <ubizjak@gmail.com>
4859
4860 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4861 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4862
8c9434c2
ML
48632016-09-27 Martin Liska <mliska@suse.cz>
4864
4865 PR gcov-profile/7970
4866 PR gcov-profile/16855
4867 PR gcov-profile/44779
4868 * libgcov-driver.c (__gcov_init): Do not register a atexit
4869 handler.
4870 (__gcov_exit): Rename from gcov_exit.
4871 * libgcov.h (__gcov_exit): Declare.
4872
56b653f1
ML
48732016-09-27 Martin Liska <mliska@suse.cz>
4874
4875 PR bootstrap/77749
4876 * Makefile.in: Remove _gcov_merge_delta.
4877 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4878 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4879 * libgcov.h: Remove declaration of __gcov_merge_delta.
4880
7e02fd1b
EB
48812016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4882
4883 * configure.ac: Do not create links, only substitute the filenames.
4884 * configure: Regenerate.
4885 * Makefile.in: Assign the substitution results to variables.
4886 (LIBGCC_LINKS): Define.
4887 (enable-execute-stack.c): New rule.
4888 (unwind.h): Likewise.
4889 (md-unwind-support.h): Likewise.
4890 (sfp-machine.h): Likewise.
4891 (gthr-default.h): Likewise.
4892 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4893 unwind.h as prerequisite of install-unwind_h-forbuild.
4894
29991048
JJ
48952016-09-16 Jakub Jelinek <jakub@redhat.com>
4896
4897 PR libgcc/71744
4898 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4899 is not the primary registry and atomics are available.
4900 (any_objects_registered): New variable.
4901 (__register_frame_info_bases, __register_frame_info_table_bases):
4902 Atomically store 1 to any_objects_registered after registering first
4903 unwind info.
4904 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4905
0abcd6cc
JG
49062016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4907
4908 PR target/63250
4909 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4910 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4911 (HFtype): Likewise.
4912 (HCtype): Likewise.
4913 (__divhc3): Likewise.
4914 (__mulhc3): Likewise.
4915 * libgcc2.c: Support _mulhc3 and _divhc3.
4916
d758aeb5
JM
49172016-09-07 Joseph Myers <joseph@codesourcery.com>
4918
4919 PR libgcc/77519
4920 * libgcc2.c (NOTRUNC): Invert settings.
4921
7fe76f6a
ML
49222016-09-06 Martin Liska <mliska@suse.cz>
4923
4924 PR gcov-profile/77378
4925 PR gcov-profile/77466
4926 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4927 conditionaly enable/disable *_atomic functions.
4928
21184026
JM
49292016-08-26 Joseph Myers <joseph@codesourcery.com>
4930
4931 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4932 where not already enabled.
4933
726f49c3
SN
49342016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4935
4936 * config/mips/linux-unwind.h: Use sys/syscall.h.
4937
feeb6268
JM
49382016-08-16 Joseph Myers <joseph@codesourcery.com>
4939
4940 PR libgcc/77265
4941 * soft-fp/adddf3.c: Update from glibc.
4942 * soft-fp/addsf3.c: Likewise.
4943 * soft-fp/addtf3.c: Likewise.
4944 * soft-fp/divdf3.c: Likewise.
4945 * soft-fp/divsf3.c: Likewise.
4946 * soft-fp/divtf3.c: Likewise.
4947 * soft-fp/double.h: Likewise.
4948 * soft-fp/eqdf2.c: Likewise.
4949 * soft-fp/eqsf2.c: Likewise.
4950 * soft-fp/eqtf2.c: Likewise.
4951 * soft-fp/extenddftf2.c: Likewise.
4952 * soft-fp/extended.h: Likewise.
4953 * soft-fp/extendsfdf2.c: Likewise.
4954 * soft-fp/extendsftf2.c: Likewise.
4955 * soft-fp/extendxftf2.c: Likewise.
4956 * soft-fp/fixdfdi.c: Likewise.
4957 * soft-fp/fixdfsi.c: Likewise.
4958 * soft-fp/fixdfti.c: Likewise.
4959 * soft-fp/fixsfdi.c: Likewise.
4960 * soft-fp/fixsfsi.c: Likewise.
4961 * soft-fp/fixsfti.c: Likewise.
4962 * soft-fp/fixtfdi.c: Likewise.
4963 * soft-fp/fixtfsi.c: Likewise.
4964 * soft-fp/fixtfti.c: Likewise.
4965 * soft-fp/fixunsdfdi.c: Likewise.
4966 * soft-fp/fixunsdfsi.c: Likewise.
4967 * soft-fp/fixunsdfti.c: Likewise.
4968 * soft-fp/fixunssfdi.c: Likewise.
4969 * soft-fp/fixunssfsi.c: Likewise.
4970 * soft-fp/fixunssfti.c: Likewise.
4971 * soft-fp/fixunstfdi.c: Likewise.
4972 * soft-fp/fixunstfsi.c: Likewise.
4973 * soft-fp/fixunstfti.c: Likewise.
4974 * soft-fp/floatdidf.c: Likewise.
4975 * soft-fp/floatdisf.c: Likewise.
4976 * soft-fp/floatditf.c: Likewise.
4977 * soft-fp/floatsidf.c: Likewise.
4978 * soft-fp/floatsisf.c: Likewise.
4979 * soft-fp/floatsitf.c: Likewise.
4980 * soft-fp/floattidf.c: Likewise.
4981 * soft-fp/floattisf.c: Likewise.
4982 * soft-fp/floattitf.c: Likewise.
4983 * soft-fp/floatundidf.c: Likewise.
4984 * soft-fp/floatundisf.c: Likewise.
4985 * soft-fp/floatunditf.c: Likewise.
4986 * soft-fp/floatunsidf.c: Likewise.
4987 * soft-fp/floatunsisf.c: Likewise.
4988 * soft-fp/floatunsitf.c: Likewise.
4989 * soft-fp/floatuntidf.c: Likewise.
4990 * soft-fp/floatuntisf.c: Likewise.
4991 * soft-fp/floatuntitf.c: Likewise.
4992 * soft-fp/gedf2.c: Likewise.
4993 * soft-fp/gesf2.c: Likewise.
4994 * soft-fp/getf2.c: Likewise.
4995 * soft-fp/ledf2.c: Likewise.
4996 * soft-fp/lesf2.c: Likewise.
4997 * soft-fp/letf2.c: Likewise.
4998 * soft-fp/muldf3.c: Likewise.
4999 * soft-fp/mulsf3.c: Likewise.
5000 * soft-fp/multf3.c: Likewise.
5001 * soft-fp/negdf2.c: Likewise.
5002 * soft-fp/negsf2.c: Likewise.
5003 * soft-fp/negtf2.c: Likewise.
5004 * soft-fp/op-1.h: Likewise.
5005 * soft-fp/op-2.h: Likewise.
5006 * soft-fp/op-4.h: Likewise.
5007 * soft-fp/op-8.h: Likewise.
5008 * soft-fp/op-common.h: Likewise.
5009 * soft-fp/quad.h: Likewise.
5010 * soft-fp/single.h: Likewise.
5011 * soft-fp/soft-fp.h: Likewise.
5012 * soft-fp/subdf3.c: Likewise.
5013 * soft-fp/subsf3.c: Likewise.
5014 * soft-fp/subtf3.c: Likewise.
5015 * soft-fp/truncdfsf2.c: Likewise.
5016 * soft-fp/trunctfdf2.c: Likewise.
5017 * soft-fp/trunctfsf2.c: Likewise.
5018 * soft-fp/trunctfxf2.c: Likewise.
5019 * soft-fp/unorddf2.c: Likewise.
5020 * soft-fp/unordsf2.c: Likewise.
5021 * soft-fp/unordtf2.c: Likewise.
5022
2e6fc1ac
GG
50232016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5024
5025 PR gcov-profile/67097
5026 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5027
a266236e
ML
50282016-08-10 Martin Liska <mliska@suse.cz>
5029
5030 PR gcov-profile/58306
5031 * Makefile.in: New functions (modules) are added.
5032 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5033 function.
5034 (__gcov_pow2_profiler_atomic): New function.
5035 (__gcov_one_value_profiler_body): New argument is instroduced.
5036 (__gcov_one_value_profiler): Call with the new argument.
5037 (__gcov_one_value_profiler_atomic): Likewise.
5038 (__gcov_indirect_call_profiler_v2): Likewise.
5039 (__gcov_time_profiler_atomic): New function.
5040 (__gcov_average_profiler_atomic): Likewise.
5041 (__gcov_ior_profiler_atomic): Likewise.
5042 * libgcov.h: Declare the aforementioned functions.
5043
e0c8eebf
ML
50442016-08-09 Martin Liska <mliska@suse.cz>
5045
5046 * libgcov-util.c: Fix typo and GNU coding style.
5047
6dce6418
ML
50482016-08-09 Martin Liska <mliska@suse.cz>
5049
5050 * Makefile.in: Remove __gcov_indirect_call_profiler.
5051 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5052 function.
5053 * libgcov.h: And the declaration of the function.
5054
dcb1e137
ML
50552016-08-09 Martin Liska <mliska@suse.cz>
5056
5057 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5058 power of two.
5059
d6e69705
BS
50602016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5061
5062 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5063 * config/rs6000/_mulkc3.c: Likewise.
5064
96aa1f95
GJL
50652016-07-29 Georg-Johann Lay <avr@gjlay.de>
5066
5067 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5068 zero_reg as previous call to __umulhisi3 already cleared it.
5069
a1b01d34
AJ
50702016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5071
5072 PR target/59833
5073 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5074
985a47b2
NC
50752016-07-19 Nick Clifton <nickc@redhat.com>
5076
5077 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5078 Add crtinit.o and crtfini.o to extra_parts.
5079
f906f5ed
BS
50802016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5081
5082 * config/rs6000/_divkc3.c: New.
5083 * config/rs6000/_mulkc3.c: New.
5084 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5085 and _divkc3.
5086 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5087 fp128_ppc_funcs.
5088
82742404
HW
50892016-07-11 Hale Wang <hale.wang@arm.com>
5090 Andre Vieira <andre.simoesdiasvieira@arm.com>
5091
5092 * config/arm/lib1funcs.S: Add new wrapper.
5093
05a437c1
TP
50942016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5095
5096 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5097
3d16d9ec
TP
50982016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5099
5100 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5101 and ARMv5t* rather than for a fixed list of architectures.
5102
6f493951
TP
51032016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5104
5105 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5106 implementation suitable for.
5107 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5108 for all Thumb-1 only targets.
5109 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5110 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5111 __ARM_ARCH_6M__.
5112 (EQUIV): Likewise.
5113 (ARM_FUNC_ALIAS): Likewise.
5114 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5115 version.
5116 (modsi3): Likewise.
5117 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5118 (clzdi2): Likewise.
5119 (ctzsi2): Likewise.
5120 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5121 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5122 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5123 __ARM_ARCH_6M__ and add comment to indicate the connection between
5124 this condition and the one in gcc/config/arm/elf.h.
5125 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5126 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5127 * config/arm/t-softfp: Likewise.
5128
1770511a
TS
51292016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5130
5131 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5132 CTOR_LISTS_DEFINED_EXTERNALLY.
5133
ba6be749
WL
51342016-06-28 Walter Lee <walt@tilera.com>
5135
5136 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5137 asm/unistd.h.
5138 (SPR_CMPEXCH_VALUE): Define for tilegx.
5139 (__NR_FAST_cmpxchg): Define for tilepro.
5140 (__NR_FAST_atomic_update): Define for tilepro.
5141 (__NR_FAST_cmpxchg64): Define for tilepro.
5142
a34c0db5
JS
51432016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5144
18362447 5145 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5146
0609abda
TS
51472016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5148
5149 * config.host: Remove support for mep-*.
5150 * config/mep/lib1funcs.S: Remove.
5151 * config/mep/lib2funcs.c: Remove.
5152 * config/mep/t-mep: Remove.
5153 * config/mep/tramp.c: Remove.
5154
3e326935
TS
51552016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5156
5157 * config.host: Remove support for avr-rtems.
5158 * config/avr/t-rtems: Remove.
5159
914b155c
TS
51602016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5161
5162 * config.host: Remove m32r-rtems support.
5163
5ebf89bd
TS
51642016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5165
5166 * config.host: Remove h8300-rtems support.
5167
8466af06
TS
51682016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5169
5170 * config.host: Remove support for knetbsd.
5171
d980e738
TS
51722016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5173
5174 * config.host: Remove support for openbsd 2 and 3.
5175
ee2499b4
TS
51762016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5177
5178 * config.host: Remove interix support.
5179 * config/i386/t-interix: Remove.
5180
9f92937b
JDA
51812016-06-18 John David Anglin <danglin@gcc.gnu.org>
5182
5183 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5184 least-significant bit in function pointer for fixup.
5185
0a0ec53d
AC
51862016-06-05 Aaron Conole <aconole@redhat.com>
5187 Nathan Sidwell <nathan@acm.org>
5188
5189 PR libgcc/71400
5190 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5191 (get_gcov_error_file): Check __gcov_error_file before trying to
5192 initialize it.
5193 (gcov_error): Always use get_gcov_error_file.
5194
8aa5bdd6
AC
51952016-06-02 Aaron Conole <aconole@redhat.com>
5196
5197 * libgcov-driver-system.c (__gcov_error_file): New.
5198 (get_gcov_error_file): New.
5199 (gcov_error): Use and set __gcov_error_file.
5200 (gcov_error_exit): New.
5201 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5202
40774faf
NS
52032016-05-26 Nathan Sidwell <nathan@acm.org>
5204
5205 * config/nvptx/free.asm: Delete.
5206 * config/nvptx/malloc.asm: Delete.
5207 * config/nvptx/realloc.c: Delete.
5208 * t-nvptx: Update.
5209
69a6d5ad
NS
52102016-05-25 Nathan Sidwell <nathan@acm.org>
5211
5212 * config/nvptx/crt0.s: Delete.
5213 * config/nvptx/crt0.c: New.
5214 * t-nvptx: Update.
5215
6befaff6
SL
52162016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5217
385c7747 5218 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5219 dw2/seh configuration.
5220 [x86_64-*-mingw*]: Likewise.
5221
ad251dfd
JS
52222016-05-10 Joel Sherrill <joel@rtems.org>
5223
5224 PR libgcc/70720
5225 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5226 targets so the same extra_parts are built. Also have tmake_file add
5227 on to its value rather than override.
5228
bc6d9014
OE
52292016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5230
5231 * config.host: Remove SH5 support.
5232 * configure: Likewise.
5233
9129c8cf
OE
52342016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5235
5236 * config/sh/crt1.S: Remove SH5 support.
5237 * config/sh/crti.S: Likewise.
5238 * config/sh/crtn.S: Likewise.
5239 * config/sh/lib1funcs-4-300.S: Likewise.
5240 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5241 * config/sh/lib1funcs.S: Likewise.
5242 * config/sh/linux-unwind.h: Likewise.
5243 * config/sh/t-sh64: Delete.
5244
39d50464
CZ
52452016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5246
5247 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5248
8b48923b
CZ
52492016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5250 Joern Rennecke <joern.rennecke@embecosm.com>
5251
5252 * config/arc/crttls.S: New file.
5253 * config/arc/t-arc: New rule.
5254 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5255
2de1cf8c
NC
52562016-04-25 Nick Clifton <nickc@redhat.com>
5257
5258 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5259 (__mspabi_cmpd): Likewise.
5260 * config/msp430/floathidf.c (__floathidf): Likewise.
5261 * config/msp430/floathisf.c (__floathisf): Likewise
5262 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5263 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5264 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5265 second parameter.
5266 (__ashrsi3): Likewise.
5267
b8ce3fe2
WB
52682016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5269
5270 * config/m68k/linux-atomic.c: Do not include unistd.h
5271
4986f823
MG
52722016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5273
5274 * config/arm/ieee754-df.S: Fix typos in comments.
5275
35fbda43
MM
52762016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5277
5278 PR target/70381
5279 * configure.ac (powerpc*-*-linux*): Rework tests to build
5280 __float128 emulation routines to not depend on using #pragma GCC
5281 target to enable -mfloat128.
5282 * configure: Regnerate.
5283
72d1a48d
EB
52842016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5285
5286 PR target/67172
5287 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5288 __MINGW32__ is defined.
5289
dc2e8995
JB
52902016-03-28 James Bowman <james.bowman@ftdichip.com>
5291
385c7747 5292 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 5293
104cdaf1
MM
52942016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5295
5296 PR libgcc/70363
5297 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5298 built with an assembler that does not support ISA 3.0
5299 instructions, rename __extendkftf2_sw to __extendkftf2.
5300
a5046f48
RO
53012016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5302
5303 PR target/38239
5304 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5305 call-clobbered registers.
5306 (internal_mcount): Remove __i386__ handling.
5307
df674f74
JS
53082016-02-26 Joel Sherrill <joel@rtems.org>
5309
5310 * config.host: Add x86_64-*-rtems*.
5311
7cb065d6
JS
53122016-02-26 Joel Sherrill <joel@rtems.org>
5313
5314 * libgcc/config.host: Add aarch64-*-rtems*.
5315
47dfdc53
PM
53162016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5317 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5318
5319 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5320 union of u64 and double.
5321 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5322 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5323 value.
5324 (FP_ROUNDMODE): Update the usage of _fpscr.
5325
e6861a99
IV
53262016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5327
5328 PR driver/68463
5329 * Makefile.in (crtoffloadtable$(objext)): New rule.
5330 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5331 enable_offload_targets is not empty.
5332 * configure: Regenerate.
5333 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5334 crtoffloadtable.
5335
9bfcbdee
MF
53362016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5337
5338 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5339 .literal_position before the function.
5340 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5341 Likewise.
5342
4cb4721f
MK
53432016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5344
5345 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5346 * config/s390/morestack.S: New file.
5347 * config/s390/t-stack-s390: New file.
5348 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5349
b29d9a29
WL
53502016-02-12 Walter Lee <walt@tilera.com>
5351
5352 * config.host (tilegx*-*-linux*): remove ti from
5353 softfp_int_modes for 32-bit configs.
5354
03a0ae7d
ILT
53552016-02-10 Ian Lance Taylor <iant@google.com>
5356
5357 PR go/68562
5358 * config/i386/morestack.S (__stack_split_initialize): Align
5359 stack.
5360
68750bce
AT
53612016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5362
5363 PR bootstrap/69611
5364 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5365 __FLOAT128__ to compile only for __float128 capable targets.
5366
7d296953
JJ
53672016-01-25 Jakub Jelinek <jakub@redhat.com>
5368
5369 PR target/69444
5370 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5371 instead of ___NO_FPRS__.
5372
a71c0334 53732016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5374 Steven Munroe <munroesj@linux.vnet.ibm.com>
5375 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
5376
5377 * config/rs6000/float128-sed: New files to convert TF names to KF
5378 names for PowerPC IEEE 128-bit floating point support.
5379 * config/rs6000/float128-sed-hw: Likewise.
5380
5381 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5382 floating point hardware support.
5383
5384 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5385 128-bit floating point software emulation or use ISA 3.0 hardware
5386 support if it is available.
5387
5388 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5389 floating point.
5390
5391 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5392 floating point to IBM extended double.
5393
5394 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5395 double to IEEE 128-bit floating point.
5396
5397 * config/rs6000/t-float128: New Makefile fragments to enable
5398 building __float128 emulation support.
5399 * config/rs6000/t-float128-hw: Likewise.
5400
5401 * config/rs6000/sfp-exceptions.c: New file to provide exception
5402 support for IEEE 128-bit floating point.
5403
5404 * config/rs6000/floattikf.c: New files for converting between IEEE
5405 128-bit floating point and signed/unsigned 128-bit integers.
5406 * config/rs6000/fixunskfti.c: Likewise.
5407 * config/rs6000/fixkfti.c: Likewise.
5408 * config/rs6000/floatuntikf.c: Likewise.
5409
5410 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5411 when building on 64-bit systems, or when VSX is enabled.
5412 (_FP_W_TYPE): Likewise.
5413 (_FP_WS_TYPE): Likewise.
5414 (_FP_I_TYPE): Likewise.
5415 (TItype): Define on 64-bit systems.
5416 (UTItype): Likewise.
5417 (TI_BITS): Likewise.
5418 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5419 (_FP_MUL_MEAT_Q): Likewise.
5420 (_FP_DIV_MEAT_D): Likewise.
5421 (_FP_DIV_MEAT_Q): Likewise.
5422 (_FP_NANFRAC_D): Likewise.
5423 (_FP_NANFRAC_Q): Likewise.
5424 (ISA_BIT): Add exception support if we are being compiled on a
5425 machine with hardware floating point support to build the IEEE
5426 128-bit emulation functions.
5427 (FP_EX_INVALID): Likewise.
5428 (FP_EX_OVERFLOW): Likewise.
5429 (FP_EX_UNDERFLOW): Likewise.
5430 (FP_EX_DIVZERO): Likewise.
5431 (FP_EX_INEXACT): Likewise.
5432 (FP_EX_ALL): Likewise.
5433 (__sfp_handle_exceptions): Likewise.
5434 (FP_HANDLE_EXCEPTIONS): Likewise.
5435 (FP_RND_NEAREST): Likewise.
5436 (FP_RND_ZERO): Likewise.
5437 (FP_RND_PINF): Likewise.
5438 (FP_RND_MINF): Likewise.
5439 (FP_RND_MASK): Likewise.
5440 (_FP_DECL_EX): Likewise.
5441 (FP_INIT_ROUNDMODE): Likewise.
5442 (FP_ROUNDMODE): Likewise.
5443
5444 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5445 VSX code, enable IEEE 128-bit floating point. If the compiler can
5446 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5447 floating point hardware instructions and it supports declaring
5448 functions with the ifunc attribute, enable ifunc functions to
5449 switch between software and hardware support.
5450 * configure.ac (powerpc*-*-linux*): Likewise.
5451 * configure: Regenerate.
5452
bdc27e50
NC
54532016-01-15 Nick Clifton <nickc@redhat.com>
5454
5455 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5456 dependency as the source file to be compiled.
5457 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5458 (lib2hw_mul_f5.o): Likewise.
5459
006df05d
MM
54602016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5461
5462 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5463 * libgcc/config/rs6000/fixkfti.c: Likewise.
5464 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5465 * libgcc/config/rs6000/float128-hw.c: Likewise.
5466 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5467 * libgcc/config/rs6000/float128-sed: Likewise.
5468 * libgcc/config/rs6000/floattikf.c: Likewise.
5469 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5470 * libgcc/config/rs6000/quad-float128.h: Likewise.
5471 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5472 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5473 * libgcc/config/rs6000/t-float128: Likewise.
5474 * libgcc/config/rs6000/t-float128-hw: Likewise.
5475 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5476 * libgcc/config.host: Likewise.
5477 * libgcc/configure: Likewise.
5478 * libgcc/configure.ac: Likewise.
5479
29176d57 54802016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5481 Steven Munroe <munroesj@linux.vnet.ibm.com>
5482 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5483
5484 * config/rs6000/sfp-exceptions.c: New file to provide exception
5485 support for IEEE 128-bit floating point.
5486
5487 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5488 floating point hardware support.
5489
5490 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5491 point conversions.
5492 * config/rs6000/fixunskfti.c: Likewise.
5493 * config/rs6000/fixkfti.c: Likewise.
5494 * config/rs6000/floatuntikf.c: Likewise.
5495 * config/rs6000/extendkftf2-sw.c: Likewise.
5496 * config/rs6000/trunctfkf2-sw.c: Likewise.
5497
5498 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5499 128-bit floating point software emulation or use ISA 3.0 hardware
5500 support if it is available.
5501
5502 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5503 floating point.
5504
5505 * config/rs6000/t-float128: New Makefile fragments to enable
5506 building __float128 emulation support.
5507 * config/rs6000/t-float128-hw: Likewise.
5508
5509 * config/rs6000/float128-sed: New file to convert TF names to KF
5510 names for PowerPC IEEE 128-bit floating point support.
5511
5512 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5513 when building on 64-bit systems, or when VSX is enabled.
5514 (_FP_W_TYPE): Likewise.
5515 (_FP_WS_TYPE): Likewise.
5516 (_FP_I_TYPE): Likewise.
5517 (TItype): Define on 64-bit systems.
5518 (UTItype): Likewise.
5519 (TI_BITS): Likewise.
5520 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5521 (_FP_MUL_MEAT_Q): Likewise.
5522 (_FP_DIV_MEAT_D): Likewise.
5523 (_FP_DIV_MEAT_Q): Likewise.
5524 (_FP_NANFRAC_D): Likewise.
5525 (_FP_NANFRAC_Q): Likewise.
5526 (ISA_BIT): Add exception support if we are being compiled on a
5527 machine with hardware floating point support to build the IEEE
5528 128-bit emulation functions.
5529 (FP_EX_INVALID): Likewise.
5530 (FP_EX_OVERFLOW): Likewise.
5531 (FP_EX_UNDERFLOW): Likewise.
5532 (FP_EX_DIVZERO): Likewise.
5533 (FP_EX_INEXACT): Likewise.
5534 (FP_EX_ALL): Likewise.
5535 (__sfp_handle_exceptions): Likewise.
5536 (FP_HANDLE_EXCEPTIONS): Likewise.
5537 (FP_RND_NEAREST): Likewise.
5538 (FP_RND_ZERO): Likewise.
5539 (FP_RND_PINF): Likewise.
5540 (FP_RND_MINF): Likewise.
5541 (FP_RND_MASK): Likewise.
5542 (_FP_DECL_EX): Likewise.
5543 (FP_INIT_ROUNDMODE): Likewise.
5544 (FP_ROUNDMODE): Likewise.
5545
5546 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5547 compiler can do __float128.
5548 * configure: Regenerate.
5549
5550 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5551 VSX code, enable IEEE 128-bit floating point.
5552
a2218983
OH
55532016-01-05 Olivier Hainque <hainque@adacore.com>
5554
5555 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5556 specificities.
a2218983 5557
818ab71a
JJ
55582016-01-04 Jakub Jelinek <jakub@redhat.com>
5559
5560 Update copyright years.
5561
5a6c8ffa
AP
55622015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5563
5564 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5565 soft-fp targets.
5a6c8ffa 5566
077067a5
BE
55672015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5568
5569 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5570 instead of abort to avoid dependency on stdlib.h.
5571
787c1027
JDA
55722015-12-09 John David Anglin <danglin@gcc.gnu.org>
5573
5574 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5575 to initialize call to __dl_fixup once.
5576
04a9ae28
NC
55772015-12-04 Nick Clifton <nickc@redhat.com>
5578
5579 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5580 Allow for the second argument being negative.
5581 * config.host (extra_parts): Define for MSP430. Create separate
5582 libraries for each of the hardware multiply formats.
5583 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5584 that are needed.
5585 * config/msp430/lib2mul.c: Likewise.
5586 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5587 Add rules to build hardware multiply libraries.
5588 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5589 __mspabi_divul function.
5590 (__mspabi_divllu): New stub function.
5591
9a32d437
JDA
55922015-12-01 John David Anglin <danglin@gcc.gnu.org>
5593
5594 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5595 fixup values if saved GOT address doesn't match runtime address.
5596 (fixup_branch_offset): Reorder list.
5597
e5ef217c
RO
55982015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5599
5600 * Makefile.in (VTV_CFLAGS): New variable.
5601 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5602 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5603 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5604 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5605 to extra_parts if $enable_vtable_verify = yes.
5606
78cc43a2
SN
56072015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5608
5609 PR target/68059
5610 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5611 (write): ...this and fix the return type.
5612
9afebea2
DD
56132015-11-19 DJ Delorie <dj@redhat.com>
5614
5615 * config/msp430/lib2hw_mul.S: Fix alignment.
5616
33f47f42
NS
56172015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5618
5619 * config/nvptx/reduction.c: New.
5620 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5621
d9adb476
DE
56222015-11-15 David Edelsohn <dje.gcc@gmail.com>
5623
5624 * config/rs6000/on_exit.c: New file.
5625 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5626 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5627
c0ab1970
CZ
56282015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5629
5630 * config/arc/dp-hack.h: Add support for ARCHS.
5631 * config/arc/ieee-754/divdf3.S: Likewise.
5632 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5633 * config/arc/ieee-754/muldf3.S: Likewise.
5634 * config/arc/ieee-754/mulsf3.S: Likewise
5635 * config/arc/lib1funcs.S: Likewise
5636 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5637 for ARCv2 cores.
5638 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5639 for ARCv2 cores.
5640 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5641 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5642 cores.
5643
e6b6bf09
RO
56442015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5645
5646 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5647 value.
5648 * config/ia64/crtend.S: Likewise.
5649
a153644f
TS
56502015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5651
5652 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5653 __CHAR_BIT__ instead of BITS_PER_UNIT.
5654 * fixed-bit.h: Likewise.
5655 * fp-bit.h: Likewise.
5656 * libgcc2.c (__popcountSI2): Likewise.
5657 (__popcountDI2): Likewise.
5658 * libgcc2.h: Likewise.
5659 * libgcov.h: Likewise.
5660
3dee689d
DE
56612015-11-07 David Edelsohn <dje.gcc@gmail.com>
5662
5663 * config/rs6000/atexit.c: New file.
5664 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5665 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5666 * config/rs6000/cxa_finalize.c
5667 (catomic_compare_and_exchange_bool_acq): Negate return value.
5668
2ef543e4
VK
56692015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5670
5671 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5672 (processor_subtypes): Add znver1.
5673 (get_amd_cpu): Detect znver1.
5674
1300f017
CL
56752015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5676
5677 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5678 Include crtfastmath.o.
5679
3e5bb7ee
JR
56802015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5681
5682 PR libgcc/66883
5683 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5684
793aa938
KP
56852015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5686
5687 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5688 * config/rl78/divmodsi.S: Update return register to r8.
5689 * config/rl78/divmodhi.S: Update return register to r8,r9.
5690 Branch to main_loop_done_himode to pop registers before return.
5691
7d296953 56922015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5693
5694 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5695 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5696
6a192b5a
KY
56972015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5698
5699 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5700
4a0a9457
MF
57012015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5702
5703 * config.host (xtensa*-*-uclinux*): New configuration.
5704
ab91c076
KY
57052015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5706
385c7747 5707 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5708 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5709
30954527
JM
57102015-09-28 Joseph Myers <joseph@codesourcery.com>
5711
5712 * soft-fp/adddf3.c: Update from glibc.
5713 * soft-fp/addsf3.c: Likewise.
5714 * soft-fp/addtf3.c: Likewise.
5715 * soft-fp/divdf3.c: Likewise.
5716 * soft-fp/divsf3.c: Likewise.
5717 * soft-fp/divtf3.c: Likewise.
5718 * soft-fp/double.h: Likewise.
5719 * soft-fp/eqdf2.c: Likewise.
5720 * soft-fp/eqsf2.c: Likewise.
5721 * soft-fp/eqtf2.c: Likewise.
5722 * soft-fp/extenddftf2.c: Likewise.
5723 * soft-fp/extended.h: Likewise.
5724 * soft-fp/extendsfdf2.c: Likewise.
5725 * soft-fp/extendsftf2.c: Likewise.
5726 * soft-fp/extendxftf2.c: Likewise.
5727 * soft-fp/fixdfdi.c: Likewise.
5728 * soft-fp/fixdfsi.c: Likewise.
5729 * soft-fp/fixdfti.c: Likewise.
5730 * soft-fp/fixsfdi.c: Likewise.
5731 * soft-fp/fixsfsi.c: Likewise.
5732 * soft-fp/fixsfti.c: Likewise.
5733 * soft-fp/fixtfdi.c: Likewise.
5734 * soft-fp/fixtfsi.c: Likewise.
5735 * soft-fp/fixtfti.c: Likewise.
5736 * soft-fp/fixunsdfdi.c: Likewise.
5737 * soft-fp/fixunsdfsi.c: Likewise.
5738 * soft-fp/fixunsdfti.c: Likewise.
5739 * soft-fp/fixunssfdi.c: Likewise.
5740 * soft-fp/fixunssfsi.c: Likewise.
5741 * soft-fp/fixunssfti.c: Likewise.
5742 * soft-fp/fixunstfdi.c: Likewise.
5743 * soft-fp/fixunstfsi.c: Likewise.
5744 * soft-fp/fixunstfti.c: Likewise.
5745 * soft-fp/floatdidf.c: Likewise.
5746 * soft-fp/floatdisf.c: Likewise.
5747 * soft-fp/floatditf.c: Likewise.
5748 * soft-fp/floatsidf.c: Likewise.
5749 * soft-fp/floatsisf.c: Likewise.
5750 * soft-fp/floatsitf.c: Likewise.
5751 * soft-fp/floattidf.c: Likewise.
5752 * soft-fp/floattisf.c: Likewise.
5753 * soft-fp/floattitf.c: Likewise.
5754 * soft-fp/floatundidf.c: Likewise.
5755 * soft-fp/floatundisf.c: Likewise.
5756 * soft-fp/floatunditf.c: Likewise.
5757 * soft-fp/floatunsidf.c: Likewise.
5758 * soft-fp/floatunsisf.c: Likewise.
5759 * soft-fp/floatunsitf.c: Likewise.
5760 * soft-fp/floatuntidf.c: Likewise.
5761 * soft-fp/floatuntisf.c: Likewise.
5762 * soft-fp/floatuntitf.c: Likewise.
5763 * soft-fp/gedf2.c: Likewise.
5764 * soft-fp/gesf2.c: Likewise.
5765 * soft-fp/getf2.c: Likewise.
5766 * soft-fp/ledf2.c: Likewise.
5767 * soft-fp/lesf2.c: Likewise.
5768 * soft-fp/letf2.c: Likewise.
5769 * soft-fp/muldf3.c: Likewise.
5770 * soft-fp/mulsf3.c: Likewise.
5771 * soft-fp/multf3.c: Likewise.
5772 * soft-fp/negdf2.c: Likewise.
5773 * soft-fp/negsf2.c: Likewise.
5774 * soft-fp/negtf2.c: Likewise.
5775 * soft-fp/op-1.h: Likewise.
5776 * soft-fp/op-2.h: Likewise.
5777 * soft-fp/op-4.h: Likewise.
5778 * soft-fp/op-8.h: Likewise.
5779 * soft-fp/op-common.h: Likewise.
5780 * soft-fp/quad.h: Likewise.
5781 * soft-fp/single.h: Likewise.
5782 * soft-fp/soft-fp.h: Likewise.
5783 * soft-fp/subdf3.c: Likewise.
5784 * soft-fp/subsf3.c: Likewise.
5785 * soft-fp/subtf3.c: Likewise.
5786 * soft-fp/truncdfsf2.c: Likewise.
5787 * soft-fp/trunctfdf2.c: Likewise.
5788 * soft-fp/trunctfsf2.c: Likewise.
5789 * soft-fp/trunctfxf2.c: Likewise.
5790 * soft-fp/unorddf2.c: Likewise.
5791 * soft-fp/unordsf2.c: Likewise.
5792 * soft-fp/unordtf2.c: Likewise.
5793
4dfe21ac
RE
57942015-09-24 Richard Earnshaw <rearnsha@arm.com>
5795
5796 PR libgcc/67624
5797 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5798
df2a1cc4
RO
57992015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5800
5801 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5802 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5803 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5804 messages.
5805 (internal_mcount): Likewise.
5806 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5807 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5808
2d110442
RO
58092015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5810
5811 * configure.ac (libgcc_cv_solaris_crts): New test.
5812 * configure: Regenerate.
5813 * config.in: Regenerate.
5814 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5815 * config/gmon-sol2.c: Rename to ...
5816 * config/sol2/gmon.c: ... this.
5817 Include auto-target.h.
5818 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5819 * config/t-sol2: Rename to ...
5820 * config/sol2/t-sol2: ... this.
5821 (gmon.o): Reflect renaming.
5822 (crtp.o, crtpg.o): New rules.
5823 * config.host (*-*-solaris2*): Reflect renaming.
5824 Use system CRTs if present.
5825 Remove default CRT case.
5826
d572e439
JDA
58272015-09-23 John David Anglin <danglin@gcc.gnu.org>
5828
5829 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5830 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5831 __kernel_cmpxchg2.
5832 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5833 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5834 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5835 (__sync_lock_test_and_set_##WIDTH): Likewise.
5836 (__sync_lock_release_##WIDTH): Likewise.
5837 (__sync_fetch_and_##OP##_4): Change result to match type of
5838 __kernel_cmpxchg.
5839 (__sync_##OP##_and_fetch_4): Likewise.
5840 (__sync_val_compare_and_swap_4): Likewise.
5841 (__sync_bool_compare_and_swap_4): likewise.
5842 (__sync_lock_test_and_set_4): Likewise.
5843 (__sync_lock_release_4): Likewise.
5844 (FETCH_AND_OP_2): Add long long variants.
5845 (OP_AND_FETCH_2): Likewise.
5846 (COMPARE_AND_SWAP_2 ): Likewise.
5847 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5848 (SYNC_LOCK_RELEASE_2): Likewise.
5849 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5850
7d296953 58512015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5852
5853 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5854 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5855 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5856 (get_available_features): Habdle new features.
5857
131314e1
JB
58582015-09-21 James Bowman <james.bowman@ftdichip.com>
5859
5860 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5861 memory layout. Deal correctly with BSS region larger than 32K.
5862 Handle a watchdog reset like a power-on reset. Clean up unused
5863 code.
5864
04218b35
AD
58652015-09-18 Andrew Dixie <andrewd@gentrack.com>
5866 David Edelsohn <dje.gcc@gmail.com>
5867
5868 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5869 * config/rs6000/crtdbase.S: New file.
5870 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5871
c8338173
MF
58722015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5873
5874 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5875 Add support for call0 ABI.
5876
7a84bf71
JDA
58772015-09-13 John David Anglin <danglin@gcc.gnu.org>
5878
5879 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5880
4efab402
SH
58812015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5882
5883 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5884 (__GTHREAD_HAS_COND): Likewise.
5885 (__gthread_t): Likewise.
5886 (__gthread_cond_t): Likewise.
5887 (__gthread_time_t): Likewise.
5888 (__GTHREAD_MUTEX_INIT): Likewise.
5889 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5890 (__GTHREAD_COND_INIT): Likewise.
5891 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5892 (__GTHREAD_TIME_INIT): Likewise.
5893 (__gthread_create): Likewise.
5894 (__gthread_join): Likewise.
5895 (__gthread_detach): Likewise.
5896 (__gthread_equal): Likewise.
5897 (__gthread_self): Likewise.
5898 (__gthread_yield): Likewise.
5899 (__gthread_cond_broadcast): Likewise.
5900 (__gthread_cond_signal): Likewise.
5901 (__gthread_cond_wait): Likewise.
5902 (__gthread_cond_timedwait): Likewise.
5903 (__gthread_cond_wait_recursive): Likewise.
5904 (__gthread_cond_destroy): Likewise.
5905 (rtems_gxx_once): Delete.
5906 (rtems_gxx_key_create): Likewise.
5907 (rtems_gxx_key_delete): Likewise.
5908 (rtems_gxx_getspecific): Likewise.
5909 (rtems_gxx_setspecific): Likewise.
5910 (rtems_gxx_mutex_init): Likewise.
5911 (rtems_gxx_mutex_destroy): Likewise.
5912 (rtems_gxx_mutex_lock): Likewise.
5913 (rtems_gxx_mutex_trylock): Likewise.
5914 (rtems_gxx_mutex_unlock): Likewise.
5915 (rtems_gxx_recursive_mutex_init): Likewise.
5916 (rtems_gxx_recursive_mutex_lock): Likewise.
5917 (rtems_gxx_recursive_mutex_trylock): Likewise.
5918 (rtems_gxx_recursive_mutex_unlock): Likewise.
5919 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5920 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5921 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5922 (__gthread_once): Likewise.
5923 (__gthread_key_create): Likewise.
5924 (__gthread_key_delete): Likewise.
5925 (__gthread_getspecific): Likewise.
5926 (__gthread_setspecific): Likewise.
5927 (__gthread_key_t): Use <pthread.h> type.
5928 (__gthread_once_t): Likewise
5929 (__gthread_mutex_t): Use <sys/lock.h> type.
5930 (__gthread_recursive_mutex_t): Likewise
5931 (__gthread_mutex_lock): Use <sys/lock.h> function.
5932 (__gthread_mutex_trylock): Likewise.
5933 (__gthread_mutex_timedlock): Likewise.
5934 (__gthread_mutex_unlock): Likewise.
5935 (__gthread_mutex_destroy): Likewise.
5936 (__gthread_recursive_mutex_lock): Likewise.
5937 (__gthread_recursive_mutex_trylock): Likewise.
5938 (__gthread_recursive_mutex_timedlock): Likewise.
5939 (__gthread_recursive_mutex_unlock): Likewise.
5940 (__gthread_recursive_mutex_destroy): Likewise.
5941
991995c4
MF
59422015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5943
5944 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5945 context->sp instead of context->cfa.
5946
0e19db59
MF
59472015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5948
5949 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5950 with unwind-dw2-fde-dip.
5951
b6ac5f62
MF
59522015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5953
5954 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5955 CALL12 followed by series of ENTRY to spill windowed registers.
5956 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5957 instead of making linux spill syscall.
5958
3e0f3349
YR
59592015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5960
5961 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5962 (get_intel_cpu): Likewise.
5963
51c728b1
L
59642015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5965
5966 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5967 (get_intel_cpu): Add Knights Landing support.
5968
aff4eeac
UB
59692015-08-11 Uros Bizjak <ubizjak@gmail.com>
5970
5971 PR target/66954
5972 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5973 (get_available_features): Handle FEATURE_PCLMUL.
5974
736e56da
L
59752015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5976
5977 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5978 Broadwell.
5979
54d22142
UB
59802015-07-22 Uros Bizjak <ubizjak@gmail.com>
5981
5982 PR target/66954
5983 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5984 (get_available_features): Handle FEATURE_AES.
5985
20ca17e4
CLT
59862015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5987
5988 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5989 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5990
ebe4a560
NS
59912015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5992
5993 * offloadstuff.c: Constify host data.
5994
180744c0
JB
59952015-07-17 Jan Beulich <jbeulich@suse.com>
5996
5997 * config/t-softfp: Split up "else ifneq".
5998
a03c6ae3
SL
59992015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6000 Cesar Philippidis <cesar@codesourcery.com>
6001 Chung-Lin Tang <cltang@codesourcery.com>
6002
6003 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6004 for __nios2_arch__ level.
6005
73358db5
JM
60062015-07-13 John Marino <gnugcc@marino.st>
6007
6008 * config/i386/t-dragonfly: New.
6009
f9a12f7b
JDA
60102015-07-01 John David Anglin <danglin@gcc.gnu.org>
6011
6012 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6013 better match light-weight syscall argument order.
6014 (__kernel_cmpxchg2): Likewise.
6015 Adjust callers.
6016
cb78b51c
L
60172015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6018
6019 * config.host: Support i[34567]86-*-elfiamcu target.
6020 * config/t-softfp-sfdftf: New file.
6021 * config/i386/32/t-iamcu: Likewise.
6022 * configure: Regenerated.
6023
4fa0f9ea
JL
60242015-06-23 James Lemke <jwlemke@codesourcery.com>
6025
6026 libgcc/config/arm/
6027 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6028
428b3812
L
60292015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6030
6031 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6032
7d296953 60332015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6034
6035 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6036 md_unwind_header
6037 * config/i386/freebsd-unwind.h: New.
6038
9b789cc1
UB
60392015-05-22 Uros Bizjak <ubizjak@gmail.com>
6040
6041 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6042 i386/t-crtfm to tmake_file.
6043 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6044 (set_fast_math): Use set_fast_math_sse for SSE targets.
6045 * config/i386/t-crtfm: Remove.
6046
3dafb220
AM
60472015-05-21 Alan Modra <amodra@gmail.com>
6048
6049 PR libgcc/66225
6050 * config/rs6000/morestack.S: Remove ".abiversion 1".
6051
0f0fd745
AM
60522015-05-20 Alan Modra <amodra@gmail.com>
6053
6054 * config/rs6000/morestack.S: New.
6055 * config/rs6000/t-stack-rs6000: New.
6056 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6057 to tmake_file.
6058 * generic-morestack.c: Don't build for powerpc 32-bit.
6059
515ae71b
EB
60602015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6061
6062 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6063 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6064
36805406
JL
60652015-05-16 James Bowman <james.bowman@ftdichip.com>
6066
6067 * config.host: FT32 target added.
6068 * config/ft32/*: New files for FT32 target.
6069
ff935d0c
MG
60702015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6071
385c7747
UB
6072 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6073 New macros.
6074 * config/arm/ieee754-df.S: Add CFI directives.
6075 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6076
9b92a9f3
EB
60772015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6078
6079 * configure.ac: Include config/sjlj.m4.
6080 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6081 * config.in: Regenerate.
6082 * configure: Likewise.
6083 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6084
98b5dc61
UB
60852015-05-12 Uros Bizjak <ubizjak@gmail.com>
6086
6087 * libgcov-util.c: Add space between string literal and macro name.
6088
5a0ff57c
SL
60892015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6090 Chris Jones <chrisj@nvidia.com>
6091 Joshua Conner <jconner@nvidia.com>
6092
6093 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6094 (arm*-*-uclinux*): Likewise.
6095 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6096 * config/arm/crtfastmath.c: New file.
6097
d28ad5d4
BS
60982014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6099
6100 * Makefile.in (real_host_noncanonical): New variable.
6101 (libsubdir): Use it.
6102 * configure.ac (real_host_noncanonical): Compute. Remove special
6103 case for intelmicemul.
6104 * configure: Regenerate.
6105
cc86234f
UB
61062015-04-28 Uros Bizjak <ubizjak@gmail.com>
6107
6108 * config/frv/elf-lib.h: New file.
6109 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6110 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6111 to tm_file.
6112
61132015-04-28 Uros Bizjak <ubizjak@gmail.com>
6114
6115 * config/frv/frvbengin.c: Do not include defaults.h
6116 * config/frv/frvend.c: Ditto.
6117
2f6bd6eb
YS
61182015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6119
6120 * config.host: Add h8300-*-linux
6121 * config/h8300/t-linux: New file.
6122 * config/h8300/lib1funs.s: Change symbol prefix.
6123 * config/h8300/sfp-machine.h: 64bit double support.
6124
15aa7b44
GR
61252015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6126 Szabolcs Nagy <szabolcs.nagy@arm.com>
6127
6128 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6129 Linux if target provides dl_iterate_phdr.
6130
abd0cdc9
L
61312015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6132
6133 PR target/65612
6134 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6135 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6136 (__cpu_indicator_init@GCC_4.8.0): New.
6137 (__cpu_model@GCC_4.8.0): Likewise.
6138 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6139 -DUSE_ELF_SYMVER.
6140
72ed1126
NC
61412015-04-16 Nick Clifton <nickc@redhat.com>
6142
6143 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6144 and __modhi3 functions.
6145 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6146 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6147
d26b2237
CG
61482015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6149
6150 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6151 do-while loop as macro body to avoid warnings.
6152
cacf1f59
JJ
61532015-04-10 Jakub Jelinek <jakub@redhat.com>
6154 Iain Sandoe <iain@codesourcery.com>
6155
6156 PR target/65351
6157 * configure: Regenerate.
6158
e8a4ed3b
JJ
61592015-04-07 Jakub Jelinek <jakub@redhat.com>
6160 Iain Sandoe <iain@codesourcery.com>
6161
6162 PR target/65351
6163 * configure: Regenerate.
6164
0341335e
CLT
61652015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6166
6167 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6168
590e2636 61692015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6170
590e2636
MF
6171 Implement call0 ABI for xtensa
6172 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6173 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6174 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6175 use ret in call0 ABI.
6176 * config/xtensa/t-windowed: New file.
6177 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6178 * libgcc/configure: Regenerated.
6179 * libgcc/configure.ac: Check if xtensa target is configured for
6180 windowed ABI and thus needs to use custom unwind code.
6181
7727f8f2
JW
61822015-02-12 Jonathan Wakely <jwakely@redhat.com>
6183
6184 PR libgcc/64885
6185 * gthr-single.h: Use __unused__ attribute instead of unused.
6186 * config/gthr-vxworks.h: Likewise.
6187 * config/i386/gthr-win32.h: Likewise.
6188
0e4a0def
KT
61892015-02-27 Kai Tietz <ktietz@redhat.com>
6190
6191 PR target/65038
6192 * config.in: Regenerated.
6193 * configure: Likewise.
6194 * configure.ac (AC_HEADER_STDC): Added explicit.
6195 (AC_CHECK_HEADERS): Check for default headers plus
6196 for ftw.h header.
6197 * libgcov-util.c (gcov_read_profile_dir): Disable use
6198 of ftw-function, if header is not found.
6199 (ftw_read_file): Likewise.
6200
b6530d0a
TS
62012015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6202
6203 PR target/65181
6204 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6205 -Dinhibit_libc.
6206
53cfb467
SL
62072015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6208
6209 * config/arm/bpabi.S (test_div_by_zero): Make label names
6210 consistent between thumb2 and arm mode cases. Separate the
6211 signed comparison on the high word of the numerator from the
6212 unsigned comparison on the low word.
6213 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6214 signed comparison.
6215
77d10a1b
JM
62162015-02-17 Joseph Myers <joseph@codesourcery.com>
6217
6218 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6219 and <string.h>.
6220 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6221
98174188
RE
62222015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6223
6224 PR gcov-profile/61889
471274de 6225 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6226
771bef14
NC
62272015-02-02 Nick Clifton <nickc@redhat.com>
6228
6229 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6230 rounding up the fraction.
6231
40702893
JDA
62322015-01-31 John David Anglin <danglin@gcc.gnu.org>
6233
6234 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6235 oldval and newval to const void *. Fix typo.
6236 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6237 (FETCH_AND_OP_WORD): Likewise.
6238 (OP_AND_FETCH_WORD): Likewise.
6239 (COMPARE_AND_SWAP_2): Likewise.
6240 (__sync_val_compare_and_swap_4): Likewise.
6241 (__sync_lock_test_and_set_4): Likewise.
6242 (SYNC_LOCK_RELEASE_2): Likewise.
6243 Remove support for long long atomic operations.
6244
f7f049fa
CT
62452015-01-27 Caroline Tice <cmtice@google.com>
6246
6247 Committing VTV Cywin/Ming patch for Patrick Wollgast
6248 * Makefile.in: Move rules to build vtv_*.o out of the check
6249 for CUSTOM_CRTSTUFF.
6250 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6251 i[34567]86-*-mingw*)
3d3b561f 6252 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
6253 enable_vtable_verify.
6254
8410904a
NC
62552015-01-27 Nick Clifton <nickc@redhat.com>
6256
6257 * config/rl78/cmpsi2.S: Use function start and end macros.
6258 (__gcc_bcmp): New function.
6259 * config/rl78/lshrsi3.S: Use function start and end macros.
6260 * config/rl78/mulsi3.S: Add support for G10.
6261 (__mulqi3): New function for G10.
6262 * config/rl78/signbit.S: Use function start and end macros.
6263 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6264 fpmath-sf.S.
6265 (LIB2FUNCS_EXCLUDE): Define.
6266 (LIB2FUNCS_ST): Define.
6267 * config/rl78/trampoline.S: Use function start and end macros.
6268 * config/rl78/vregs.h (START_FUNC): New macro.
6269 (START_ANOTHER_FUNC): New macro.
6270 (END_FUNC): New macro.
6271 (END_ANOTHER_FUNC): New macro.
6272 * config/rl78/bit-count.S: New file. Contains assembler
6273 implementations of the bit counting functions: ___clzhi2,
6274 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6275 __paritysi2, __popcounthi2 and __popcountsi2.
6276 * config/rl78/fpbit-sf.S: New file. Contains assembler
6277 implementationas of the math functions: __negsf2, __cmpsf2,
6278 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6279 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6280 * config/rl78/fpmath-sf.S: New file. Contains assembler
6281 implementations of the math functions: __subsf3, __addsf3,
6282 __mulsf3 and __divsf3
6283
f962fbf1
RO
62842015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6285
6286 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6287 Add i386/elf-lib.h to tm_file.
6288 * config/i386/elf-lib.h: Fix comment.
6289 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6290 && __sun__ && __svr4__]: Remove workaround.
6291
939911c5
ASJ
62922015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6293
6294 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6295 FEATURE_BMI2.
6296 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6297
c8f2dff2
L
62982015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6299
6300 * config/i386/cpuinfo.c (processor_subtypes): Add
6301 INTEL_COREI7_BROADWELL.
6302 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6303 model numbers.
6304
7bbf9734
UB
63052015-01-23 Uros Bizjak <ubizjak@gmail.com>
6306
6307 * config/i386/elf-lib.h: New file.
6308 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6309 Wrap definition in #ifdef __i386__.
6310 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6311 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6312 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6313 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6314 to tm_file.
6315
324820f1
CG
63162015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6317
6318 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6319 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6320
a9ce4e4a
CLT
63212015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6322
6323 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6324 Update rt_sigframe format and address for current Nios II
6325 Linux conventions.
6326
82a19768
AT
63272015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6328
6329 * config.host (arm*-*-freebsd*): Add new configuration for
6330 arm*-*-freebsd*.
6331 * config/arm/freebsd-atomic.c: New file.
6332 * config/arm/t-freebsd: Likewise.
6333 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6334 'PC-relative indirect' OS's.
6335
0969ec7d
EB
63362015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6337
6338 * config.host: Add Visium support.
6339 * config/visium: New directory.
6340
5624e564
JJ
63412015-01-05 Jakub Jelinek <jakub@redhat.com>
6342
6343 Update copyright years.
6344
82f84ecb
MF
63452014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6346
6347 * config.host: Support mipsisa32r6 and mipsisa64r6.
6348 * config/mips/mips16.S: Do not build for R6.
6349
69044fa9
OE
63502014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6351
6352 * config/sh/crt.h: New.
6353 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6354 symbols.
6355 * config/sh/crt1.S: Likewise.
6356
2405e0ea
UB
63572014-12-15 Uros Bizjak <ubizjak@gmail.com>
6358
6359 PR libgcc/63832
6360 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6361 func_ptr *dtor_list temporary variable to avoid "array subscript
6362 is above array bounds" warnings.
6363
7d296953 63642014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
6365
6366 * Makefile.in (with_aix_soname): Define.
6367 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6368 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6369 * configure: Recreate.
6370
a66272f6
OH
63712014-12-05 Olivier Hainque <hainque@adacore.com>
6372
6373 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6374 now provided by defaults.h.
6375
6342b2c5
OE
63762014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6377
7d0ee249 6378 PR target/55351
6342b2c5
OE
6379 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6380 whether it's defined.
6381
c17eac85
IT
63822014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6383
6384 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6385 * config/i386/cpuinfo.c (get_available_features): Detect it.
6386
1025cb6c
TW
63872014-11-27 Tony Wang <tony.wang@arm.com>
6388
6389 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6390 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6391 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6392
d19f2e38
SB
63932014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6394
6395 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6396
17f6e9a3
JDA
63972014-11-24 John David Anglin <danglin@gcc.gnu.org>
6398
6399 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6400 instead.
6401
0cd7c672
GM
64022014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6403 John David Anglin <danglin@gcc.gnu.org>
6404
6405 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6406 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6407 (OP_AND_FETCH_2): Likewise.
6408 (COMPARE_AND_SWAP_2): Likewise.
6409 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6410 (SYNC_LOCK_RELEASE_2): Likewise.
6411 (SUBWORD_SYNC_OP): Remove.
6412 (SUBWORD_VAL_CAS): Likewise.
6413 (SUBWORD_BOOL_CAS): Likewise.
6414 (FETCH_AND_OP_WORD): Update.
6415 Consistently use signed types.
cc86234f 6416
85c64bbe
BS
64172014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6418 Thomas Schwinge <thomas@codesourcery.com>
6419 Ilya Verbin <ilya.verbin@intel.com>
6420 Andrey Turetskiy <andrey.turetskiy@intel.com>
6421
6422 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6423 (crtoffloadend$(objext)): Likewise.
6424 * configure: Regenerate.
6425 * configure.ac (accel_dir_suffix): Compute new variable.
6426 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6427 if enable_offload_targets is not empty.
6428 * offloadstuff.c: New file.
6429
52a1ff8b
NC
64302014-11-13 Nick Clifton <nickc@redhat.com>
6431
6432 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6433 Use START_FUNC and END_FUNC macros to enable linker garbage
6434 collection.
6435 * config/rl78/divmodqi.S: Likewise.
6436 * config/rl78/divmodsi.S: Likewise.
6437 * config/rl78/mulsi3.S: Likewise.
6438 * config/rl78/lib2div.c: Remove G10 functions.
6439 * config/rl78/lib2muls.c: Likewise.
6440 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6441 * config/rl78/vregs.h (START_FUNC): New macro.
6442 (END_FUNC): New macro.
6443
050af144
MF
64442014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6445
6446 * config/mips/mips16.S: Set .module when supported. Update O32
6447 FP64 calling convention and use for FPXX when possible. Add FPXX
6448 calling convention fallback case.
6449
738f2522
BS
64502014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6451
6452 * config.host: Handle nvptx-*-*.
6453 * shared-object.mk (as-flags-$o): Define.
6454 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6455 -xassembler-with-cpp.
6456 * static-object.mk: Identical changes.
6457 * config/nvptx/t-nvptx: New file.
6458 * config/nvptx/crt0.s: New file.
6459 * config/nvptx/free.asm: New file.
6460 * config/nvptx/malloc.asm: New file.
6461 * config/nvptx/realloc.c: New file.
6462
e610393c
JM
64632014-10-30 Joseph Myers <joseph@codesourcery.com>
6464
6465 * Makefile.in (libgcc.map.in): New target.
6466 (libgcc.map): Use libgcc.map.in.
6467 * config/t-softfp (softfp_compat): New variable to be set by
6468 users.
6469 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6470 variables.
6471 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6472 directory.
6473 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6474 that use compat symbols and disable all code unless [SHARED].
6475 * config/t-softfp-compat: New file.
6476 * find-symver.awk: New file.
6477 * configure.ac (--with-glibc-version): New configure option.
6478 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6479 * configure: Regenerate.
6480 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6481 soft-float and e500.
6482
bc1b3a88
JM
64832014-10-29 Joseph Myers <joseph@codesourcery.com>
6484
6485 * config/t-hardfp (hardfp_exclusions): Document new variable for
6486 user to define.
6487 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6488 * config/t-softfp (softfp_extras): Document new variable for user
6489 to define.
6490 (softfp_func_list): Add functions from $(softfp_extras).
6491 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6492 * config.host (powerpc*-*-linux*): For e500v1, use
6493 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6494 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6495 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6496
ef2810c1
JDA
64972014-10-26 John David Anglin <danglin@gcc.gnu.org>
6498
6499 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6500 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6501 memory read accesses are ok.
6502
d80c2bea
JM
65032014-10-25 Joseph Myers <joseph@codesourcery.com>
6504
6505 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6506 * configure: Regenerate.
6507 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6508 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6509 of soft-fp for 32-bit classic hard float. Do not use
6510 t-softfp-excl for soft float.
6511
693b297b
JM
65122014-10-22 Joseph Myers <joseph@codesourcery.com>
6513
6514 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6515 configurations.
6516 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6517 Remove variables.
6518
18a3415e
GJL
65192014-10-22 Georg-Johann Lay <avr@gjlay.de>
6520
6521 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6522 introduced with 2014-10-21 trunk r216525.
6523
c1dd9790 65242014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6525 Vidya Praveen <vidya.praveen@atmel.com>
6526 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6527 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6528 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6529
6530 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6531 order.
6532
6533 Updated library functions for AVRTINY arch.
6534 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6535 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6536 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6537 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6538 wsubi/wadi macors.
6539 (__mulsi3_helper): Update stack, preserve callee saved regs and
6540 argument from stack. Restore callee save registers.
6541 (__mulpsi3): Likewise.
6542 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6543 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6544 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6545 AVRTINY.
6546 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6547 (__do_copy_data): Added new definition for AVRTINY.
6548 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6549 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6550 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6551 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6552 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6553 macors.
18a3415e 6554 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6555 AVRTINY.
6556
18a3415e 6557 Fix broken long multiplication on tiny arch.
c1dd9790 6558
5f606431
JM
65592014-10-09 Joseph Myers <joseph@codesourcery.com>
6560
6561 * soft-fp/double.h: Update from glibc.
6562 * soft-fp/eqdf2.c: Likewise.
6563 * soft-fp/eqsf2.c: Likewise.
6564 * soft-fp/eqtf2.c: Likewise.
6565 * soft-fp/extenddftf2.c: Likewise.
6566 * soft-fp/extended.h: Likewise.
6567 * soft-fp/extendsfdf2.c: Likewise.
6568 * soft-fp/extendsftf2.c: Likewise.
6569 * soft-fp/extendxftf2.c: Likewise.
6570 * soft-fp/gedf2.c: Likewise.
6571 * soft-fp/gesf2.c: Likewise.
6572 * soft-fp/getf2.c: Likewise.
6573 * soft-fp/ledf2.c: Likewise.
6574 * soft-fp/lesf2.c: Likewise.
6575 * soft-fp/letf2.c: Likewise.
6576 * soft-fp/op-1.h: Likewise.
6577 * soft-fp/op-2.h: Likewise.
6578 * soft-fp/op-4.h: Likewise.
6579 * soft-fp/op-8.h: Likewise.
6580 * soft-fp/op-common.h: Likewise.
6581 * soft-fp/quad.h: Likewise.
6582 * soft-fp/single.h: Likewise.
6583 * soft-fp/soft-fp.h: Likewise.
6584 * soft-fp/unorddf2.c: Likewise.
6585 * soft-fp/unordsf2.c: Likewise.
6586 * soft-fp/unordtf2.c: Likewise.
6587 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6588 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6589 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6590 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6591 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6592 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6593 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6594 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6595 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6596 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6597
9b84e7a8
RX
65982014-10-08 Rong Xu <xur@google.com>
6599
6600 * libgcov-util.c (read_gcda_file): Fix format.
6601 (find_match_gcov_info): Ditto.
6602 (calculate_2_entries): New.
6603 (compute_one_gcov): Ditto.
6604 (gcov_info_count_all_cold): Ditto.
6605 (gcov_info_count_all_zero): Ditto.
6606 (extract_file_basename): Ditto.
6607 (get_file_basename): Ditto.
6608 (set_flag): Ditto.
6609 (matched_gcov_info): Ditto.
6610 (calculate_overlap): Ditto.
6611 (gcov_profile_overlap): Ditto.
6612 * libgcov-driver.c (compute_summary): Make
6613 it avavilable for external calls.
6614
fe1090c1
RX
66152014-10-06 Rong Xu <xur@google.com>
6616
6617 * Makefile.in: Ditto.
6618 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6619 (gcov_sort_icall_topn_counter): Ditto.
6620 (gcov_sort_topn_counter_arrays): Ditto.
6621 (dump_one_gcov): Sort indirect_call topn counters.
6622 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6623 function.
6624 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6625 utility function.
6626 (__gcov_indirect_call_topn_profiler): New profiler function.
6627 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6628 * libgcov.h: New decls.
6629
3daa7bbf
TS
66302014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6631
6632 * config.host: Remove support for score-*.
6633
9a79452d
JM
66342014-09-22 Joseph Myers <joseph@codesourcery.com>
6635
6636 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6637 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6638 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6639 __LIBGCC_XF_MANT_DIG__.
6640 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6641 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6642 __LIBGCC_TF_MANT_DIG__.
6643 * libgcc2.c (NOTRUNC): Define in terms of
6644 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6645 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6646
1a849e50
JM
66472014-09-22 Joseph Myers <joseph@codesourcery.com>
6648
6649 PR target/63312
6650 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6651 New macros.
6652
598a1586
HPN
66532014-09-22 Hans-Peter Nilsson <hp@axis.com>
6654
6655 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6656 override USE_PT_GNU_EH_FRAME.
6657 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6658 check USE_EH_FRAME_REGISTRY_ALWAYS against
6659 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6660 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6661 variable for substituted force_explicit_eh_registry.
6662 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6663 * configure.ac (explicit-exception-frame-registration):
6664 New AC_ARG_ENABLE.
6665 * configure: Regenerate.
6666
3a8fe7c6
OH
66672014-09-19 Olivier Hainque <hainque@adacore.com>
6668
6669 * config.host (powerpc-wrs-vxworksmils): New configuration,
6670 same as vxworksae.
6671
dd69f047
JM
66722014-09-18 Joseph Myers <joseph@codesourcery.com>
6673
6674 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6675
e770bfd9
JM
66762014-09-18 Joseph Myers <joseph@codesourcery.com>
6677
6678 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6679 bits not set bits as indicating trapping exceptions.
6680
cadb2b96
NS
66812014-09-17 Nathan sidwell <nathan@acm.org>
6682
6683 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6684 (LIBGCOV_DRIVER): ... here.
6685 * libgcov-driver.c (gcov_master): New.
6686 (gcov_exit): Remove from master chain.
6687 (__gcov_init): Add to master chain if version compatible. Don't
6688 clear the version.
6689 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6690 (gcov_reset_int): Clear master chain, if compatible.
6691 (gcov_dump_int): New internal interface. Dump master chain, if
6692 compatible.
6693 (gcov_dump): Alias for gcov_dump_int.
6694 * libgcov.h (struct gcov_root): Add next and prev fields.
6695 (struct gcov_master): New struct.
6696 (__gcov_master): New.
6697 (gcov_dump_int): Declare.
6698
580d22a3
OH
66992014-09-17 Olivier Hainque <hainque@adacore.com>
6700
6701 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6702 and crtbegin.o + crtend.o to extra_parts.
6703
8cc4b7a2
JM
67042014-09-12 Joseph Myers <joseph@codesourcery.com>
6705
6706 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6707 __LIBGCC_HAS_SF_MODE__.
6708 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6709 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6710 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6711 * config/libbid/bid_gcc_intrinsics.h
6712 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6713 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6714 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6715 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6716 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6717 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6718
ea3f2b24
GJL
67192014-09-11 Georg-Johann Lay <avr@gjlay.de>
6720
6721 PR target/63223
6722 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6723 and R24 as needed. Make work for all devices and .text locations.
6724 (__do_global_ctors, __do_global_dtors): Use word addresses.
6725 (__tablejump__, __tablejump_elpm__): Remove functions.
6726 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6727 Add _tablejump2.
6728 (XICALL, XIJMP): New macros.
6729
b677236a
MS
67302014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6731 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6732
6733 * config.host (aarch64*): Include crtfastmath.o and
6734 t-crtfm.
6735 * config/aarch64/crtfastmath.c: New file.
6736
157e859f
TS
67372014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6738
6739 * config.host: Remove picochip support.
6740 * config/picochip/adddi3.S: Remove.
6741 * config/picochip/ashlsi3.S: Remove.
6742 * config/picochip/ashlsi3.c: Remove.
6743 * config/picochip/ashrsi3.S: Remove.
6744 * config/picochip/ashrsi3.c: Remove.
6745 * config/picochip/clzsi2.S: Remove.
6746 * config/picochip/cmpsi2.S: Remove.
6747 * config/picochip/divmod15.S: Remove.
6748 * config/picochip/divmodhi4.S: Remove.
6749 * config/picochip/divmodsi4.S: Remove.
6750 * config/picochip/lib1funcs.S: Remove.
6751 * config/picochip/longjmp.S: Remove.
6752 * config/picochip/lshrsi3.S: Remove.
6753 * config/picochip/lshrsi3.c: Remove.
6754 * config/picochip/parityhi2.S: Remove.
6755 * config/picochip/popcounthi2.S: Remove.
6756 * config/picochip/setjmp.S: Remove.
6757 * config/picochip/subdi3.S: Remove.
6758 * config/picochip/t-picochip: Remove.
6759 * config/picochip/ucmpsi2.S: Remove.
6760 * config/picochip/udivmodhi4.S: Remove.
6761 * config/picochip/udivmodsi4.S: Remove.
6762
66bb34c0
JM
67632014-09-08 Joseph Myers <joseph@codesourcery.com>
6764
6765 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6766 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6767 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6768 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6769 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6770 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6771 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6772 defined and LIBGCC2_HAS_DF_MODE is defined.
6773 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6774 defined and LIBGCC2_HAS_XF_MODE is defined.
6775 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6776 defined and LIBGCC2_HAS_TF_MODE is defined.
6777
9686a2e6
JM
67782014-09-08 Joseph Myers <joseph@codesourcery.com>
6779
6780 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6781 and ROUND_TOWARDS_ZERO conditionals.
6782
71c3e2ef
NS
67832014-09-07 Nathan sidwell <nathan@acm.org>
6784
6785 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6786 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6787
53d68b9f
JM
67882014-09-05 Joseph Myers <joseph@codesourcery.com>
6789
6790 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6791 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6792 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6793 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6794 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6795 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6796 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6797 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6798 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6799 (DWARF_FRAME_REGISTERS): Change all uses to
6800 __LIBGCC_DWARF_FRAME_REGISTERS__.
6801 (EH_RETURN_STACKADJ_RTX): Change all uses to
6802 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6803 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6804 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6805 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6806 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6807 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6808 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6809 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6810 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6811 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6812 __LIBGCC_STACK_POINTER_REGNUM__.
6813 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6814 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6815 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6816 to __LIBGCC_STACK_POINTER_REGNUM__.
6817 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6818 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6819 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6820 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6821 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6822 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6823 (STACK_POINTER_REGNUM): Change all uses to
6824 __LIBGCC_STACK_POINTER_REGNUM__.
6825 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6826 use to __LIBGCC_STACK_POINTER_REGNUM__.
6827 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6828 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6829 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6830 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6831 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6832 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6833 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6834 to __LIBGCC_STACK_POINTER_REGNUM__.
6835 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6836 Remove conditional definition.
6837 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6838 __LIBGCC_TEXT_SECTION_ASM_OP__.
6839 (EH_FRAME_SECTION_NAME): Change all uses to
6840 __LIBGCC_EH_FRAME_SECTION_NAME__.
6841 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6842 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6843 (CTORS_SECTION_ASM_OP): Change all uses to
6844 __LIBGCC_CTORS_SECTION_ASM_OP__.
6845 (DTORS_SECTION_ASM_OP): Change all uses to
6846 __LIBGCC_DTORS_SECTION_ASM_OP__.
6847 (JCR_SECTION_NAME): Change all uses to
6848 __LIBGCC_JCR_SECTION_NAME__.
6849 (INIT_SECTION_ASM_OP): Change all uses to
6850 __LIBGCC_INIT_SECTION_ASM_OP__.
6851 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6852 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6853 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6854 __LIBGCC_STACK_GROWS_DOWNWARD__.
6855 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6856 __LIBGCC_INIT_SECTION_ASM_OP__.
6857 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6858 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6859 (EH_FRAME_SECTION_NAME): Change all uses to
6860 __LIBGCC_EH_FRAME_SECTION_NAME__.
6861 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6862 definitions. Change all uses to
6863 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6864 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6865 __LIBGCC_STACK_GROWS_DOWNWARD__.
6866 (DWARF_FRAME_REGISTERS): Change all uses to
6867 __LIBGCC_DWARF_FRAME_REGISTERS__.
6868 (EH_RETURN_STACKADJ_RTX): Change all uses to
6869 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6870 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6871 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6872 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6873 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6874 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6875
b20ee094
NS
68762014-09-02 Nathan sidwell <nathan@acm.org>
6877
6878 * libgcov-interface.c (STRONG_ALIAS): New.
6879 (__gcov_flush): Call __gcov_reset_int.
6880 (__gcov_reset): Strong alias for ...
6881 (__gcov_reset_ing): ... this renamed hidden version.
6882 * libgcov.h (__gcov_reset_int): New declaration.
6883
1ac83976
YS
68842014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6885
25efdb9f
YS
6886 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6887 call from here...
6888 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6889 (__dso_handle): Define on Cygwin.
6890 * config/i386/t-cygming (crtbeginS.o): New rule.
6891 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6892
1ac83976
YS
6893 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6894 declaration syntax.
6895
c6f9ea3b
SE
68962014-08-13 Steve Ellcey <sellcey@mips.com>
6897
6898 * crtstuff.c: Undef caddr_t.
6899
5b1ea7c5
SE
69002014-08-12 Steve Ellcey <sellcey@mips.com>
6901
6902 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6903
4303c581
NS
69042014-08-07 Nathan Sidwell <nathan@acm.org>
6905
6906 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6907 (LIBGCOV_DRIVER): ... to here.
6908 * libgcov.h (gcov_do_dump): New #define.
6909 (struct gcov_root): New.
6910 (__gcov_root): New declaration.
6911 (__gcov_dump_one): Declare.
6912 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6913 run_accounted): Delete.
6914 (gcov_compute_histogram): Add LIST argument, adjust.
6915 (compute_summary): Adjust gcov_compute_histogram call.
6916 (gcov_do_dump): Not hidden, static in libgcov.
6917 (gcov_clear): Move to interface.c.
6918 (__gcov_dump_one): New, broken out of ...
6919 (gcov_exit): ... here. Make static.
6920 (__gcov_root): New.
6921 (__gcov_init): Adjust.
6922 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6923 declarations.
6924 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6925 (gcov_clear): Moved from driver.c. Add LIST argument.
6926 (__gcov_reset): Adjust for changed interfaces.
6927 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6928
23742a9e
RAR
69292014-08-04 Rohit <rohitarulraj@freescale.com>
6930
6931 PR target/60102
6932 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6933 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6934
b98a872b
NS
69352014-08-01 Nathan Sidwell <nathan@acm.org>
6936
6937 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6938 LIBGCOV_INTERFACE): Reformat.
6939 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6940 IN_GCOV_TOOL.
6941 * libgcov-interface.c: Reformat some comments.
6942 (__gcov_flush_mx): Add declaration. Tidy up definition.
6943
6adaaa1d
AM
69442014-07-31 Alan Modra <amodra@gmail.com>
6945 Peter Bergner <bergner@vnet.ibm.com>
6946
6947 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6948 (pack_ldouble): New function.
6949 (__gcc_qadd): Use it.
6950 (__gcc_qmul): Likewise.
6951 (__gcc_qdiv): Likewise.
6952 (__gcc_qneg): Likewise.
6953 (__gcc_stoq): Likewise.
6954 (__gcc_dtoq): Likewise.
6955
87cb0c0c
UW
69562014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6957
6958 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6959 (__tpf_eh_return): Add original return address as second parameter.
6960 Handle cases where unwinder routines were called directly, instead
6961 of from within the C++ library.
6962
19926161
NS
69632014-07-29 Nathan Sidwell <nathan@acm.org>
6964
6965 * libgcov.h: Move renaming of entry points to lib gcov specific
6966 portion.
6967 (gcov_do_dump): New rename.
6968 (gcov_rewrite): Remove inline, make HIDDEN.
6969 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6970 (gcov_exit_compute_summary): Rename to ...
6971 (compute_summary): ... here. Add LIST argument.
6972 (gcov_exit_merge_gcda): Rename to ...
6973 (merge_one_data): ... here.
6974 (gcov_exit_write_gcda): Rename to ...
6975 (write_one_data): ... here.
6976 (gcov_exit_merge_summary): Rename to ...
6977 (merge_summary): Add RUN_COUNTED argument.
6978 (gcov_exit_dump_gcov): Rename to ...
6979 (dump_one_gcov): Add RUN_COUNTED argument.
6980 (gcov_do_dump): New function, broken out of ...
6981 (gcov_exit): ... here. Call it.
6982
17522262
AG
69832014-07-27 Anthony Green <green@moxielogic.com>
6984
6985 * config.host: Add moxiebox configuration suppport.
6986
6dc33097
NS
69872014-07-27 Nathan Sidwell <nathan@acm.org>
6988
6989 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6990 (struct gcov_filename): ... here. Include buffer and max length
6991 fields.
6992 (gcov_max_filename): Remove.
6993 (gi_filename): Remove.
6994 (gcov_exit_compute_summary): Compute max filename here.
6995 (gcov_exit_merge_gcda): Add filename parm, adjust.
6996 (gcov_exit_merge_summary): Likewise.
6997 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6998 (gcov_exit): Likewise.
6999 (__gcov_init): Don't calculate max length here.
7000 * libgcov_util.c (max_filename_len): Remove.
7001 (read_gcda_file): Don't calculate max length here.
7002 (gcov_read_profile_dir): Don't propagate here.
7003 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7004 struct gcov_filename changes.
7005 (gcov_exit_open_gcda_file): Likewise.
7006
770f687d
NS
70072014-07-25 Nathan Sidwell <nathan@acm.org>
7008
7009 * libgcov-driver.c (set_gcov_dump_complete,
7010 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7011 functions polluting user's namespace.
7012 (gcov_exit): Set variable directly.
7013 (gcov_clear): Reset variable directly.
7014 * libgcov-interface.c (get_gcov_dymp_complete,
7015 reset_gov_dump_complete): Remove declarations.
7016 (__gcov_reset, __gcov_dump): Don't call them.
7017
fabf71ba
DD
70182014-07-24 DJ Delorie <dj@redhat.com>
7019
7020 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7021 (__gcc_deregister_frame): Move logic to detect deregister function
7022 to ...
7023 (__gcc_register_frame): here, so it's consistent with the register
7024 logic.
fabf71ba 7025
d10ee722
NS
70262014-07-23 Nathan Sidwell <nathan@acm.org>
7027
7028 * libgcov-driver.c (set_gcov_list): Remove.
7029 (gcov_list): Make non-static in GCOV_TOOL.
7030 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7031
a4137090
JDA
70322014-07-17 John David Anglin <danglin@gcc.gnu.org>
7033
7034 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7035 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7036 Don't use SYNC_LOCK_RELEASE for int type.
7037
72602c6c
RB
70382014-07-14 Richard Biener <rguenther@suse.de>
7039
7040 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7041
d5313205
RX
70422014-07-11 Rong Xu <xur@google.com>
7043
7044 * libgcov-util.c (gcov_max_filename): Fix declartion.
7045
c77556a5
RX
70462014-07-10 Rong Xu <xur@google.com>
7047
7048 Add gcov-tool: an offline gcda profile processing tool
7049 Support.
7050 * libgcov-driver.c (gcov_max_filename): Make available
7051 to gcov-tool.
7052 * libgcov-merge.c (__gcov_merge_add): Replace
7053 gcov_read_counter() with a Macro.
7054 (__gcov_merge_ior): Ditto.
7055 (__gcov_merge_time_profile): Ditto.
7056 (__gcov_merge_single): Ditto.
7057 (__gcov_merge_delta): Ditto.
7058 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7059 in the utility functions.
7060 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7061 gcov_list object link lists.
7062 (tag_function): Ditto.
7063 (tag_blocks): Ditto.
7064 (tag_arcs): Ditto.
7065 (tag_lines): Ditto.
7066 (tag_counters): Ditto.
7067 (tag_summary): Ditto.
7068 (read_gcda_finalize): Ditto.
7069 (read_gcda_file): Ditto.
7070 (ftw_read_file): Ditto.
7071 (read_profile_dir_init): Ditto.
7072 (gcov_read_profile_dir): Ditto.
7073 (gcov_read_counter_mem): Ditto.
7074 (gcov_get_merge_weight): Ditto.
7075 (merge_wrapper): A wrapper function that calls merging handler.
7076 (gcov_merge): Merge two gcov_info objects with weights.
7077 (find_match_gcov_info): Find the matched gcov_info in the list.
7078 (gcov_profile_merge): Merge two gcov_info object lists.
7079 (__gcov_add_counter_op): Process edge profile counter values.
7080 (__gcov_ior_counter_op): Process IOR profile counter values.
7081 (__gcov_delta_counter_op): Process delta profile counter values.
7082 (__gcov_single_counter_op): Process single profile counter values.
7083 (fp_scale): Callback function for float-point scaling.
cc86234f 7084 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7085 (gcov_profile_scale): Scaling profile counters.
7086 (gcov_profile_normalize): Normalize profile counters.
7087 * libgcov.h: Add headers and functions for gcov-tool use.
7088 (gcov_get_counter): New.
7089 (gcov_get_counter_target): Ditto.
7090 (struct gcov_info): Make the functions field mutable in gcov-tool
7091 compilation.
7092
5c7dac8a
KT
70932014-06-23 Kai Tietz <ktietz@redhat.com>
7094
7095 PR libgcc/61585
7096 * unwind-seh.c (_Unwind_GetGR): Check for proper
7097 index range.
7098 (_Unwind_SetGR): Likewise.
7099
161c9312
NC
71002014-05-22 Nick Clifton <nickc@redhat.com>
7101
7102 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7103 -mhwmult=none.
7104
e3f0315f
TJ
71052014-05-22 Teresa Johnson <tejohnson@google.com>
7106
7107 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7108 include.
7109
dbed5a9b
JM
71102014-05-20 John Marino <gnugcc@marino.st>
7111
7112 * config.host (*-*-dragonfly*): New target.
7113 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7114 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7115 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7116 * config/i386/dragonfly-unwind.h: New.
7117
1ec380e5
MR
71182014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7119
7120 PR libgcc/60166
7121 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7122 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7123
54fde020
BE
71242014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7125
7126 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7127 implementation.
7128
999db125
GJL
71292014-05-12 Georg-Johann Lay <avr@gjlay.de>
7130
7131 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7132
cceaf54a
RO
71332014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7134
7135 PR libgcc/61097
7136 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7137 if --enable-shared.
7138
e3fe9b5b
BE
71392014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7140
7141 Work around for current cygwin32 build problems.
7142 * config/i386/cygming-crtbegin.c (__register_frame_info,
7143 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7144 functions only for 64-bit systems.
7145
54cf37e9
RO
71462014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7147
7148 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7149 (sigill_caught, sigill_hdlr): Remove.
7150
d9f069ab
RO
71512014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7152
7153 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7154 check.
7155 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7156 Solaris 9 single-threaded support.
7157 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7158 Solaris 9 single-threaded support. Add call_user_handler code
7159 sequences.
7160 (sparc_is_sighandler): Likewise.
7161
59976ef8
AK
71622014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7163
7164 * config.host: Append t-floattodi to tmake_file depending on
7165 host_address.
7166
d02bbcf3
JS
71672014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7168
31466bc0 7169 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7170
c2e7e597
UB
71712014-03-10 Uros Bizjak <ubizjak@gmail.com>
7172
7173 PR libgcc/60472
7174 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7175 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7176 Use __builtin_expect when checking *jcr_list for NULL.
7177
227a7dc8
RO
71782014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7179
7180 PR libgcc/59339
7181 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7182 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7183 vtv_*.o to extra_parts if enable_vtable_verify.
7184
df2b279c
NC
71852014-03-06 Nick Clifton <nickc@redhat.com>
7186
7187 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7188 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7189
dc11d79b
JY
71902014-02-28 Joey Ye <joey.ye@arm.com>
7191
7192 PR libgcc/60166
7193 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7194 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7195 Set to zero.
7196
341c653c
WL
71972014-02-24 Walter Lee <walt@tilera.com>
7198
7199 * config.host: Support "tilegx*" and "tilepro*" triplets.
7200 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7201 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7202
95ce7613
CLT
72032014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7204 Chung-Lin Tang <cltang@codesourcery.com>
7205
7206 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7207 * config/nios2/crti.S: Remove .file directive.
7208 * config/nios2/crtn.S: Likewise.
7209
0bb4fc05
KT
72102014-02-18 Kai Tietz <ktietz@redhat.com>
7211 Jonathan Schleifer <js@webkeks.org>
7212
7213 PR objc/56870
7214 * unwind-seh.c (_GCC_specific_handler): Pass proper
7215 value to unwind-handler.
7216
9acf28f1
JM
72172014-02-12 Joseph Myers <joseph@codesourcery.com>
7218
7219 * soft-fp/adddf3.c: Update from glibc.
7220 * soft-fp/addsf3.c: Likewise.
7221 * soft-fp/addtf3.c: Likewise.
7222 * soft-fp/divdf3.c: Likewise.
7223 * soft-fp/divsf3.c: Likewise.
7224 * soft-fp/divtf3.c: Likewise.
7225 * soft-fp/double.h: Likewise.
7226 * soft-fp/eqdf2.c: Likewise.
7227 * soft-fp/eqsf2.c: Likewise.
7228 * soft-fp/eqtf2.c: Likewise.
7229 * soft-fp/extenddftf2.c: Likewise.
7230 * soft-fp/extended.h: Likewise.
7231 * soft-fp/extendsfdf2.c: Likewise.
7232 * soft-fp/extendsftf2.c: Likewise.
7233 * soft-fp/extendxftf2.c: Likewise.
7234 * soft-fp/fixdfdi.c: Likewise.
7235 * soft-fp/fixdfsi.c: Likewise.
7236 * soft-fp/fixdfti.c: Likewise.
7237 * soft-fp/fixsfdi.c: Likewise.
7238 * soft-fp/fixsfsi.c: Likewise.
7239 * soft-fp/fixsfti.c: Likewise.
7240 * soft-fp/fixtfdi.c: Likewise.
7241 * soft-fp/fixtfsi.c: Likewise.
7242 * soft-fp/fixtfti.c: Likewise.
7243 * soft-fp/fixunsdfdi.c: Likewise.
7244 * soft-fp/fixunsdfsi.c: Likewise.
7245 * soft-fp/fixunsdfti.c: Likewise.
7246 * soft-fp/fixunssfdi.c: Likewise.
7247 * soft-fp/fixunssfsi.c: Likewise.
7248 * soft-fp/fixunssfti.c: Likewise.
7249 * soft-fp/fixunstfdi.c: Likewise.
7250 * soft-fp/fixunstfsi.c: Likewise.
7251 * soft-fp/fixunstfti.c: Likewise.
7252 * soft-fp/floatdidf.c: Likewise.
7253 * soft-fp/floatdisf.c: Likewise.
7254 * soft-fp/floatditf.c: Likewise.
7255 * soft-fp/floatsidf.c: Likewise.
7256 * soft-fp/floatsisf.c: Likewise.
7257 * soft-fp/floatsitf.c: Likewise.
7258 * soft-fp/floattidf.c: Likewise.
7259 * soft-fp/floattisf.c: Likewise.
7260 * soft-fp/floattitf.c: Likewise.
7261 * soft-fp/floatundidf.c: Likewise.
7262 * soft-fp/floatundisf.c: Likewise.
7263 * soft-fp/floatunditf.c: Likewise.
7264 * soft-fp/floatunsidf.c: Likewise.
7265 * soft-fp/floatunsisf.c: Likewise.
7266 * soft-fp/floatunsitf.c: Likewise.
7267 * soft-fp/floatuntidf.c: Likewise.
7268 * soft-fp/floatuntisf.c: Likewise.
7269 * soft-fp/floatuntitf.c: Likewise.
7270 * soft-fp/gedf2.c: Likewise.
7271 * soft-fp/gesf2.c: Likewise.
7272 * soft-fp/getf2.c: Likewise.
7273 * soft-fp/ledf2.c: Likewise.
7274 * soft-fp/lesf2.c: Likewise.
7275 * soft-fp/letf2.c: Likewise.
7276 * soft-fp/muldf3.c: Likewise.
7277 * soft-fp/mulsf3.c: Likewise.
7278 * soft-fp/multf3.c: Likewise.
7279 * soft-fp/negdf2.c: Likewise.
7280 * soft-fp/negsf2.c: Likewise.
7281 * soft-fp/negtf2.c: Likewise.
7282 * soft-fp/op-1.h: Likewise.
7283 * soft-fp/op-2.h: Likewise.
7284 * soft-fp/op-4.h: Likewise.
7285 * soft-fp/op-8.h: Likewise.
7286 * soft-fp/op-common.h: Likewise.
7287 * soft-fp/quad.h: Likewise.
7288 * soft-fp/single.h: Likewise.
7289 * soft-fp/soft-fp.h: Likewise.
7290 * soft-fp/subdf3.c: Likewise.
7291 * soft-fp/subsf3.c: Likewise.
7292 * soft-fp/subtf3.c: Likewise.
7293 * soft-fp/truncdfsf2.c: Likewise.
7294 * soft-fp/trunctfdf2.c: Likewise.
7295 * soft-fp/trunctfsf2.c: Likewise.
7296 * soft-fp/trunctfxf2.c: Likewise.
7297 * soft-fp/unorddf2.c: Likewise.
7298 * soft-fp/unordsf2.c: Likewise.
7299 * soft-fp/unordtf2.c: Likewise.
7300 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7301 macro.
7302 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7303 Likewise.
7304 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7305 Likewise.
7306 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7307 Likewise.
7308 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7309 Likewise.
7310 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7311 Likewise.
7312 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7313 Likewise.
7314 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7315 Likewise.
7316 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7317 Likewise.
7318 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7319 Likewise.
7320 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7321 Likewise.
7322 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7323 Likewise.
7324 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7325 Likewise.
7326 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7327 Likewise.
7328 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7329 Likewise.
7330 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7331 Likewise.
7332
ce245ec6
AK
73332014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7334
7335 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7336 cannot be represented.
7337 * config/s390/32/_fixsfdi.c: Likewise.
7338 * config/s390/32/_fixtfdi.c: Likewise.
7339 * config/s390/32/_fixunsdfdi.c: Likewise.
7340 * config/s390/32/_fixunssfdi.c: Likewise.
7341 * config/s390/32/_fixunstfdi.c: Likewise.
7342
1c51d688
RS
73432014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7344
7345 * configure.ac (libgcc_cv_mips_hard_float): New.
7346 * configure: Regenerate.
7347 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7348 t-softfp-sfdf for hard-float targets.
7349 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7350 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7351 (softfp_truncations, softfp_exclude_libgcc2): New.
7352 * config/t-hardfp: New file.
7353 * config/t-hardfp-sfdf: Likewise.
7354 * config/hardfp.c: Likewise.
7355
bbf391db
AK
73562014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7357
7358 * config.host: Include t-floattodi also for s390x.
7359 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7360 * config/s390/32/_fixsfdi.c: Likewise.
7361 * config/s390/32/_fixtfdi.c: Likewise.
7362 * config/s390/32/_fixunsdfdi.c: Likewise.
7363 * config/s390/32/_fixunssfdi.c: Likewise.
7364 * config/s390/32/_fixunstfdi.c: Likewise.
7365
91da0481
RO
73662014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7367
7368 PR target/59788
7369 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7370 (install-libgcc-unwind-map-forbuild): New target.
7371 (all): Depend on install-libgcc-unwind-map-forbuild.
7372 (install-libgcc-unwind-map): New target.
7373 (install): Depend on install-libgcc-unwind-map.
7374
02b67731
SL
73752014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7376
7377 * config/nios2/crti.S (_init): Initialize GOT pointer from
7378 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7379
1ea0a651
RS
73802014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7381
7382 * configure.ac: Check __mips64 when setting host_address.
7383 * configure: Regenerate.
7384 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7385 mips/t-mips64 and t-softfp.
7386 (mips*-*-linux*): Don't add mips/t-tpbit.
7387 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7388 (DPBIT, DPBIT_CFLAGS): Delete.
7389 * config/mips/sfp-machine.h: New file.
7390 * config/mips/t-mips64: Likewise.
7391 * config/mips/t-softfp-tf: Likewise.
7392 * config/mips/t-tpbit: Delete.
7393
f32b0061
MS
73942014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7395
7396 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7397 as long long.
7398
a5420aa4
WL
73992014-01-25 Walter Lee <walt@tilera.com>
7400
7401 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7402 config.h or system.h.
7403 (bool) Define.
7404
24534912
WL
74052014-01-25 Walter Lee <walt@tilera.com>
7406
7407 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7408 (post_atomic_barrier): Ditto.
7409 (__fetch_and_do): New macro.
7410 (__atomic_fetch_and_do): Use __fetch_and_do.
7411 (__sync_fetch_and_do): New macro.
7412 (__sync_fetch_and_add_4): New function.
7413 (__sync_fetch_and_sub_4): New function.
7414 (__sync_fetch_and_or_4): New function.
7415 (__sync_fetch_and_and_4): New function.
7416 (__sync_fetch_and_xor_4): New function.
7417 (__sync_fetch_and_nand_4): New function.
7418 (__sync_fetch_and_add_8): New function.
7419 (__sync_fetch_and_sub_8): New function.
7420 (__sync_fetch_and_or_8): New function.
7421 (__sync_fetch_and_and_8): New function.
7422 (__sync_fetch_and_xor_8): New function.
7423 (__sync_fetch_and_nand_8): New function.
7424 (__do_and_fetch): New macro.
7425 (__atomic_do_and_fetch): Use __do_and_fetch.
7426 (__sync_do_and_fetch): New macro.
7427 (__sync_add_and_fetch_4): New function.
7428 (__sync_sub_and_fetch_4): New function.
7429 (__sync_or_and_fetch_4): New function.
7430 (__sync_and_and_fetch_4): New function.
7431 (__sync_xor_and_fetch_4): New function.
7432 (__sync_nand_and_fetch_4): New function.
7433 (__sync_add_and_fetch_8): New function.
7434 (__sync_sub_and_fetch_8): New function.
7435 (__sync_or_and_fetch_8): New function.
7436 (__sync_and_and_fetch_8): New function.
7437 (__sync_xor_and_fetch_8): New function.
7438 (__sync_nand_and_fetch_8): New function.
7439 (__sync_exchange_methods): New macro.
7440 (__sync_val_compare_and_swap_4): New function.
7441 (__sync_bool_compare_and_swap_4): New function.
7442 (__sync_lock_test_and_test_4): New function.
7443 (__sync_val_compare_and_swap_8): New function.
7444 (__sync_bool_compare_and_swap_8): New function.
7445 (__sync_lock_test_and_test_8): New function.
7446 (__subword_cmpxchg_body): New macro.
7447 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7448 (__atomic_compare_exchange_2): Ditto.
7449 (__sync_subword_cmpxchg): New macro.
7450 (__sync_val_compare_and_swap_1): New function.
7451 (__sync_bool_compare_and_swap_1): New function.
7452 (__sync_val_compare_and_swap_2): New function.
7453 (__sync_bool_compare_and_swap_2): New function.
7454 (__atomic_subword): Rename to ...
7455 (__subword): ... New name.
7456 (__atomic_subword_fetch): Use __subword.
7457 (__sync_subword_fetch): New macro.
7458 (__sync_fetch_and_add_1): New function.
7459 (__sync_fetch_and_sub_1): New function.
7460 (__sync_fetch_and_or_1): New function.
7461 (__sync_fetch_and_and_1): New function.
7462 (__sync_fetch_and_xor_1): New function.
7463 (__sync_fetch_and_nand_1): New function.
7464 (__sync_fetch_and_add_2): New function.
7465 (__sync_fetch_and_sub_2): New function.
7466 (__sync_fetch_and_or_2): New function.
7467 (__sync_fetch_and_and_2): New function.
7468 (__sync_fetch_and_xor_2): New function.
7469 (__sync_fetch_and_nand_2): New function.
7470 (__sync_add_and_fetch_1): New function.
7471 (__sync_sub_and_fetch_1): New function.
7472 (__sync_or_and_fetch_1): New function.
7473 (__sync_and_and_fetch_1): New function.
7474 (__sync_xor_and_fetch_1): New function.
7475 (__sync_nand_and_fetch_1): New function.
7476 (__sync_add_and_fetch_2): New function.
7477 (__sync_sub_and_fetch_2): New function.
7478 (__sync_or_and_fetch_2): New function.
7479 (__sync_and_and_fetch_2): New function.
7480 (__sync_xor_and_fetch_2): New function.
7481 (__sync_nand_and_fetch_2): New function.
7482 (__atomic_subword_lock): Use __subword.
7483 (__sync_subword_lock): New macro.
7484 (__sync_lock_test_and_set_1): New function.
7485 (__sync_lock_test_and_set_2): New function.
7486
4d6d3bc5
WL
74872014-01-25 Walter Lee <walt@tilera.com>
7488
7489 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7490 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7491 (__atomic_subword): Ditto.
7492
cbd9890e
WL
74932014-01-25 Walter Lee <walt@tilera.com>
7494
7495 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7496 a prefix op argument.
7497 (__atomic_nand_fetch_4): Add prefix op.
7498 (__atomic_nand_fetch_8): Ditto.
7499
7d296953 75002014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7501
7502 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7503
46dd1242
L
75042014-01-09 Rong Xu <xur@google.com>
7505
7506 * libgcov-driver.c (this_prg): make it local to save
7507 bss space.
7508 (gcov_exit_compute_summary): Ditto.
7509 (gcov_exit_merge_gcda): Ditto.
7510 (gcov_exit_merge_summary): Ditto.
7511 (gcov_exit_dump_gcov): Ditto.
7512
cc86234f 75132014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7514
7515 * libgcov-driver.c: Use libgcov.h.
7516 (buffer_fn_data): Use xmalloc instead of malloc.
7517 (gcov_exit_merge_gcda): Ditto.
7518 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7519 * libgcov.h: New common header files for libgcov-*.h.
7520 * libgcov-interface.c: Use libgcov.h
7521 * libgcov-merge.c: Ditto.
7522 * libgcov-profiler.c: Ditto.
7523 * Makefile.in: Add dependence to libgcov.h
7524
a02e7bdd
JM
75252014-01-02 Joseph Myers <joseph@codesourcery.com>
7526
7527 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7528 case of small numerator and finite nonzero result.
7529
ac1dca3c
RS
75302014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7531
7532 Update copyright years
7533
f9030485
RS
75342014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7535
7536 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7537 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7538 config/arc/dp-hack.h, config/arc/fp-hack.h,
7539 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7540 config/arc/ieee-754/arc600-dsp/divdf3.S,
7541 config/arc/ieee-754/arc600-dsp/divsf3.S,
7542 config/arc/ieee-754/arc600-dsp/muldf3.S,
7543 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7544 config/arc/ieee-754/arc600-mul64/divdf3.S,
7545 config/arc/ieee-754/arc600-mul64/divsf3.S,
7546 config/arc/ieee-754/arc600-mul64/muldf3.S,
7547 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7548 config/arc/ieee-754/arc600/divsf3.S,
7549 config/arc/ieee-754/arc600/mulsf3.S,
7550 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7551 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7552 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7553 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7554 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7555 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7556 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7557 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7558 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7559 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7560 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7561 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7562 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7563 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7564 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7565 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7566 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7567 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7568 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7569 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7570 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7571 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7572 vtv_start_preinit.c: Use the standard form for the copyright notice.
7573
e430824f
CLT
75742013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7575 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 7576 Based on patches from Altera Corporation
e430824f
CLT
7577
7578 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7579 * config/nios2/lib2-nios2.h: New file.
7580 * config/nios2/lib2-divmod-hi.c: New file.
7581 * config/nios2/linux-unwind.h: New file.
7582 * config/nios2/lib2-divmod.c: New file.
7583 * config/nios2/linux-atomic.c: New file.
7584 * config/nios2/t-nios2: New file.
7585 * config/nios2/crti.asm: New file.
7586 * config/nios2/t-linux: New file.
7587 * config/nios2/lib2-divtable.c: New file.
7588 * config/nios2/lib2-mul.c: New file.
7589 * config/nios2/tramp.c: New file.
7590 * config/nios2/crtn.asm: New file.
7591
1879e97f
UB
75922013-12-26 Uros Bizjak <ubizjak@gmail.com>
7593
7594 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7595 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7596 from cpuid.h to check vendor signatures.
7597
f4a4bdbb
GG
75982013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7599
c2e7e597 7600 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7601 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7602 (get_amd_cpu): Likewise.
7603
8d2ae544
L
76042013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7605
7606 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7607 Haswell.
7608
74924838
ASJ
76092013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7610 H.J. Lu <hongjiu.lu@intel.com>
7611
0bb52f25
L
7612 PR target/59422
7613 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7614 and AMD_JAGUAR.
7615 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7616 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7617 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7618 FEATURE_XOP and FEATURE_FMA.
7619 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7620 AMDFAM15H_BDVER3.
7621 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 7622 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
7623 FEATURE_FMA4 and FEATURE_XOP.
7624
d3c11974
L
76252013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7626
7627 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7628 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7629 (get_intel_cpu): Updated.
7630
064c4ff2
ZC
76312013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7632
7633 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7634
8b02e720
UB
76352013-12-09 Uros Bizjak <ubizjak@gmail.com>
7636
7637 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 7638 instructions when __SSE_MATH__ is defined.
8b02e720 7639
3fa2ccb4
RC
76402013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7641
7642 * config.host (microblaze-*-rtems*): New.
7643
ecd78fc9
KV
76442013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7645
7646 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7647 architectures that do not have hardware divide instruction.
7648 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7649
b21fbbd2
RS
76502013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7651
7652 * longlong.h: Delete (moved to include/).
7653
b03fb8c9
AZ
76542013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7655
7656 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7657 of normal number and qNaN to not raise an inexact exception.
7658
3c716922
UB
76592013-11-28 Uros Bizjak <ubizjak@gmail.com>
7660
7661 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7662
76632013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
7664
7665 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7666 for correct opcodes on BE.
7667
a3458d22
UB
76682013-11-27 Uros Bizjak <ubizjak@gmail.com>
7669
7670 * soft-fp/op-4.h: Update from glibc.
7671
30b8f78b
KV
76722013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7673
7674 * libgcc2.c (__udivmoddi4): Define new implementation when
7675 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7676 divide instructions.
7677
82552a29
OE
76782013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7679
7680 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7681
80e87457
RO
76822013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7683
7684 * config/t-softfp (soft-fp-objects-base): New variable.
7685 (soft-fp-objects): Use it.
7686
44178879
DE
76872013-11-23 David Edelson <dje.gcc@gmail.com>
7688 Andrew Dixie <andrewd@gentrack.com>
7689
7690 PR target/33704
7691 * config/rs6000/aixinitfini.c: New file.
7692 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7693 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7694 symbols.
7695
e5287671
YR
76962013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7697
a3458d22 7698 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7699
867c8b03
JH
77002013-11-18 Jan Hubicka <jh@suse.cz>
7701
7f369373
JH
7702 * libgcov-driver.c (run_accounted): Make global level static.
7703 (gcov_exit_merge_summary): Silence warning; do not clear
7704 run_accounted here.
7705 (gcov_exit): Clear it here.
7706
1d0b3334
JH
7707 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7708 run_accounted.
7709
867c8b03
JH
7710 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7711 (all_prg, crc32): Remove static vars.
7712 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7713 all_prg.
7714 (gcov_exit_merge_gcda): Add crc32 parameter.
7715 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7716 do not account run if it was already accounted.
7717 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7718 (gcov_exit): Initialize all_prg; update.
7719
66204992
AS
77202013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7721
7722 * configure: Regenerate.
7723
b54214fe
UW
77242013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7725 Alan Modra <amodra@gmail.com>
7726
7727 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7728 (frob_update_context): Use it.
7729
77302013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7731 Alan Modra <amodra@gmail.com>
7732
7733 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7734 (trampoline_initial): Provide ELFv2 variant.
7735 (__trampoline_setup): Likewise.
7736
7737 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7738 check for AIX indirect function call sequence if _CALL_ELF == 2.
7739
77402013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7741 Alan Modra <amodra@gmail.com>
7742
7743 * config/rs6000/linux-unwind.h (get_regs): Do not support
7744 old kernel versions if _CALL_ELF == 2.
7745 (frob_update_context): Do not support PLT stub variants only
7746 generated by old linkers if _CALL_ELF == 2.
7747
13e0981a
UW
77482013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7749 Alan Modra <amodra@gmail.com>
7750
7751 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7752 location of CR save area for 64-bit little-endian systems.
7753
1a80085d
EB
77542013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7755
7756 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7757 in tmake_file.
7758 * config/arm/t-vxworks: Delete.
7759
cabeea52
KT
77602013-11-10 Kai Tietz <ktietz@redhat.com>
7761
7762 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7763 Increment load-count on use of LIBGCC_SONAME DLL.
7764 (hmod_libgcc): New static variable to hold handle of
7765 LIBGCC_SONAME DLL.
7766 (__gcc_deregister_frame): Decrement load-count of
7767 LIBGCC_SONAME DLL.
7768
ac088ba1
BRF
77692013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7770
7771 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7772 availability.
7773 * configure: Regenerate
7774
d59a8fcc
UB
77752013-11-07 Uros Bizjak <ubizjak@gmail.com>
7776
7777 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7778 FP_EX_DENORM. Store result to volatile location after SSE division
7779 to close interrupt window. Remove unneeded fwait after x87
7780 division since interrupt window will be closed by emitted fstp.
9de84e84 7781 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7782
9954c743
JM
77832013-11-06 Joseph Myers <joseph@codesourcery.com>
7784
7785 * soft-fp/README: Update.
7786 * soft-fp/adddf3.c: Update from glibc.
7787 * soft-fp/addsf3.c: Likewise.
7788 * soft-fp/addtf3.c: Likewise.
7789 * soft-fp/divdf3.c: Likewise.
7790 * soft-fp/divsf3.c: Likewise.
7791 * soft-fp/divtf3.c: Likewise.
7792 * soft-fp/double.h: Likewise.
7793 * soft-fp/eqdf2.c: Likewise.
7794 * soft-fp/eqsf2.c: Likewise.
7795 * soft-fp/eqtf2.c: Likewise.
7796 * soft-fp/extenddftf2.c: Likewise.
7797 * soft-fp/extended.h: Likewise.
7798 * soft-fp/extendsfdf2.c: Likewise.
7799 * soft-fp/extendsftf2.c: Likewise.
7800 * soft-fp/extendxftf2.c: Likewise.
7801 * soft-fp/fixdfdi.c: Likewise.
7802 * soft-fp/fixdfsi.c: Likewise.
7803 * soft-fp/fixdfti.c: Likewise.
7804 * soft-fp/fixsfdi.c: Likewise.
7805 * soft-fp/fixsfsi.c: Likewise.
7806 * soft-fp/fixsfti.c: Likewise.
7807 * soft-fp/fixtfdi.c: Likewise.
7808 * soft-fp/fixtfsi.c: Likewise.
7809 * soft-fp/fixtfti.c: Likewise.
7810 * soft-fp/fixunsdfdi.c: Likewise.
7811 * soft-fp/fixunsdfsi.c: Likewise.
7812 * soft-fp/fixunsdfti.c: Likewise.
7813 * soft-fp/fixunssfdi.c: Likewise.
7814 * soft-fp/fixunssfsi.c: Likewise.
7815 * soft-fp/fixunssfti.c: Likewise.
7816 * soft-fp/fixunstfdi.c: Likewise.
7817 * soft-fp/fixunstfsi.c: Likewise.
7818 * soft-fp/fixunstfti.c: Likewise.
7819 * soft-fp/floatdidf.c: Likewise.
7820 * soft-fp/floatdisf.c: Likewise.
7821 * soft-fp/floatditf.c: Likewise.
7822 * soft-fp/floatsidf.c: Likewise.
7823 * soft-fp/floatsisf.c: Likewise.
7824 * soft-fp/floatsitf.c: Likewise.
7825 * soft-fp/floattidf.c: Likewise.
7826 * soft-fp/floattisf.c: Likewise.
7827 * soft-fp/floattitf.c: Likewise.
7828 * soft-fp/floatundidf.c: Likewise.
7829 * soft-fp/floatundisf.c: Likewise.
7830 * soft-fp/floatunditf.c: Likewise.
7831 * soft-fp/floatunsidf.c: Likewise.
7832 * soft-fp/floatunsisf.c: Likewise.
7833 * soft-fp/floatunsitf.c: Likewise.
7834 * soft-fp/floatuntidf.c: Likewise.
7835 * soft-fp/floatuntisf.c: Likewise.
7836 * soft-fp/floatuntitf.c: Likewise.
7837 * soft-fp/gedf2.c: Likewise.
7838 * soft-fp/gesf2.c: Likewise.
7839 * soft-fp/getf2.c: Likewise.
7840 * soft-fp/ledf2.c: Likewise.
7841 * soft-fp/lesf2.c: Likewise.
7842 * soft-fp/letf2.c: Likewise.
7843 * soft-fp/muldf3.c: Likewise.
7844 * soft-fp/mulsf3.c: Likewise.
7845 * soft-fp/multf3.c: Likewise.
7846 * soft-fp/negdf2.c: Likewise.
7847 * soft-fp/negsf2.c: Likewise.
7848 * soft-fp/negtf2.c: Likewise.
7849 * soft-fp/op-1.h: Likewise.
7850 * soft-fp/op-2.h: Likewise.
7851 * soft-fp/op-4.h: Likewise.
7852 * soft-fp/op-8.h: Likewise.
7853 * soft-fp/op-common.h: Likewise.
7854 * soft-fp/quad.h: Likewise.
7855 * soft-fp/single.h: Likewise.
7856 * soft-fp/soft-fp.h: Likewise.
7857 * soft-fp/subdf3.c: Likewise.
7858 * soft-fp/subsf3.c: Likewise.
7859 * soft-fp/subtf3.c: Likewise.
7860 * soft-fp/truncdfsf2.c: Likewise.
7861 * soft-fp/trunctfdf2.c: Likewise.
7862 * soft-fp/trunctfsf2.c: Likewise.
7863 * soft-fp/trunctfxf2.c: Likewise.
7864 * soft-fp/unorddf2.c: Likewise.
7865 * soft-fp/unordsf2.c: Likewise.
7866 * soft-fp/unordtf2.c: Likewise.
7867
02ac9503
UB
78682013-11-05 Uros Bizjak <ubizjak@gmail.com>
7869
7870 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7871 (_FP_MUL_MEAT_D): Ditto.
7872 (_FP_DIV_MEAT_S): Ditto.
7873 (_FP_DIV_MEAT_D): Ditto.
7874 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7875 t-softfp-sfdf and t-softfp to tmake_file.
7876
61221141
UB
78772013-11-03 Uros Bizjak <ubizjak@gmail.com>
7878
7879 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7880 * config/i386/crtprec.c: Ditto.
7881
9304f876
CJW
78822013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7883 Shiva Chen <shiva0217@gmail.com>
7884
7885 * config.host (nds32*-elf*): Add nds32 target.
7886 * config/nds32 : New directory and files.
7887
0e499e75
HPN
78882013-10-16 Hans-Peter Nilsson <hp@axis.com>
7889
7890 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7891 * config.host (cpu_type) <Setting default>: Add entry for
7892 crisv32-*-*.
7893 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7894 <crisv32-*-linux*>: Adjust.
7895 * longlong.h: Wrap the whole CRIS section in a single
7896 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7897 and sub_ddmmss.
7898 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7899 defined.
7900 [__CRIS__] (__umulsidi3): Define.
7901 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7902 * config/cris/sfp-machine.h: New file.
7903 * config/cris/umulsidi3.S: New file.
7904 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7905 * config/cris/arit.c (SIGNMULT): New macro.
7906 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7907 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7908 saving 3 out of originally 33 cycles from the fastest
7909 path, 3 out of 54 from the medium path and one from the longest
7910 path. Improve comments.
7911
16022041
RS
79122013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7913
7914 * sync.c: Remove static aliases and define each function directly
7915 under its real name.
7916
69778659
JDA
79172013-10-02 John David Anglin <danglin@gcc.gnu.org>
7918
7919 * config.host (hppa*64*-*-linux*): Define extra_parts.
7920 (hppa*-*-linux*): Likewise.
7921
2deaf8b0
JR
79222013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7923
7924 * config/arc/crtgend.S: Add 2013 to Copyright years.
7925 * config/arc/gmon/atomic.h: Likewise.
7926 * config/arc/gmon/auxreg.h: Likewise.
7927 * config/arc/gmon/sys/gmon_out.h: Likewise.
7928 * config/arc/gmon/sys/gmon.h: Likewise.
7929 * config/arc/gmon/prof-freq.c: Likewise.
7930 * config/arc/gmon/mcount.c: Likewise.
7931 * config/arc/gmon/prof-freq-stub.S: Likewise.
7932 * config/arc/gmon/gmon.c: Likewise.
7933 * config/arc/gmon/machine-gmon.h: Likewise.
7934 * config/arc/gmon/profil.S: Likewise.
7935 * config/arc/gmon/dcache_linesz.S: Likewise.
7936 * config/arc/crtg.S: Likewise.
7937 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7938 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7939 * config/arc/ieee-754/adddf3.S: Likewise.
7940 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7941 * config/arc/ieee-754/fixsfsi.S: Likewise.
7942 * config/arc/ieee-754/gtsf2.S: Likewise.
7943 * config/arc/ieee-754/floatsisf.S: Likewise.
7944 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7945 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7946 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7947 * config/arc/ieee-754/fixdfsi.S: Likewise.
7948 * config/arc/ieee-754/addsf3.S: Likewise.
7949 * config/arc/ieee-754/gesf2.S: Likewise.
7950 * config/arc/ieee-754/floatsidf.S: Likewise.
7951 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7952 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7953 * config/arc/ieee-754/gtdf2.S: Likewise.
7954 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7955 * config/arc/ieee-754/uneqdf2.S: Likewise.
7956 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7957 * config/arc/ieee-754/uneqsf2.S: Likewise.
7958 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7959 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7960 * config/arc/ieee-754/eqdf2.S: Likewise.
7961 * config/arc/ieee-754/ordsf2.S: Likewise.
7962 * config/arc/ieee-754/divsf3.S: Likewise.
7963 * config/arc/ieee-754/divdf3.S: Likewise.
7964 * config/arc/ieee-754/floatunsidf.S: Likewise.
7965 * config/arc/ieee-754/orddf2.S: Likewise.
7966 * config/arc/ieee-754/eqsf2.S: Likewise.
7967 * config/arc/ieee-754/gedf2.S: Likewise.
7968 * config/arc/crtn.S: Likewise.
7969 * config/arc/crti.S: Likewise.
7970 * config/arc/t-arc700-uClibc: Likewise.
7971 * config/arc/asm.h: Likewise.
7972 * config/arc/libgcc-excl.ver: Likewise.
7973 * config/arc/t-arc-newlib: Likewise.
7974 * config/arc/divtab-arc700.c: Likewise.
7975 * config/arc/initfini.c: Likewise.
7976 * config/arc/fp-hack.h: Likewise.
7977
c8e318b0
JR
79782013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7979 Diego Novillo <dnovillo@google.com>
7980
7981 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7982 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7983 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7984 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7985
d38a64b4
JR
79862013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7987 Brendan Kehoe <brendan@zen.org>
7988 Simon Cook <simon.cook@embecosm.com>
7989
7990 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7991 * config/arc: New directory.
7992 * longlong.h [__arc__] (umul_ppmm): Remove.
7993 [__arc__] (__umulsidi3): Define.
7994 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7995 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7996
dff717d2
JC
79972013-09-17 Jacek Caban <jacek@codeweavers.com>
7998
7999 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8000 CreateSemaphoreA.
8001 * config/i386/gthr-win32.h: Likewise.
8002
5c0029de
DD
80032013-09-16 DJ Delorie <dj@redhat.com>
8004
844ad6c6 8005 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
8006 * config/rl78/lib2mul.c: Enable for RL78/G10.
8007 * config/rl78/lib2div.c: Likewise.
8008 * config/rl78/lshrsi3.S: Use vregs.h.
8009 * config/rl78/cmpsi2.S: Likewise.
8010 * config/rl78/trampoline.S: Likewise.
8011 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8012
ceb2fc49
DD
80132013-09-14 DJ Delorie <dj@redhat.com>
8014 Nick Clifton <nickc@redhat.com>
8015
8016 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8017 * config/rl78/vregs.h: New.
8018 * config/rl78/signbit.S: New file. Implements signbit function.
8019 * config/rl78/divmodsi.S: New.
8020 * config/rl78/divmodhi.S: New.
8021 * config/rl78/divmodqi.S: New.
8022 * config/rl78/t-rl78: Build them here...
8023 * config/rl78/lib2div.c: ...but not here.
8024
f6a83b4a
DD
80252013-09-12 DJ Delorie <dj@redhat.com>
8026
8027 * config.host (msp*-*-elf): New.
8028 * config/msp430/: New port.
8029
9107b096
IS
80302013-08-18 Iain Sandoe <iain@codesourcery.com>
8031
8032 PR gcov-profile/58127
8033 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8034 __thread var for emulated TLS.
8035 (__gcov_indirect_call_counters): Likewise.
8036
0f9bde1f 80372013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8038 Catherine Moore <clm@codesourcery.com>
7d296953 8039 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8040
8041 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8042 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8043 (CALL_STUB_NO_RET): Likewise.
8044 (CALL_STUB_RET): Likewise.
8045 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8046 __mips16_ret call/return stub symbols.
8047 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8048 to tmake_file.
8049
2dc14aac
MR
80502013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8051
8052 * config.host <mips*-*-linux*>: Remove a stray comment.
8053
748d71f3
JH
80542013-08-10 Jan Hubicka <jh@suse.cz>
8055
8056 Work around binutils PR14342
8057 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8058 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8059 (L_gcov_indirect_call_profiler_v2): New.
8060
2fa3d31b
JH
80612013-08-06 Jan Hubicka <jh@suse.cz>
8062
8063 * libgcov.c (__gcov_indirect_call_callee,
8064 __gcov_indirect_call_counters): New global vars.
8065 (__gcov_indirect_call_profiler): replace by ...
8066 (__gcov_indirect_call_profiler_v2) ... this one.
8067
2077db1b
CT
80682013-08-06 Caroline Tice <cmtice@google.com>
8069
d0595b65 8070 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8071 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8072 * configure.ac: Add code to check/set enable_vtable_verify.
8073 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8074 true.
d0595b65
CT
8075 * vtv_start_preinit.c: New file.
8076 * vtv_end_preinit.c: New file.
8077 * vtv_start.c: New file.
8078 * vtv_end.c: New file.
8079 * configure: Regenerated.
2077db1b 8080
46549c20
MK
80812013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8082
8083 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8084 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8085 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8086 GPL-3.0-with-GCC-exception.
8087
72be589b
MR
80882013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8089
8090 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8091 ISA and up.
8092
902a3faf
AK
80932013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8094
8095 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8096 mapping for FPRs when creating the fallback framestate.
8097
02371798
GJL
80982013-07-19 Georg-Johann Lay <avr@gjlay.de>
8099
8100 PR target/57516
8101 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8102 (__round_s2_const, __round_u2_const)
8103 (__round_s4_const, __round_u4_const, __round_x8):
8104 Saturate result if addition result cannot be represented.
8105
ab0e8379
MK
81062013-07-15 Matthias Klose <doko@ubuntu.com>
8107
8108 * libgcc2.c: Don't include <limits.h>.
8109
7da38058
JJ
81102013-07-09 Janis Johnson <janisjo@codesourcery.com>
8111
8112 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8113
1f6eac90
JJ
81142013-07-06 Jakub Jelinek <jakub@redhat.com>
8115
8116 PR target/29776
8117 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8118
4ea3d774
JJ
81192013-06-28 Jakub Jelinek <jakub@redhat.com>
8120
8121 PR middle-end/36041
8122 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8123 Define.
8124 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8125 instead of table lookups.
8126 (__popcountDI2): Likewise.
8127
9d2cdf25
CJW
81282013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8129
8130 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8131 correctly.
8132
fa1e55b0
JM
81332013-06-21 Joseph Myers <joseph@codesourcery.com>
8134
8135 PR other/53317
8136 * soft-fp/adddf3.c: Update from glibc.
8137 * soft-fp/addsf3.c: Likewise.
8138 * soft-fp/addtf3.c: Likewise.
8139 * soft-fp/divdf3.c: Likewise.
8140 * soft-fp/divsf3.c: Likewise.
8141 * soft-fp/divtf3.c: Likewise.
8142 * soft-fp/double.h: Likewise.
8143 * soft-fp/eqdf2.c: Likewise.
8144 * soft-fp/eqsf2.c: Likewise.
8145 * soft-fp/eqtf2.c: Likewise.
8146 * soft-fp/extenddftf2.c: Likewise.
8147 * soft-fp/extended.h: Likewise.
8148 * soft-fp/extendsfdf2.c: Likewise.
8149 * soft-fp/extendsftf2.c: Likewise.
8150 * soft-fp/fixdfdi.c: Likewise.
8151 * soft-fp/fixdfsi.c: Likewise.
8152 * soft-fp/fixsfdi.c: Likewise.
8153 * soft-fp/fixsfsi.c: Likewise.
8154 * soft-fp/fixtfdi.c: Likewise.
8155 * soft-fp/fixtfsi.c: Likewise.
8156 * soft-fp/fixunsdfdi.c: Likewise.
8157 * soft-fp/fixunsdfsi.c: Likewise.
8158 * soft-fp/fixunssfdi.c: Likewise.
8159 * soft-fp/fixunssfsi.c: Likewise.
8160 * soft-fp/fixunstfdi.c: Likewise.
8161 * soft-fp/fixunstfsi.c: Likewise.
8162 * soft-fp/floatdidf.c: Likewise.
8163 * soft-fp/floatdisf.c: Likewise.
8164 * soft-fp/floatditf.c: Likewise.
8165 * soft-fp/floatsidf.c: Likewise.
8166 * soft-fp/floatsisf.c: Likewise.
8167 * soft-fp/floatsitf.c: Likewise.
8168 * soft-fp/floatundidf.c: Likewise.
8169 * soft-fp/floatundisf.c: Likewise.
8170 * soft-fp/floatunditf.c: Likewise.
8171 * soft-fp/floatunsidf.c: Likewise.
8172 * soft-fp/floatunsisf.c: Likewise.
8173 * soft-fp/floatunsitf.c: Likewise.
8174 * soft-fp/gedf2.c: Likewise.
8175 * soft-fp/gesf2.c: Likewise.
8176 * soft-fp/getf2.c: Likewise.
8177 * soft-fp/ledf2.c: Likewise.
8178 * soft-fp/lesf2.c: Likewise.
8179 * soft-fp/letf2.c: Likewise.
8180 * soft-fp/muldf3.c: Likewise.
8181 * soft-fp/mulsf3.c: Likewise.
8182 * soft-fp/multf3.c: Likewise.
8183 * soft-fp/negdf2.c: Likewise.
8184 * soft-fp/negsf2.c: Likewise.
8185 * soft-fp/negtf2.c: Likewise.
8186 * soft-fp/op-1.h: Likewise.
8187 * soft-fp/op-2.h: Likewise.
8188 * soft-fp/op-4.h: Likewise.
8189 * soft-fp/op-8.h: Likewise.
8190 * soft-fp/op-common.h: Likewise.
8191 * soft-fp/quad.h: Likewise.
8192 * soft-fp/single.h: Likewise.
8193 * soft-fp/soft-fp.h: Likewise.
8194 * soft-fp/subdf3.c: Likewise.
8195 * soft-fp/subsf3.c: Likewise.
8196 * soft-fp/subtf3.c: Likewise.
8197 * soft-fp/truncdfsf2.c: Likewise.
8198 * soft-fp/trunctfdf2.c: Likewise.
8199 * soft-fp/trunctfsf2.c: Likewise.
8200 * soft-fp/unorddf2.c: Likewise.
8201 * soft-fp/unordsf2.c: Likewise.
8202 * soft-fp/unordtf2.c: Likewise.
8203 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8204 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8205 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8206 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8207 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8208 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8209 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8210 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8211 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8212 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8213 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8214 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8215
0de86a92
JU
82162013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8217
8218 * config/mips/lib2funcs.c: New file.
8219 * config/mips/t-mips (LIB2ADD_ST): Add it.
8220
0d008882
OE
82212013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8222
8223 PR target/6526
8224 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8225 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8226
776434d1
WL
82272013-06-08 Walter Lee <walt@tilera.com>
8228
8229 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8230 Replace int64_t with long long. Add __extension__ where
8231 appropriate.
8232 * config/tilepro/atomic.c: Include config.h.
8233
6ab3ebb4
DR
82342013-06-06 Douglas B Rupp <rupp@adacore.com>
8235
8236 * config.host (arm-wrs-vxworks): Configure with other soft float.
8237
107eea2c
JU
82382013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8239
8240 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8241 (mips64r5900el-*-elf*): New configurations.
8242
5cc19c62
AM
82432013-06-04 Alan Modra <amodra@gmail.com>
8244
8245 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8246
0f1d3965
YR
82472013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8248
8249 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8250
0ba045df
EB
82512013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8252
8253 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8254 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8255 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8256
49dcafd4
EB
82572013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8258
8259 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8260 (powerpc-wrs-vxworks): Likewise.
8261
4fcb5d87
EB
82622013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8263
8264 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8265 signal frames as well.
8266 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8267 STACK_BIAS to the CFA offset.
8268
0ec33224
RH
82692013-05-17 Richard Henderson <rth@redhat.com>
8270
8271 PR target/49146
8272 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8273 (execute_cfa_program): Use it when storing to fs->regs.
8274
492a8029
KT
82752013-05-08 Kai Tietz <ktietz@redhat.com>
8276
8277 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8278 (__deregister_frame_info): Likewise.
8279
701e2f0a
TS
82802013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8281
e5123d08
TS
8282 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8283 NaN's payload.
8284
701e2f0a
TS
8285 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8286
b9a7eb5d
AM
82872013-04-25 Alan Modra <amodra@gmail.com>
8288
8289 * config.host: Match little-endian powerpc-linux.
8290
dfe192f5
YZ
82912013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8292
8293 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8294 as 'unsigned long long' instead of 'unsigned long'.
8295 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8296 'signed long'.
8297
b6b9af2f
JB
82982013-04-10 Julian Brown <julian@codesourcery.com>
8299
8300 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8301 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8302 unsigned char/unsigned short.
8303 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8304
ecabdd00
JDA
83052013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8306
8307 PR other/55274
8308 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8309
34652576
MI
83102013-04-04 Meador Inge <meadori@codesourcery.com>
8311
8312 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8313 computing the location of the link register.
8314 (aeabi_uldivmod): Ditto.
8315
e9fd8c19
KT
83162013-03-27 Kai Tietz <ktietz@redhat.com>
8317
8318 * config.host: Add support for cygwin x64 target.
8319 * configure: Regenerated.
8320
a6406324
WL
83212013-03-26 Walter Lee <walt@tilera.com>
8322
8323 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8324 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8325
55446c7e
KT
83262013-03-25 Kai Tietz <ktietz@redhat.com>
8327
8328 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8329
d2ae19d9
RM
83302013-03-20 Robert Mason <rbmj@verizon.net>
8331
8332 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8333 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8334 (__gthread_leave_tsd_dtor_context): Add prototypes.
8335 (tls_delete_hook): Update.
8336
22c4c869
CM
83372013-03-20 Catherine Moore <clm@codesourcery.com>
8338 Joseph Myers <joseph@codesourcery.com>
8339 Chao-ying Fu <fu@mips.com>
8340
8341 * config/mips/mips16.S: Don't build for microMIPS.
8342 * config/mips/linux-unwind.h: Handle microMIPS frame.
8343 * config/mips/crtn.S (fini, init): New labels.
8344
fbd28bc3
JJ
83452013-03-14 Jakub Jelinek <jakub@redhat.com>
8346
8347 PR tree-optimization/53265
8348 * unwind-dw2.c (execute_cfa_program): Avoid
8349 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8350 on targets with DWARF_FRAME_REGISTERS < 32.
8351
decc676e
OE
83522013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8353
8354 PR target/49880
8355 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8356 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8357
84ea618a
ST
83582013-03-07 Sriraman Tallam <tmsriram@google.com>
8359
8360 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8361 sandybridge processors.
8362
8f6d1c86
OE
83632013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8364
8365 PR target/56529
8366 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8367 inclusion list.
8368
ecdbd01a 83692013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
8370
8371 * config/microblaze/crti.S: Setup stack protection at entry
8372
0b4ce21b
GJL
83732013-03-04 Georg-Johann Lay <avr@gjlay.de>
8374
8375 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8376 (__rotldi3): Shift bytewise if applicable.
8377
b7c3f1ca
JG
83782013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8379
8380 * config/aarch64/sync-cache.c
8381 (__aarch64_sync_cache_range): Silence warnings.
8382
6d65e8f1
CM
83832013-02-25 Catherine Moore <clm@codesourcery.com>
8384
8385 Revert:
8386 2013-02-24 Catherine Moore <clm@codesourcery.com>
8387 Joseph Myers <joseph@codesourcery.com>
8388 Chao-ying Fu <fu@mips.com>
8389
8390 * config/mips/mips16.S: Don't build for microMIPS.
8391 * config/mips/linux-unwind.h: Handle microMIPS frame.
8392 * config/mips/crtn.S (fini, init): New labels.
8393
6941b508
CM
83942013-02-24 Catherine Moore <clm@codesourcery.com>
8395 Joseph Myers <joseph@codesourcery.com>
8396 Chao-ying Fu <fu@mips.com>
8397
8398 * config/mips/mips16.S: Don't build for microMIPS.
8399 * config/mips/linux-unwind.h: Handle microMIPS frame.
8400 * config/mips/crtn.S (fini, init): New labels.
8401
7c422dbb 84022012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8403 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8404 as dividend.
8405
110207ad
AM
84062013-02-16 Alan Modra <amodra@gmail.com>
8407
8408 PR target/55431
8409 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8410 (ppc_fallback_frame_state): Always set up save locations for fp
8411 and altivec. Don't bother with non-callee-saved regs, r0-r13
8412 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8413
e68a4ef6
GJL
84142013-02-12 Georg-Johann Lay <avr@gjlay.de>
8415
8416 PR target/54222
8417 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8418 _ssmulHA, _ssmulSA.
8419 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8420 _ssmulha3, _usmulusa3, _ssmulsa3.
8421 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8422 (__muldi3): XCALL __muldi3_6 instead of rcall.
8423 (__umulsidi3, __mulsidi3): New functions.
8424 (do_prologue_saves, do_epilogue_restores): New .macros.
8425 (__divdi3_moddi3): Use them.
8426 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8427 (__usmulusa3, __ssmulsa3): New functions.
8428
6c59ffd1
IS
84292013-02-11 Iain Sandoe <iain@codesourcery.com>
8430 Jack Howarth <howarth@bromo.med.uc.edu>
8431 Patrick Marlier <patrick.marlier@gmail.com>
8432
8433 PR libitm/55693
8434 * config/darwin-crt-tm.c: Remove dummy functions hack.
8435
85d768f3
GJL
84362013-02-08 Georg-Johann Lay <avr@gjlay.de>
8437
8438 PR target/54222
8439 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8440 * config/avr/lib2-object.mk: New iterator to build objects from it.
8441 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8442 lib2funcs.c.
8443 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8444 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8445 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8446 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8447 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8448 * config/avr/lib1funcs-fixed.S: Implement them.
8449
5d5bf775
RS
84502013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8451
8452 Update copyright years.
8453
99113dff
DE
84542013-02-01 David Edelsohn <dje.gcc@gmail.com>
8455
8456 PR target/54601
8457 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8458 Add crtcxa to extra_parts.
8459 * config/rs6000/exit.h: New file.
8460 * config/rs6000/cxa_atexit.c: New file.
8461 * config/rs6000/cxa_finalize.c: New file.
8462 * config/rs6000/crtcxa.c: New file.
8463 * config/rs6000/t-aix-cxa: New file.
8464 * config/rs6000/libgcc-aix-cxa.ver: New file.
8465
dbdbd982
NC
84662013-01-31 Nick Clifton <nickc@redhat.com>
8467
8468 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8469 variant.
8470
5893f158
GJL
84712013-01-29 Georg-Johann Lay <avr@gjlay.de>
8472
8473 PR target/54222
8474 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8475 _mulQQ, _mulHQ, _mulHA, _mulSA,
8476 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8477 _divQQ, _divHQ, _divHA, _divSA,
8478 _divUQQ, _divUHQ, _divUHA, _divUSA.
8479
ecdbd01a 84802013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8481
dbdbd982 8482 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8483 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8484 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8485 to exclude functions from being built with libgcc.c and use
8486 the microblaze assembly.
8487
ecdbd01a 84882013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8489
8490 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8491 extra_parts.
8492
922c57d1
YZ
84932013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8494
8495 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8496 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8497 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8498 alignment operation.
8499
e0f8b6a0
SN
85002013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8501
8502 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8503 loop start address for cache clearing.
8504
00892272
GJL
85052013-01-14 Georg-Johann Lay <avr@gjlay.de>
8506
8507 * config/avr/lib1funcs.S: Remove trailing blanks.
8508 * config/avr/lib1funcs-fixed.S: Ditto.
8509
e59ec5fd
GJL
85102013-01-14 Georg-Johann Lay <avr@gjlay.de>
8511
8512 * config/avr/avr-lib.h: Add GPL copyright notice.
8513
3ffc1958
GJL
85142013-01-14 Georg-Johann Lay <avr@gjlay.de>
8515
8516 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8517 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8518 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8519 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8520
25c210f9
MK
85212013-01-07 Mark Kettenis <kettenis@openbsd.org>
8522
8523 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8524 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8525
db59befb
NC
85262013-01-04 Nick Clifton <nickc@redhat.com>
8527
8528 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8529 the CALLT instruction is supported.
8530
5aa12dbf
JW
85312012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8532
8533 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8534 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8535
65f14117
JT
85362012-12-13 John Tytgat <John@bass-software.com>
8537
8538 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8539 is 25.
8540
ee3ae4f7
JJ
85412012-12-12 Jakub Jelinek <jakub@redhat.com>
8542
8543 PR libgcc/55451
8544 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8545 undefined signed overflows.
8546
2fcfba3d
UB
85472012-12-09 Uros Bizjak <ubizjak@gmail.com>
8548
8549 PR target/55344
8550 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8551
4f2b3dc2
UB
85522012-12-06 Uros Bizjak <ubizjak@gmail.com>
8553
8554 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8555 (FP_TRAPPING_EXCEPTIONS): Define.
8556 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8557 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8558
066161a2
RH
85592012-12-04 Richard Henderson <rth@redhat.com>
8560
8561 PR bootstrap/55571
8562 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8563
7d296953 85642012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8565
4f2b3dc2 8566 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8567 (FP_EX_SHIFT): Define.
8568 (FP_TRAPPING_EXCEPTIONS): Define.
8569
7d296953 85702012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8571
8572 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8573 (FP_ROUNDMODE): Use FP_RND_MASK.
8574 * config/aarch64/sfp-exceptions.c: New.
8575 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8576 Use __sfp_handle_exceptions.
8577
5005fe22
RE
85782012-12-04 Richard Earnshaw <rearnsha@arm.com>
8579
8580 * config.host: (arm*-*-freebsd*): Remove.
8581 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8582 (arm*-*-elf*): Remove.
8583 (arm*-*-wince-pe*): Remove.
8584 * arm/unwind-arm.c (struct fpa_reg): Delete.
8585 (struct fpa_regs): Delete.
8586 (phase1_vrs): Remove fpa element.
8587 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8588 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8589 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8590 * ieee754-sf.S (floatundisf): Remove FPA support.
8591 (floatdisf): Likewise.
8592 * ieee75f-df.S (floatundidf): Likewise.
8593 (floatdidf): Likewise.
8594
e5a81c8e
KT
85952012-11-29 Kai Tietz <ktietz@redhat.com>
8596
8597 PR target/55445
8598 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8599 * unwind-generic.h: Likewise.
8600 * unwind-seh.c: Likewise.
8601
f4919e4a
RH
86022012-11-28 Richard Henderson <rth@redhat.com>
8603
8604 PR libgcc/48076
8605 * emutls.c (__emutls_get_address): Avoid race condition between
8606 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8607
e13d9d5a
GJL
86082012-11-22 Georg-Johann Lay <avr@gjlay.de>
8609
8610 Adjust decimal point of signed accum mode to GCC default.
8611
8612 PR target/54222
8613 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8614 _divqq_helper.
8615 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8616 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8617 (__mulha3, __mulsa3)
8618 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8619 decimal point of signed accum types.
8620
e13d9d5a
GJL
8621 (__mulusa3_round): New function.
8622 (__mulusa3): Use it.
8623 (__divqq_helper): New function.
8624 (__udivuqq3): Use it.
8625
1b845c6e
JJ
86262012-11-20 Jakub Jelinek <jakub@redhat.com>
8627
8628 PR bootstrap/55370
8629 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8630
822a258a
TJ
86312012-11-18 Teresa Johnson <tejohnson@google.com>
8632
8633 PR bootstrap/55051
8634 * libgcov.c (gcov_exit): Remove merged program summary
8635 comparison unless !GCOV_LOCKED.
8636
7d296953 86372012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
8638
8639 * soft-fp: Updated from glibc upstream.
8640
e808687a
ILT
86412012-11-06 Ian Lance Taylor <iant@google.com>
8642
8643 * generic-morestack.c (__generic_morestack): Align the returned
8644 stack pointer to a 32 byte boundary.
8645 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8646 increment the return address until we have decided that we don't
8647 have a varargs function.
8648 (__morestack) [32-bit]: Align stack correctly when calling C
8649 functions.
8650 (__morestack) [64-bit]: Likewise.
8651
460277e0
TS
86522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8653
8654 * configure: Regenerate.
8655
73edb277
UB
86562012-11-02 Uros Bizjak <ubizjak@gmail.com>
8657
8658 PR target/55175
8659 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8660 * config/i386/sfp-machine.h: Guard exception handling
8661 code with _SOFT_FLOAT.
8662 * config/i386/32/sfp-machine.h: Guard rounding handling
8663 code with _SOFT_FLOAT.
8664 * config/i386/64/sfp-machine.h: Ditto.
8665
c1d4fa04
JS
86662012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8667
8668 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8669 as extra_parts.
8670
eff6ca85
UB
86712012-10-26 Uros Bizjak <ubizjak@gmail.com>
8672
8673 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8674 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8675 when appropriate. Correct structure element types.
8676 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8677 -minline-all-stringops from compile flags.
8678
7d296953 86792012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8680
8681 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8682
7d296953 86832012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8684
eff6ca85 8685 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8686
6f288860
SH
86872012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8688
8689 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8690 tmake_file.
8691
1e3d5096
IB
86922012-10-23 Ian Bolton <ian.bolton@arm.com>
8693 Jim MacArthur <jim.macarthur@arm.com>
8694 Marcus Shawcroft <marcus.shawcroft@arm.com>
8695 Nigel Stephens <nigel.stephens@arm.com>
8696 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8697 Richard Earnshaw <rearnsha@arm.com>
8698 Sofiane Naci <sofiane.naci@arm.com>
8699 Stephen Thomas <stephen.thomas@arm.com>
8700 Tejas Belagod <tejas.belagod@arm.com>
8701 Yufeng Zhang <yufeng.zhang@arm.com>
8702
8703 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8704 * config/aarch64/crti.S: New file.
8705 * config/aarch64/crtn.S: New file.
8706 * config/aarch64/linux-unwind.h: New file.
8707 * config/aarch64/sfp-machine.h: New file.
8708 * config/aarch64/sync-cache.c: New file.
8709 * config/aarch64/t-aarch64: New file.
8710 * config/aarch64/t-softfp: New file.
8711
8a740f07
HPN
87122012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8713
8714 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8715 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8716 no-longer-needed LDBU insns.
8717
7d296953 87182012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8719
8720 * config.host
8721 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8722 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8723
595fefee
MGD
87242012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8725
8726 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8727
9945a876
MK
87282012-10-15 Matthias Klose <doko@ubuntu.com>
8729
8730 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8731
1183dc2c
PC
87322012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8733
8734 * configure: Regenerate.
8735 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8736
945a9c1f
UB
87372012-10-10 Uros Bizjak <ubizjak@gmail.com>
8738
8739 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8740 instructions for 64bit targets only.
8741
fb8bf47a
UB
87422012-10-10 Uros Bizjak <ubizjak@gmail.com>
8743
8744 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8745 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8746 * config/i386/32/sfp-machine.h: ... here.
8747 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8748 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8749 New defines.
8750
acb72498
MK
87512012-10-07 Matthias Klose <doko@ubuntu.com>
8752
8753 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8754 as unused.
8755 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8756
8eaee0f0
MK
87572012-10-06 Mark Kettenis <kettenis@openbsd.org>
8758
8759 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8760 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8761 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8762 (ElfW): Likewise.
8763
5e3e4fe8
JW
87642012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8765
8766 PR other/53889
8767 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8768 Fix parameter names.
8769
86086376
OE
87702012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8771
8772 PR target/33135
8773 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8774 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8775 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8776
9597375a
OE
87772012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8778
8779 PR target/50457
8780 * config/sh/linux-atomic.S: Delete.
8781 * config/sh/linux-atomic.c: New.
8782 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8783 linux-atomic.c. Add cflags to disable warnings.
8784
1504e3e1
JW
87852012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8786
8787 PR other/53889
8788 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8789 function.
8790 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8791 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8792 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8793 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8794 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8795 Likewise.
1504e3e1
JW
8796 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8797 Likewise.
8798 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8799 Likewise.
8800 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8801 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8802
17f293b0
MK
88032012-09-19 Mark Kettenis <kettenis@openbsd.org>
8804
9597375a
OE
8805 * config.host (hppa-*-openbsd*): New target.
8806 * config/pa/t-openbsd: New file.
17f293b0 8807
51526856
GJL
88082012-09-15 Georg-Johann Lay <avr@gjlay.de>
8809
8810 PR target/54222
8811 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8812 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8813 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8814 (__divsa3): Use __negsi2 to negate r_quoL.
8815 * config/avr/lib1funcs.S (FALIAS): New macro.
8816 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8817 (__negsi2): ...this new function.
8818 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8819 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8820 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8821 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8822 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8823 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8824
aadb5b43
OE
88252012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8826
8827 PR target/54089
8828 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8829 (lshrsi3): Reimplement as lshrsi3_r0.
8830
d5d66749
AS
88312012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8832
8833 PR target/46191
8834 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8835 of libgcc.a.
8836
c6c36e73
TJ
88372012-09-07 Teresa Johnson <tejohnson@google.com>
8838
9597375a 8839 PR gcov-profile/54487
c6c36e73 8840 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8841 differences.
c6c36e73 8842
b588ae30
GJL
88432012-09-05 Georg-Johann Lay <avr@gjlay.de>
8844
8845 PR target/54461
8846 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8847 not configured --with-avrlibc=no.
8848 * config/avr/t-avrlibc: New file.
8849 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8850 (DPBIT_FUNCS): Ditto.
8851 (TPBIT_FUNCS): Ditto.
8852
abd16fb1
TJ
88532012-09-04 Teresa Johnson <tejohnson@google.com>
8854
8855 * libgcov.c (struct gcov_summary_buffer): New structure.
8856 (gcov_histogram_insert): New function.
8857 (gcov_compute_histogram): Ditto.
8858 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8859 histograms during summary merging.
8860
613061fd
MK
88612012-09-01 Mark Kettenis <kettenis@openbsd.org>
8862
8863 * config.host (x86_64-*-openbsd*): New target.
73edb277 8864
867a8345
CLT
88652012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8866
8867 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8868 attribute.
8869
4aeaaca3
GJL
88702012-08-24 Georg-Johann Lay <avr@gjlay.de>
8871
8872 PR target/54222
8873 * config/avr/t-avr (conv_X): Rename to func_X.
8874
e55e4056
GJL
88752012-08-24 Georg-Johann Lay <avr@gjlay.de>
8876
8877 PR target/54222
8878 * config/avr/lib1funcs-fixed.S: New file.
8879 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8880 after they are used.
8881 (neg2, neg4): New macros.
8882 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8883 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8884 (__umulhisi3): Speed up MUL variant if there is enough flash.
8885 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8886 avr-modes.def.
8887 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8888 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8889 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8890 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8891 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8892 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8893 (LIB2FUNCS_EXCLUDE): Add supported functions.
8894
a147b6d2
GJL
88952012-08-22 Georg-Johann Lay <avr@gjlay.de>
8896
8897 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8898 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8899 libgcc-s-objects.
8900 * fixed-obj.mk: Only expand dependency if $o is not in
8901 LIB2FUNCS_EXCLUDE.
8902
c637141a
L
89032012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8904
8905 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8906
130e00bd
JM
89072012-08-22 Joseph Myers <joseph@codesourcery.com>
8908
8909 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8910 depend on --enable-shared.
8911 ($(lib1asmfuncs-o)): Use %.vis files independent of
8912 --enable-shared.
8913 * static-object.mk ($(base)$(objext), $(base).vis)
8914 ($(base)_s$(objext)): Use same rules for visibility handling as in
8915 shared-object.mk.
8916
4b1b3788
ILT
89172012-08-21 Ian Lance Taylor <iant@google.com>
8918
8919 * config/i386/morestack.S (__morestack_non_split): Increase amount
8920 of space allocated for non-split code stack.
8921
d2468141
JM
89222012-08-19 Joseph Myers <joseph@codesourcery.com>
8923
8924 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8925 even if inhibit_libc.
8926
a508e1a8
JB
89272012-08-17 Julian Brown <julian@codesourcery.com>
8928
8929 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8930 -fexceptions -fnon-call-exceptions if not defined.
8931 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8932 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8933
5615a07d
AS
89342012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8935
8936 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8937 type.
8938
138f5acd
DE
89392012-08-16 David Edelsohn <dje.gcc@gmail.com>
8940
8941 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8942 rs6000/t-slibgcc-aix.
8943
18efc0dd
SB
89442012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8945
8946 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8947
6b39bc38
SB
89482012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8949
8950 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8951
cd25dea0
L
89522012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8953
8954 PR driver/54171
8955 * Makefile.in (version): Replace top_srcdir with srcdir.
8956
a3dda30b
JY
89572012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8958
8959 * Makefile.in (version): set to BASE-VER file from gcc directory.
8960
d04aacfc
NC
89612012-08-01 Nick Clifton <nickc@redhat.com>
8962
8963 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8964 Implements __clrsb for an HImode argument.
8965
0d13c974
NC
89662012-07-31 Nick Clifton <nickc@redhat.com>
8967
8968 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8969 Implements __clrsb for an HImode argument.
8970 * config/stormy16/clrsbhi2.c: New file:
8971 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8972
efbb59b2
SB
89732012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8974
8975 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8976
bf1431e3
TG
89772012-07-19 Tristan Gingold <gingold@adacore.com>
8978 Richard Henderson <rth@redhat.com>
8979
8980 * unwind-seh.c: New file.
8981 * unwind-generic.h: Include windows.h for SEH.
8982 (_Unwind_Exception): Use 6 private fields for SEH.
8983 (_GCC_specific_handler): Declare.
8984 * unwind-c.c (__gcc_personality_seh0): New function.
8985 Adjust for SEH.
8986 * config/i386/libgcc-cygming.ver: New file.
8987 * config/i386/t-seh-eh: New file.
8988 * config.host (x86_64-*-mingw*): Default to seh.
8989
659140c8
SB
89902012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8991
8992 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8993
a20d08fd
UB
89942012-06-17 Uros Bizjak <ubizjak@gmail.com>
8995
8996 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8997 __builtin_expect when checking for exceptions.
8998 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8999
79261115
UB
90002012-06-13 Uros Bizjak <ubizjak@gmail.com>
9001
4a172156
UB
9002 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9003 function declaration.
9004 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9005 (FP_RND_MASK): New.
9006 * config/ia64/sfp-exceptions.c: New.
9007 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 9008
bb5c97d4
UB
90092012-06-13 Uros Bizjak <ubizjak@gmail.com>
9010
9011 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9012 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9013 * config/i386/64/sfp-machine: ... (delete here) ...
9014 * config/i386/sfp-machine.h: ... to here.
9015 (FP_EX_MASK): Remove.
9016 (FP_RND_MASK): New.
9017 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9018
91fe5efb
ST
90192012-06-11 Sriraman Tallam <tmsriram@google.com>
9020
9021 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9022 * config/i386/libgcc-sol2.ver: Ditto.
9023 * config/i386/libgcc-glibc.ver: Ditto.
9024
67a218c5
RM
90252012-06-11 Roland McGrath <mcgrathr@google.com>
9026
9027 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9028 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9029 pthread_cancel.
9030
492fbea1
UB
90312012-06-09 Uros Bizjak <ubizjak@gmail.com>
9032
9033 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9034 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9035 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9036 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9037 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9038 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9039 * config/i386/64/sfp-machine: ... (delete here) ...
9040 * config/i386/sfp-machine.h: ... to here.
9041 (FP_EX_MASK): New.
9042 (__sfp_handle_exceptions): New function declaration.
9043 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9044 * config/i386/sfp-exceptions.c: New.
9045 * config/i386/t-softfp: New.
9046 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9047 i386/t-softfp to tmake_file.
9048
7b4cf266
DM
90492012-06-03 David S. Miller <davem@davemloft.net>
9050
9051 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9052 change.
9053
0de0d5c6
DM
90542012-05-31 David S. Miller <davem@davemloft.net>
9055
9056 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9057 multiply and divide instructions on 32-bit when V9.
9058 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9059
d8c9d391
JM
90602012-05-29 Joseph Myers <joseph@codesourcery.com>
9061
9062 * config/arm/ieee754-df.S: Fix typos.
9063 * config/arm/ieee754-sf.S: Fix typos.
9064 * config/c6x/libunwind.S: Fix typos.
9065 * config/epiphany/udivsi3-float.c: Fix typos.
9066 * config/microblaze/muldi3_hard.S: Fix typos.
9067 * config/picochip/adddi3.S: Fix typos.
9068 * config/picochip/ashlsi3.S: Fix typos.
9069 * config/picochip/ashrsi3.S: Fix typos.
9070 * config/picochip/clzsi2.S: Fix typos.
9071 * config/picochip/cmpsi2.S: Fix typos.
9072 * config/picochip/divmod15.S: Fix typos.
9073 * config/picochip/divmodhi4.S: Fix typos.
9074 * config/picochip/divmodsi4.S: Fix typos.
9075 * config/picochip/longjmp.S: Fix typos.
9076 * config/picochip/lshrsi3.S: Fix typos.
9077 * config/picochip/parityhi2.S: Fix typos.
9078 * config/picochip/popcounthi2.S: Fix typos.
9079 * config/picochip/setjmp.S: Fix typos.
9080 * config/picochip/subdi3.S: Fix typos.
9081 * config/picochip/ucmpsi2.S: Fix typos.
9082 * config/picochip/udivmodhi4.S: Fix typos.
9083 * config/picochip/udivmodsi4.S: Fix typos.
9084 * config/spu/divv2df3.c: Fix typos.
9085 * config/spu/mfc_multi_tag_release.c: Fix typos.
9086 * config/spu/mfc_tag_release.c: Fix typos.
9087 * configure.ac: Fix typos.
9088 * configure: Regenerate.
9089
31a18a7e
ILT
90902012-05-25 Ian Lance Taylor <iant@google.com>
9091
9092 * config/i386/morestack.S (__morestack_non_split): Check whether
9093 caller is varargs and needs %bp to hold the stack frame on return.
9094
c5768510
OH
90952012-05-25 Olivier Hainque <hainque@adacore.com>
9096
9097 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9098 sequence in the non pic case on VxWorks.
9099
7c7c339b
OH
91002012-05-24 Olivier Hainque <hainque@adacore.com>
9101
73fb7630 9102 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9103 "install-leaf" to "install".
9104
fdc1b7d3
OH
91052012-05-24 Olivier Hainque <hainque@adacore.com>
9106
9107 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9108 Use a separate command for stamp removals.
9109
07ba94b9
AP
91102012-05-21 Andrew Pinski <apinski@cavium.com>
9111
9112 PR bootstrap/53183
9113 * configure.ac: Define the default includes to being none.
9114 * configure: Regenerate.
9115
4677d2eb
OH
91162012-05-16 Olivier Hainque <hainque@adacore.com>
9117
9118 * Makefile.in (install-unwind_h): Rename into ...
9119 (install-unwind_h-forbuild): New target.
9120 (all): Use it instead of the former install-unwind_h.
9121 (install-unwind_h): Reinstate, copy to user install destination
9122 for include files, not to the internal gcc object directory one.
9123 (install-leaf): Depend on it.
9124
7d67c380
OH
91252012-05-15 Olivier Hainque <hainque@adacore.com>
9126
9127 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9128 register numbers. LR_REGNO replaces R_LR.
9129 (ucontext_for): New, helper for ...
9130 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9131 and 5.3 of ...
9132 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9133
aca06c90
RO
91342012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9135
9136 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9137 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9138 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9139 i386/t-cpuinfo ...
9140 (i[34567]86-*-*, x86_64-*-*): ... here.
9141
9142 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9143 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9144
9145 * config/i386/i386-cpuinfo.c: Rename to ...
9146 * config/i386/cpuinfo.c: ... this.
9147 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9148
9149 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9150 (libgcc_cv_init_priority): New test.
9151 * configure: Regenerate.
9152 * config.in: New file.
9153 * Makefile.in (clean): Rename config.h to auto-target.h.
9154 (config.h): Likewise.
9155 (stamp-h): Likewise.
9156
9157 * config/i386/cpuinfo.c (auto-target.h): Include.
9158 (CONSTRUCTOR_PRIORITY): Define.
9159 (__cpu_indicator_init): Use it.
9160
0d03ac1b
L
91612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9162
9163 * longlong.h: Use a URL instead of an FSF postal address.
9164 Replace spaces with tab.
9165
4a172156 91662012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9167
9168 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9169 (__gcov_dump): Ditto.
9170 (gcov_dump_complete): New global variable.
9171 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9172 (__gcov_flush): Outline functionality now in gcov_clear.
9173 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9174
e4bb767e
AJ
91752012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9176
31a18a7e
ILT
9177 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9178 (mips*-*-linux*): Include mips/t-tpbit when long double is
9179 16 bytes long.
e4bb767e 9180
5ddecff9
ST
91812012-04-25 Sriraman Tallam <tmsriram@google.com>
9182
9183 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9184 (get_available_features): New argument. Check for AVX2.
9185 (__cpu_indicator_init): Modify call to get_available_features.
9186
b427dd7a
AM
91872012-04-25 Alan Modra <amodra@gmail.com>
9188
9189 * config/rs6000/crtsavevr.S: New file.
9190 * config/rs6000/crtrestvr.S: New file.
9191 * config/rs6000/t-savresfgpr: Build the above.
9192 * config/rs6000/t-netbsd: Likewise.
9193
ad491329
ST
91942012-04-24 Sriraman Tallam <tmsriram@google.com>
9195
9196 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9197
792317cc
ST
91982012-04-24 Sriraman Tallam <tmsriram@google.com>
9199
9200 * libgcc/config/i386/i386-cpuinfo.c: New file.
9201 * libgcc/config/i386/t-cpuinfo: New file.
9202 * libgcc/config.host: Include t-cpuinfo.
9203 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9204
e1be98a4
CF
92052012-04-24 Chao-ying Fu <fu@mips.com>
9206
9207 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9208
1bde7dab
TS
92092012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9210
9211 struct siginfo vs. siginfo_t
9212
9213 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9214 siginfo_t instead of struct siginfo.
9215 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9216 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9217 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9218 (ia64_handle_unwabi): Likewise.
9219 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9220 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9221 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9222 (sh_fallback_frame_state): Likewise.
9223 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9224 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9225
24590f66
L
92262012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9227
9228 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9229 system call number.
9230
9a9dcce8
EB
92312012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9232
9233 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9234 if it hasn't been previously saved.
9235
6401aaf5
L
92362012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9237
9238 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9239 only for glibc.
9240
7fd6378e
GJL
92412012-03-28 Georg-Johann Lay <avr@gjlay.de>
9242
9243 PR target/52737
9244 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9245 instead of __AVR_HAVE_8BIT_SP__.
9246
9e916de7
TG
92472012-03-26 Tristan Gingold <gingold@adacore.com>
9248
9249 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9250 (unw_table_entry): Use unw_word instead of unsigned long.
9251 (_Unwind_FindTableEntry): Likewise.
9252 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9253 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9254 (_Unwind_FindTableEntry): Likewise.
9255 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9256 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9257 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9258 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9259 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9260 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9261 (uw_init_context_1, uw_install_context): Likewise.
9262 (unw_word): Move to unwind-ia64.h
9263
4b12e93d
TG
92642012-03-26 Tristan Gingold <gingold@adacore.com>
9265
9266 * config/vms/vms-ucrt0.c: Update copyright years.
9267 Add a sanity check.
9268 (___gcc_main_flags): Declare.
9269 (__main): Check flags to remap argv and exit code.
9270 * config.host (*-*-*vms*): Adjust extra_parts.
9271 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9272 (crt0.o): Add.
9273
06ea7371
RE
92742012-03-22 Richard Earnshaw <rearnsha@arm.com>
9275
9276 * arm/lib1funcs.asm (ctzsi2): New function.
9277 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9278 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9279 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9280 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9281 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9282 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9283
d82ad50d
AT
92842012-03-21 Andreas Tobler <andreast@fgznet.ch>
9285
9286 * config.host: Add bits to support powerpc64-*-freebsd*.
9287 * config/rs6000/freebsd-unwind.h: New file.
9288 * config/rs6000/t-freebsd64: New file.
9289
b260a8c0
RG
92902012-03-20 Richard Guenther <rguenther@suse.de>
9291
9292 PR gcov-profile/52627
9293 * libgcov.c (init_mx): Fix mutex name.
9294
86286a8a
TG
92952012-03-16 Tristan Gingold <gingold@adacore.com>
9296
9297 * config/ia64/vms-unwind.h: Remove ulong (and replace
9298 it by unw_reg where used). Define unw_reg with __int64.
9299
7888f266
RO
93002012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9301
9302 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9303 Solaris 8 handling.
9304 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9305 Solaris 8 handling.
9306 (sparc_is_sighandler): Likewise.
9307
f155bc64
L
93082012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9309
9310 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9311 <= saved reg size.
9312
d47657bd
RO
93132012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9314
9315 * config/arm/crtn.S: Fix typo.
9316
5bef73a1
RG
93172012-03-13 Richard Guenther <rguenther@suse.de>
9318
9319 * libgcov.c: Remove stdio.h include and NULL un-define.
9320
9c4271f3
RG
93212012-03-13 Richard Guenther <rguenther@suse.de>
9322
9323 PR target/52569
9324 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9325
c6d10e7c
RG
93262012-03-13 Richard Guenther <rguenther@suse.de>
9327
9328 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9329
074a385f
RG
93302012-03-13 Richard Guenther <rguenther@suse.de>
9331
9332 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9333 and __gthread_mutex_init_function definitions.
9334
c4bc5c25
RO
93352012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9336
9337 * config.host (mips*-*-openbsd*): Remove.
9338
5c30094f
RO
93392012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9340
9341 * config.host: Remove alpha*-dec-osf5.1* handling.
9342 * config/alpha/gthr-posix.c: Remove.
9343 * config/alpha/libgcc-osf5.ver: Remove.
9344 * config/alpha/osf5-unwind.h: Remove.
9345 * config/alpha/t-osf-pthread: Remove.
9346 * config/alpha/t-slibgcc-osf: Remove.
9347 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9348 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9349 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9350 * mkmap-flat.awk: Remove osf_export handling.
9351
33e3e24d
RG
93522012-03-12 Richard Guenther <rguenther@suse.de>
9353
9354 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9355 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9356 (__gthread_mutex_init_function): New function.
9357 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9358
9359 PR gcov/49484
9360 * libgcov.c: Include gthr.h.
9361 (__gcov_flush_mx): New global variable.
9362 (init_mx, init_mx_once): New functions.
9363 (__gcov_flush): Protect self with a mutex.
9364 (__gcov_fork): Re-initialize mutex after forking.
9365 * unwind-dw2-fde.c: Change condition under which to use
9366 __GTHREAD_MUTEX_INIT_FUNCTION.
9367
d8aba32a
TG
93682012-03-12 Tristan Gingold <gingold@adacore.com>
9369
9370 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9371 * config/ia64/t-vms: Likewise.
9372
75ffafdc
MH
93732012-03-11 Michael Hope <michael.hope@linaro.org>
9374
4a172156
UB
9375 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9376 for Thumb-2.
75ffafdc 9377
ef6c2c53
WL
93782012-03-07 Walter Lee <walt@tilera.com>
9379
9380 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9381 "arch_atomic_".
9382 (atomic_xor): Rename and move definition to
9383 config/tilepro/atomic.h.
9384 (atomic_nand): Ditto.
9385 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9386 "arch_atomic_".
9387 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9388 (arch_atomic_nand): Ditto.
9389
4e30d980
GJL
93902012-03-07 Georg-Johann Lay <avr@gjlay.de>
9391
9392 PR target/52507
9393 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9394
61108225
GJL
93952012-03-07 Georg-Johann Lay <avr@gjlay.de>
9396
9397 PR target/52505
9398 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9399 from RAM.
9400
b30e10ab
GJL
94012012-03-07 Georg-Johann Lay <avr@gjlay.de>
9402
9403 PR target/52461
9404 PR target/52508
9405 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9406 if RAMPZ affects reading from RAM.
9407 (__tablejump_elpm__): Ditto.
9408 (.xload): Ditto.
9409 (__movmemx_hi): Ditto.
9410 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9411 (__do_global_dtors): Ditto.
9412 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9413 (__movmemx_hi): Ditto.
9414
8993fde4
RH
94152012-03-05 Richard Henderson <rth@redhat.com>
9416
9417 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9418 [ARM] (count_trailing_zeros): Use the builtin.
9419
b7633ee3
KT
94202012-03-01 Kai Tietz <ktietz@redhat.com>
9421
9422 * soft-fp: Imported from glibc upstream.
9423
fbd3340c
KT
94242012-02-28 Kai Tietz <ktietz@redhat.com>
9425
9426 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9427 for mingw-targets as attribute gcc_struct.
9428
e9e053eb
ILT
94292012-02-28 Ian Lance Taylor <iant@google.com>
9430
9431 * generic-morestack.c (__splitstack_releasecontext): Correct call
9432 to __morestack_release_segments.
9433
d80c632e
ST
94342012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9435
9436 PR target/52390
9437 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9438 for __linux__ when removing signals from __morestack_fullmask.
9439
0253a8b1
GJL
94402012-02-23 Georg-Johann Lay <avr@gjlay.de>
9441
9442 PR target/52261
9443 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9444
e10e461e
UW
94452012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9446
9447 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9448 instead of HAVE_INITFINI_ARRAY.
9449 * config/ia64/crtend.S: Likewise.
9450
0c0c6398
KT
94512012-02-20 Kai Tietz <ktietz@redhat.com>
9452
d7470374
KT
9453 PR libstdc++/52300
9454 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9455
0c0c6398
KT
9456 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9457 to w32-unwind.h header.
9458
78c27266
RS
94592012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9460
9461 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9462 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9463 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9464 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9465
5adeb246
RS
94662012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9467
9468 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9469
672ed313
IS
94702012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9471
9472 PR libitm/52220
9473 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9474
e948a1fb
IS
94752012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9476 Patrick Marlier <patrick.marlier@gmail.com>
9477
9478 PR libitm/52220
9479 * config/darwin-crt-tm.c: Generate dummy functions.
9480
6017aed3
IS
94812012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9482 Patrick Marlier <patrick.marlier@gmail.com>
9483
9484 PR libitm/52042
9485 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9486 (__doTMRegistrations): Call it.
e9e053eb 9487 (__doTMdeRegistrations): Likewise.
6017aed3 9488
2da8c1ad 94892012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9490 Anatoly Sokolov <aesok@post.ru>
9491 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9492
9493 PR target/52261
9494 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9495 (__epilogue_restores__): Ditto.
9496
0f952eb4
EB
94972012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9498
9499 PR target/51921
9500 PR target/52205
9501 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9502 Solaris 11 and slightly reformat.
9503 (sparc_is_sighandler): Likewise.
9504
dd552284
WL
95052012-02-14 Walter Lee <walt@tilera.com>
9506
9507 * config.host: Handle tilegx and tilepro.
9508 * config/tilegx/sfp-machine.h: New file.
9509 * config/tilegx/sfp-machine32.h: New file.
9510 * config/tilegx/sfp-machine64.h: New file.
9511 * config/tilegx/t-crtstuff: New file.
9512 * config/tilegx/t-softfp: New file.
9513 * config/tilegx/t-tilegx: New file.
9514 * config/tilepro/atomic.c: New file.
9515 * config/tilepro/atomic.h: New file.
9516 * config/tilepro/linux-unwind.h: New file.
9517 * config/tilepro/sfp-machine.h: New file.
9518 * config/tilepro/softdivide.c: New file.
9519 * config/tilepro/softmpy.S: New file.
9520 * config/tilepro/t-crtstuff: New file.
9521 * config/tilepro/t-tilepro: New file.
9522
b59cbd50
JW
95232012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9524
9525 PR libstdc++/51296
9526 PR libstdc++/51906
9527 * gthr-posix.h: Allow static initializer macros to be disabled.
9528 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9529
6caf807f
CLT
95302012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9531
9532 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9533 Add t-slibgcc-libgcc to tmake_file.
9534 * config/mips/libgcc-mips16.ver: Revert previous patch.
9535 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9536
7d296953
JJ
95372012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9538 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9539
9540 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9541 * config/cr16/crti.S: New file.
9542 * config/cr16/crtlibid.S: New file.
9543 * config/cr16/crtn.S: New file.
9544 * config/cr16/lib1funcs.S: New file.
9545 * config/cr16/t-cr16: New file.
9546 * config/cr16/t-crtlibid: New file.
9547 * config/cr16/unwind-dw2.h: New file.
9548 * config/cr16/unwind-cr16.c: New file.
9549 * config/cr16/divmodhi3.c: New file.
9550
8ef03aa7
AM
95512012-01-25 Alan Modra <amodra@gmail.com>
9552
9553 * config/rs6000/t-linux64: Delete. Move..
9554 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9555 * config/rs6000/t-linux: ..and libgcc flags to here.
9556
daecebc8
DR
95572012-01-22 Douglas B Rupp <rupp@gnat.com>
9558
9559 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9560 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9561 * configure: Regenerate.
9562
ddaf8125
RS
95632012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9564 Richard Sandiford <rdsandiford@googlemail.com>
9565
9566 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9567 * config/mips/mips16.S (__mips16_rdhwr): New function.
9568 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9569
2cd8b32c
NS
95702012-01-11 Nathan Sidwell <nathan@acm.org>
9571
9572 * libgcov.c (__gcov_init): Ignore objects with no functions.
9573
cba300dd
GJL
95742012-01-10 Georg-Johann Lay <avr@gjlay.de>
9575
9576 PR target/49868
9577 Extend __pgmx semantics to linearize memory.
9578 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9579 * config/avr/lib1funcs.S (__xload_1): New function.
9580 (__movmemx_qi, __movmemx_hi): New functions.
9581 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9582 semantics.
9ffaf4bc 9583
3d137660
EB
95842012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9585
9586 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9587 purported sigacthandler address isn't null before dereferencing it.
9588 (sparc_is_sighandler): Likewise.
9589
bf4db96c
EB
95902012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9591
9592 PR ada/41929
9593 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9594 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9595 (sparc_is_sighandler): Likewise.
9596 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9597
1ab3568b
TG
95982012-01-06 Tristan Gingold <gingold@adacore.com>
9599
9600 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9601 compatibility thunks...
9602 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9603 (crtbeginS.o, crtendS.o): ... and these to ...
9604 * config/ia64/t-ia64-elf: ... this new file.
9605 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9606 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9607
925b0ed8
AK
96082012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9609
9610 * configure: Regenerate.
9611 * config/s390/t-crtstuff: Remove -fPIC.
9612
a99ad737
JW
96132012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9614
9615 PR bootstrap/51006
9616 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9617 for NetBSD.
9618
884f56d1
GJL
96192012-01-02 Georg-Johann Lay <avr@gjlay.de>
9620
9621 PR target/51345
9622 * config/avr/lib1funcs.S: Remove FIXME comments.
9623 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9624
8c57e547
GJL
96252012-01-02 Georg-Johann Lay <avr@gjlay.de>
9626
9627 Implement light-weight DImode support.
9628 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9629 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9630 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9631 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9632
04dbc287
NS
96332011-12-30 Nathan Sidwell <nathan@acm.org>
9634
9635 * libgcov.c (gcov_crc32): Remove global var.
9636 (free_fn_data): New function.
9637 (buffer_fn_data): Pass in filename, more robust error recovery.
9638 (crc32_unsigned): New function.
9639 (gcov_exit): More robust detection of new program. More robust
9640 error recovery.
9641 (__gcov_init): Do not update program's crc here.
9642
8e1d97d4
TG
96432011-12-21 Tristan Gingold <gingold@adacore.com>
9644
9645 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9646
9ffaf4bc
ILT
96472011-12-21 Ian Lance Taylor <iant@google.com>
9648
9649 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9650
a0c8d0c1
ILT
96512011-12-20 Ian Lance Taylor <iant@google.com>
9652
9653 * config/i386/morestack.S (__morestack_non_split): If there is
9654 enough stack space already, don't split. Ask for more stack space
9655 than we required.
9656
69048898
SDJ
96572011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9658
9659 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9660 `sys/sdt.h'.
9661 (_Unwind_DebugHook): New function.
9662 (uw_restore_core_regs): New define.
9663 (unwind_phase2): Use uw_restore_core_regs instead of
9664 restore_core_regs.
9665 (unwind_phase2_forced): Likewise.
9666 (__gnu_Unwind_Resume): Likewise.
9667
1bb4b6a3
UB
96682011-12-20 Uros Bizjak <ubizjak@gmail.com>
9669
9670 * config/alpha/linux-unwind.h: Update copyright years.
9671 (MD_FROB_UPDATE_CONTEXT): New define.
9672 (alpha_frob_update_context): New function.
9673
eb028768
RS
96742011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9675
9676 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9677 tmake_file rather replacing it.
9678
6a2045bf
IS
96792011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9680
9681 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9682 function is not used for PPC64.
6a2045bf
IS
9683 (save_world): Amend comments. Update the VRsave mask to reflect the
9684 saved regs.
9685 (rest_world): Update comments, do not clobber r10, do not use r8.
9686 (eh_rest_world_r10): Amend comments, do not use r8.
9687 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9688 no longer used, move restore of CR and target address to the end of
9689 the routine.
9690
a13780a6
L
96912011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9692
9693 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9694 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9695
d7288dfb
GJL
96962011-12-14 Georg-Johann Lay <avr@gjlay.de>
9697
9698 PR target/49313
9699 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9700 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9701
8d2c862d
EB
97022011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9703
9704 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9705
3447cae6
GJL
97062011-12-09 Georg-Johann Lay <avr@gjlay.de>
9707
9708 PR target/49313
9709 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9710 * config/avr/lib1funcs.S (__muldi3): New function.
9711
806fc6aa
AP
97122011-12-06 Andrew Pinski <apinski@cavium.com>
9713
9714 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9715 size of func_ptr.
9716 (__frame_dummy_init_array_entry): Likewise.
9717
28c5e6b5
GJL
97182011-12-06 Georg-Johann Lay <avr@gjlay.de>
9719
9720 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9721
9722 PR target/51345
9723 PR target/51002
9724 * config/avr/lib1funcs.S (__prologue_saves__,
9725 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9726 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9727
8f90394a
IS
97282011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9729
9730 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9731
06dd33ac
JDA
97322011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9733
9734 PR other/51272
9735 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9736 (_ITM_deregisterTMCloneTable): Likewise.
9737 (__register_frame_info): Fix unused warning.
9738 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9739 pthread_default_stacksize_np): Likewise.
9740 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9741
85b8555e
DD
97422011-11-29 DJ Delorie <dj@redhat.com>
9743
9744 * config.host (rl78-*-elf): New case.
9745 * config/rl78: New directory for the Renesas RL78.
9746
4d5ae4ea
BS
97472011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9748
9749 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9750 formatting.
9751
f9c55897
RO
97522011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9753
9754 PR other/51022
9755 * config/rs6000/t-savresfgpr: New file.
9756 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9757 $(srcdir)/config/rs6000/eabi.S.
9758 * config/rs6000/t-ppccomm-ldbl: Remove.
9759 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9760 tmake_file.
9761 (powerpc-*-eabispe*): Likewise.
9762 (powerpc-*-eabi*): Likewise.
9763 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9764 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9765 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9766 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9767 tmake_file.
9768 (powerpc-*-eabisim*): Likewise.
9769 (powerpc-*-elf*): Likewise.
9770 (powerpc-*-eabialtivec*): Likewise.
9771 (powerpc-xilinx-eabi*): Likewise.
9772 (powerpc-*-rtems*): Likewise.
9773 (powerpcle-*-elf*): Likewise.
9774 (powerpcle-*-eabisim*): Likewise.
9775 (powerpcle-*-eabi*): Likewise.
9776
a01207c4
ILT
97772011-11-27 Ian Lance Taylor <iant@google.com>
9778
9779 * generic-morestack.c (__splitstack_find): Check for NULL old
9780 stack value.
9781 (__splitstack_resetcontext): New function.
9782 (__splitstack_releasecontext): New function.
9783 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9784
2b0b8ab2
IS
97852011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9786
9787 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9788
c1d8101c
IS
97892011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9790
9791 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9792
8b281334
RH
97932011-11-26 Richard Henderson <rth@redhat.com>
9794
9795 * config/m68k/linux-atomic.c: New file.
9796 * config/m68k/t-linux: New file.
9797 * config.host (m68k-uclinux, m68k-linux): Use it.
9798
7546aa9d
RH
97992011-11-26 Richard Henderson <rth@redhat.com>
9800
9801 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9802 (__TMC_END__): Only declare if hidden is available; in the definition,
9803 if hidden is unavailable add a null record.
9804 (deregister_tm_clones, register_tm_clones): New.
9805 (__do_global_dtors_aux, frame_dummy): Use them.
9806 (__do_global_dtors, __do_global_ctors_1): Likewise.
9807
e2362f5d
IS
98082011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9809
9810 * config/darwin-crt-tm.c: New file.
9811 * config.host (darwin): Build crttms.o crttme.o to provide
9812 startup and shutdown for tm clones.
9813 * config/t-darwin (crttms.o): New build rule.
9814 (crttme.o): Likewise.
9815
6685dd96
HPN
98162011-11-21 Hans-Peter Nilsson <hp@axis.com>
9817
9818 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9819 et al.
9820
b0dc7e4c
RH
98212011-11-21 Richard Henderson <rth@redhat.com>
9822
9823 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9824 (__TMC_LIST__, __TMC_END__): New.
9825 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9826 (__do_global_dtors): Likewise.
9827 (frame_dummy): Call _ITM_registerTMCloneTable.
9828 (__do_global_ctors_1): Likewise.
9829
d4b4b542
RO
98302011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9831
9832 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9833 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9834 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9835 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9836 * config/i386/t-darwin64: Remove.
9837 * config/sh/t-netbsd (LIB2ADD): Remove.
9838
989bdb74
GJL
98392011-11-21 Georg-Johann Lay <avr@gjlay.de>
9840
9841 PR target/49313
9842 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9843 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9844 * config/avr/lib1funcs.S (wmov): New assembler macro.
9845 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9846 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9847 (__udivmod64): New function.
9848 (__negdi2): New function.
9849
515a0cfc
GP
98502011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9851
9852 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9853 *-*-freebsd*aout*): Remove.
9854
0115d17f
HPN
98552011-11-20 Hans-Peter Nilsson <hp@axis.com>
9856
9857 * static-object.mk (c_flags-$o): Save c_flags.
9858 ($(base)$(objext)): Use it.
9859
93aeb62b
SE
98602011-11-18 Steve Ellcey <sje@cup.hp.com>
9861
9862 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9863
7bc6df2c
GJL
98642011-11-18 Georg-Johann Lay <avr@gjlay.de>
9865
9866 PR target/49868
9867 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9868 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9869 New functions.
9870
425d737b
MGD
98712011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9872
9873 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9874 functions.
1bb4b6a3 9875 (aeabi_uidivmod): Likewise.
425d737b
MGD
9876 (umodsi3): Likewise.
9877 (divsi3): Likewise.
9878 (aeabi_idivmod): Likewise.
9879 (modsi3): Likewise.
9880
f2a176dc
TG
98812011-11-16 Tristan Gingold <gingold@adacore.com>
9882
9883 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9884
7c209481
GJL
98852011-11-15 Georg-Johann Lay <avr@gjlay.de>
9886
9887 PR target/49868
9888 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9889 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9890
9dfd5832
JDA
98912011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9892
9893 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9894 tmake_file list.
9895 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9896 * config/pa/t-stublib64: Delete.
9897
f77dca5d
RH
98982011-11-12 Richard Henderson <rth@redhat.com>
9899
9900 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9901 cast the pointer argument to _Unwind_SetGRPtr.
9902
902828f0
RO
99032011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9904
9905 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9906
e14304ef
ILT
99072011-11-09 Ian Lance Taylor <iant@google.com>
9908
9909 * generic-morestack.c: Include <string.h>.
9910 (uintptr_type): Define.
9911 (struct initial_sp): Add dont_block_signals field. Reduce size of
9912 extra array by 1.
9913 (allocate_segment): Set prev field to NULL. Don't set
9914 __morestack_current_segment or __morestack_segments.
9915 (__generic_morestack): Update current->prev and *pp after calling
9916 allocate_segment.
9917 (__morestack_block_signals): Don't do anything if
9918 dont_block_signals is set.
9919 (__morestack_unblock_signals): Likewise.
9920 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9921 uintptr_type.
9922 (__splitstack_block_signals): New function.
9923 (enum __splitstack_content_offsets): Define.
9924 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9925 (__splitstack_makecontext): New function.
9926 (__splitstack_block_signals_context): New function.
9927 (__splitstack_find_context): New function.
9928 * config/i386/morestack.S (__morestack_get_guard): New function.
9929 (__morestack_set_guard, __morestack_make_guard): New functions.
9930 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9931
e3d871e4
RO
99322011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9933
9934 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9935 (i[34567]86-*-mingw*): ... here.
9936 (x86_64-*-mingw*): ... here.
9937
e55cef40
RO
99382011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9939
9940 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9941
5366b186
NS
99422011-11-07 Nathan Sidwell <nathan@acm.org>
9943
9944 * libgcov.c (struct gcov_fn_buffer): New struct.
9945 (buffer_fn_data): New helper.
9946 (gcov_exit): Rework for new gcov data structures.
9947
74155a6f
GJL
99482011-11-07 Georg-Johann Lay <avr@gjlay.de>
9949
9950 PR target/49313
9951 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9952
200feb07
RO
99532011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9954
9955 * config.host (tmake_file): Correct comment.
9956 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9957 t-libgcc-pic.
9958 (bfin*-uclinux*): Likewise.
9959 (bfin*-linux-uclibc*): Likewise.
9960 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9961
9962 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9963 assigning.
9964 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9965 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9966 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9967 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9968 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9969 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9970 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9971 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9972 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9973 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9974 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9975 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9976 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9977
9978 * config/bfin/t-elf: Remove.
9979 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9980
c9cd1a07
RO
99812011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9982
9983 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9984 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9985 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9986 (lm32-*-elf*): ... this.
9987 (lm32-*-rtems*): ... and this.
9988 Add to tmake_file.
9989 (m32r-*-rtems*): Add to tmake_file.
9990 (moxie-*-rtems*): Likewise.
9991 (sparc-*-rtems*): Likewise.
9992 Remove t-rtems from tmake_file.
9993 (sparc64-*-rtems*): Likewise.
9994 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9995 instead.
9996
9fbcc75d
RO
99972011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9998
9999 PR bootstrap/50982
10000 * config/gthr-posix.h: Move ...
10001 * gthr-posix.h: ... here.
10002 * config/gthr-lynx.h: Reflect this.
10003 * config/gthr-vxworks.h: Likewise.
10004 * config/rs6000/gthr-aix.h: Likewise.
10005 * configure.ac (target_thread_file): Likewise.
10006 * configure: Regenerate.
10007
76644b68
SH
100082011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10009
10010 * config.host (arm*-*-rtemseabi*): New target.
10011
5e490f2a
JDA
100122011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10013
10014 PR other/50991
10015 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10016 extra-parts.
10017
feeeff5c
JR
100182011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10019
10020 * config.host (epiphany-*-elf*): New configuration.
10021 * config/epiphany: New Directory.
10022
d618bb2c
RC
100232011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10024
10025 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10026 * config/avr/t-rtems: New.
10027 Filter out _exit from LIB1ASMFUNCS.
10028
1bb6f778
DM
100292011-11-04 David S. Miller <davem@davemloft.net>
10030
10031 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10032 * configure: Rebuild.
10033
9a7f7422
AK
100342011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10035
10036 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10037 variable.
10038
e4fe948a
GJL
100392011-11-04 Georg-Johann Lay <avr@gjlay.de>
10040
10041 PR target/50931
10042 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10043 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10044
7084e037
JS
100452011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10046
10047 PR target/50989
10048 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10049
1a032034
RO
100502011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10051
10052 * config/c6x/t-elf (LIB2ADDEH): Set.
10053 * config/c6x/t-c6x-elf: Remove.
10054
d385f772
RO
100552011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10056
10057 * config/i386/sol2-ci.S: Rename to ...
10058 * config/i386/crti.S: ... this.
10059 * config/i386/sol2-cn.S: Rename to ...
10060 * config/i386/crtn.S: ... this.
10061 * config/sparc/sol2-ci.S: Rename to ...
10062 * config/sparc/crti.S: ... this.
10063 * config/sparc/sol2-cn.S: Rename to ...
10064 * config/sparc/crtn.S: ... this.
10065 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10066 (crti.o, crtn.o): Remove.
10067
1ba878a9
TG
100682011-11-04 Tristan Gingold <gingold@adacore.com>
10069
10070 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10071
02750c15
KK
100722011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10073
10074 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10075
bf86b067
HPN
100762011-11-03 Hans-Peter Nilsson <hp@axis.com>
10077
10078 * config.host (crisv32-*-none, cris-*-none): Remove.
10079 (crisv32-*-elf): Append to tmake_file, don't just set it.
10080 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10081
d0bc53bd
RO
100822011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10083
10084 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10085 (ecrtn$(objext)): Likewise.
10086 (ncrti$(objext)): Likewise.
10087 (ncrtn$(objext)): Likewise.
10088
036da830
AS
100892011-11-03 Andreas Schwab <schwab@redhat.com>
10090
10091 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10092
d2a7d041
DM
100932011-11-02 David S. Miller <davem@davemloft.net>
10094
10095 * configure.ac: Set host_address on sparc too.
10096 * configure: Regenerate.
10097 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10098 based upon host_address.
10099 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10100
af8ed618
JM
101012011-11-02 Jason Merrill <jason@redhat.com>
10102
10103 * config/rs6000/t-ppccomm: Add missing \.
10104
5d1c8e77
RO
101052011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10106
10107 * gthr-single.h, gthr.h: New files.
10108 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10109 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10110 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10111 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10112 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10113 * configure.ac (thread_header): New variable.
10114 Set it depending on target_thread_file.
10115 (gthr-default.h): Link from $thread_header.
10116 * configure: Regenerate.
10117 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10118
852b75ed
RO
101192011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10120
10121 * configure.ac (tm_file_): New variable.
10122 Determine from tm_file.
10123 (tm_file, tm_defines): Substitute.
10124 * configure: Regenerate.
10125 * mkheader.sh: New file.
10126 * Makefile.in (clean): Remove libgcc_tm.h.
10127 ($(objects)): Depend on libgcc_tm.h.
10128 (libgcc_tm_defines, libgcc_tm_file): New variables.
10129 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10130 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10131 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10132 ($(extra-parts)): Depend on libgcc_tm.h.
10133 * config.host (tm_defines, tm_file): New variable.
10134 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10135 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10136 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10137 (avr-*-rtems*): Likewise.
10138 (avr-*-*): Likewise.
10139 (frv-*-elf): Likewise.
10140 (frv-*-*linux*): Likewise.
10141 (h8300-*-rtems*): Likewise.
10142 (h8300-*-elf*): Likewise.
10143 (i[34567]86-*-darwin*): Likewise.
10144 (x86_64-*-darwin*): Likewise.
10145 (rx-*-elf): Likewise.
10146 (tic6x-*-uclinux): Likewise.
10147 (tic6x-*-elf): Likewise.
10148 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10149 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10150 * config/i386/cygming-crtbegin.c: Likewise.
10151 * config/i386/cygming-crtend.c: Likewise.
10152 * config/ia64/fde-vms.c: Likewise.
10153 * config/ia64/unwind-ia64.c: Likewise.
10154 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10155 * config/rs6000/darwin-fallback.c: Likewise.
10156 * config/stormy16/lib2funcs.c: Likewise.
10157 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10158 * crtstuff.c: Likewise.
10159 * dfp-bit.h: Likewise.
10160 * emutls.c: Likewise.
10161 * fixed-bit.c: Likewise.
10162 * fp-bit.c: Likewise.
10163 * generic-morestack-thread.c: Likewise.
10164 * generic-morestack.c: Likewise.
10165 * libgcc2.c: Likewise.
10166 * libgcov.c: Likewise.
10167 * unwind-dw2-fde-dip.c: Likewise.
10168 * unwind-dw2-fde.c: Likewise.
10169 * unwind-dw2.c: Likewise.
10170 * unwind-sjlj.c: Likewise.
10171
f9989b51
RO
101722011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10173
10174 * configure.ac: Include ../config/picflag.m4.
10175 (GCC_PICFLAG): Call it.
10176 Substitute.
10177 * configure: Regenerate.
10178 * Makefile.in (gcc_srcdir): Remove.
10179 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10180 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10181 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10182 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10183 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10184 Use $<.
10185 Remove comment.
10186 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10187 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10188 to refer to libgcc2.c.
10189 Use $<.
10190 * config/darwin-64.c: New file.
10191 * config/darwin-crt3.c: Remove comment.
10192 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10193 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10194 config/udivmodsi4.c: New files.
10195 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10196 config/memset.c: New files.
10197 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10198 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10199 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10200 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10201 * config/t-openbsd-thread: New file.
10202 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10203 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10204 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10205 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10206 qrnnd.S.
10207 Adapt filename.
10208 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10209 to refer to gthr-posix.c.
10210 * config/alpha/t-vms (LIB2ADD): Set.
10211 * config/alpha/vms-gcc_shell_handler.c: New file.
10212 * config/arm/bpabi.c, config/arm/fp16.c,
10213 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10214 config/arm/unaligned-funcs.c: New files.
10215 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10216 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10217 * config/arm/t-linux: Likewise.
10218 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10219 * config/arm/t-netbsd: New file.
10220 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10221 * config/arm/t-symbian (LIB2ADD_ST): Set.
10222 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10223 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10224 * config/bfin/t-elf: New file.
10225 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10226 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10227 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10228 config/c6x/ltf.c: New files.
10229 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10230 (HOST_LIBGCC2_CFLAGS): Set.
10231 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10232 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10233 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10234 New files.
10235 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10236 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10237 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10238 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10239 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10240 files.
10241 * config/frv/t-frv (LIB2ADD): Set.
10242 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10243 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10244 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10245 config/h8300/popcounthi2.c: New files.
10246 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10247 * config/i386/gthr-win32.c: New file.
10248 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10249 * config/i386/t-cygwin: Likewise.
10250 * config/i386/t-darwin, config/i386/t-darwin64,
10251 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10252 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10253 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10254 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10255 * config/ia64/quadlib.c: New file.
10256 * config/ia64/t-hpux (LIB2ADD): Set.
10257 * config/ia64/t-ia64: Add comment.
10258 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10259 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10260 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10261 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10262 * config/m32c/t-m32c (LIB2ADD): Set.
10263 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10264 * config/m32r/t-m32r: Likewise.
10265 * config/m68k/fpgnulib.c: New file.
10266 * config/m68k/t-floatlib (LIB2ADD): Set.
10267 (xfgnulib.c): New target.
10268 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10269 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10270 * config/mep/t-mep (LIB2ADD): Set.
10271 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10272 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10273 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10274 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10275 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10276 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10277 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10278 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10279 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10280 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10281 New files.
10282 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10283 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10284 * config/pa/fptr.c, config/pa/lib2funcs.S,
10285 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10286 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10287 (LIB2ADD, LIB2ADD_ST): Set.
10288 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10289 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10290 Set.
10291 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10292 * config/pdp11/t-pdp11: New file.
10293 * config/picochip/libgccExtras/adddi3.S,
10294 config/picochip/libgccExtras/ashlsi3.S,
10295 config/picochip/libgccExtras/ashrsi3.S,
10296 config/picochip/libgccExtras/clzsi2.S,
10297 config/picochip/libgccExtras/cmpsi2.S,
10298 config/picochip/libgccExtras/divmod15.S,
10299 config/picochip/libgccExtras/divmodhi4.S,
10300 config/picochip/libgccExtras/divmodsi4.S,
10301 config/picochip/libgccExtras/lshrsi3.S,
10302 config/picochip/libgccExtras/parityhi2.S,
10303 config/picochip/libgccExtras/popcounthi2.S,
10304 config/picochip/libgccExtras/subdi3.S,
10305 config/picochip/libgccExtras/ucmpsi2.S,
10306 config/picochip/libgccExtras/udivmodhi4.S,
10307 config/picochip/libgccExtras/udivmodsi4.S: New files.
10308 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10309 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10310 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10311 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10312 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10313 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10314 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10315 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10316 files.
10317 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10318 (HOST_LIBGCC2_CFLAGS): Set.
10319 * config/rs6000/t-darwin64: New file.
10320 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10321 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10322 * config/rs6000/t-ppccomm (LIB2ADD): Add
10323 $(srcdir)/config/rs6000/tramp.S.
10324 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10325 Add $(srcdir)/config/rs6000/eabi.S.
10326 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10327 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10328 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10329 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10330 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10331 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10332 * config/rs6000/tramp.S: New file.
10333 * config/s390/t-tpf: Remove.
10334 * config/sh/linux-atomic.S: New file.
10335 * config/sh/t-linux (LIB2ADD): Set.
10336 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10337 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10338 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10339 to unwind-dw2.c.
10340 (HOST_LIBGCC2_CFLAGS): Set.
10341 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10342 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10343 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10344 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10345 config/spu/mfc_multi_tag_release.c,
10346 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10347 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10348 config/spu/multi3.c: New files.
10349 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10350 (HOST_LIBGCC2_CFLAGS): Set.
10351 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10352 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10353 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10354 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10355 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10356 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10357 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10358 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10359 config/stormy16/umodsi3.c: New files.
10360 * config/xtensa/lib2funcs.S: New file.
10361 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10362 * config/xtensa/t-xtensa (LIB2ADD): Set.
10363 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10364 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10365 Add t-freebsd-thread to tmake_file for posix threads.
10366 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10367 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10368 (*-*-lynxos*): Likewise.
10369 (*-*-netbsd*): Likewise.
10370 (*-*-openbsd*): Likewise.
10371 Add t-openbsd-thread to tmake_file for posix threads.
10372 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10373 (*-*-vxworks*): Set tmake_file.
10374 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10375 (alpha*-*-freebsd*): Likewise.
10376 (alpha*-*-netbsd*): Likewise.
10377 (alpha*-*-openbsd*): Likewise.
10378 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10379 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10380 (alpha*-dec-*vms*): Likewise.
10381 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10382 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10383 (bfin*-uclinux*): Likewise.
10384 (bfin*-linux-uclibc*): Likewise.
10385 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10386 (crisv32-*-none): Likewise.
10387 (cris-*-elf): Likewise.
10388 (cris-*-none): Likewise.
10389 (cris-*-linux*, crisv32-*-linux*): Likewise.
10390 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10391 tmake_file.
10392 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10393 tmake_file.
10394 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10395 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10396 (x86_64-*-elf*): Likewise.
10397 (i[34567]86-*-nto-qnx*): Likewise.
10398 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10399 win32 threads.
10400 (x86_64-*-mingw*): Likewise.
10401 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10402 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10403 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10404 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10405 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10406 tmake_file.
10407 (mipsisa64sr71k-*-elf*): Likewise.
10408 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10409 (mips-*-elf*, mipsel-*-elf*): Likewise.
10410 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10411 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10412 (mips*-*-rtems*): Likewise.
10413 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10414 to tmake_file.
10415 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10416 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10417 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10418 (spu-*-elf*): Likewise.
10419 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10420
45b86625
RO
104212011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10422
10423 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10424 $(srcdir) to refer to $(LIB1ASMSRC).
10425 Use $<.
10426 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10427 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10428 config/arm/lib1funcs.S: New files.
10429 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10430 * config/arm/t-arm: New file.
10431 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10432 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10433 config/arm/t-strongarm-elf: New files.
10434 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10435 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10436 * config/avr/lib1funcs.S: New file.
10437 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10438 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10439 * config/c6x/lib1funcs.S: New file.
10440 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10441 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10442 * config/frv/lib1funcs.S: New file.
10443 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10444 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10445 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10446 * config/ia64/__divxf3.asm: Rename to ...
10447 * config/ia64/__divxf3.S: ... this.
10448 Adapt lib1funcs.asm filename.
10449 * config/ia64/_fixtfdi.asm: Rename to ...
10450 * config/ia64/_fixtfdi.S: ... this.
10451 Adapt lib1funcs.asm filename.
10452 * config/ia64/_fixunstfdi.asm: Rename to ...
10453 * config/ia64/_fixunstfdi.S: ... this.
10454 Adapt lib1funcs.asm filename.
10455 * config/ia64/_floatditf.asm: Rename to ...
10456 * config/ia64/_floatditf.S: ... this.
10457 Adapt lib1funcs.asm filename.
10458 * config/ia64/lib1funcs.S: New file.
10459 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10460 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10461 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10462 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10463 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10464 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10465 * config/mep/lib1funcs.S: New file.
10466 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10467 * config/mips/mips16.S: New file.
10468 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10469 * config/pa/milli64.S: New file.
10470 * config/pa/t-linux, config/pa/t-linux64: New files.
10471 * config/picochip/lib1funcs.S: New file.
10472 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10473 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10474 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10475 * config/sh/t-netbsd: New file.
10476 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10477 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10478 * config/sh/t-sh64: New file.
10479 * config/sparc/lb1spc.S: New file.
10480 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10481 filename.
10482 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10483 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10484 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10485 config/xtensa/lib1funcs.S: New files.
10486 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10487 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10488 tmake_file.
10489 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10490 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10491 (arm*-*-linux*): Likewise.
10492 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10493 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10494 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10495 (arm*-*-ecos-elf): Likewise.
10496 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10497 (arm*-*-rtems*): Likewise.
10498 (arm*-*-elf): Likewise.
10499 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10500 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10501 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10502 (bfin*-uclinux*): Likewise.
10503 (bfin*-linux-uclibc*): Likewise.
10504 (bfin*-rtems*): Likewise.
10505 (bfin*-*): Likewise.
10506 (fido-*-elf): Merge into m68k-*-elf*.
10507 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10508 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10509 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10510 (h8300-*-elf*): Likewise.
10511 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10512 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10513 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10514 (i[34567]86-*-mingw*): Likewise.
10515 (x86_64-*-mingw*): Likewise.
10516 (i[34567]86-*-interix3*): Likewise.
10517 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10518 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10519 (m68k-*-elf*): Also handle fido-*-elf.
10520 Add m68k/t-floatlib to tmake_file.
10521 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10522 (m68k-*-linux*): Likewise.
10523 (m68k-*-rtems*): Likewise.
10524 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10525 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10526 sh64*-*-*.
10527 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10528 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10529 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10530 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10531 sh/t-netbsd to tmake_file.
10532 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10533 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10534 (sh-wrs-vxworks): Likewise.
10535 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10536 *-leon[3-9]*.
10537 (v850*-*-*): Add v850/t-v850 to tmake_file.
10538 (vax-*-linux*): Add vax/t-linux to tmake_file.
10539 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10540
5f73c6cc
RO
105412011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10542
10543 * crtstuff.c: New file.
10544 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10545 (CRTSTUFF_T_CFLAGS): Define.
10546 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10547 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10548 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10549 crtstuff.c.
10550 Use $<.
10551 (crtbeginT.o): Use $(objext).
10552 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10553 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10554 (gcc-extra-parts): Remove.
10555 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10556 Set extra_parts.
10557 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10558 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10559 Add t-crtstuff-pic to tmake_file.
10560 (*-*-lynxos*): New case.
10561 Set tmake_file, extra_parts.
10562 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10563 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10564 *-*-netbsdelf[2-9]*.
10565 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10566 (*-*-rtems*): Set extra_parts.
10567 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10568 (*-*-uclinux*): New case.
10569 Set extra_parts.
10570 (*-*-vms*): New case.
10571 Set tmake_file, extra_parts.
10572 (*-*-elf): Set extra_parts.
10573 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10574 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10575 vms/t-vms64.
10576 Set extra_parts.
10577 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10578 Set extra_parts.
10579 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10580 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10581 (arm-wrs-vxworks): Append to tmake_file.
10582 Set extra_parts.
10583 (arm*-*-uclinux*): Set extra_parts.
10584 (arm*-*-ecos-elf): Likewise.
10585 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10586 arm*-*-eabi*.
10587 (arm*-*-rtems*): Set extra_parts.
10588 (arm*-*-elf): Likewise.
10589 (avr-*-rtems*): Clear extra_parts.
10590 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10591 Set extra_parts.
10592 (bfin*-uclinux*): Likewise.
10593 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10594 (bfin*-rtems*): Append to tmake_file.
10595 Set extra_parts.
10596 (bfin*-*): Likewise.
10597 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10598 (crisv32-*-elf): ... this.
10599 (crisv32-*-none): ... this.
10600 (cris-*-elf, cris-*-none): New cases.
10601 Add cris/t-elfmulti to tmake_file.
10602 (fr30-*-elf): Append to tmake_file.
10603 Set extra_parts.
10604 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10605 Set extra_parts.
10606 (h8300-*-rtems*): Append to tmake_file.
10607 Set extra_parts.
10608 (h8300-*-elf*): Likewise.
10609 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10610 Set extra_parts.
10611 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10612 Set extra_parts.
10613 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10614 (x86_64-*-elf*): Likewise.
10615 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10616 (x86_64-*-freebsd*): Likewise.
10617 (x86_64-*-netbsd*): Likewise.
10618 (i[34567]86-*-linux*): Likewise.
10619 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10620 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10621 (x86_64-*-linux*): Likewise.
10622 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10623 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10624 tmake_file.
10625 Set extra_parts.
10626 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10627 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10628 Append to extra_parts, remove crtbegin.o, crtend.o.
10629 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10630 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10631 crtend.o, crtbeginS.o, crtendS.o.
10632 (ia64*-*-linux*): Comment extra_parts.
10633 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10634 Set extra_parts.
10635 (iq2000*-*-elf*): Clear extra_parts.
10636 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10637 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10638 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10639 (m32r-*-rtems*): ... this.
10640 Add m32r/t-m32r to tmake_file.
10641 (m68k-*-elf*): Add t-crtin to tmake_file.
10642 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10643 (mcore-*-elf): Likewise.
10644 (microblaze*-*-*): Set extra_parts.
10645 (mips*-sde-elf*): New case.
10646 Set tmake_file, extra_parts.
10647 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10648 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10649 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10650 tmake_file.
10651 Set extra_parts.
10652 (mipsisa64sr71k-*-elf*): Likewise.
10653 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10654 (mips-*-elf*, mipsel-*-elf*): Likewise.
10655 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10656 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10657 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10658 (mips*-*-rtems*): Likewise.
10659 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10660 (moxie-*-*): Split into ...
10661 (moxie-*-elf, moxie-*-uclinux*): ... this.
10662 Add to extra_parts, remove crtbegin.o, crtend.o.
10663 (moxie-*-rtems*): New case.
10664 Set tmake_file.
10665 Clear extra_parts.
10666 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10667 Set extra_parts.
10668 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10669 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10670 tmake_file.
10671 Set extra_parts.
10672 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10673 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10674 Set extra_parts.
10675 (powerpc-*-eabisim*): Likewise.
10676 (powerpc-*-elf*): Likewise.
10677 (powerpc-*-eabialtivec*): Likewise.
10678 (powerpc-xilinx-eabi*): Likewise.
10679 (powerpc-*-eabi*): Likewise.
10680 (powerpc-*-rtems*): Likewise.
10681 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10682 tmake_file.
10683 Set extra_parts.
10684 (powerpc-*-lynxos*): Add to tmake_file.
10685 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10686 rs6000/t-crtstuff, t-crtstuff-pic.
10687 Set extra_parts.
10688 (powerpcle-*-eabisim*): Likewise.
10689 (powerpcle-*-eabi*): Likewise.
10690 (rx-*-elf): Remove extra_parts.
10691 (s390x-ibm-tpf*): Set extra_parts.
10692 (score-*-elf): Set extra_parts.
10693 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10694 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10695 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10696 (sh64l*-*-netbsd*): Split into ...
10697 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10698 Add t-crtstuff-pic to tmake_file.
10699 Set extra_parts.
10700 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10701 Set extra_parts.
10702 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10703 (sparc-*-elf*): Remove t-crtin from tmake_file.
10704 Add to extra_parts, remove crtbegin.o, crtend.o.
10705 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10706 (sparc64-*-linux*): Likewise.
10707 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10708 Add to extra_parts, remove crtbegin.o, crtend.o.
10709 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10710 Add to extra_parts, remove crtbegin.o, crtend.o.
10711 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10712 Add to extra_parts, remove crtbegin.o, crtend.o.
10713 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10714 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10715 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10716 Set extra_parts.
10717 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10718 Set extra_parts.
10719 (tic6x-*-*): Change to ...
10720 (tic6x-*-elf): ... this.
10721 Set extra_parts.
10722 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10723 Set extra_parts.
10724 (am33_2.0-*-linux*): Add comment.
10725 (mep*-*-*): Add mep/t-mep to tmake_file.
10726 Set extra_parts.
10727 * config/alpha/t-vms: New file.
10728 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10729 * config/arm/crti.S, config/arm/crtn.S: New files.
10730 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10731 * config/bfin/crtlibid.S: New file.
10732 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10733 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10734 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10735 (crti.o, crtin.o): New rules.
10736 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10737 * config/c6x/t-uclinux: New file.
10738 * config/cris/t-elfmulti: New file.
10739 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10740 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10741 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10742 * config/frv/t-frv: New file.
10743 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10744 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10745 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10746 New files.
10747 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10748 refer to cygming-crtbegin.c, cygming-crtend.c.
10749 Use $<.
10750 * config/i386/t-nto: New file.
10751 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10752 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10753 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10754 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10755 Use .S extension.
10756 Use $<.
10757 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10758 (crtinitS.o): New rule.
10759 * config/ia64/vms-crtinit.S: New file.
10760 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10761 * config/m32r/initfini.c: New file.
10762 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10763 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10764 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10765 * config/mep/t-mep: New file.
10766 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10767 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10768 * config/mips/crti.S, config/mips/crtn.S: New files.
10769 * config/mips/t-crtstuff: New file.
10770 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10771 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10772 (CUSTOM_CRTIN): Set.
10773 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10774 dependencies.
10775 Use $(srcdir) to refer to crti.S, crtn.S.
10776 Use .S extension, $<.
10777 * config/moxie/crti.asm: Rename to ...
10778 * config/moxie/crti.S: ... this.
10779 * config/moxie/crtn.asm: Rename to ...
10780 * config/moxie/crtn.S: ... this.
10781 * config/moxie/t-moxie: Remove.
10782 * config/pa/stublib.c: New file.
10783 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10784 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10785 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10786 * config/rs6000/t-crtstuff: New file.
10787 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10788 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10789 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10790 Make output file explicit.
10791 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10792 Make output file explicit.
10793 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10794 Make output file explicit.
10795 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10796 Make output file explicit.
10797 * config/score/crti.S, config/score/crtn.S: New files.
10798 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10799 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10800 files.
10801 * config/sh/t-sh, config/sh/t-superh: New files.
10802 * config/sparc/t-linux64: New file.
10803 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10804 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10805 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10806 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10807 * config/t-crtin: Remove.
10808 * config/t-crtstuff-pic: New file.
10809 * config/t-sol2 (CUSTOM_CRTIN): Set.
10810 (crti.o, crtn.o): New rules.
10811 * config/vms/t-vms: New file.
10812 * config/vms/vms-ucrt0.c: New file.
10813 * config/xtensa/t-elf: New file.
10814
b040f2be
RO
108152011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10816
10817 * Makefile.in (SHLIB_NM_FLAGS): Set.
10818 * mkmap-flat.awk, mkmap-symver.awk: New files.
10819 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10820 exceptions.
10821 * configure: Regenerate.
10822 * config/libgcc-glibc.ver: New file.
10823 * config/libgcc-libsystem.ver: New file.
10824 * config/t-libunwind (SHLIB_LC): Set.
10825 * config/t-linux: New file.
10826 * config/t-slibgcc (INSTALL_SHLIB): New.
10827 (SHLIB_INSTALL): Use it.
10828 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10829 to mkmap-symver.awk.
10830 (SHLIB_MAPFILES): Don't append, adapt pathname.
10831 (SHLIB_VERPFX): Set.
10832 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10833 to mkmap-symver.awk.
10834 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10835 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10836 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10837 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10838 to mkmap-flat.awk.
10839 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10840 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10841 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10842 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10843 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10844 * config/i386/libgcc-darwin.10.4.ver,
10845 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10846 New files.
10847 * config/i386/t-darwin: Remove.
10848 * config/i386/t-darwin64: Likewise.
10849 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10850 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10851 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10852 * config/i386/t-linux: New file.
10853 * config/i386/t-mingw32: New file.
10854 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10855 * config/ia64/t-glibc: Rename to ...
10856 * config/ia64/t-linux: ... this.
10857 (SHLIB_MAPFILES): Set.
10858 * config/ia64/t-glibc-libunwind: Rename to ...
10859 * config/ia64/t-linux-libunwind: ... this.
10860 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10861 * config/ia64/t-slibgcc-hpux: New file.
10862 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10863 * config/m68k/t-slibgcc-elf-ver: New file.
10864 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10865 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10866 to mkmap-flat.awk.
10867 * config/pa/t-slibgcc-hpux: New file.
10868 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10869 files.
10870 * config/rs6000/libgcc-darwin.10.4.ver,
10871 config/rs6000/libgcc-darwin.10.5.ver: New files.
10872 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10873 config/rs6000/libgcc-glibc.ver.
10874 * config/rs6000/libgcc-ppc64.ver: Rename to
10875 config/rs6000/libgcc-ibm-ldouble.ver.
10876 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10877 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10878 * config/rs6000/t-ldbl128: Rename to ...
10879 * config/rs6000/t-linux: ... this.
10880 (SHLIB_MAPFILES): Adapt filename.
10881 * config/rs6000/t-slibgcc-aix: New file.
10882 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10883 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10884 libgcc-excl.ver, libgcc-glibc.ver.
10885 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10886 * config/sparc/libgcc-glibc.ver: New file.
10887 * config/sparc/t-linux: New file.
10888 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10889 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10890 t-slibgcc-elf-ver to tmake_file.
10891 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10892 *-*-freebsd[34].
10893 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10894 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10895 t-slibgcc-elf-ver, t-linux to tmake_file.
10896 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10897 tmake_file.
10898 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10899 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10900 (alpha*-dec-*vms*): Likewise.
10901 (arm*-*-freebsd*): Append to tmake_file.
10902 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10903 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10904 arm*-*-linux-*eabi.
10905 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10906 tmake_file for arm*-*-symbianelf*.
10907 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10908 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10909 cris/t-linux.
10910 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10911 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10912 pa/t-slibgcc-dwarf-ver to tmake_file.
10913 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10914 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10915 (hppa*64*-*-hpux11*): Likewise.
10916 (hppa[12]*-*-hpux11*): Likewise.
10917 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10918 i386/t-crtpc, i386/t-crtfm.
10919 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10920 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10921 to tmake_file.
10922 Add i386/t-cygwin to tmake_file.
10923 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10924 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10925 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10926 to tmake_file.
10927 Add i386/t-mingw32 to tmake_file.
10928 (x86_64-*-mingw*): Likewise.
10929 (ia64*-*-freebsd*): Append to tmake_file.
10930 (ia64*-*-linux*): Append to tmake_file.
10931 Replace ia64/t-glibc by ia64/t-linux.
10932 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10933 system libunwind.
10934 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10935 t-slibgcc-hpux to tmake_file.
10936 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10937 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10938 (m32rle-*-linux*): Likewise.
10939 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10940 sjlj exceptions.
10941 (microblaze*-linux*): New case.
10942 Append to tmake_file, add t-slibgcc-nolc-override.
10943 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10944 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10945 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10946 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10947 rs6000/t-slibgcc-aix to tmake_file.
10948 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10949 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10950 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10951 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10952 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10953 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10954 sh*-*-linux*.
10955 (sparc-*-linux*): Append to tmake_file for *-leon*.
10956 Add sparc/t-linux to tmake_file for non-Leon targets.
10957 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10958 (tic6x-*-uclinux): New case.
10959 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10960 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10961 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10962 (am33_2.0-*-linux*): Append to tmake_file.
10963 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10964 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10965 x86_64-*-kfreebsd*-gnu.
10966 Add i386/t-linux to tmake_file.
10967
18b4bd7b
ILT
109682011-10-28 Ian Lance Taylor <iant@google.com>
10969
10970 * config/i386/morestack.S: Correct CFI information to do proper
10971 returns throughout function. In 32-bit mode, save %ebx so that it
10972 is restored on unwind.
10973
5b2d9d90
BS
109742011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10975
10976 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10977 case where B3 isn't the return register.
10978
0d53e346
BS
10979 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10980 logic for doubleword pops.
10981
cbffbd59
AT
109822011-10-25 Andreas Tobler <andreast@fgznet.ch>
10983
10984 * config/rs6000/t-freebsd: Add wildcard.
10985
56dc349e
PB
109862011-10-21 Paul Brook <paul@codesourcery.com>
10987
10988 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10989
1e06b07d
UB
109902011-10-16 Uros Bizjak <ubizjak@gmail.com>
10991 Eric Botcazou <ebotcazou@adacore.com>
10992
10993 PR target/50737
10994 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10995 fs->signal_frame to 1.
10996
b5204884
ILT
109972011-10-07 Ian Lance Taylor <iant@google.com>
10998
10999 * generic-morestack-thread.c: #include <errno.h>.
11000
91a639a1
ILT
110012011-10-07 Ian Lance Taylor <iant@google.com>
11002
11003 PR target/46093
11004 * generic-morestack.c (__generic_morestack): Make sure the segment
11005 is large enough for both the stack frame and the copied
11006 parameters.
11007
cc49116d
RO
110082011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11009
11010 PR bootstrap/49804
11011 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11012 extra_parts.
11013
2996d8c3
NC
110142011-09-28 Nick Clifton <nickc@redhat.com>
11015
11016 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11017 64-bit doubles are not enabled.
11018 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11019 and floatunsisf functions.
11020
1e874273 110212011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11022
1e874273
PB
11023 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11024 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11025 * unwind-arm-common.inc: New file.
11026 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11027 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11028 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11029 * config/c6x/libunwind.S: New file.
11030 * config/c6x/pr-support.c: New file.
11031 * config/c6x/unwind-c6x.c: New file.
11032 * config/c6x/unwind-c6x.h: New file.
11033 * config/c6x/t-c6x-elf: New file.
11034
f70c879a
UB
110352011-08-23 Uros Bizjak <ubizjak@gmail.com>
11036
11037 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11038 (ASM_DIVZERO): Ditto.
11039 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11040
c55b374b
RS
110412011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11042
11043 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11044
1e138510
RS
110452011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11046
11047 PR target/50090
11048 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11049 instead of an assembly one.
11050
1563503d
PB
110512011-08-12 Paolo Bonzini <bonzini@gnu.org>
11052
11053 PR bootstrap/50047
11054 * Makefile.in (install-unwind_h): Create
11055 $(gcc_objdir)/include/unwind.h atomically.
11056
3627ac1a
RO
110572011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11058
11059 * Makefile.in (install-unwind_h): Remove destination file first.
11060
c6412d86
RO
110612011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11062
11063 * sync.c: New file.
11064 * config/mips/t-mips16: New file.
11065 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11066 (mips*-*-linux*): Likewise.
11067 (mips*-sde-elf*): Likewise.
11068 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11069 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11070 Add mips/t-mips16 to tmake_file.
11071 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11072 (mips-*-elf*): Likewise.
11073 (mips64-*-elf*): Likewise.
11074 (mips64orion-*-elf*): Likewise.
11075 (mips*-*-rtems*): Likewise.
11076 (mipstx39-*-elf*): Likewise.
11077 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11078 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11079 LIBGCC_SYNC_CFLAGS.
11080 Use $(srcdir) to refer to sync.c.
11081 Use $<.
11082 ($(libgcc-sync-funcs-o)): Likewise.
11083 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11084 ($(libgcc-sync-funcs-s-o)): Likewise.
11085
3cb6e5bd
AS
110862011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11087
11088 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11089 t-libunwind.
11090
cca2207a
L
110912011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11092
11093 PR other/48007
11094 * config/i386/value-unwind.h: New.
11095
ed39fbad
RS
110962011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11097
11098 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11099 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11100 Add to tmake_file rather than overriding it.
11101
aca0b0b3
RO
111022011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11103
11104 * config/t-softfp: Remove.
11105 * soft-fp: Moved from ../gcc/config.
11106 * soft-fp/README: Remove t-softfp reference.
11107 * soft-fp/t-softfp: Move to config/t-softfp.
11108 (softfp_machine_header): Remove.
11109 (softfp_file_list): Remove config subdir.
11110 (soft-fp-objects): New variable.
11111 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11112 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11113 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11114 * config/t-softfp-excl: New file.
11115 * config/t-softfp-sfdf: New file.
11116 * config/t-softfp-tf: New file.
11117 * config/no-sfp-machine.h: New file.
11118 * config/arm/sfp-machine.h: New file.
11119 * config/arm/t-softfp: New file.
11120 * config/c6x/sfp-machine.h: New file.
11121 * config/i386/32/t-fprules-softfp: Rename to ...
11122 * config/i386/32/t-softfp: ... this.
11123 (tifunctions, LIB2ADD): Remove.
11124 (softfp_int_modes): Override.
11125 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11126 subdir.
11127 * config/i386/64/eqtf2.c: Likewise.
11128 * config/i386/64/getf2.c: Likewise.
11129 * config/i386/64/letf2.c: Likewise.
11130 * config/ia64/sft-machine.h: New file.
11131 * config/ia64/t-fprules-softfp: Rename to ...
11132 * config/ia64/t-softfp: ... this.
11133 * config/lm32/sfp-machine.h: New file.
11134 * config/moxie/t-moxie-softfp: Remove.
11135 * config/rs6000/ibm-ldouble-format: New file.
11136 * config/rs6000/ibm-ldouble.c: New file.
11137 * config/rs6000/libgcc-ppc-glibc.ver: New file
11138 * config/rs6000/libgcc-ppc64.ver: New file
11139 * config/rs6000/sfp-machine.h: New file.
11140 * config/rs6000/t-freebsd: New file.
11141 * config/rs6000/t-ibm-ldouble: New file.
11142 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11143 libgcc-ppc-glibc.ver.
11144 * config/rs6000/t-linux64: New file.
11145 * config/rs6000/t-ppccomm (LIB2ADD): Add
11146 $(srcdir)/config/rs6000/ibm-ldouble.c.
11147 * config/rs6000/t-ppccomm-ldbl: New file.
11148 * config/score/sfp-machine.h: New file.
11149 * config.host (sfp_machine_header): Explain.
11150 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11151 t-softfp to tmake_file.
11152 (arm*-*-uclinux*): Likewise.
11153 (arm*-*-ecos-elf): Likewise.
11154 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11155 (arm*-*-rtems*): Likewise.
11156 (arm*-*-elf): Likewise.
11157 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11158 in tmake_file.
11159 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11160 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11161 (lm32-*-uclinux*): Likewise.
11162 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11163 t-softfp-excl, t-softfp.
11164 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11165 (powerpc64-*-darwin*): Likewise.
11166 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11167 to tmake_file.
11168 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11169 tmake_file.
11170 (powerpc-*-eabisim*): Likewise.
11171 (powerpc-*-elf*): Likewise.
11172 (powerpc-*-eabialtivec*): Likewise.
11173 (powerpc-xilinx-eabi*): Likewise.
11174 (powerpc-*-rtems*): Likewise.
11175 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11176 t-softfp-excl, t-softfp to tmake_file.
11177 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11178 rs6000/t-ppccomm-ldbl to tmake_file.
11179 (powerpcle-*-elf*): Likewise.
11180 (powerpcle-*-eabisim*): Likewise.
11181 (powerpcle-*-eabi*): Likewise.
11182 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11183 rs6000/t-ibm-ldouble to tmake_file.
11184 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11185 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11186 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11187 (tic6x-*-*): Likewise.
11188 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11189 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11190 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11191 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11192 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11193 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11194 t-softfp to tmake_file.
11195 * configure.ac (sfp_machine_header): Provide default if unset.
11196 Substitute.
11197 Link sfp-machine.h to config/$sfp_machine_header.
11198 * configure: Regenerate.
11199
569dc494
RO
112002011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11201
11202 * Makefile.in (double_type_size, long_double_type_size): Set.
11203 Remove $(fpbit-in-libgcc) support.
11204 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11205 (fpbit-src): New variable.
11206 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11207 Compile with -DFLOAT $(FPBIT_CFLAGS).
11208 Use $<.
11209 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11210 Compile with $(FPBIT_CFLAGS).
11211 Use $<.
11212 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11213 Compile with -DFLOAT $(TPBIT_CFLAGS).
11214 Use $<.
11215 * configure.ac (double_type_size, long_double_type_size):
11216 Determine and substitute.
11217 * configure: Regenerate.
11218 * fp-bit.c, fp-bit.h: New files.
11219 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11220 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11221 * config/mips/t-mips: New file.
11222 * config/mips/t-sdemtk: New file.
11223 * config/rs6000/ppc64-fp.c: New file.
11224 * config/rs6000/t-darwin (LIB2ADD): Add
11225 $(srcdir)/config/rs6000/ppc64-fp.c.
11226 * config/rs6000/t-ppc64-fp: New file.
11227 * config/rx/rx-lib.h: New file.
11228 * config/rx/t-rx (FPBIT): Set to true.
11229 ($(gcc_objdir)/fp-bit.c): Remove.
11230 (DPBIT): Set to true only with -m64bit-doubles.
11231 ($(gcc_objdir)/dp-bit.c): Remove.
11232 * config/sparc/t-softfp: Remove.
11233 * config/spu/t-elf: New file.
11234 * config/t-fdpbit, config/t-fpbit: New files.
11235 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11236 (mips*-*-*): Likewise.
11237 (arm-wrs-vxworks): Likewise.
11238 (arm*-*-freebsd*): Likewise.
11239 (avr-*-rtems*): Add t-fpbit to tmake_file.
11240 (avr-*-*): Likewise.
11241 (bfin*-elf*): Add t-fdpbit to tmake_file.
11242 (bfin*-uclinux*): Likewise.
11243 (bfin*-linux-uclibc*): Likewise.
11244 (bfin*-rtems*): New case.
11245 Add t-fdpbit to tmake_file.
11246 (bfin*-*): Add t-fdpbit to tmake_file.
11247 (crisv32-*-elf): Likewise.
11248 (cris-*-linux*): Likewise.
11249 (fr30-*-elf): Likewise.
11250 (frv-*-elf, frv-*-*linux*): Likewise.
11251 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11252 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11253 (m32r-*-elf*): Likewise.
11254 (m32rle-*-elf*): Likewise.
11255 (m32r-*-linux*): Likewise.
11256 (m32rle-*-linux*): Likewise.
11257 (mcore-*-elf): Add t-fdpbit to tmake_file.
11258 (microblaze*-*-*): Likewise.
11259 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11260 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11261 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11262 Fix typo.
11263 Add mips/t-tpbit to tmake-file.
11264 (mips*-*-linux*): Fix typo.
11265 (mips*-sde-elf*): New case
11266 Add mips/t-sdemtk unless using newlib.
11267 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11268 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11269 (mn10300-*-*): Likewise.
11270 (pdp11-*-*): Likewise.
11271 (picochip-*-*): Add t-fpbit to tmake_file.
11272 (powerpc-*-eabisimaltivec*): Likewise.
11273 (powerpc-*-eabisim*): Likewise.
11274 (powerpc-*-elf*): Likewise.
11275 (powerpc-*-eabialtivec*): Likewise.
11276 (powerpc-xilinx-eabi*): New case.
11277 Add t-fdpbit to tmake_file.
11278 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11279 (powerpc-*-rtems*): Likewise.
11280 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11281 tmake_file.
11282 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11283 tmake_file.
11284 (powerpc-*-lynxos*): Likewise.
11285 (powerpcle-*-elf*): Likewise.
11286 (powerpcle-*-eabisim*): Likewise.
11287 (powerpcle-*-eabi*): Likewise.
11288 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11289 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11290 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11291 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11292 (rx-*-elf): Add t-fdpbit to tmake_file.
11293 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11294 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11295 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11296 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11297 sh*-*-netbsd*.
11298 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11299 (sh-wrs-vxworks): Likewise.
11300 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11301 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11302 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11303 (sparc64-*-rtems*): ... new case.
11304 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11305 (spu-*-elf*): Likewise.
11306 Add spu/t-elf to tmake_file.
11307 (v850*-*-*): Add t-fdpbit to tmake_file.
11308 (xstormy16-*-elf): Likewise.
11309 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11310 (mep*-*-*): Likewise.
11311
201cdb74
RO
113122011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11313
11314 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11315 variables.
11316 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11317 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11318 (install-unwind_h): New target.
11319 (all): Depend on it.
11320 * config.host (unwind_header): New variable.
11321 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11322 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11323 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11324 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11325 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11326 Set unwind_header.
11327 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11328 Set unwind_header.
11329 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11330 arm*-*-eabi*.
11331 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11332 Set unwind_header.
11333 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11334 (ia64*-*-freebsd*): Likewise.
11335 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11336 tmake_file.
11337 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11338 $with_system_libunwind.
11339 (ia64*-*-hpux*): Set tmake_file.
11340 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11341 (picochip-*-*): Set tmake_file.
11342 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11343 md_unwind_header.
11344 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11345 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11346 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11347 (xtensa*-*-elf*): Set tmake_file.
11348 (xtensa*-*-linux*): Likewise.
11349 * configure.ac: Include ../config/unwind_ipinfo.m4.
11350 Call GCC_CHECK_UNWIND_GETIPINFO.
11351 Link unwind.h to $unwind_header.
11352 * configure: Regenerate.
11353 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11354 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11355 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11356 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11357 * config/unwind-dw2-fde-darwin.c: New file.
11358 * config/arm/libunwind.S, config/arm/pr-support.c,
11359 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11360 config/arm/unwind-arm.h,: New files.
11361 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11362 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11363 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11364 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11365 config/ia64/unwind-ia64.h: New files.
11366 * config/picochip/t-picochip: New file.
11367 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11368 files.
11369 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11370 * config/s390/t-tpf (LIB2ADDEH): Remove.
11371 * config/t-darwin (LIB2ADDEH): Set.
11372 * config/t-eh-dw2-dip: New file.
11373 * config/t-libunwind, config/t-libunwind-elf: New files.
11374 * config/t-sol2 (LIB2ADDEH): Remove.
11375 * config/xtensa/t-xtensa: New file.
11376
40f2f11f
L
113772011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11378
11379 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11380 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11381 long long to check rt_sigreturn syscall.
11382
bd15e32c
AM
113832011-08-02 Alan Modra <amodra@gmail.com>
11384
11385 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11386 Restore for indirect call bcrtl from correct stack slot, and only
11387 if cfa+40 isn't valid.
11388
655b30bf
JB
113892011-08-01 Julian Brown <julian@codesourcery.com>
11390
11391 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11392 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11393 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11394
247eb06f
JB
113952011-08-01 Julian Brown <julian@codesourcery.com>
11396
11397 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11398 (libgcc-std.ver.in): Use above.
11399 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11400 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11401 throughout file.
11402 * config/t-fixedpoint-gnu-prefix: New file.
11403 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11404 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11405 instead of __PFX__.
11406
02a8fe00
L
114072011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11408
11409 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11410 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11411 for x86-64. Properly check __x86_64__ and __LP64__.
11412
5fce9126
L
114132010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11414
11415 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11416 version.
11417 (_FP_WS_TYPE): Likewise.
11418 (_FP_I_TYPE): Likewise.
11419
2374a88a
AM
114202011-07-28 Alan Modra <amodra@gmail.com>
11421
11422 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11423 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11424 in a plt call stub. Do restore r2 if stopped on bctrl.
11425
e44dbbe1
RO
114262011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11427
11428 * config.host (i[3456x]86-*-netware*): Remove.
11429 * config/i386/netware-crt0.c, config/i386/t-nwld,
11430 config/i386/t-slibgcc-nwld: Remove.
11431
bcead286
BS
114322011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11433
11434 * config.host: Handle tic6x-*-*.
11435 * config/c6x/c6x-abi.h: New file.
11436
b3fe1584
RO
114372011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11438
11439 * config/i386/crtprec.c: New file.
11440 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11441 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11442 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11443 (x86_64-*-darwin*): Likewise.
11444 (i[34567]86-*-solaris2*: Likewise.
11445
35d8090d
RO
114462011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11447
11448 * config/alpha/crtfastmath.c: New file.
11449 * config/i386/crtfastmath.c: New file.
11450 * config/ia64/crtfastmath.c: New file.
11451 * config/mips/crtfastmath.c: New file.
11452 * config/sparc/crtfastmath.c: New file.
11453
11454 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11455 crtfastmath.c.
11456 Add -frandom-seed=gcc-crtfastmath.
11457 * config/alpha/t-crtfm: Remove.
11458 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11459 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11460
11461 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11462 (alpha*-dec-osf5.1*): Likewise.
11463 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11464 Add crtfastmath.o to extra_parts.
11465 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11466 Add crtfastmath.o to extra_parts.
11467 (x86_64-*-darwin*): Likewise.
11468 (x86_64-*-mingw*): Likewise.
11469 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11470 (ia64*-*-freebsd*): Likewise.
11471 (ia64*-*-linux*): Likewise.
11472 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11473 Add crtfastmath.o to extra_parts.
11474
e141542e
RO
114752011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11476
11477 * config/darwin-crt3.o: New file.
11478 * config/rs6000/darwin-crt2.c: New file.
11479 * config/t-darwin: New file.
11480 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11481 (crt2.o): New rule.
11482 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11483 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11484 (powerpc64-*-darwin*): Likewise.
11485
2d1efe2d
RO
114862011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11487
11488 * config/i386/netware-crt0.c: New file.
11489 * config/i386/t-nwld: Rename to ...
11490 * config/i386/t-slibgcc-nwld: ... this.
11491 * config/i386/t-nwld: New file.
11492 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11493 tmake_file.
11494 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11495 extra_parts.
11496
4a8bb046
RO
114972011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11498
11499 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11500 i386/t-crtstuff.
11501 * configure: Regenerate.
11502
2d8d5935
RO
115032011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11504
11505 * dfp-bit.c, dfp-bit.h: New files.
11506 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11507 variables.
11508 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11509 ($(d64pbit-o)): Likewise.
11510 ($(d128pbit-o)): Likewise.
11511 * config/t-dfprules: New file.
11512 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11513 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11514 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11515 (x86_64-*-linux*): Likewise.
11516 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11517 (i[34567]86-*-cygwin*): Likewise.
11518 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11519 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11520
2c50b2c3
RO
115212011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11522
11523 * Makfile.in (LIBGCOV): New variable.
11524 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11525 * libgcov.c: New file.
11526
a039d7c2
RO
115272011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11528
11529 * fixed-bit.c, fixed-bit.h: New files.
11530 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11531 refer to fixed-bit.c.
11532
1e4b2746
JM
115332011-07-07 Joseph Myers <joseph@codesourcery.com>
11534
11535 * config.host (*local*): Remove.
11536
fbdd5d87
RO
115372011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11538
11539 PR target/39150
11540 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11541 like i?86-*-solaris2.1[0-9]*.
11542 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11543 * configure.ac (i?86-*-solaris2*): Likewise.
11544 * configure: Regenerate.
11545
9e7714f4
TS
115462011-07-06 Thomas Schwinge <thomas@schwinge.name>
11547
11548 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11549 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11550 md_unwind_header by splitting out of...
11551 (i[34567]86-*-linux*): ... this.
11552 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11553 Remove md_unwind_header by splitting out of...
11554 (x86_64-*-linux*): ... this.
11555
6dab9931
GJL
115562011-07-04 Georg-Johann Lay <avr@gjlay.de>
11557
11558 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11559
4be46d19
NC
115602011-06-28 Nick Clifton <nickc@redhat.com>
11561
11562 * config.host: Recognize all V850 variants.
11563
1da9434b
UB
115642011-06-22 Uros Bizjak <ubizjak@gmail.com>
11565
11566 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11567
e4d48a4d
RO
115682011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11569
11570 * shared-object.mk (c_flags-$o): Save c_flags.
11571 ($(base)$(objext)): Use it.
11572 ($(base)_s$(objext)): Likewise.
11573
3801c801
BS
115742011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11575
11576 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11577 * libgcc-std.ver.in (GCC_4.7.0): New section.
11578
0ad8bb3b 115792011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11580
0ad8bb3b
GJL
11581 PR target/49313
11582 PR target/29524
11583 * config/avr/t-avr: Fix line endings.
11584 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11585 _parityXX2.
11586
ea963999
OH
115872011-06-14 Olivier Hainque <hainque@adacore.com>
11588 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11589
11590 * config/mips/irix6-unwind.h: New file.
11591 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11592
b11b0904
EB
115932011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11594
11595 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11596 (sparc64_fallback_frame_state): Use it.
11597 (sparc64_frob_update_context): Further adjust context.
11598 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11599 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11600 * config/sparc/sol2-cn.S: Likewise.
11601
10e48e39
RO
116022011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11603
11604 * enable-execute-stack-empty.c: New file.
11605 * enable-execute-stack-mprotect.c: New file.
11606 * config/i386/enable-execute-stack-mingw32.c: New file.
11607 * config.host (enable_execute_stack): New variable.
11608 Select appropriate variants.
11609 * configure.ac: Link enable-execute-stack.c to
11610 $enable_execute_stack.
11611 * configure: Regenerate.
11612 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11613 (lib2funcs): Remove _enable_execute_stack.
11614
10c4cabc
DM
116152011-06-09 David S. Miller <davem@davemloft.net>
11616 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11617
11618 * config.host (sparc-*-linux*): Correct md_unwind_header
11619 filename.
11620 (s390x-ibm-tpf*): Fix typo.
11621
aa4203e7
RO
116222011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11623
11624 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11625 Add crtfastmath.o to extra_parts.
11626 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11627 mips/t-crtfm.
11628 * config/mips/t-crtfm: Remove.
11629
0defd786
JDA
116302011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11631
11632 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11633
82f247af
KK
116342011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11635
11636 * config.host (sh*-*-linux*): Fix typo.
11637
58cd1d70
RO
116382011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11639
11640 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11641 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11642 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11643 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11644 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11645 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11646 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11647 Wrap in !__MINGW64__.
11648 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11649 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11650 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11651 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11652 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11653 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11654 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11655 Wrap in !__LP64__.
11656 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11657 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11658 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11659 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11660 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11661 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11662 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11663 * config/no-unwind.h: New file.
11664 * config.host (md_unwind_header): Document.
11665 Define.
11666 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11667 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11668 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11669 hppa[12]*-*-hpux11*): Set md_unwind_header.
11670 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11671 Set md_unwind_header.
11672 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11673 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11674 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11675 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11676 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11677 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11678 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11679 md_unwind_header.
11680 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11681 * configure: Regenerate.
11682
737346fa
RO
116832011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11684
11685 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11686 Set tmake_file, extra_parts.
11687 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11688 Remove O32 support.
11689 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11690 Remove O32 support.
11691 * config/mips/t-irix6: New file.
11692 * config/mips/t-slibgcc-irix: New file.
11693
c192cee6
RO
116942011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11695
11696 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11697 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11698
ee33b5f0
RO
116992011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11700
11701 * configure.ac (target_thread_file): Determine thread model.
11702 * configure: Regenerate.
11703 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11704 * config/alpha/t-alpha: New file.
11705 * config/alpha/t-crtfm: Use $<.
11706 * config/alpha/t-ieee: New file.
11707 * config/alpha/t-osf-pthread: New file.
11708 * config/alpha/t-slibgcc-osf: New file.
11709 * config/alpha/libgcc-osf5.ver: New file.
11710
0699e415
RO
117112011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11712
11713 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11714 tmake_file.
11715 Add crtfastmath.o to extra_parts.
11716
a3fab9c2
RO
117172011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11718
11719 * config/gmon-sol2.c: Reindent.
11720 Cleanup comments.
11721 Remove, correct casts.
11722 Use STDERR_FILENO, NULL.
11723 (BASEADDRESS): Remove.
11724 (minbrk): Remove.
11725 (errno, sbrk): Remove declarations.
11726 (monstartup) [hp300]: Remove.
11727 (mcount): Remove.
11728
ca24c5ad
RO
117292011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11730
11731 * Makefile.in (cpu_type): Define.
11732 * config.host (i[34567]86-*-rtems*): Handle it.
11733 (i[34567]86-*-solaris2*): Move body ...
11734 (*-*-solaris2*): ... here.
11735 New case, generalize.
11736 (sparc-*-elf*): Handle it.
11737 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11738 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11739 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11740 Fold into ...
11741 (sparc*-*-solaris2*): ... this.
11742 New case.
11743 (sparc64-*-elf*): Handle it.
11744 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11745 Merge ../gcc/config/i386/gmon-sol2.c.
11746 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11747 Use C comments.
11748 Merge ../gcc/config/i386/sol2-gc1.asm.
11749 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11750 Use C comments.
11751 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11752 Use C comments.
11753 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11754 * config/i386/t-crtstuff: New file.
11755 * config/i386/t-softfp: New file.
11756 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11757 $(T)crti.o, $(T)crtn.o): Remove.
11758 (gcrt1.o): New rule.
11759 (TARGET_LIBGCC2_CFLAGS): Remove.
11760 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11761 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11762 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11763 * config/sparc/t-sol2: New file.
11764 * config/sparc/t-crtfm: Move to ...
11765 * config/t-crtfm: ... this.
11766 Use $(cpu_type), $<.
11767 * config/t-crtin: New file.
11768 * config/sparc/t-softfp: New file.
11769 * config/sparc/t-softmul: New file.
11770 * config/t-rtems: New file.
11771 * config/t-slibgcc: New file.
11772 * config/t-slibgcc-elf-ver: New file.
11773 * config/t-slibgcc-gld: New file.
11774 * config/t-slibgcc-sld: New file.
11775 * config/t-sol2: New file.
11776 * configure.ac: Include ../config/lib-ld.m4.
11777 Call AC_LIB_PROG_LD_GNU.
11778 Substitute cpu_type.
11779 * configure: Regenerate.
11780
ad5f3d7b
BS
117812011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11782
11783 PR bootstrap/49173
11784 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11785 libgcc-std.ver in the build directory.
11786 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11787 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11788
cdbf4541
BS
117892011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11790
11791 * libgcc-std.ver.in: New file.
11792 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11793 variables.
11794 (libgcc-std.ver): New rule.
11795 * config/t-gnu-prefix: New file.
11796
c8028650
RO
117972011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11798
11799 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11800
4a68b4ca
JM
118012011-05-10 Joseph Myers <joseph@codesourcery.com>
11802
11803 * config/i386/darwin-lib.h: New file.
11804
80cf2e08
JM
118052011-05-10 Joseph Myers <joseph@codesourcery.com>
11806
11807 * config/arm/symbian-lib.h: New.
11808
a3330c9d
CD
118092011-05-04 Chris Demetriou <cgd@google.com>
11810
11811 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11812 (__x86.get_pc_thunk.bx): ...this.
11813 (__morestack): Adjust for rename, remove undef of __i686.
11814
6ace0756
CD
118152011-05-03 Chris Demetriou <cgd@google.com>
11816
11817 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11818
ebb9f8b0
JM
118192011-03-22 Joseph Myers <joseph@codesourcery.com>
11820
11821 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11822 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11823 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11824 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11825 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11826 Remove cases.
11827
9cfa1499
AT
118282011-03-14 Andreas Tobler <andreast@fgznet.ch>
11829
11830 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11831 Adjust copyright year.
11832
457186f6
ILT
118332011-03-07 Ian Lance Taylor <iant@google.com>
11834
11835 * generic-morestack.c (__splitstack_find): Adjust returned stack
11836 pointer to include all registers pushed by __morestack.
11837
58c741a6
DK
118382011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11839
11840 PR target/40125
11841 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11842 (toolexecdir): Calculate and AC_SUBST.
11843 (toolexeclibdir): Likewise.
11844 * Makefile.in (target_noncanonical): Import.
11845 (toolexecdir): Likewise.
11846 (toolexeclibdir): Likewise.
11847 * configure: Regenerate.
11848
26716c44
NF
118492010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11850
11851 PR target/46040
11852 * config/arm/bpabi.h: Rename to...
11853 * config/arm/bpabi-lib.h: ...this.
11854
b595b1a1
RO
118552010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11856
11857 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11858 appropriate.
11859 * configure: Regenerate.
11860
a3abe41c
NF
118612010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11862
11863 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11864 __FLOAT_WORD_ORDER__.
11865 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11866 Delete.
11867
455c8f48
RW
118682010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11869
11870 PR other/46202
11871 * Makefile.in (install-strip): New phony target.
11872
f3824a8b
ILT
118732010-11-07 Ian Lance Taylor <iant@google.com>
11874
11875 PR target/46089
11876 * config/i386/morestack.S (__morestack_large_model): New
11877 function.
11878
18ed6ee4
NF
118792010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11880
11881 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11882 Delete.
11883 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11884
8ac7fdcb
NF
118852010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11886
11887 * config/arm/bpabi.h: New file.
11888 * config/frv/frv-abi.h: New file.
11889
cdb388c2
ILT
118902010-10-01 Ian Lance Taylor <iant@google.com>
11891
11892 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11893 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11894
ef7c141c
L
118952010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11896
11897 PR target/45858
11898 * config.host: Add the missing `$'.
11899
80920132
ME
119002010-09-30 Michael Eager <eager@eagercon.com>
11901
11902 * config.host: Add microblaze*-*-*.
11903 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11904 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11905 udivsi3.asm,umodsi3.asm}: New.
11906
6dace308
ILT
119072010-09-28 Ian Lance Taylor <iant@google.com>
11908
11909 * configure.ac: Adjust CFI test to test assembler directly rather
11910 than checking gcc preprocessor macro.
11911 * configure: Rebuild.
11912
b6110d6d
ILT
119132010-09-27 Ian Lance Taylor <iant@google.com>
11914
11915 * configure.ac: Test whether assembler supports CFI directives.
11916 * config.host: Only add t-stack and i386/t-stack-i386 to
11917 tmake_file if libgcc_cv_cfi is "yes".
11918 * configure: Rebuild.
11919
7458026b
ILT
119202010-09-27 Ian Lance Taylor <iant@google.com>
11921
11922 * generic-morestack.h: New file.
11923 * generic-morestack.c: New file.
11924 * generic-morestack-thread.c: New file.
11925 * config/i386/morestack.S: New file.
11926 * config/t-stack: New file.
11927 * config/i386/t-stack-i386: New file.
11928 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11929 i386/t-stack-i386 to tmake_file.
11930
5b50fc0c
IS
119312010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11932
11933 * Makefile.in (libgcc-extra-parts): Check for static archives and
11934 invoke ranlib after installing them.
11935 (gcc-extra-parts): Likewise.
11936 (install-leaf): Likewise.
11937
b93cf342
L
119382010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11939
11940 * configure: Regenerated.
11941
996b42ef
KT
119422010-09-10 Kai Tietz <kai.tietz@onevision.com>
11943
b93cf342 11944 * configure: Regenerated.
996b42ef 11945
be1c764e
GP
119462010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11947 Andrew Pinski <pinskia@gmail.com>
11948
1da9434b 11949 PR target/40959
be1c764e
GP
11950 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11951
cc0ae0ca
L
119522010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11953
11954 PR target/45524
11955 * configure: Regenerated.
11956
84f47d20
AS
119572010-09-06 Andreas Schwab <schwab@redhat.com>
11958
11959 * configure: Regenerate.
11960
4159fb8d
UB
119612010-09-03 Uros Bizjak <ubizjak@gmail.com>
11962
11963 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11964 64bit targets.
11965 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11966 for 64bit targets.
11967
0df8fcc8
UB
119682010-09-03 Uros Bizjak <ubizjak@gmail.com>
11969 Iain Sandoe <iains@gcc.gnu.org>
11970
11971 PR target/45476
11972 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11973 LIB2FUNCS_EXCLUDE functions.
11974
3c39bca6
AK
119752010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11976
11977 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11978 Include dfp.m4.
11979 * configure: Regenerate.
11980
d78552bd
UB
119812010-09-01 Uros Bizjak <ubizjak@gmail.com>
11982
11983 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11984 i386/t-freebsd to tmake_file.
11985 * config/i386/t-freebsd: New file.
11986 * config/i386/libgcc-bsd.ver: New file.
11987
c5b79d4e
NF
119882010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11989
11990 * config.host (powerpc*-eabispe*): Set tmake_file.
11991 (powerpc*-eabi*): Likewise.
11992 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11993 crtbeginS, crtendS, crtbeginT.
11994
48b09a92
KH
119952010-06-12 Kazu Hirata <kazu@codesourcery.com>
11996
11997 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11998 to tmake_file. Add crtfastmath.o to extra_parts.
11999 * config/mips/t-crtfm: New.
12000
7d296953 120012010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
12002
12003 * config.host (sparc64-*-rtems*): New target.
12004
ed104137
RO
120052010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12006
12007 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12008 assembler syntax.
12009
3f56ef8b
TS
120102010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12011
12012 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12013
8c200350
RO
120142010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12015
12016 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12017 alpha-dec-osf5.0* support.
12018
7d296953 120192010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12020
12021 * config.host: Add lm32-*-rtems*.
12022
f128db92 120232010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12024 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12025
12026 PR target/39048
12027 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12028 like other remaining 32-bit x86 OSes.
12029 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12030 assembler syntax.
12031 * config/i386/libgcc-sol2.ver: New file.
12032 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12033
7d296953 120342010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12035
12036 PR c/43553
12037 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12038 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12039 is used and substitute set_use_emutls.
12040 * configure: Regenerated.
12041
15baf7f8
TG
120422010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12043
12044 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12045
7f5441df
RO
120462010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12047
12048 PR target/38085
12049 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12050 MULTILIB_CFLAGS.
12051 ($(T)gcrt1.o): Likewise.
12052 ($(T)crt1.o): Likewise.
12053 ($(T)crti.o): Likewise.
12054 ($(T)crtn.o): Likewise.
12055
ef74edbd
RW
120562010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12057
12058 PR other/42980
12059 * Makefile.in (install): Use $(MAKE) string in rule, for
12060 parallel make.
12061
e7c914db
HPN
120622010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12063
12064 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12065 * config/mmix/t-mmix: New file.
12066 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12067
1bcb71c4
JH
120682010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12069
12070 PR java/41991
12071 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12072 SHLIB_MAPFILES.
12073
e6e50811
AG
120742010-01-04 Anthony Green <green@moxielogic.com>
12075
12076 * config/moxie/crti.asm, config/moxie/crtn.asm,
12077 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12078 config/moxie/t-moxie: New files.
12079 * config.host: Add t-moxie-softfp reference.
12080
7d296953 120812009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12082
12083 PR other/39888
12084 * config/t-slibgcc-darwin: Fix embedded rpaths for
12085 --enable-version-specific-runtime-libs, build extension stub
12086 libs exposing features available from current libgcc_s.
12087
7d296953 120882009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12089
d78552bd
UB
12090 * config.host: Add lm32 targets.
12091 * config/lm32: New directory.
12092 * config/lm32/libgcc_lm32.h: New file.
12093 * config/lm32/_mulsi3.c: New file.
12094 * config/lm32/_udivmodsi4.c: New file.
12095 * config/lm32/_divsi3.c: New file.
12096 * config/lm32/_modsi3.c: New file.
12097 * config/lm32/_udivsi3.c: New file.
12098 * config/lm32/_umodsi3.c: New file.
12099 * config/lm32/_lshrsi3.S: New file.
12100 * config/lm32/_ashrsi3.S: New file.
12101 * config/lm32/_ashlsi3.S: New file.
12102 * config/lm32/crti.S: New file.
12103 * config/lm32/crtn.S: New file.
12104 * config/lm32/t-lm32: New file.
12105 * config/lm32/t-elf: New file.
12106 * config/lm32/t-uclinux: New file.
aa4945c1 12107
65a324b4
NC
121082009-10-26 Nick Clifton <nickc@redhat.com>
12109
12110 * config.host: Add support for RX target.
12111 * config/rx: New directory.
12112 * config/rx/rx-abi-functions.c: New file. Supplementary
12113 functions for libgcc to support the RX ABI.
12114 * config/rx/rx-abi.h: New file. Supplementary header file for
12115 libgcc RX ABI functions.
12116 * config/rx/t-rx: New file: Makefile fragment for building
12117 libgcc for the RX.
12118
dfb3b0e3
UB
121192009-10-09 Uros Bizjak <ubizjak@gmail.com>
12120
12121 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12122 constraint of y0 to "g".
12123
81dd9fd7
AK
121242009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12125
12126 * config.host: Include the s390 makefile fragments.
12127 * config/s390/32/_fixdfdi.c: New file.
12128 * config/s390/32/_fixsfdi.c: New file.
12129 * config/s390/32/_fixtfdi.c: New file.
12130 * config/s390/32/_fixunsdfdi.c: New file.
12131 * config/s390/32/_fixunssfdi.c: New file.
12132 * config/s390/32/_fixunstfdi.c: New file.
12133 * config/s390/32/t-floattodi: New file.
12134 * config/s390/libgcc-glibc.ver: New file.
12135 * config/s390/t-crtstuff: New file.
12136 * config/s390/t-linux: New file.
12137 * config/s390/t-tpf: New file.
12138
df58e648
RW
121392009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12140
12141 * configure.ac (AC_PREREQ): Bump to 2.64.
12142
79052be3
KK
121432009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12144
12145 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12146
5213506e
RW
121472009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12148
12149 * configure: Regenerate.
12150
a9a25daa
DR
121512009-08-09 Douglas B Rupp <rupp@gnat.com>
12152
12153 * config.host (ia64-hp-*vms*): New target.
12154 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12155 with ia64-hp-*vms*.
12156
6efbd53f
RW
121572009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12158
12159 * configure.ac: Add snippet for maintainer-mode.
12160 * configure: Regenerate.
12161 * Makefile.in (AUTOCONF, configure_deps): New variables.
12162 ($(srcdir)/configure)): New rule, active only with maintainer
12163 mode turned on.
12164
7acf4da6
DD
121652009-06-23 DJ Delorie <dj@redhat.com>
12166
12167 Add MeP port.
12168 * config.host: Add mep support.
12169
54f549af
KT
121702009-06-22 Kai Tietz <kai.tietz@onevision.com>
12171
34481f28 12172 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12173 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12174
12175 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12176 for mingw targets.
54f549af
KT
12177 * config/i386/64/_multc3.c: Likewise.
12178 * config/i386/64/_powitf2.c: Likewise.
12179 * config/i386/64/eqtf2.c: Likewise.
12180 * config/i386/64/getf2.c: Likewise.
12181 * config/i386/64/letf2.c: Likewise.
12182 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12183 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12184 unsigned long long for x64 mingw targets.
12185 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12186 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12187
fea96e25
MR
121882009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12189
12190 * config.host (vax-*-linux*): New.
12191
cceb575c
AG
121922009-05-31 Anthony Green <green@moxielogic.com>
12193
12194 * config.host: Add moxie support.
12195 * config/moxie/t-moxie: New file.
12196
7d296953 121972009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12198
12199 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12200 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12201
532bfb0a
AJ
122022009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12203
12204 * config.host: Add i386/${host_address}/t-fprules-softfp to
12205 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12206
748086b7
JJ
122072009-04-09 Nick Clifton <nickc@redhat.com>
12208
12209 * config/ia64/tf-signs.c: Change copyright header to refer to
12210 version 3 of the GNU General Public License with version 3.1
12211 of the GCC Runtime Library Exception and to point readers at
12212 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12213 web page.
12214 * config/i386/32/tf-signs.c: Likewise.
12215 * config/libbid/_addsub_dd.c: Likewise.
12216 * config/libbid/_addsub_sd.c: Likewise.
12217 * config/libbid/_addsub_td.c: Likewise.
12218 * config/libbid/_dd_to_df.c: Likewise.
12219 * config/libbid/_dd_to_di.c: Likewise.
12220 * config/libbid/_dd_to_sd.c: Likewise.
12221 * config/libbid/_dd_to_sf.c: Likewise.
12222 * config/libbid/_dd_to_si.c: Likewise.
12223 * config/libbid/_dd_to_td.c: Likewise.
12224 * config/libbid/_dd_to_tf.c: Likewise.
12225 * config/libbid/_dd_to_udi.c: Likewise.
12226 * config/libbid/_dd_to_usi.c: Likewise.
12227 * config/libbid/_dd_to_xf.c: Likewise.
12228 * config/libbid/_df_to_dd.c: Likewise.
12229 * config/libbid/_df_to_sd.c: Likewise.
12230 * config/libbid/_df_to_td.c: Likewise.
12231 * config/libbid/_di_to_dd.c: Likewise.
12232 * config/libbid/_di_to_sd.c: Likewise.
12233 * config/libbid/_di_to_td.c: Likewise.
12234 * config/libbid/_div_dd.c: Likewise.
12235 * config/libbid/_div_sd.c: Likewise.
12236 * config/libbid/_div_td.c: Likewise.
12237 * config/libbid/_eq_dd.c: Likewise.
12238 * config/libbid/_eq_sd.c: Likewise.
12239 * config/libbid/_eq_td.c: Likewise.
12240 * config/libbid/_ge_dd.c: Likewise.
12241 * config/libbid/_ge_sd.c: Likewise.
12242 * config/libbid/_ge_td.c: Likewise.
12243 * config/libbid/_gt_dd.c: Likewise.
12244 * config/libbid/_gt_sd.c: Likewise.
12245 * config/libbid/_gt_td.c: Likewise.
12246 * config/libbid/_isinfd128.c: Likewise.
12247 * config/libbid/_isinfd32.c: Likewise.
12248 * config/libbid/_isinfd64.c: Likewise.
12249 * config/libbid/_le_dd.c: Likewise.
12250 * config/libbid/_le_sd.c: Likewise.
12251 * config/libbid/_le_td.c: Likewise.
12252 * config/libbid/_lt_dd.c: Likewise.
12253 * config/libbid/_lt_sd.c: Likewise.
12254 * config/libbid/_lt_td.c: Likewise.
12255 * config/libbid/_mul_dd.c: Likewise.
12256 * config/libbid/_mul_sd.c: Likewise.
12257 * config/libbid/_mul_td.c: Likewise.
12258 * config/libbid/_ne_dd.c: Likewise.
12259 * config/libbid/_ne_sd.c: Likewise.
12260 * config/libbid/_ne_td.c: Likewise.
12261 * config/libbid/_sd_to_dd.c: Likewise.
12262 * config/libbid/_sd_to_df.c: Likewise.
12263 * config/libbid/_sd_to_di.c: Likewise.
12264 * config/libbid/_sd_to_sf.c: Likewise.
12265 * config/libbid/_sd_to_si.c: Likewise.
12266 * config/libbid/_sd_to_td.c: Likewise.
12267 * config/libbid/_sd_to_tf.c: Likewise.
12268 * config/libbid/_sd_to_udi.c: Likewise.
12269 * config/libbid/_sd_to_usi.c: Likewise.
12270 * config/libbid/_sd_to_xf.c: Likewise.
12271 * config/libbid/_sf_to_dd.c: Likewise.
12272 * config/libbid/_sf_to_sd.c: Likewise.
12273 * config/libbid/_sf_to_td.c: Likewise.
12274 * config/libbid/_si_to_dd.c: Likewise.
12275 * config/libbid/_si_to_sd.c: Likewise.
12276 * config/libbid/_si_to_td.c: Likewise.
12277 * config/libbid/_td_to_dd.c: Likewise.
12278 * config/libbid/_td_to_df.c: Likewise.
12279 * config/libbid/_td_to_di.c: Likewise.
12280 * config/libbid/_td_to_sd.c: Likewise.
12281 * config/libbid/_td_to_sf.c: Likewise.
12282 * config/libbid/_td_to_si.c: Likewise.
12283 * config/libbid/_td_to_tf.c: Likewise.
12284 * config/libbid/_td_to_udi.c: Likewise.
12285 * config/libbid/_td_to_usi.c: Likewise.
12286 * config/libbid/_td_to_xf.c: Likewise.
12287 * config/libbid/_tf_to_dd.c: Likewise.
12288 * config/libbid/_tf_to_sd.c: Likewise.
12289 * config/libbid/_tf_to_td.c: Likewise.
12290 * config/libbid/_udi_to_dd.c: Likewise.
12291 * config/libbid/_udi_to_sd.c: Likewise.
12292 * config/libbid/_udi_to_td.c: Likewise.
12293 * config/libbid/_unord_dd.c: Likewise.
12294 * config/libbid/_unord_sd.c: Likewise.
12295 * config/libbid/_unord_td.c: Likewise.
12296 * config/libbid/_usi_to_dd.c: Likewise.
12297 * config/libbid/_usi_to_sd.c: Likewise.
12298 * config/libbid/_usi_to_td.c: Likewise.
12299 * config/libbid/_xf_to_dd.c: Likewise.
12300 * config/libbid/_xf_to_sd.c: Likewise.
12301 * config/libbid/_xf_to_td.c: Likewise.
12302 * config/libbid/bid128.c: Likewise.
12303 * config/libbid/bid128_2_str.h: Likewise.
12304 * config/libbid/bid128_2_str_macros.h: Likewise.
12305 * config/libbid/bid128_2_str_tables.c: Likewise.
12306 * config/libbid/bid128_add.c: Likewise.
12307 * config/libbid/bid128_compare.c: Likewise.
12308 * config/libbid/bid128_div.c: Likewise.
12309 * config/libbid/bid128_fma.c: Likewise.
12310 * config/libbid/bid128_logb.c: Likewise.
12311 * config/libbid/bid128_minmax.c: Likewise.
12312 * config/libbid/bid128_mul.c: Likewise.
12313 * config/libbid/bid128_next.c: Likewise.
12314 * config/libbid/bid128_noncomp.c: Likewise.
12315 * config/libbid/bid128_quantize.c: Likewise.
12316 * config/libbid/bid128_rem.c: Likewise.
12317 * config/libbid/bid128_round_integral.c: Likewise.
12318 * config/libbid/bid128_scalb.c: Likewise.
12319 * config/libbid/bid128_sqrt.c: Likewise.
12320 * config/libbid/bid128_string.c: Likewise.
12321 * config/libbid/bid128_to_int16.c: Likewise.
12322 * config/libbid/bid128_to_int32.c: Likewise.
12323 * config/libbid/bid128_to_int64.c: Likewise.
12324 * config/libbid/bid128_to_int8.c: Likewise.
12325 * config/libbid/bid128_to_uint16.c: Likewise.
12326 * config/libbid/bid128_to_uint32.c: Likewise.
12327 * config/libbid/bid128_to_uint64.c: Likewise.
12328 * config/libbid/bid128_to_uint8.c: Likewise.
12329 * config/libbid/bid32_to_bid128.c: Likewise.
12330 * config/libbid/bid32_to_bid64.c: Likewise.
12331 * config/libbid/bid64_add.c: Likewise.
12332 * config/libbid/bid64_compare.c: Likewise.
12333 * config/libbid/bid64_div.c: Likewise.
12334 * config/libbid/bid64_fma.c: Likewise.
12335 * config/libbid/bid64_logb.c: Likewise.
12336 * config/libbid/bid64_minmax.c: Likewise.
12337 * config/libbid/bid64_mul.c: Likewise.
12338 * config/libbid/bid64_next.c: Likewise.
12339 * config/libbid/bid64_noncomp.c: Likewise.
12340 * config/libbid/bid64_quantize.c: Likewise.
12341 * config/libbid/bid64_rem.c: Likewise.
12342 * config/libbid/bid64_round_integral.c: Likewise.
12343 * config/libbid/bid64_scalb.c: Likewise.
12344 * config/libbid/bid64_sqrt.c: Likewise.
12345 * config/libbid/bid64_string.c: Likewise.
12346 * config/libbid/bid64_to_bid128.c: Likewise.
12347 * config/libbid/bid64_to_int16.c: Likewise.
12348 * config/libbid/bid64_to_int32.c: Likewise.
12349 * config/libbid/bid64_to_int64.c: Likewise.
12350 * config/libbid/bid64_to_int8.c: Likewise.
12351 * config/libbid/bid64_to_uint16.c: Likewise.
12352 * config/libbid/bid64_to_uint32.c: Likewise.
12353 * config/libbid/bid64_to_uint64.c: Likewise.
12354 * config/libbid/bid64_to_uint8.c: Likewise.
12355 * config/libbid/bid_b2d.h: Likewise.
12356 * config/libbid/bid_binarydecimal.c: Likewise.
12357 * config/libbid/bid_conf.h: Likewise.
12358 * config/libbid/bid_convert_data.c: Likewise.
12359 * config/libbid/bid_decimal_data.c: Likewise.
12360 * config/libbid/bid_decimal_globals.c: Likewise.
12361 * config/libbid/bid_div_macros.h: Likewise.
12362 * config/libbid/bid_dpd.c: Likewise.
12363 * config/libbid/bid_flag_operations.c: Likewise.
12364 * config/libbid/bid_from_int.c: Likewise.
12365 * config/libbid/bid_functions.h: Likewise.
12366 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12367 * config/libbid/bid_inline_add.h: Likewise.
12368 * config/libbid/bid_internal.h: Likewise.
12369 * config/libbid/bid_round.c: Likewise.
12370 * config/libbid/bid_sqrt_macros.h: Likewise.
12371
123722009-04-09 Jakub Jelinek <jakub@redhat.com>
12373
12374 * Makefile.in: Change copyright header to refer to version
12375 3 of the GNU General Public License and to point readers at the
12376 COPYING3 file and the FSF's license web page.
12377 * config.host: Likewise.
12378
633dd061
AM
123792009-04-07 Alan Modra <amodra@bigpond.net.au>
12380
12381 * config.host: Reorder and merge to match config.gcc change.
12382
457d1d00
AM
123832009-04-03 Alan Modra <amodra@bigpond.net.au>
12384
12385 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12386
52c0e446
JM
123872009-03-28 Joseph Myers <joseph@codesourcery.com>
12388
12389 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12390 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12391 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12392 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12393
ba181049
UB
123942009-02-12 Uros Bizjak <ubizjak@gmail.com>
12395
12396 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12397 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12398
c252db20
L
123992009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12400
ba181049
UB
12401 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12402 ia64/t-softfp-compat to tmake_file.
c252db20
L
12403
12404 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12405
12406 * config/ia64/__divxf3.asm: New.
12407 * config/ia64/_fixtfdi.asm: Likewise.
12408 * config/ia64/_fixunstfdi.asm: Likewise.
12409 * config/ia64/_floatditf.asm: Likewise.
12410 * config/ia64/t-fprules-softfp: Likewise.
12411 * config/ia64/t-softfp-compat: Likewise.
12412 * config/ia64/tf-signs.c: Likewise.
12413
c60535f9
BE
124142009-01-18 Ben Elliston <bje@au.ibm.com>
12415
12416 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12417
ce16861e
BE
124182009-01-16 Ben Elliston <bje@au.ibm.com>
12419
12420 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12421 to tmake_file.
12422
bcf4713b
BE
124232009-01-13 Ben Elliston <bje@au.ibm.com>
12424
12425 * config/t-softfp: New file.
12426 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12427 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12428
7d296953 124292009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12430
12431 * config.host: Add m32r*-*-rtems*.
12432
7d296953 124332008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12434
12435 * config.host: Add m32c*-*-rtems*.
12436
19523300
RO
124372008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12438
12439 PR bootstrap/33100
12440 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12441 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12442 * configure: Regenerate.
12443 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12444 tmake_file here from gcc/config.gcc.
12445 Move extra_parts here from gcc/config.gcc.
12446 * config/i386/t-sol2: Move here from gcc/config/i386.
12447 Use gcc_srcdir instead of srcdir.
12448
0a4a51c7
AN
124492008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12450
12451 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12452 case.
12453
2a761e46
TS
124542008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12455
12456 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12457
c0451df7
TS
124582008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12459
12460 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12461
358da97e
HS
124622008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12463
12464 Add picoChip port.
12465 * config.host: Add picochip-*-*.
12466
c660f132
BW
124672008-08-06 Bob Wilson <bob.wilson@acm.org>
12468
12469 * config.host: Match more processor names for Xtensa.
12470
d1349557
L
124712008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12472
12473 * config/i386/64/t-softfp-compat: Update comments.
12474
dd7b73c0
L
124752008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12476
12477 * config/i386/64/_divtc3-compat.c: Moved to ...
12478 * config/i386/64/_divtc3.c: Here.
12479
12480 * config/i386/64/_multc3-compat.c: Moved to ...
12481 * config/i386/64/_multc3.c: Here.
12482
12483 * config/i386/64/_powitf2-compat.c: Moved to ...
12484 * config/i386/64/_powitf2.c: Here.
12485
12486 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12487 .c suffix instead of -compat.c.
12488
6e1fab3d
UB
124892008-07-05 Uros Bizjak <ubizjak@gmail.com>
12490
12491 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12492 (_FP_MUL_MEAT_D): Ditto.
12493 (_FP_DIV_MEAT_S): Ditto.
12494 (_FP_DIV_MEAT_D): Ditto.
12495
f92518d7
RS
124962008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12497
12498 * Makefile.in: Add support for __sync_* libgcc functions.
12499
d0aede14
L
125002008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12501
12502 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12503
c174f11c
L
125042008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12505
12506 PR boostrap/36702
12507 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12508 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12509
12510 * config/i386/64/t-fprules-softfp: Moved to ...
12511 * config/i386/64/t-softfp-compat: This. New.
12512
5f464fa2
UB
125132008-07-02 Uros Bizjak <ubizjak@gmail.com>
12514
12515 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12516 Initialize f with 0.0.
12517
ff473280
L
125182008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12519
12520 PR target/36669
12521 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12522
12523 * config/i386/64/_divtc3-compat.c: New.
12524 * config/i386/64/_multc3-compat.c: Likewise.
12525 * config/i386/64/_powitf2-compat.c: Likewise.
12526 * config/i386/64/eqtf2.c: Likewise.
12527 * config/i386/64/getf2.c: Likewise.
12528 * config/i386/64/letf2.c: Likewise.
12529 * config/i386/64/t-fprules-softfp: Likewise.
12530
125312008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12532
12533 * config.host: Add i386/${host_address}/t-fprules-softfp to
12534 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12535 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12536
12537 * configure.ac: Set host_address to 64 or 32 for x86.
12538 * configure: Regenerated.
12539
12540 * Makefile.in (config.status): Also depend on
12541 $(srcdir)/config.host.
12542
12543 * config/i386/32/t-fprules-softfp: New.
12544 * config/i386/32/tf-signs.c: Likewise.
12545
12546 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12547
125482008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12549 Uros Bizjak <ubizjak@gmail.com>
12550
12551 * config/i386/32/sfp-machine.h: New.
12552
30551d99
NF
125532008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12554
12555 * config/rs6000/t-ppccomm: Remove rules that conflict with
12556 auto-generated rules.
12557
18c04407
RW
125582008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12559
12560 * configure.ac: sinclude override.m4.
12561 * configure: Regenerate.
12562
10fbe77a
BRF
125632008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12564
12565 * configure: Regenerate.
12566
bc6d4c3f
JM
125672008-06-10 Joseph Myers <joseph@codesourcery.com>
12568
12569 * Makefile.in (DECNUMINC): Remove
12570 -I$(MULTIBUILDTOP)../../libdecnumber.
12571 * gstdint.h: New.
12572
cd985f66
JM
125732008-06-07 Joseph Myers <joseph@codesourcery.com>
12574
12575 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12576 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12577 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12578 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12579 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12580 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12581 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12582 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12583 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12584 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12585 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12586 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12587 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12588 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12589
93fea8d3
AL
125902008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12591
12592 * config.host (sh2[lbe]*-*-linux*): Allow target.
12593
18724e30
NF
125942008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12595
12596 * config/rs6000/t-ppccomm: Add build rules for new files.
12597 (LIB2ADD_ST): New variable.
12598
47583040
AH
125992008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12600
12601 PR target/34210
12602 PR target/35508
12603 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12604 * config/t-avr: New file. Build 16bit libgcc functions.
12605
cf8e67fe
JJ
126062008-03-02 Jakub Jelinek <jakub@redhat.com>
12607
12608 PR target/35401
12609 * config/t-slibgcc-darwin: Make install-leaf dependent on
12610 install-darwin-libgcc-stubs instead of install.
12611
8d8da227
JM
126122008-01-25 Joseph Myers <joseph@codesourcery.com>
12613
12614 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12615 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12616 sh-*-rtemscoff*): Remove cases.
12617
edbf8b16
RS
126182007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12619
12620 * Makefile.in (all): Use install-leaf rather than install.
12621 (install): Split most of the rule into...
12622 (install-leaf): ...this new one.
12623
89deeaff
EK
126242007-12-19 Etsushi Kato <ek.kato@gmail.com>
12625 Paolo Bonzini <bonzini@gnu.org>
12626
12627 PR target/30572
5f464fa2
UB
12628 * Makefile.in: Use @shlib_slibdir@ substitution to get
12629 correct install name on darwin.
89deeaff 12630 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 12631
4081d704
HPN
126322007-12-15 Hans-Peter Nilsson <hp@axis.com>
12633
12634 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12635 cris-*-elf and cris-*-none.
12636 (crisv32-*-linux*): Similar, as cris-*-linux*.
12637
f43e89a3
RIL
126382007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12639
12640 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12641
b4e9c2c6
L
126422007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12643
12644 PR regression/33926
12645 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12646 * configure: Regenerated.
12647
b2a00c89
L
126482007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12649
12650 * Makefile.in (dfp-filenames): Replace decimal_globals,
12651 decimal_data, binarydecimal and convert_data with
12652 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12653 and bid_convert_data, respectively.
12654
8d2a9e0e
CF
126552007-09-17 Chao-ying Fu <fu@mips.com>
12656 Nigel Stephens <nigel@mips.com>
12657
12658 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12659 * Makefile.in (fixed_point): Define.
12660 Check if fixed_point is yes to build support functions.
12661 * configure.ac: Check for fixed_point support.
12662 * configure: Regenerated.
12663 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12664 funcs, modes, from, to.
12665
2b53935d
JJ
126662007-09-11 Janis Johnson <janis187@us.ibm.com
12667
12668 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12669
2533577f
JJ
126702007-09-10 Janis Johnson <janis187@us.ibm.com>
12671
12672 * Makefile.in (dfp-filenames): Remove decUtility, add
12673 decDouble, decPacked, decQuad, decSingle.
12674
3ae3dbd6
HK
126752007-08-27 Hans Kester <hans.kester@ellips.nl>
12676
12677 * config.host : Add x86_64-elf target.
12678
22867d02
L
126792007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12680
12681 * configure.ac (set_have_cc_tls): Add a missing =.
12682 * configure: Regenerated.
12683
6f461e76
L
126842007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12685
12686 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12687 and x86_64-*-linux*.
12688
12689 * config/t-tls: New file.
12690
dfb3b0e3 12691 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12692
12693 * configure.ac: Include ../config/enable.m4 and
12694 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12695 supports TLS and substitute set_have_cc_tls.
12696 * configure: Regenerated.
12697
200359e8
L
126982007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12699
12700 * Makefile.in: Use libbid for DFP when BID is enabled.
12701
76f5e200
DS
127022007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12703
12704 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12705 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12706 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12707
9bd196f0 127082007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12709 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12710
12711 PR target/29498
12712 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12713 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12714 * config/i386/t-crtfm: Compile crtfastmath.o with
12715 -minline-all-stringops.
12716
1910440e
RS
127172007-05-10 Richard Sandiford <richard@codesourcery.com>
12718
12719 * config.host (sparc-wrs-vxworks): New target.
12720
7d33c31d
KH
127212007-04-14 Kazu Hirata <kazu@codesourcery.com>
12722
12723 * config.host: Recognize fido.
12724
96fccd0d
JJ
127252007-04-04 Janis Johnson <janis187@us.ibm.com>
12726
12727 * configure: Check host, not target, for decimal float support.
12728
577565f9
UB
127292007-04-03 Uros Bizjak <ubizjak@gmail.com>
12730
12731 * config/i386/t-crtpc: New file.
12732 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12733 (x86_64-*-linux*): Ditto.
577565f9 12734
ccf8e764
RH
127352007-02-30 Kai Tietz <kai.tietz@onevision.com>
12736
12737 * config.host (x86_64-*-mingw*): New target.
12738
79b87c74
MM
127392007-03-23 Michael Meissner <michael.meissner@amd.com>
12740 H.J. Lu <hongjiu.lu@intel.com>
12741
12742 * Makefile.in (enable_decimal_float): New.
12743 (DECNUMINC): Add
12744 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12745 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12746 (decbits-filenames): This.
12747 (decbits-objects): New.
12748 (libgcc-objects): Add $(decbits-objects).
12749
12750 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12751 Substitute enable_decimal_float.
12752 * configure: Regenerated.
12753
8fce4e31
HPN
127542007-03-19 Hans-Peter Nilsson <hp@axis.com>
12755
12756 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12757
e8bb4597
BM
127582007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12759
12760 * Makefile.in (install-info): New dummy target.
12761
344189f9
BS
127622007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12763
12764 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12765
ac84c172
BM
127662007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12767
12768 * Makefile.in: Add install-html and install-pdf dummy
12769 targets.
12770
cd5c2357
RS
127712007-02-05 Roger Sayle <roger@eyesopen.com>
12772 Daniel Jacobowitz <dan@codesourcery.com>
12773
12774 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12775 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12776 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12777
d9a66f98
JJ
127782007-01-29 Janis Johnson <janis187@us.ibm.com>
12779
12780 * Makefile.in (dec-filenames): Add decExcept.
12781
9891ec5f
DJ
127822007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12783
12784 PR bootstrap/30469
12785 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12786 -fprofile-use.
12787
d6efbf5a
DJ
127882007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12789
12790 * configure.ac: Add --enable-version-specific-runtime-libs.
12791 Correct $slibdir default.
12792 * configure: Regenerated.
12793
17caeff2
JM
127942007-01-23 Joseph Myers <joseph@codesourcery.com>
12795
12796 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12797
5ea41e3a
AP
127982007-01-21 Andrew Pinski <pinskia@gmail.com>
12799
12800 PR target/30519
12801 * config.host (alpha*-*-linux*): Set extra_parts.
12802
26900826
KK
128032007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12804
12805 * config/sh/t-linux: New.
12806 * config.host (sh*-*-linux*): Set tmake_file.
12807
97af925b
DJ
128082007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12809
12810 * Makefile.in (install): Handle multilibs.
12811
b0088af7
BM
128122007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12813
12814 * Makefile.in: Added .PHONY entry for documentation targets.
12815
e0a9456a
BM
128162007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12817
12818 * Makefile.in: Add empty info, html, dvi, pdf targets.
12819
7fd453b4
MS
128202007-01-04 Mike Stump <mrs@apple.com>
12821
12822 * Makefile.in (MAKEINFO): Remove.
12823 (PERL): Likewise.
12824
14e8fc8b
PB
128252007-01-04 Paolo Bonzini <bonzini@gnu.org>
12826
12827 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12828 * configure: Regenerate.
12829 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12830 (gcc_objdir): Use it.
14e8fc8b 12831
1555beba
DJ
128322007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12833
12834 * config.host (ia64*-*-linux*): Set tmake_file.
12835
79e6eaeb
DJ
128362007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12837
12838 * Makefile.in (version): Define.
12839
fa958513
DJ
128402007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12841 Paolo Bonzini <bonzini@gnu.org>
12842
12843 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12844 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12845 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12846 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12847 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12848 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12849 * configure: Generated.
818ab71a 12850\f
68127a8e 12851Copyright (C) 2007-2023 Free Software Foundation, Inc.
818ab71a
JJ
12852
12853Copying and distribution of this file, with or without modification,
12854are permitted in any medium without royalty provided the copyright
12855notice and this notice are preserved.