]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
0f04ebb4
GA
12023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
2
3 PR target/109402
4 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
5 stack manipulations.
6
5229788d
GA
72023-04-05 John David Anglin <danglin@gcc.gnu.org>
8
9 PR target/109374
10 * config/pa/milli64.S (RETURN_COLUMN): Define.
11 ($$divI): Add CFI directives.
12 ($$divU): Likewise.
13 ($$remI): Likewise.
14 ($$remU): Likewise.
15
09abeb73
GA
162023-03-19 Stafford Horne <shorne@gmail.com>
17
18 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
19 statement clearing existing exceptions.
20
a9835599
GA
212023-03-13 Max Filippov <jcmvbkbc@gmail.com>
22
23 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
24 * config/xtensa/crtn.S: Likewise.
25 * config/xtensa/lib1funcs.S: Likewise.
26 * config/xtensa/lib2funcs.S: Likewise.
27
44ea7318
GA
282023-03-12 Jakub Jelinek <jakub@redhat.com>
29
30 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
31 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
32 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
33 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
34 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
35 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
36 * soft-fp/floatundibf.c: New file.
37 * soft-fp/floatdibf.c: New file.
38
c8065441
GA
392023-03-10 Jakub Jelinek <jakub@redhat.com>
40
41 PR target/107703
42 * soft-fp/floattibf.c: New file.
43 * soft-fp/floatuntibf.c: New file.
44 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
45 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
46 floatuntibf.
47 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
48
6a87fdd3
GA
492023-03-08 Kewen Lin <linkw@linux.ibm.com>
50
51 PR libgcc/108727
52 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
53 bump size.
54
3dd4ada4
GA
552023-03-06 Michael Meissner <meissner@linux.ibm.com>
56
57 PR target/107299
58 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
59 whether long double is IBM or IEEE.
60 (INFINITY): Likewise.
61 (FABS): Likewise.
62 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
63 (INFINITY): Likewise.
64 * config/rs6000/quad-float128.h (TF): Remove definition.
65 (TFtype): Define to be long double or _Float128.
66 (TCtype): Define to be _Complex long double or _Complex _Float128.
67 * libgcc2.h (TFtype): Allow machine config files to override this.
68 (TCtype): Likewise.
69 * soft-fp/quad.h (TFtype): Likewise.
70
ae719781
GA
712023-02-13 Kito Cheng <kito.cheng@sifive.com>
72
73 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
74 * config/riscv/value-unwind.h: New.
75
49e52115
GA
762023-02-03 Christophe Lyon <christophe.lyon@arm.com>
77
78 * config/arm/pr-support.c (__gnu_unwind_execute): Use
79 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
80
897a0502
GA
812023-01-30 Flavio Cruz <flaviocruz@gmail.com>
82
83 * config.host: Recognize x86_64-*-gnu* targets.
84 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
85 TODO for now.
86
607f278a
GA
872023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
88
89 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
90 "0xb5".
91
922023-01-23 Andrea Corallo <andrea.corallo@arm.com>
93 Tejas Belagod <tbelagod@arm.com>
94 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
95
96 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
97 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
98 with AUTG if found.
99 * config/arm/unwind-arm.c (struct pseudo_regs): New.
100 (phase1_vrs): Introduce new field to store pseudo-reg state.
101 (phase2_vrs): Likewise.
102 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
103 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
104 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
105
9f98cfa5
GA
1062023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
107
108 PR target/107678
109 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
110 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
111 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
112 encode the return address signing state.
113 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
114 Check current return address signing state.
115 (aarch64_frob_update_contex): Remove.
116
5013c3bb
GA
1172023-01-13 John David Anglin <danglin@gcc.gnu.org>
118
119 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
120 pa/t-pa64-linux.
121 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
122 instead of pa/t-hpux and pa/t-pa64.
123 * config/pa/linux-atomic.c: Define u32 type.
124 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
125 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
126 defines to use atomic_load calls for type.
127 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
128 * config/pa/sync-libfuncs.c: New file.
129 * config/pa/t-netbsd (LIB2ADD_ST): Define.
130 * config/pa/t-openbsd (LIB2ADD_ST): Define.
131 * config/pa/t-pa64-hpux: New file.
132 * config/pa/t-pa64-linux: New file.
133
1342023-01-13 Jonathan Wakely <jwakely@redhat.com>
135
136 PR libstdc++/108331
137 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
138 struct matching the previous __gthread_mutex_t struct.
139 (__GTHREAD_LEGACY_MUTEX_T): Define.
140
1412023-01-13 Seija Kijin <doremylover456@gmail.com>
142
143 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
144 unified syntax.
145
d901bf8a
GA
1462023-01-07 LIU Hao <lh_mouse@126.com>
147
148 PR middle-end/108300
149 * config/i386/enable-execute-stack-mingw32.c: Define
150 `WIN32_LEAN_AND_MEAN` before <windows.h>.
151 * libgcc2.c: Likewise.
152 * unwind-generic.h: Likewise.
153
0f8fbb57
GA
1542023-01-03 Florian Weimer <fweimer@redhat.com>
155
156 * unwind-dw2-execute_cfa.h: New file. Extracted from
157 the execute_cfa_program function in unwind-dw2.c.
158 * unwind-dw2.c (execute_cfa_program_generic): New function.
159 (execute_cfa_program_specialized): Likewise.
160 (execute_cfa_program): Call execute_cfa_program_specialized
161 or execute_cfa_program_generic, as appropriate.
162
1632023-01-03 Florian Weimer <fweimer@redhat.com>
164
165 Revert:
166 2023-01-03 Florian Weimer <fweimer@redhat.com>
167
168 * unwind-dw2.c (dwarf_reg_size): New function.
169 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
170 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
171 (uw_init_context_1): Do not initialize dwarf_reg_size_table
172 if not in use.
173
1742023-01-03 Florian Weimer <fweimer@redhat.com>
175
176 Revert:
177 2023-01-03 Florian Weimer <fweimer@redhat.com>
178
179 * unwind-dw2-execute_cfa.h: New file. Extracted from
180 the execute_cfa_program function in unwind-dw2.c.
181 * unwind-dw2.c (execute_cfa_program_generic): New function.
182 (execute_cfa_program_specialized): Likewise.
183 (execute_cfa_program): Call execute_cfa_program_specialized
184 or execute_cfa_program_generic, as appropriate.
185
fee53a31
GA
1862023-01-02 Florian Weimer <fweimer@redhat.com>
187
188 * unwind-dw2-execute_cfa.h: New file. Extracted from
189 the execute_cfa_program function in unwind-dw2.c.
190 * unwind-dw2.c (execute_cfa_program_generic): New function.
191 (execute_cfa_program_specialized): Likewise.
192 (execute_cfa_program): Call execute_cfa_program_specialized
193 or execute_cfa_program_generic, as appropriate.
194
1952023-01-02 Florian Weimer <fweimer@redhat.com>
196
197 * unwind-dw2.c (dwarf_reg_size): New function.
198 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
199 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
200 (uw_init_context_1): Do not initialize dwarf_reg_size_table
201 if not in use.
202
bc38aee7
GA
2032022-12-25 Jonathan Yong <10walls@gmail.com>
204
205 * config/i386/gthr-win32.h: undef CC_NONE
206
843c4d2f
GA
2072022-12-24 Iain Sandoe <iain@sandoe.co.uk>
208
209 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
210 install of libgcc_s.1.dylib when the installation is into the build
211 gcc directory.
212
376d6b8c
GA
2132022-12-23 Eric Botcazou <ebotcazou@adacore.com>
214
215 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
216 as well as new i386/t-slibgcc-mingw fragment.
217 (x86_64-*-mingw*): Likewise.
218 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
219 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
220 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
221 Include stdlib.h instead of errno.h and do not include _mingw.h.
222 (CONST_CAST2): Add specific definition for C++.
223 (ATTRIBUTE_UNUSED): New macro.
224 (__UNUSED_PARAM): Delete.
225 Define WIN32_LEAN_AND_MEAN before including windows.h.
226 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
227 (__gthread_objc_init_thread_system): Likewise.
228 (__gthread_objc_thread_get_data): Minor tweak.
229 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
230 (__gthread_objc_condition_deallocate): Likewise.
231 (__gthread_objc_condition_wait): Likewise.
232 (__gthread_objc_condition_broadcast): Likewise.
233 (__gthread_objc_condition_signal): Likewise.
234 Include sys/time.h.
235 (__gthr_win32_DWORD): New typedef.
236 (__gthr_win32_HANDLE): Likewise.
237 (__gthr_win32_CRITICAL_SECTION): Likewise.
238 (__gthr_win32_CONDITION_VARIABLE): Likewise.
239 (__gthread_t): Adjust.
240 (__gthread_key_t): Likewise.
241 (__gthread_mutex_t): Likewise.
242 (__gthread_recursive_mutex_t): Likewise.
243 (__gthread_cond_t): New typedef.
244 (__gthread_time_t): Likewise.
245 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
246 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
247 (__GTHREAD_COND_INIT_FUNCTION): Define.
248 (__GTHREAD_TIME_INIT): Likewise.
249 (__gthr_i486_lock_cmp_xchg): Delete.
250 (__gthr_win32_create): Declare.
251 (__gthr_win32_join): Likewise.
252 (__gthr_win32_self): Likewise.
253 (__gthr_win32_detach): Likewise.
254 (__gthr_win32_equal): Likewise.
255 (__gthr_win32_yield): Likewise.
256 (__gthr_win32_mutex_destroy): Likewise.
257 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
258 (__gthr_win32_cond_broadcast): Likewise.
259 (__gthr_win32_cond_signal): Likewise.
260 (__gthr_win32_cond_wait): Likewise.
261 (__gthr_win32_cond_timedwait): Likewise.
262 (__gthr_win32_recursive_mutex_init_function): Delete.
263 (__gthr_win32_recursive_mutex_lock): Likewise.
264 (__gthr_win32_recursive_mutex_unlock): Likewise.
265 (__gthr_win32_recursive_mutex_destroy): Likewise.
266 (__gthread_create): New inline function.
267 (__gthread_join): Likewise.
268 (__gthread_self): Likewise.
269 (__gthread_detach): Likewise.
270 (__gthread_equal): Likewise.
271 (__gthread_yield): Likewise.
272 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
273 (__gthread_cond_broadcast): Likewise.
274 (__gthread_cond_signal): Likewise.
275 (__gthread_cond_wait): Likewise.
276 (__gthread_cond_timedwait): Likewise.
277 (__GTHREAD_WIN32_INLINE): New macro.
278 (__GTHREAD_WIN32_COND_INLINE): Likewise.
279 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
280 Define WIN32_LEAN_AND_MEAN before including windows.h.
281 (__gthread_once): Minor tweaks.
282 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
283 (__gthread_key_delete): Minor tweak.
284 (__gthread_getspecific): Likewise.
285 (__gthread_setspecific): Likewise.
286 (__gthread_mutex_init_function): Reimplement.
287 (__gthread_mutex_destroy): Likewise.
288 (__gthread_mutex_lock): Likewise.
289 (__gthread_mutex_trylock): Likewise.
290 (__gthread_mutex_unlock): Likewise.
291 (__gthr_win32_abs_to_rel_time): Declare.
292 (__gthread_recursive_mutex_init_function): Reimplement.
293 (__gthread_recursive_mutex_destroy): Likewise.
294 (__gthread_recursive_mutex_lock): Likewise.
295 (__gthread_recursive_mutex_trylock): Likewise.
296 (__gthread_recursive_mutex_unlock): Likewise.
297 (__gthread_cond_destroy): New inline function.
298 (__gthread_cond_wait_recursive): Likewise.
299 * config/i386/gthr-win32.c: Delete everything.
300 Include gthr-win32.h to get the out-of-line version of inline routines.
301 Add compile-time checks for the local version of the Win32 types.
302 * config/i386/gthr-win32-cond.c: New file.
303 * config/i386/gthr-win32-thread.c: Likewise.
304 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
305 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
306 the static version of libgcc.
307 * config/i386/t-slibgcc-mingw: New file.
308 * config/i386/libgcc-mingw.ver: Likewise.
309
5fb1e674
GA
3102022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
311
312 * unwind-dw2-fde.c: Initialize fde object lazily when
313 the first exception tries to pass through.
314
3152022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
316
317 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
318
e6110da4
GA
3192022-12-08 Max Filippov <jcmvbkbc@gmail.com>
320
321 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
322 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
323 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
324 (XSHAL_ABI): Remove stray symbols from macro definitions.
325
4bc2d9f6
GA
3262022-12-07 Max Filippov <jcmvbkbc@gmail.com>
327
328 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
329 xtensa-config-builtin.h.
330 * config/xtensa/crtn.S: Likewise.
331 * config/xtensa/lib1funcs.S: Likewise.
332 * config/xtensa/lib2funcs.S: Likewise.
333 * config/xtensa/xtensa-config-builtin.h: New File.
334
05788e9b
GA
3352022-11-04 Florian Weimer <fweimer@redhat.com>
336
337 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
338 values actually used by BFD ld.
339
00716b77
GA
3402022-10-23 LIU Hao <lh_mouse@126.com>
341
342 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
343 libobjc, instead of 'gthr.h'
344
87f9c4a4
GA
3452022-10-19 LIU Hao <lh_mouse@126.com>
346
347 * config.host: Add new cases for `mcf` thread model
348 * config/i386/gthr-mcf.h: New file
349 * config/i386/t-mingw-mcfgthread: New file
350 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
351 * configure: Regenerate
352
21de009f
GA
3532022-10-18 Jonathan Wakely <jwakely@redhat.com>
354
355 * Makefile.in: Quote variable.
356
6237663c
GA
3572022-10-17 H.J. Lu <hjl.tools@gmail.com>
358
359 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
360 argument.
361 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
362 _Unwind_Frames_Increment.
363 (_Unwind_ForcedUnwind_Phase2): Likewise.
364 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
365 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
366 return address on normal stack doesn't match the return address
367 on shadow stack.
368
3692022-10-17 Florian Weimer <fweimer@redhat.com>
370
371 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
372 and reduce its size.
373
baeec7cc
GA
3742022-10-14 Jakub Jelinek <jakub@redhat.com>
375
376 * config/i386/t-softfp (softfp_extensions): Add bfsf.
377 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
378 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
379 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
380 -msse2.
381 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
382 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
383 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
384 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
385 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
386 * soft-fp/brain.h: New file.
387 * soft-fp/truncsfbf2.c: New file.
388 * soft-fp/truncdfbf2.c: New file.
389 * soft-fp/truncxfbf2.c: New file.
390 * soft-fp/trunctfbf2.c: New file.
391 * soft-fp/trunchfbf2.c: New file.
392 * soft-fp/truncbfhf2.c: New file.
393 * soft-fp/extendbfsf2.c: New file.
394
781f477a
GA
3952022-10-12 Martin Liska <mliska@suse.cz>
396
397 * libgcov-driver.c: Use new function.
398 * libgcov.h (gcov_write_summary): Rename to ...
399 (gcov_write_object_summary): ... this.
400
ab332cd7
GA
4012022-10-11 Olivier Hainque <hainque@adacore.com>
402
403 * config.host (*vxworks*): When enable_shared, add
404 libgcc and crtstuff "shared" fragments for rtp except
405 large code model.
406 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
407 the list of fragments.
408
629d04d3
GA
4092022-10-06 Jakub Jelinek <jakub@redhat.com>
410
411 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
412 fs->regs.how[X] instead of fs->regs.reg[X].how.
413
4142022-10-06 Jakub Jelinek <jakub@redhat.com>
415
416 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
417 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
418 REG_UNDEFINED): New anonymous enum, moved from inside of
419 struct frame_state_reg_info.
420 (struct frame_state_reg_info): Remove reg[].how element and the
421 anonymous enum there. Add how element.
422 * unwind-dw2.c: Include stddef.h.
423 (uw_frame_state_for): Don't clear first
424 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
425 (execute_cfa_program, __frame_state_for, uw_update_context_1,
426 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
427 or fs.regs.how[X] instead of fs.regs.reg[X].how.
428 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
429 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
430 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
431 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
432 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
433 Likewise.
434 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
435 Likewise.
436 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
437 * config/arc/linux-unwind.h (arc_fallback_frame_state,
438 arc_frob_update_context): Likewise.
439 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
440 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
441 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
442 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
443 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
444 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
445 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
446 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
447 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
448 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
449 x86_fallback_frame_state): Likewise.
450 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
451 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
452 x86_fallback_frame_state): Likewise.
453 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
454 Likewise.
455 * config/i386/dragonfly-unwind.h
456 (x86_64_dragonfly_fallback_frame_state): Likewise.
457 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
458 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
459 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
460 Likewise.
461 * config/aarch64/freebsd-unwind.h
462 (aarch64_freebsd_fallback_frame_state): Likewise.
463 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
464 Likewise.
465 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
466 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
467 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
468 Likewise.
469 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
470 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
471 Likewise.
472 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
473 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
474 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
475 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
476
42231015
GA
4772022-10-02 Olivier Hainque <hainque@adacore.com>
478
479 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
480 -I options for gcc/include and gcc/include-fixed at the end
481 and make them -isystem.
482
4832022-10-02 Olivier Hainque <hainque@adacore.com>
484
485 * config/gthr-vxworks.h: Prevent Wpragma warning for the
486 pragma diagnostics on Wstrict-prototypes.
487
bbdcdf5c
GA
4882022-09-29 Olivier Hainque <hainque@adacore.com>
489
490 * config/vxcrtstuff.c: Improve the comment attached to the use
491 of auto-host.h and of __dso_handle. Remove redundant guard on
492 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
493
220c4d8e
GA
4942022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
495
496 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
497 for the non-fast-path case. Drop destructor priority.
498
279c6715
GA
4992022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
500
501 * unwind-dw2-fde.c: (release_register_frames) Remember
502 when the btree has been destroyed.
503 (__deregister_frame_info_bases) Disable the assert when
504 shutting down.
505
0990a778
GA
5062022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
507
508 * unwind-dw2-fde.c: Replace uintptr_t with typedef
509 for __UINTPTR_TYPE__.
510 * unwind-dw2-btree.h: Likewise.
511
7ee0fa10
GA
5122022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
513
514 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
515 (__register_frame_info_table_bases): Use btree in atomic fast path.
516 (__deregister_frame_info_bases): Likewise.
517 (_Unwind_Find_FDE): Likewise.
518 (base_from_object): Make parameter const.
519 (classify_object_over_fdes): Add query-only mode.
520 (get_pc_range): Compute PC range for lookup.
521 * unwind-dw2-fde.h (last_fde): Make parameter const.
522 * unwind-dw2-btree.h: New file.
523
542c60c4
GA
5242022-08-31 Martin Liska <mliska@suse.cz>
525
526 * config.host: Remove hppa.
527
3de9fb32
GA
5282022-08-30 Martin Liska <mliska@suse.cz>
529
530 * config.host: Remove the port.
531
16f542d6
GA
5322022-08-26 Martin Liska <mliska@suse.cz>
533
534 * config.host: Remove cr16 related stuff.
535 * config/cr16/crti.S: Removed.
536 * config/cr16/crtlibid.S: Removed.
537 * config/cr16/crtn.S: Removed.
538 * config/cr16/divmodhi3.c: Removed.
539 * config/cr16/lib1funcs.S: Removed.
540 * config/cr16/t-cr16: Removed.
541 * config/cr16/t-crtlibid: Removed.
542 * config/cr16/unwind-cr16.c: Removed.
543 * config/cr16/unwind-dw2.h: Removed.
544
47a61e65
GA
5452022-08-16 Kito Cheng <kito.cheng@sifive.com>
546
547 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
548 (_FP_NANFRAC_H): Ditto.
549 (_FP_NANSIGN_H): Ditto.
550 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
551 routines.
552 (softfp_truncations): Ditto.
553 (softfp_extras): Ditto.
554 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
555
5562022-08-16 Kito Cheng <kito.cheng@sifive.com>
557
558 * soft-fp/fixhfdi.c: New.
559 * soft-fp/fixhfsi.c: Likewise.
560 * soft-fp/fixunshfdi.c: Likewise.
561 * soft-fp/fixunshfsi.c: Likewise.
562 * soft-fp/floatdihf.c: Likewise.
563 * soft-fp/floatsihf.c: Likewise.
564 * soft-fp/floatundihf.c: Likewise.
565 * soft-fp/floatunsihf.c: Likewise.
566 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
567 lines and update URL for license.
568 * soft-fp/addsf3.c: Likewise.
569 * soft-fp/addtf3.c: Likewise.
570 * soft-fp/divdf3.c: Likewise.
571 * soft-fp/divsf3.c: Likewise.
572 * soft-fp/divtf3.c: Likewise.
573 * soft-fp/double.h: Likewise.
574 * soft-fp/eqdf2.c: Likewise.
575 * soft-fp/eqhf2.c: Likewise.
576 * soft-fp/eqsf2.c: Likewise.
577 * soft-fp/eqtf2.c: Likewise.
578 * soft-fp/extenddftf2.c: Likewise.
579 * soft-fp/extended.h: Likewise.
580 * soft-fp/extendhfdf2.c: Likewise.
581 * soft-fp/extendhfsf2.c: Likewise.
582 * soft-fp/extendhftf2.c: Likewise.
583 * soft-fp/extendhfxf2.c: Likewise.
584 * soft-fp/extendsfdf2.c: Likewise.
585 * soft-fp/extendsftf2.c: Likewise.
586 * soft-fp/extendxftf2.c: Likewise.
587 * soft-fp/fixdfdi.c: Likewise.
588 * soft-fp/fixdfsi.c: Likewise.
589 * soft-fp/fixdfti.c: Likewise.
590 * soft-fp/fixhfti.c: Likewise.
591 * soft-fp/fixsfdi.c: Likewise.
592 * soft-fp/fixsfsi.c: Likewise.
593 * soft-fp/fixsfti.c: Likewise.
594 * soft-fp/fixtfdi.c: Likewise.
595 * soft-fp/fixtfsi.c: Likewise.
596 * soft-fp/fixtfti.c: Likewise.
597 * soft-fp/fixunsdfdi.c: Likewise.
598 * soft-fp/fixunsdfsi.c: Likewise.
599 * soft-fp/fixunsdfti.c: Likewise.
600 * soft-fp/fixunshfti.c: Likewise.
601 * soft-fp/fixunssfdi.c: Likewise.
602 * soft-fp/fixunssfsi.c: Likewise.
603 * soft-fp/fixunssfti.c: Likewise.
604 * soft-fp/fixunstfdi.c: Likewise.
605 * soft-fp/fixunstfsi.c: Likewise.
606 * soft-fp/fixunstfti.c: Likewise.
607 * soft-fp/floatdidf.c: Likewise.
608 * soft-fp/floatdisf.c: Likewise.
609 * soft-fp/floatditf.c: Likewise.
610 * soft-fp/floatsidf.c: Likewise.
611 * soft-fp/floatsisf.c: Likewise.
612 * soft-fp/floatsitf.c: Likewise.
613 * soft-fp/floattidf.c: Likewise.
614 * soft-fp/floattihf.c: Likewise.
615 * soft-fp/floattisf.c: Likewise.
616 * soft-fp/floattitf.c: Likewise.
617 * soft-fp/floatundidf.c: Likewise.
618 * soft-fp/floatundisf.c: Likewise.
619 * soft-fp/floatunditf.c: Likewise.
620 * soft-fp/floatunsidf.c: Likewise.
621 * soft-fp/floatunsisf.c: Likewise.
622 * soft-fp/floatunsitf.c: Likewise.
623 * soft-fp/floatuntidf.c: Likewise.
624 * soft-fp/floatuntihf.c: Likewise.
625 * soft-fp/floatuntisf.c: Likewise.
626 * soft-fp/floatuntitf.c: Likewise.
627 * soft-fp/gedf2.c: Likewise.
628 * soft-fp/gesf2.c: Likewise.
629 * soft-fp/getf2.c: Likewise.
630 * soft-fp/half.h: Likewise.
631 * soft-fp/ledf2.c: Likewise.
632 * soft-fp/lesf2.c: Likewise.
633 * soft-fp/letf2.c: Likewise.
634 * soft-fp/muldf3.c: Likewise.
635 * soft-fp/mulsf3.c: Likewise.
636 * soft-fp/multf3.c: Likewise.
637 * soft-fp/negdf2.c: Likewise.
638 * soft-fp/negsf2.c: Likewise.
639 * soft-fp/negtf2.c: Likewise.
640 * soft-fp/op-1.h: Likewise.
641 * soft-fp/op-2.h: Likewise.
642 * soft-fp/op-4.h: Likewise.
643 * soft-fp/op-8.h: Likewise.
644 * soft-fp/op-common.h: Likewise.
645 * soft-fp/quad.h: Likewise.
646 * soft-fp/single.h: Likewise.
647 * soft-fp/soft-fp.h: Likewise.
648 * soft-fp/subdf3.c: Likewise.
649 * soft-fp/subsf3.c: Likewise.
650 * soft-fp/subtf3.c: Likewise.
651 * soft-fp/truncdfhf2.c: Likewise.
652 * soft-fp/truncdfsf2.c: Likewise.
653 * soft-fp/truncsfhf2.c: Likewise.
654 * soft-fp/trunctfdf2.c: Likewise.
655 * soft-fp/trunctfhf2.c: Likewise.
656 * soft-fp/trunctfsf2.c: Likewise.
657 * soft-fp/trunctfxf2.c: Likewise.
658 * soft-fp/truncxfhf2.c: Likewise.
659 * soft-fp/unorddf2.c: Likewise.
660 * soft-fp/unordsf2.c: Likewise.
661 * soft-fp/unordtf2.c: Likewise.
662
79fb1124
GA
6632022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
664
665 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
666 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
667 configurations.
668
87509781
GA
6692022-06-25 Jeff Law <jeffreyalaw@gmail.com>
670
671 * config.host: Removed tilegx and tilepro entries.
672 * config/tilegx/sfp-machine.h: Removed.
673 * config/tilegx/sfp-machine32.h: Removed.
674 * config/tilegx/sfp-machine64.h: Removed.
675 * config/tilegx/t-crtstuff: Removed.
676 * config/tilegx/t-softfp: Removed.
677 * config/tilegx/t-tilegx: Removed.
678 * config/tilepro/atomic.c: Removed.
679 * config/tilepro/atomic.h: Removed.
680 * config/tilepro/linux-unwind.h: Removed.
681 * config/tilepro/sfp-machine.h: Removed.
682 * config/tilepro/softdivide.c: Removed.
683 * config/tilepro/softmpy.S: Removed.
684 * config/tilepro/t-crtstuff: Removed.
685 * config/tilepro/t-tilepro: Removed.
686
e3bba42f
GA
6872022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
688
689 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
690 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
691
3164de6a
GA
6922022-06-01 H.J. Lu <hjl.tools@gmail.com>
693
694 PR libgcc/27576
695 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
696
3dff965c
GA
6972022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
698
699 PR libgcc/105708
700 * config/aarch64/lse-init.c: Increase constructor priority.
701
7022022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
703
704 PR target/104689
705 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
706 Handle the !REG_UNSAVED case.
707 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
708
57f2ce6a
GA
7092022-05-20 Christophe Lyon <christophe.lyon@arm.com>
710
711 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
712 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
713 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
714
7152022-05-20 Christophe Lyon <christophe.lyon@arm.com>
716
717 * config.host: Add t-dfprules to AArch64 targets.
718
7192022-05-20 Christophe Lyon <christophe.lyon@arm.com>
720
721 * configure: Regenerate.
722
9df4ffe4
GA
7232022-05-13 Sebastian Pop <spop@amazon.com>
724
725 PR target/105162
726 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
727 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
728
e8778989
GA
7292022-05-10 Martin Liska <mliska@suse.cz>
730 Hans-Peter Helfert <peter-helfert@t-online.de>
731
732 PR gcov-profile/105535
733 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
734 n_functions.
735
6259d8aa
GA
7362022-05-02 Martin Liska <mliska@suse.cz>
737
738 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
739
6b6f53d8
GA
7402022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
741
742 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
743 (gcov_profile_merge_stream): Likewise.
744
7452022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
746
747 * libgcov-util.c (consume_stream): New.
748 (get_target_profiles_for_merge): Likewise.
749 (gcov_profile_merge_stream): Likewise.
750
7512022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
752
753 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
754
7552022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
756
757 * libgcov-util.c (read_gcda_file): Do not open file.
758 (ftw_read_file): Open file here.
759
7602022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
761
762 * libgcov-util.c (read_gcda_file): Prepend new info object to global
763 list.
764 (ftw_read_file): Remove list append here.
765
7662022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
767
768 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
769 (ftw_read_file): Duplicate filename for read_gcda_file().
770
7712022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
772
773 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
774 (__gcov_filename_to_gcfn): Declare and document.
775 * libgcov-driver.c (dump_string): New.
776 (__gcov_filename_to_gcfn): Likewise.
777 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
778
7792022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
780
781 * libgcov.h (gcov_seek): Remove define and declaration.
782
7832022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
784
785 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
786 parameter. Pass mode to gcov_open() calls.
787 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
788 gcov_exit_open_gcda_file() call.
789 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
790 calls.
791 (__gcov_dump_one): Open file for reading and writing.
792
7932022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
794
795 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
796 reading and writing.
797 * libgcov-util.c (read_gcda_file): Open file for reading.
798 * libgcov.h (gcov_open): Delete declaration.
799
8002022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
801
802 * libgcov-util.c (gcov_profile_merge): Return the list of merged
803 profiles. Accept empty target and source profile lists.
804
405eda0d
GA
8052022-04-08 Sergei Trofimovich <siarheit@google.com>
806
807 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
808
9f774626
GA
8092022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
810 Lulu Cheng <chenglulu@loongson.cn>
811
812 * configure: Regenerate file.
813
8142022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
815 Lulu Cheng <chenglulu@loongson.cn>
816
817 * config/loongarch/crtfastmath.c: New file.
818 * config/loongarch/linux-unwind.h: Like wise.
819 * config/loongarch/sfp-machine.h: Like wise.
820 * config/loongarch/t-crtstuff: Like wise.
821 * config/loongarch/t-loongarch: Like wise.
822 * config/loongarch/t-loongarch64: Like wise.
823 * config/loongarch/t-softfp-tf: Like wise.
824 * config.host: Add LoongArch tuples.
825 * configure.ac: Add LoongArch support.
826
d7f00da1
GA
8272022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
828
829 PR libgcc/86224
830 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
831 for __mulsi3.
832 (__udivsi3_internal, __divsi3_internal): Similarly.
833 (__umodsi3, __modsi3): Use the internal function names.
834
8cc4f9cd
GA
8352022-03-09 Tobias Burnus <tobias@codesourcery.com>
836
837 PR target/102215
838 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
839 a line up to non-arg-dependent value first.
840 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
841 __atomic_compare_exchange_{1,2}.
842
8d96e14c
GA
8432022-03-04 Iain Sandoe <iain@sandoe.co.uk>
844
845 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
846 * config/t-darwin-ehs: Add dependency on unwind.h.
847
756a6185
GA
8482022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
849
850 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
851 with 0 instead of NULL.
852
8532022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
854
855 PR target/104656
856 * configure.ac: --disable-gcov if targetting bpf-*.
857 * configure: Regenerate.
858
e0b8716f
GA
8592022-01-25 Florian Weimer <fweimer@redhat.com>
860
861 PR libgcc/104207
862 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
863
fc829782
GA
8642022-01-17 Martin Liska <mliska@suse.cz>
865
866 * libgcov-driver.c: Rename .c names to .cc.
867
9248ee41
GA
8682022-01-15 David <gccbugzilla@limegreensocks.com>
869
870 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
871 Remove inlined version, Windows 95 is no longer relevant.
872 * config/i386/gthr-win32.h
873 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
874
617db51d
GA
8752022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
876
877 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
878 DWARF_ALT_FRAME_RETURN_COLUMN macro.
879
7d11b64b
GA
8802022-01-04 Florian Weimer <fweimer@redhat.com>
881
882 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
883 if available.
884
5da23a13
GA
8852022-01-02 John David Anglin <danglin@gcc.gnu.org>
886
887 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
888 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
889 return is not equal _ASM_EFAULT.
890 (__kernel_cmpxchg2): Likewise.
891
2554e2da
GA
8922021-12-17 Iain Sandoe <iain@sandoe.co.uk>
893
894 * config.host: Add shim declaration header to powerpc*-darwin builds.
895 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
896 file.
897 * config/t-darwin-ehs: Add dependencies to the shared unwinder
898 objects.
899 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
900 the shared EH lib. Add all-multi to the dependencies for the
901 libgcc_s.1.dylib redirections.
902
7f1239cb
GA
9032021-12-13 Olivier Hainque <hainque@adacore.com>
904
905 * config.host (powerpc*-*-vxworks7*): Remove
906 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
907
9082021-12-13 Olivier Hainque <hainque@adacore.com>
909
910 * config.host (*vxworks*): Remove special case for
911 arm on the use of vxcrtstuff.
912
9132021-12-13 Fred Konrad <konrad@adacore.com>
914 Olivier Hainque <hainque@adacore.com>
915
916 * config/t-vxcrtstuffS: New Makefile fragment.
917 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
918 functions for INITFINI_ARRAY support in shared libs and guard
919 the definition of eh table registration functions on conditions
920 indicating they are needed.
921
9222021-12-13 Olivier Hainque <hainque@adacore.com>
923
924 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
925 ahead of the other files in tmake_files.
926 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
927 overriding it.
928
9292021-12-13 Olivier Hainque <hainque@adacore.com>
930
931 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
932 both VxWorks7 and earlier.
933 * config/t-vxworks7: Remove.
934 * config.host: Remove special case for vxworks7.
935
e8decbe7
GA
9362021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
937
938 * config/vxcrtstuff.c: Make constructor and destructor
939 functions static when possible.
940
9412021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
942
943 * config/vxcrtstuff.c: Remove constructor/destructor
944 declarations.
945
0bceef16
GA
9462021-12-10 Iain Sandoe <iain@sandoe.co.uk>
947
948 * config/t-darwin: Add libgcc_tm.h to the dependencies
949 for darwin10-unwind-find-enc-func.
950
9512021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
952
953 * config/rs6000/t-vxworks: New file.
954 * config.host (powerpc*-*-vxworks*): Use it instead of
955 t-ppccomm.
956
4b4839e3
GA
9572021-12-09 Fred Konrad <konrad@adacore.com>
958
959 * config.host (powerpc*-wrs-vxworks7*): Fix path to
960 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
961
9622021-12-09 Olivier Hainque <hainque@adacore.com>
963 Rasmus Villemoes <rv@rasmusvillemoes.dk>
964
965 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
966 $(LIBGCC2_INCLUDES).
967 * config/t-vxworks7: Likewise.
968
641ff219
GA
9692021-12-08 Iain Sandoe <iain@sandoe.co.uk>
970
971 * config.host (*-*-darwin*): Add logic to build a shared
972 unwinder library for Darwin8-10.
973 * config/i386/t-darwin: Build legacy libgcc_s.1.
974 * config/rs6000/t-darwin: Likewise.
975 * config/t-darwin: Reorganise the EH fragments to place
976 them for inclusion in a shared EH lib.
977 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
978 the supporting pieces (all FAT libs).
979 * config/t-darwin-noeh: Removed.
980 * config/darwin-unwind.ver: New file.
981 * config/rs6000/t-darwin-ehs: New file.
982 * config/t-darwin-ehs: New file.
983
3a580f96
GA
9842021-12-06 Nelson Chu <nelson.chu@sifive.com>
985
986 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
987 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
988 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
989 HIDDEN_DEF.
990
c177e806
GA
9912021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
992
993 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
994 ssize_t and vfork after including auto-host.h.
995
87cd82c8
GA
9962021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
997
998 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
999 crtend.o to extra_parts.
1000
d62c8c74
GA
10012021-11-27 John David Anglin <danglin@gcc.gnu.org>
1002
1003 * config/pa/t-dimode (lib2difuncs): Fix typo.
1004
091ccc06
GA
10052021-11-25 Florian Weimer <fweimer@redhat.com>
1006
1007 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1008 Remove func, ret.
1009 (find_fde_tail): New function. Split from
1010 _Unwind_IteratePhdrCallback. Move the result initialization
1011 from _Unwind_Find_FDE.
1012 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1013
06be28f6
GA
10142021-11-22 Florian Weimer <fweimer@redhat.com>
1015
1016 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1017 (struct unw_eh_callback_data): Make dbase member conditional.
1018 (unw_eh_callback_data_dbase): New function.
1019 (base_from_cb_data): Simplify for the non-dbase case.
1020 (_Unwind_IteratePhdrCallback): Adjust.
1021 (_Unwind_Find_FDE): Likewise.
1022
10232021-11-22 Florian Weimer <fweimer@redhat.com>
1024
1025 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1026 tbase member.
1027 (base_from_cb_data): Adjust.
1028 (_Unwind_IteratePhdrCallback): Likewise.
1029 (_Unwind_Find_FDE): Likewise.
1030
9c077398
GA
10312021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1032
1033 * config.host: Add weak emutls crt to the extra_parts.
1034 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1035 workaround.
1036 * config/libgcc-libsystem.ver: Add exclude list for the system-
1037 provided unwinder.
1038 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1039 * config/i386/libgcc-darwin.10.4.ver: Removed.
1040 * config/i386/libgcc-darwin.10.5.ver: Removed.
1041 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1042 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1043 * config/t-darwin-noeh: New file.
1044
10452021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1046
1047 * config/t-darwin: Build weak-defined emutls objects.
1048 * emutls.c (__emutls_get_address): Add optional attributes.
1049 (__emutls_register_common): Likewise.
1050 (EMUTLS_ATTR): New.
1051
b39265d4
GA
10522021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1053
1054 PR libgcc/103044
1055 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1056 called with a null argument or at the end of the backtrace and return.
1057 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1058
8d36a0d2
GA
10592021-11-10 Jakub Jelinek <jakub@redhat.com>
1060
1061 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1062 formatting fix.
1063
851dff04
GA
10642021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1065
1066 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1067 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1068
10692021-11-05 John David Anglin <danglin@gcc.gnu.org>
1070
1071 PR libgomp/96661
1072 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1073 (hppa*64*-*-hpux11*): Likewise.
1074 * config/pa/sfp-exceptions.c: New.
1075 * config/pa/sfp-machine.h: New.
1076 * config/pa/t-dimode: New.
1077 * config/pa/t-softfp-sfdftf: New.
1078
04a2cf3f
GA
10792021-10-27 John David Anglin <danglin@gcc.gnu.org>
1080
1081 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1082 tmake_file.
1083 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1084 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1085 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1086 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1087 (LIB1ASMFUNCS): Revise.
1088 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1089
c2bd5d8a
GA
10902021-10-22 Stafford Horne <shorne@gmail.com>
1091
1092 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1093 Change to 0.
1094
5d5885c9
GA
10952021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1096
1097 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1098 outside of get_regs() in order to use it in another function, this
1099 is done twice: for __powerpc64__ and for !__powerpc64__.
1100 (struct trace_arg): New struct.
1101 (struct layout): New struct.
1102 (ppc_backchain_fallback): New function.
1103 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1104 state and call MD_BACKCHAIN_FALLBACK.
1105
9eb28a0f
GA
11062021-10-13 Martin Liska <mliska@suse.cz>
1107
1108 PR gcov-profile/90364
1109 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1110 checksums.
1111 (write_one_data): Write also checksum.
1112 * libgcov-util.c (read_gcda_file): Read also checksum field.
1113 * libgcov.h (struct gcov_info): Add new field.
1114
ce6eec39
GA
11152021-10-08 Ian Lance Taylor <iant@golang.org>
1116
1117 * config/i386/morestack.S: Use .init_array for constructor if
1118 available.
1119 * config/rs6000/morestack.S: Likewise.
1120 * config/s390/morestack.S: Likewise.
1121
154fd089
GA
11222021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1123
1124 PR target/101104
1125 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1126 Use more correct values for native IBM 128-bit.
1127
fd133479
GA
11282021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1129
1130 * config/i386/libgcc-darwin.ver: Add Symbols for
1131 __cpu_model, __cpu_indicator_init.
1132
e4777439
GA
11332021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1134
1135 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1136 using __APPLE__.
1137
34fac9ef
GA
11382021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1139
1140 * config/t-slibgcc-darwin: Delete unused code.
1141
11422021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1143
1144 * config/i386/t-darwin: Add in a vers file for X86-specific
1145 symbols.
1146 * config/t-darwin: Add the generic symbol maps here...
1147 * config/t-slibgcc-darwin: ... removing from here.
1148 * config/i386/libgcc-darwin.ver: New file.
1149
11502021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1151
1152 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1153 and __mulhc3.
1154
11552021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1156
1157 * config.host: Use convenience library for Darwin10
1158 unwinder shim.
1159 * config/t-darwin: Build Darwin10 unwinder shim as a
1160 convenience library.
1161
07985c47
GA
11622021-09-13 Andrew Pinski <apinski@marvell.com>
1163
1164 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1165 * config/m32r/libgcc-glibc.ver: Removed.
1166 * config/m32r/t-linux: Removed.
1167
b6db7cd4
GA
11682021-09-08 liuhongt <hongtao.liu@intel.com>
1169
1170 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1171 libgcc_s.so.1.
1172
11732021-09-08 Jakub Jelinek <jakub@redhat.com>
1174 Iain Sandoe <iain@sandoe.co.uk>
1175
1176 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1177 and export *hf* and *hc* functions at GCC_12.0.0.
1178
9f99555f
GA
11792021-09-06 liuhongt <hongtao.liu@intel.com>
1180
1181 * Makefile.in: Adjust to support specific CFLAGS for each
1182 libgcc source file.
1183 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1184 related libgcc source files.
1185 * config/i386/t-softfp: Ditto.
1186 * config/i386/_divhc3.c: New file.
1187 * config/i386/_mulhc3.c: New file.
1188
7b739540
GA
11892021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1190
1191 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1192 alias_DFtype, alias_TFtype): New.
1193 (ALIAS_SELECTOR): New.
1194 (strong_alias): Use __typeof and a _Generic selector to
1195 provide the type to the synthesized function.
1196
9f7c2bad
GA
11972021-09-02 liuhongt <hongtao.liu@intel.com>
1198
1199 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1200 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1201 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1202 * config/i386/t-softfp: Add hf soft-fp.
1203 * config.host: Add i386/64/t-softfp.
1204 * config/i386/64/t-softfp: New file.
1205
12062021-09-02 liuhongt <hongtao.liu@intel.com>
1207
1208 * soft-fp/eqhf2.c: New file.
1209 * soft-fp/extendhfdf2.c: New file.
1210 * soft-fp/extendhfsf2.c: New file.
1211 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1212 * soft-fp/truncdfhf2.c: New file
1213 * soft-fp/truncsfhf2.c: New file
1214
e11c6046
GA
12152021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1216
1217 * unwind-arm-common.inc (abort): Remove.
1218
6d51ee43
GA
12192021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1220
1221 * config/aarch64/value-unwind.h: Add missing runtime exception
1222 paragraph.
1223 * config/frv/frv-abi.h: Likewise.
1224 * config/i386/value-unwind.h: Likewise.
1225 * config/pa/pa64-hpux-lib.h: Likewise.
1226
ccc19145
GA
12272021-08-26 David Edelsohn <dje.gcc@gmail.com>
1228
1229 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1230 __gcc_qadd.
1231 (__gcc_qadd): Call ldouble_qadd_internal.
1232 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1233 argument negated.
1234
12352021-08-26 Jonathan Yong <10walls@gmail.com>
1236
1237 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1238 and register_frame_dtor warnings.
1239
05ace294
GA
12402021-08-24 Richard Earnshaw <rearnsha@arm.com>
1241
1242 PR target/102035
1243 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1244 Add vlldm erratum work-around.
1245
4be4fa4e
GA
12462021-08-21 John David Anglin <danglin@gcc.gnu.org>
1247
1248 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1249
9d1d9fc8
GA
12502021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1251
1252 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1253 (gcov_type_unsigned): Likewise.
1254
7dd8f198
GA
12552021-08-14 Stafford Horne <shorne@gmail.com>
1256
1257 PR target/99783
1258 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1259 * config/or1k/t-crtstuff: New file.
1260
f92f4778
GA
12612021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1262
1263 * libgcov-driver.c (#include <stdint.h>): Remove.
1264 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1265
12662021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1267
1268 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1269 * gcov.h (gcov_info): Declare.
1270 (__gcov_info_to_gdca): Likewise.
1271 * libgcov.h (gcov_write_counter): Remove.
1272 (gcov_write_tag_length): Likewise.
1273 * libgcov-driver.c (#include <stdint.h>): New.
1274 (#include <string.h>): Remove.
1275 (NEED_L_GCOV): Conditionally define.
1276 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1277 (are_all_counters_zero): New.
1278 (gcov_dump_handler): Likewise.
1279 (gcov_allocate_handler): Likewise.
1280 (dump_unsigned): Likewise.
1281 (dump_counter): Likewise.
1282 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1283 Use dump_unsigned() and dump_counter().
1284 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1285 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1286 (__gcov_info_to_gcda): New.
1287
8ebf4fb5
GA
12882021-08-05 Jakub Jelinek <jakub@redhat.com>
1289
1290 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1291 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1292 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1293 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1294
2697f832
GA
12952021-08-04 Jakub Jelinek <jakub@redhat.com>
1296
1297 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1298
d97d71a1
GA
12992021-07-15 Alan Modra <amodra@gmail.com>
1300
1301 * config/rs6000/morestack.S (R2_SAVE): Define.
1302 (__morestack): Save and restore r2. Set up r2 for called
1303 functions.
1304
bea7c16a
GA
13052021-07-01 H.J. Lu <hjl.tools@gmail.com>
1306
1307 * soft-fp/extendhfxf2.c: New file.
1308 * soft-fp/truncxfhf2.c: Likewise.
1309
6bc18203
GA
13102021-06-29 Julian Brown <julian@codesourcery.com>
1311
1312 * config/gcn/lib2-bswapti2.c: New file.
1313 * config/gcn/lib2-divmod-di.c: New file.
1314 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1315 typedefs.
1316 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1317 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1318 lib2-bswapti2.c.
1319
13202021-06-29 Julian Brown <julian@codesourcery.com>
1321
1322 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1323 return types to USItype.
1324 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1325
fcf617f0
GA
13262021-06-23 Kewen Lin <linkw@linux.ibm.com>
1327
1328 * configure: Regenerate.
1329 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1330 typos among the name, CFLAGS and the test.
1331 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1332 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1333 Remove.
1334 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1335 macro FLOAT128_HW_INSNS_ISA3_1.
1336 (FP128_3_1_CFLAGS_HW): Fix option typo.
1337 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1338 FLOAT128_HW_INSNS_ISA3_1.
1339 (__floattikf_resolve): Likewise.
1340 (__floatuntikf_resolve): Likewise.
1341 (__fixkfti_resolve): Likewise.
1342 (__fixunskfti_resolve): Likewise.
1343 (__floattikf): Likewise.
1344 (__floatuntikf): Likewise.
1345 (__fixkfti): Likewise.
1346 (__fixunskfti): Likewise.
1347
f16f65f8
GA
13482021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1349
1350 PR target/99939
1351 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1352 macro.
1353 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1354 on passing -mcmse option.
1355
43c35d0d
GA
13562021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1357
1358 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1359 _ARCH_PPC64 .
1360
4f625f47
GA
13612021-06-09 Carl Love <cel@us.ibm.com>
1362
1363 * config.host: Add if test and set for
1364 libgcc_cv_powerpc_3_1_float128_hw.
1365 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1366 Change calls of __fixkfti to __fixkfti_sw.
1367 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1368 Change calls of __fixunskfti to __fixunskfti_sw.
1369 * config/rs6000/float128-p10.c (__floattikf_hw,
1370 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1371 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1372 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1373 __fixunskfti_resolve): Add resolve functions.
1374 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1375 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1376 __fixtfti, __fixunstfti): Add editor commands to change names.
1377 * config/rs6000/float128-sed-hw (__floattitf,
1378 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1379 change names.
1380 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1381 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1382 * config/rs6000/quad-float128.h (__floattikf_sw,
1383 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1384 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1385 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1386 * config/rs6000/t-float128 (floattikf, floatuntikf,
1387 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1388 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1389 file names to fp128_ppc_funcs.
1390 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1391 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1392 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1393 * config/rs6000/t-float128-p10-hw: New file.
1394 * configure: Update script for isa 3.1 128-bit float support.
1395 * configure.ac: Add check for 128-bit float hardware support.
1396 * config/rs6000/fixkfti-sw.c: New file.
1397 * config/rs6000/fixunskfti-sw.c: New file.
1398 * config/rs6000/floattikf-sw.c: New file.
1399 * config/rs6000/floatuntikf-sw.c: New file.
1400
f9af11c7
GA
14012021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1402
1403 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1404
4d0385df 14052021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1406
1407 * libgcov-driver.c: Fix GNU coding style.
1408
aa891c56
GA
14092021-05-10 Martin Liska <mliska@suse.cz>
1410
1411 * libgcov-driver.c (gcov_version): Use different name that does
1412 not clash with newly introduced macro.
1413
3c8e539d
GA
14142021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1415
1416 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1417 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1418 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1419
e4ff4ffb
GA
14202021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1421
1422 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1423 Define.
1424 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1425 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1426 Define.
1427 (__divkc3): Improve complex divide.
1428
05ec629f
GA
14292021-04-23 Michael Meissner <meissner@linux.ibm.com>
1430
1431 PR target/98952
1432 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1433 trampoline size comparison in 32-bit by reversing test and
1434 combining load immediate with compare.
1435 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1436 in 32-bit by reversing test and combining load immediate with
1437 compare.
1438
b1da9916
GA
14392021-04-05 Florian Weimer <fweimer@redhat.com>
1440 Michael Meissner <meissner@linux.ibm.com>
1441
1442 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1443 point functions for $(decimal_float) only.
1444
c0756c4e
GA
14452021-04-03 Jakub Jelinek <jakub@redhat.com>
1446
1447 PR target/97653
1448 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1449 $(objext) instead of $(object). Use _floatunditf instead of
1450 _floatunsditf. Add tf <-> ti conversion objects.
1451 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1452
65374af2
GA
14532021-03-29 Michael Meissner <meissner@linux.ibm.com>
1454
1455 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1456 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1457 (fp128_decstr_objs): Delete.
1458 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1459 _Float128 to a Decimal type. Call __strtoieee128 to do
1460 conversions from a Decimal type to _Float128.
1461 * config/rs6000/_sprintfkf.c: Delete file.
1462 * config/rs6000/_sprintfkf.h: Delete file.
1463 * config/rs6000/_strtokf.c: Delete file.
1464 * config/rs6000/_strtokf.h: Delete file.
1465
bf1f3168
GA
14662021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1467
1468 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1469 to __BYTE_ORDER__.
1470
0ad6a2e2
GA
14712021-03-06 Jakub Jelinek <jakub@redhat.com>
1472
1473 PR gcov-profile/99406
1474 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1475 defined, define these macros if not defined already.
1476
67f10d28
GA
14772021-03-04 Martin Liska <mliska@suse.cz>
1478
1479 PR gcov-profile/99105
1480 * libgcov-driver.c (write_top_counters): Rename to ...
1481 (write_topn_counters): ... this.
1482 (write_one_data): Pre-allocate buffer for number of items
1483 in the corresponding linked lists.
1484 * libgcov.h (malloc_mmap): New function.
1485 (allocate_gcov_kvp): Use it.
1486
14872021-03-04 Martin Liska <mliska@suse.cz>
1488
1489 PR gcov-profile/99385
1490 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1491
f3641ac7
GA
14922021-03-03 Martin Liska <mliska@suse.cz>
1493
1494 PR gcov-profile/97461
1495 * config.in: Regenerate.
1496 * configure: Likewise.
1497 * configure.ac: Check sys/mman.h header file
1498 * libgcov-driver.c (struct gcov_kvp): Remove static
1499 pre-allocated pool and use a dynamic one.
1500 * libgcov.h (MMAP_CHUNK_SIZE): New.
1501 (gcov_counter_add): Use mmap to allocate pool for struct
1502 gcov_kvp.
1503
d97a92dc
GA
15042021-03-02 Michael Meissner <meissner@linux.ibm.com>
1505
1506 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1507 the function.
1508 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1509
4028d01a
GA
15102021-02-24 Jakub Jelinek <jakub@redhat.com>
1511
1512 PR libgcc/99236
1513 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1514 negation of m in unsigned type.
1515
15162021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1517 Hau Hsu <hsuhau617@gmail.com>
1518
1519 PR target/99157
1520 * config/arm/t-arm: Fix cmse support detection.
1521
2f5765cf
GA
15222021-02-22 Michael Meissner <meissner@linux.ibm.com>
1523
1524 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1525
15262021-02-22 Michael Meissner <meissner@linux.ibm.com>
1527
1528 * config/rs6000/_dd_to_kf.c: New file.
1529 * config/rs6000/_kf_to_dd.c: New file.
1530 * config/rs6000/_kf_to_sd.c: New file.
1531 * config/rs6000/_kf_to_td.c: New file.
1532 * config/rs6000/_sd_to_kf.c: New file.
1533 * config/rs6000/_sprintfkf.c: New file.
1534 * config/rs6000/_sprintfkf.h: New file.
1535 * config/rs6000/_strtokf.h: New file.
1536 * config/rs6000/_strtokf.c: New file.
1537 * config/rs6000/_td_to_kf.c: New file.
1538 * config/rs6000/quad-float128.h: Add new declarations.
1539 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1540 (fp128_decstr_funcs): New macro.
1541 (ibm128_dec_funcs): New macro.
1542 (fp128_ppc_funcs): Add the new conversions.
1543 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1544 compiled with -mabi=ieeelongdouble.
1545 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1546 compiled with -mabi=ibmlongdouble.
1547 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1548 compiled with -mabi=ieeelongdouble.
1549 (FP128_CFLAGS_DECIMAL): New macro.
1550 (IBM128_CFLAGS_DECIMAL): New macro.
1551 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1552 (BFP_TO_DFP): Add PowerPC _Float128 support.
1553 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1554 IEEE 128-bit floating point.
1555 (DFP_TO_BFP): Add PowerPC _Float128 support.
1556 (BFP_TO_DFP): Add PowerPC _Float128 support.
1557 (BFP_SPRINTF): New macro.
1558
aa69f0a8
GA
15592021-01-27 Jakub Jelinek <jakub@redhat.com>
1560
1561 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1562 * config/i386/savms64f.h: Likewise.
1563 * config/i386/resms64.h: Likewise.
1564 * config/i386/resms64f.h: Likewise.
1565 * config/i386/resms64x.h: Likewise.
1566 * config/i386/resms64fx.h: Likewise.
1567
e62bb7f0
GA
15682021-01-26 Martin Liska <mliska@suse.cz>
1569
1570 PR gcov-profile/98739
1571 * libgcov.h (gcov_topn_add_value): Do not train when
1572 we have a merged profile with a negative number of total
1573 value.
1574
161e4c08
GA
15752021-01-25 Martin Liska <mliska@suse.cz>
1576
1577 PR gcov-profile/98739
1578 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1579 ends with a dropped counter.
1580 * libgcov.h (gcov_topn_add_value): Add return value.
1581
be0851b8
GA
15822021-01-13 Stafford Horne <shorne@gmail.com>
1583
1584 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1585 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1586 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1587 FP_EX_ALL): New constant macros.
1588 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1589 FP_HANDLE_EXCEPTIONS): New macros.
1590 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1591
15922021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1593
1594 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1595 posix siginfo case to struct handler_args. Detect between legacy
1596 and siginfo from the second parameter, which is a small sigcode in
1597 the legacy case, and a pointer in the siginfo case.
1598
108beb75
GA
15992020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1600
1601 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1602 functions.
1603 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1604 _bswapdi2.
1605
f6e8e279
GA
16062020-12-08 Ian Lance Taylor <iant@golang.org>
1607
1608 * generic-morestack-thread.c (free_segments): Block signals during
1609 thread exit.
1610
b8dd0ef7
GA
16112020-12-03 Michael Meissner <meissner@linux.ibm.com>
1612
1613 PR libgcc/97543
1614 PR libgcc/97643
1615 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1616 (IBM128_SHARED_OBJS): New make variable.
1617 (IBM128_OBJS): New make variable. Set all objects to use the
1618 explicit IBM format, and disable gnu attributes.
1619 (IBM128_CFLAGS): New make variable.
1620 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1621 modules.
1622
16232020-12-03 Alexandre Oliva <oliva@adacore.com>
1624
1625 * config/t-vxworks (LIB2ADD): Drop.
1626 * config/t-vxworks7 (LIB2ADD): Likewise.
1627 * config/vxcache.c: Remove.
1628
94358e47
GA
16292020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1630
1631 * libgcc2.c (bswapsi2): Make constants unsigned.
1632
360258da
GA
16332020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1634
1635 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1636 builtin_add_overflow.
1637 (absvsi2, absvDI2): Likewise.
1638
82e5048e
GA
16392020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1640
1641 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1642 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1643
25bb75f8
GA
16442020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1645
1646 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1647 (if MUL_32): Use mult64_hw for __muldi3.
1648 (if MUL_F5): Use mult64_hw for __muldi3.
1649 * config/msp430/lib2mul.c (__muldi3): New.
1650 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1651
29c5d9ce
GA
16522020-11-17 Alan Modra <amodra@gmail.com>
1653
1654 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1655 (LIB2_SIDITI_CONV_FUNCS): Define.
1656 * config/rs6000/ppc64-fp.c: Delete file.
1657
cba30651
GA
16582020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1659
1660 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1661 hwmult library functions.
1662
bb622641
GA
16632020-11-10 Jeff Law <law@redhat.com>
1664
1665 * libgcc2.c: Fix whitespace issues in most recent change.
1666
16672020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1668
1669 * libgcc2.c (__addvSI3): Use overflow builtins.
1670 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1671 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1672 (__negvsi2, __negvDI2): Likewise.
1673 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1674 generated code.
1675 * libgcc2.h (__ucmpdi2): Adjust prototype.
1676
fd2325ea
GA
16772020-11-03 Pat Bernardi <bernardi@adacore.com>
1678 Olivier Hainque <hainque@adacore.com>
1679
1680 * config.host (aarch64-vxworks7*, tmake_file): Add
1681 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1682
16832020-11-03 Martin Storsjö <martin@martin.st>
1684
1685 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1686 before calling the callback.
1687
88ce3d5f
GA
16882020-10-30 Olivier Hainque <hainque@adacore.com>
1689 Douglas Rupp <rupp@adacore.com>
1690 Pat Bernardi <bernardi@adacore.com>
1691
1692 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1693 to apply to VxWorks 7 as well.
1694
4f0606fe
GA
16952020-10-29 Olivier Hainque <hainque@adacore.com>
1696
1697 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1698 controlling the definition of VX_ENTER_TLS_DTOR and
1699 VX_LEAVE_TLS_DTOR based on a version major check.
1700
17012020-10-29 Olivier Hainque <hainque@adacore.com>
1702
1703 * config/gthr-vxworks-thread.c: Fix name of macro used
1704 to condition the inclusion of an actual implementation.
1705
89bb01e7
GA
17062020-10-27 Martin Liska <mliska@suse.cz>
1707
1708 PR gcov-profile/97461
1709 * libgcov.h (gcov_counter_add): Use first static counters
1710 as it should help to have malloc wrappers set up.
1711
efe71fcc
GA
17122020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1713
1714 * config/gthr-vxworks-thread.c: #include gthr.h before
1715 testing the guard defined there.
1716 * config/gthr-vxworks-cond.c: Likewise.
1717
56ddd5e2
GA
17182020-10-21 Douglas Rupp <rupp@adacore.com>
1719 Olivier Hainque <hainque@adacore.com>
1720
1721 * config.host (powerpc*-wrs-vxworks7*): New case.
1722 * configure.ac: Handle powerpc*-*-vxworks7* as
1723 powerpc*-*-linux* for ppc-fp_type.
1724 * configure: Regenerate.
1725
56e4eee9
GA
17262020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1727
1728 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1729 section on VxWorks >= 6.
1730 * config/gthr-vxworks-thread.c: Condition the entire
1731 implementation on __GTHREAD_CXX0X.
1732
17332020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1734
1735 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1736 section on VxWorks >= 6.
1737 * config/gthr-vxworks-cond.c: Condition the entire
1738 implementation on __GTHREAD_HAS_COND.
1739
17402020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1741
1742 * config/gthr-vxworks.c: #include <taskLib.h>.
1743
17442020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1745
1746 * config/gthr-vxworks.h: Rewrite remaining occurrence
1747 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1748
17492020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1750 Olivier Hainque <hainque@adacore.com>
1751
1752 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1753 except on VxWorks 6.
1754
17552020-10-16 Olivier Hainque <hainque@adacore.com>
1756
1757 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1758
b2698c21
GA
17592020-10-14 Alexandre Oliva <oliva@adacore.com>
1760
1761 * config/gthr-vxworks-thread.c: Include stdlib.h.
1762 (tls_delete_hook): Prototype it.
1763 (__gthread_cond_signal): Return early if no waiters. Consume
1764 signal in case the semaphore got full. Use semInfoGet instead
1765 of kernel-mode-only semInfo.
1766 (__gthread_cond_timedwait): Use semExchange. Always take the
1767 mutex again before returning.
1768 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1769
17702020-10-14 Olivier Hainque <hainque@adacore.com>
1771
1772 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1773 $(MULTISUBDIR) to the -I path for fixed headers, as we
1774 arrange to have different sets of such headers for different
1775 multilibs when they are activated.
1776 * config/t-vxworks7: Likewise.
1777
17782020-10-14 Olivier Hainque <hainque@adacore.com>
1779
1780 * config/t-vxworks: Add include-fixed to include search
1781 paths for libgcc on VxWorks.
1782 * config/t-vxworks7: Likewise.
1783
c74a0e82
GA
17842020-10-09 H.J. Lu <hjl.tools@gmail.com>
1785
1786 PR target/97148
1787 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1788 instead of <cetintrin.h>.
1789
6c2675fa
GA
17902020-10-01 Alan Modra <amodra@gmail.com>
1791
1792 * config/rs6000/morestack.S,
1793 * config/rs6000/tramp.S: Support __PCREL__ code.
1794
17952020-10-01 Alan Modra <amodra@gmail.com>
1796
1797 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1798
93bca37c
GA
17992020-09-29 Maciej W. Rozycki <macro@wdc.com>
1800
1801 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1802 variable.
1803
e84761c6
GA
18042020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1805
1806 * config/aarch64/libgcc-softfp.ver: New file.
1807 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1808
4383c595
GA
18092020-09-27 Clement Chigot <clement.chigot@atos.net>
1810
1811 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1812
521d2711
GA
18132020-09-22 Sergei Trofimovich <siarheit@google.com>
1814
1815 PR gcov-profile/96913
1816 * libgcov-driver.c (write_one_data): Avoid function pointer
1817 comparison in TOP streaming decision.
1818
2aad20c0
GA
18192020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1820 Christophe Lyon <christophe.lyon@linaro.org>
1821
1822 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1823 qualifier.
1824 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1825 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1826 missing prototypes.
1827
18282020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1829
1830 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1831 unused variable warning.
1832
ecde1b0a
GA
18332020-09-16 Jojo R <jiejie_rong@c-sky.com>
1834
1835 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1836
80f86e78
GA
18372020-09-09 Tom de Vries <tdevries@suse.de>
1838
1839 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1840 Wbuiltin-declaration-mismatch.
1841
57ea0894
GA
18422020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1843
1844 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1845 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1846 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1847
b3cb5606
GA
18482020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1849
1850 * config/nvptx/atomic.c: New.
1851 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1852
6a1ad710
GA
18532020-08-03 Ian Lance Taylor <iant@golang.org>
1854
1855 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1856
18572020-08-03 Jakub Jelinek <jakub@redhat.com>
1858
1859 PR target/96402
1860 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1861 of x(tmp0), x(tmp1) in STXP arguments.
1862
48cc2e46
GA
18632020-07-31 Maciej W. Rozycki <macro@wdc.com>
1864
1865 * config/riscv/save-restore.S [__riscv_xlen == 64]
1866 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1867 (__riscv_save_2): Replace negative immediates used for the final
1868 stack pointer adjustment with positive ones, right-shifted by 4.
1869
18702020-07-31 Martin Liska <mliska@suse.cz>
1871
1872 * libgcov-driver.c: Add __gcov_kvp_pool
1873 and __gcov_kvp_pool_index variables.
1874 * libgcov.h (allocate_gcov_kvp): New.
1875 (gcov_topn_add_value): Use it.
1876
53256ee3
GA
18772020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1878
1879 * config/aarch64/lse.S: Add PAC property note.
1880
9bb403dc
GA
18812020-07-23 Martin Liska <mliska@suse.cz>
1882
1883 PR gcov-profile/96035
1884 * libgcov-driver-system.c: Create gcov folders with 0777
1885 so that it respects a system umask.
1886
8ca07a30
GA
18872020-07-14 David Edelsohn <dje.gcc@gmail.com>
1888
1889 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1890
ea69fcf9
GA
18912020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1892
1893 PR target/94891
1894 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1895 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1896 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1897 (MD_DEMANGLE_RETURN_ADDR): This.
1898 (aarch64_post_extract_frame_addr): Rename to ...
1899 (aarch64_demangle_return_addr): This.
1900 (aarch64_post_frob_eh_handler_addr): Remove.
1901 * unwind-dw2.c (uw_update_context): Demangle return address.
1902 (uw_frob_return_addr): Remove.
1903
3f8ca9cb
GA
19042020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1905
1906 PR target/96001
1907 * config/aarch64/lse.S: Add BTI marking and related definitions,
1908 and add BTI c to function entries.
1909
19102020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1911
1912 * config/aarch64/lse.S: Add stack note.
1913
b5f24739
GA
19142020-07-02 Martin Liska <mliska@suse.cz>
1915
1916 PR gcov-profile/95348
1917 * libgcov-driver.c (merge_one_data): Merge only profiles
1918 that are not of non-zero type.
1919 (write_one_data): Write counters only if there's one non-zero
1920 value.
1921 * libgcov-util.c (tag_function): Change signature from unsigned
1922 to int.
1923 (tag_blocks): Likewise.
1924 (tag_arcs): Likewise.
1925 (tag_counters): Likewise.
1926 (tag_summary): Likewise.
1927 (tag_lines): Read only if COUNTERS is non-zero.
1928 (read_gcda_file): Handle negative length for COUNTERS type.
1929
d61ffe12
GA
19302020-06-25 Martin Liska <mliska@suse.cz>
1931
1932 * libgcov-driver.c (merge_summary): Remove function as its name
1933 is misleading and doing something different.
1934 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1935 in gcov-tool.
1936 * libgcov-util.c (curr_object_summary): Remove.
1937 (read_gcda_file): Remove unused curr_object_summary.
1938 (gcov_merge): Merge summaries.
1939 * libgcov.h: Add summary argument for gcov_info struct.
1940
2e546c26
GA
19412020-06-24 H.J. Lu <hjl.tools@gmail.com>
1942
1943 PR target/95259
1944 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1945 "common/config/i386/i386-cpuinfo.h" and
1946 "common/config/i386/cpuinfo.h".
1947 (__cpu_features2): Changed to array.
1948 (get_amd_cpu): Removed.
1949 (get_intel_cpu): Likewise.
1950 (get_available_features): Likewise.
1951 (__cpu_indicator_init): Call cpu_indicator_init.
1952 * config/i386/cpuinfo.h: Removed.
1953
4543acc8
GA
19542020-06-23 David Edelsohn <dje.gcc@gmail.com>
1955
1956 * Makefile.in: Remove uses of empty.mk. Use -include.
1957 * config/avr/t-avr: Use -include.
1958 * empty.mk: Delete.
1959
f86e11a2
GA
19602020-06-21 David Edelsohn <dje.gcc@gmail.com>
1961
1962 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1963 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1964 and 64 bit with -maix64.
1965 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1966 Build and install AIX-style FAT libraries.
1967
aff95ee7
GA
19682020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1969
1970 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1971 'i386/gnu-unwind.h'
1972 * config/i386/gnu-unwind.h: New file.
1973
19742020-06-17 Martin Liska <mliska@suse.cz>
1975
1976 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1977 (merge_wrapper): Add both counts and use them properly.
1978 (topn_to_memory_representation): New function.
1979 (gcov_merge): Covert on disk representation to in memory
1980 representation.
1981 * libgcov.h: Remove const operator.
1982
6fb94d67
GA
19832020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1984
1985 * configure: Regenerate.
1986 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1987 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1988
b952c2cf
GA
19892020-06-09 Martin Liska <mliska@suse.cz>
1990
1991 PR gcov-profile/95494
1992 * libgcov-driver.c (write_top_counters): Cast first to
1993 intptr_t as sizeof(*) != sizeof(gcov_type).
1994 * libgcov.h (gcov_counter_set_if_null): Remove.
1995 (gcov_topn_add_value): Cast first to intptr_t and update
1996 linked list directly.
1997
19982020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1999
2000 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2001 with uw_install_context_1.
2002
3add3425
GA
20032020-06-04 Andreas Schwab <schwab@suse.de>
2004
2005 PR target/59230
2006 PR libfortran/59227
2007 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2008 soft-fp/divtf3.c.
2009 (LIB2ADD): Add config/ia64/divtf3.c.
2010 * config/ia64/divtf3.c: New file.
2011
9a5b7438
GA
20122020-06-03 Martin Liska <mliska@suse.cz>
2013
2014 PR gcov-profile/95480
2015 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2016 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2017 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2018 (gcov_counter_set_if_null): Likewise.
2019
a9312a79
GA
20202020-06-02 Jim Wilson <jimw@sifive.com>
2021
2022 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2023 to bgtz.
2024
20252020-06-02 Martin Liska <mliska@suse.cz>
2026
2027 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2028 of xmalloc.
2029
20302020-06-02 Martin Liska <mliska@suse.cz>
2031
2032 * libgcov-driver.c (prune_topn_counter): Remove.
2033 (prune_counters): Likewise.
2034 (merge_one_data): Special case TOP N counters
2035 as they have variable length.
2036 (write_top_counters): New.
2037 (write_one_data): Special case TOP N.
2038 (dump_one_gcov): Do not prune TOP N counters.
2039 * libgcov-merge.c (merge_topn_values_set): Remove.
2040 (__gcov_merge_topn): Use gcov_topn_add_value.
2041 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2042 Likewise here.
2043 * libgcov.h (gcov_counter_add): New.
2044 (gcov_counter_set_if_null): Likewise.
2045 (gcov_topn_add_value): New.
2046
4a9aa9de
GA
20472020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2048
2049 * config/i386/sfp-exceptions.c (struct fenv):
2050 Add __attribute__ ((gcc_struct)).
2051
885ef72f
GA
20522020-05-29 H.J. Lu <hjl.tools@gmail.com>
2053
2054 PR bootstrap/95413
2055 * configure: Regenerated.
2056
53ffb43a
GA
20572020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2058
2059 PR gcov-profile/95332
2060 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2061 * libgcov.h (gcov_magic): Disable GCC poison.
2062
5855bdfa
L
20632020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2064
2065 PR target/95212
2066 * config/i386/cpuinfo.h (processor_features): Move
2067 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2068
35b98036
L
20692020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2070
2071 PR target/91695
2072 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2073 check.
2074
45395445
L
20752020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2076
2077 PR target/95212
2078 PR target/95220
2079 * config/i386/cpuinfo.c (get_available_features): Fix
2080 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2081 * config/i386/cpuinfo.h (processor_features): Add
2082 FEATURE_AVX512VP2INTERSECT.
2083
4c1a5d8b
L
20842020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2085
2086 PR bootstrap/95147
2087 * configure: Regenerated.
2088
8d286dd1
L
20892020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2090
2091 * configure: Regenerated.
2092
39748a89
HPN
20932020-05-09 Hans-Peter Nilsson <hp@axis.com>
2094
2095 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2096 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2097
d3a1459c
UB
20982020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2099
2100 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2101 (__math_force_eval_div): New define.
2102 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2103 generic division to generate INVALID, DIVZERO and INEXACT
2104 exceptions.
2105
12667785
KT
21062020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2107
2108 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2109 instead of getauxval.
2110 (AT_HWCAP): Define.
2111 (HWCAP_ATOMICS): Define.
2112 Guard detection on __gnu_linux__.
2113
ef836167
MM
21142020-05-05 Michael Meissner <meissner@linux.ibm.com>
2115
2116 * config.host: Delete changes meant for a private branch.
2117 * config/rs6000/t-float128: Likewise.
2118 * configure.ac: Likewise.
2119 * configure: Likewise.
2120
811b7636
ML
21212020-05-05 Martin Liska <mliska@suse.cz>
2122
2123 PR gcov-profile/93623
2124 * Makefile.in: Remove __gcov_flush.
2125 * gcov.h (__gcov_flush): Remove.
2126 * libgcov-interface.c (__gcov_flush): Remove.
2127 (init_mx): Use renamed mutex.
2128 (__gcov_lock): Likewise.
2129 (__gcov_unlock): Likewise.
2130 (__gcov_fork): Likewise.
2131 (__gcov_flush): Remove.
2132
c0532db4
ML
21332020-05-05 Martin Liska <mliska@suse.cz>
2134
2135 PR gcov-profile/93623
2136 * libgcov-interface.c (__gcov_fork): Do not flush
2137 and reset only in child process.
2138 (__gcov_execl): Dump counters only and reset them
2139 only if exec* fails.
2140 (__gcov_execlp): Likewise.
2141 (__gcov_execle): Likewise.
2142 (__gcov_execv): Likewise.
2143 (__gcov_execvp): Likewise.
2144 (__gcov_execve): Likewise.
2145
d39f7dc8
ML
21462020-05-05 Martin Liska <mliska@suse.cz>
2147
2148 PR gcov-profile/93623
2149 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2150 * libgcov-interface.c (ALIAS_void_fn): Remove.
2151 (__gcov_lock): New.
2152 (__gcov_unlock): New.
2153 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2154 (__gcov_reset): Likewise.
2155 (__gcov_dump): Likewise.
2156 * libgcov.h (__gcov_lock): New declaration.
2157 (__gcov_unlock): Likewise.
2158
afb9b710
UB
21592020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2160
2161 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2162 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2163 generic division to generate INVALID and DIVZERO exceptions.
2164
66711279
SH
21652020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2166
2167 * config/rs6000/crtresfpr.S: Use .machine ppc.
2168 * config/rs6000/crtresxfpr.S: Likewise.
2169 * config/rs6000/crtsavfpr.S: Likewise.
2170
fb22faf4
SN
21712020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2172
2173 PR target/94514
2174 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2175 Update context->flags accroding to the frame state.
2176
df73e584
UB
21772020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2178
2179 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2180 Remove unneeded assignments to volatile memory.
2181
5b2f76e3
JJ
21822020-04-15 Jakub Jelinek <jakub@redhat.com>
2183
2184 PR target/93053
2185 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2186 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2187 is not defined, use just .arch armv8-a.
2188 (B, M, N, OPN): Define.
2189 (COMMENT): New .macro.
2190 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2191 defined. Otherwise, move the operands right after the glue? and
2192 comment out operands where the macros are used.
2193 * configure: Regenerated.
2194 * config.in: Regenerated.
2195
50c78532
ILT
21962020-04-07 Ian Lance Taylor <iant@golang.org>
2197
2198 PR libgcc/94513
2199 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2200 syscall instead.
2201
458ca332
ILT
22022020-04-04 Ian Lance Taylor <iant@golang.org>
2203
2204 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2205
710d54ed
ILT
22062020-04-03 Ian Lance Taylor <iant@golang.org>
2207
2208 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2209 than mmap/munmap, to avoid hooks.
2210
b749b5ec
JJ
22112020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2212
2213 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2214 (TPFRA_OFFSET): Macros removed.
2215 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2216 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2217 (PG3_SKIPPING_OFFSET): New macros.
2218 (__isPATrange): Use cinfc_fast for the check.
2219 (__isSkipResetAddr): New function.
2220 (s390_fallback_frame_state): Check for skip trace addresses. Use
2221 either ICST_CRET or ICST_SRET to calculate return address
2222 location.
2223 (__tpf_eh_return): Handle skip trace addresses.
2224
a9cd2d78
RE
22252020-03-26 Richard Earnshaw <rearnsha@arm.com>
2226
2227 PR target/94220
2228 * config/arm/lib1funcs.asm (COND): Use a single definition for
2229 unified syntax.
2230 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2231 (aeabi_idivmod): Likewise.
2232 (divsi3_skip_div0_test): Likewise.
2233
f582ca0f
MI
22342020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2235
2236 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2237
068fe0a9
AK
22382020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2239
2240 * config.host: Include the new makefile fragment.
2241 * config/s390/t-tpf: New file.
2242
6b9ce2b4
RE
22432020-03-03 Richard Earnshaw <rearnsha@arm.com>
2244
2245 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2246 syntax.
2247 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2248 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2249 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2250 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2251 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2252 syntax.
2253 (divsi3, modsi3): Likewise.
2254 (clzdi2, ctzsi2): Likewise.
2255 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2256 unified syntax.
2257 (UNWIND_WRAPPER): Likewise.
2258
8dd5d8f3
ML
22592020-03-02 Martin Liska <mliska@suse.cz>
2260
2261 * libgcov-interface.c: Remove duplicate
2262 declaration of __gcov_flush_mx.
2263
ea0b1252
ML
22642020-02-18 Martin Liska <mliska@suse.cz>
2265
2266 PR ipa/92924
2267 * libgcov-merge.c (merge_topn_values_set): Record
2268 when a TOP N counter becomes invalid. When merging
2269 remove a smallest value if the space is needed.
2270
02ce382c
SL
22712020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2272
2273 PR libstdc++/79193
2274 PR libstdc++/88999
2275
2276 * configure: Regenerated.
2277
7214fce3
JL
22782020-02-10 Jeff Law <law@redhat.com>
2279
2280 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2281 sections.
2282 * config/frv/frvend.c: Similarly.
2283
cf0f07ef
L
22842020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2285
2286 PR libgcc/85334
2287 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2288 New.
2289
5602b48b
CL
22902020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2291
2292 PR target/93615
2293 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2294 _Unwind_gnu_Find_got.
2295 * unwind-pe.h: Likewise.
2296
811a475e
JJ
22972020-02-07 Jakub Jelinek <jakub@redhat.com>
2298
2299 PR target/93615
2300 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2301 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2302 trailing :s in asm. Formatting fixes.
2303 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2304
2d33dcfe
SL
23052020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2306
2307 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2308
2309 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2310 * config/nios2-elf-lib.h: New.
2311 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2312 code for finding GOT base for nios2.
2313
3ae37f92
ML
23142020-01-27 Martin Liska <mliska@suse.cz>
2315
2316 PR gcov-profile/93403
2317 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2318 Call __gcov_indirect_call_profiler_body.
2319 (__gcov_indirect_call_profiler_body): New.
2320 (__gcov_indirect_call_profiler_v4_atomic): New.
2321 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2322 New declaration.
2323
2744b8b2
CZ
23242020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2325
2326 * config/arc/crti.S: Add RF16 object attribute.
2327 * config/arc/crtn.S: Likewise.
2328 * config/arc/crttls.S: Likewise.
2329 * config/arc/lib1funcs.S: Likewise.
2330 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2331 * config/arc/lib2funcs.c: New file.
2332 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2333
e8e66971
MR
23342020-01-24 Maciej W. Rozycki <macro@wdc.com>
2335
2336 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2337 * configure.ac: Handle `--with-toolexeclibdir='.
2338 * configure: Regenerate.
2339
54b3d52c
DM
23402020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2341
2342 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2343
a3c1e1f2
DM
23442020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2345
2346 * config/mips/gnustack.h: New file.
2347 * config/mips/crti.S: Include gnustack.h.
2348 * config/mips/crtn.S: Likewise.
2349 * config/mips/mips16.S: Likewise.
2350 * config/mips/vr4120-div.S: Likewise.
2351
e9ee848d
ML
23522020-01-23 Martin Liska <mliska@suse.cz>
2353
2354 * libgcov-driver.c (prune_topn_counter): Remove
2355 check for -1 as we only prune run-time counters
2356 that do not generate an invalid state.
2357
7491c17f
ML
23582020-01-22 Martin Liska <mliska@suse.cz>
2359
2360 PR tree-optimization/92924
2361 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2362 try to find an existing value, then find an empty slot
2363 if not found.
2364
5f32f9cf
ML
23652020-01-22 Martin Liska <mliska@suse.cz>
2366
2367 PR tree-optimization/92924
2368 * libgcov-driver.c (prune_topn_counter): New.
2369 (prune_counters): Likewise.
2370 (dump_one_gcov): Prune a run-time counter.
2371 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2372 For a known value, add GCOV_TOPN_VALUES to value.
2373 Otherwise, decrement all counters by one.
2374
463f6499
HPN
23752020-01-18 Hans-Peter Nilsson <hp@axis.com>
2376
2377 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2378
84479e3a
JDA
23792020-01-18 John David Anglin <danglin@gcc.gnu.org>
2380
2381 PR libgcc/92988
2382 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2383 DEFAULT_USE_CXA_ATEXIT is true.
2384
e953433f 23852020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 2386 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
2387
2388 * config/arm/t-arm: Check return value of gcc rather than lack of
2389 output.
2390
03e87724
GJL
23912020-01-14 Georg-Johann Lay <avr@gjlay.de>
2392
2393 * config/avr/lib1funcs.S (skip): Simplify.
2394
af9bd920
KCY
23952020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2396
2397 * config/gcn/atomic.c: Remove include of stdint.h.
2398 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2399 __UINTPTR_TYPE__.
2400
d6491d15
KCY
24012020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2402
2403 * config/gcn/atomic.c: New.
2404 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2405
f30dd607
GJL
24062020-01-08 Georg-Johann Lay <avr@gjlay.de>
2407
2408 Implement 64-bit double functions.
2409
2410 PR target/92055
2411 * config.host (tmake_file) [target=avr]: Add t-libf7,
2412 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2413 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2414 depending on sizeof (double) or sizeof (long double).
2415 * config/avr/libf7: New folder.
2416
5205a445
OH
24172020-01-05 Olivier Hainque <hainque@adacore.com>
2418
2419 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2420 by IN_LIBGCC2.
2421
8d9254fc
JJ
24222020-01-01 Jakub Jelinek <jakub@redhat.com>
2423
2424 Update copyright years.
2425
abb6c3ee
OH
24262019-12-30 Olivier Hainque <hainque@adacore.com>
2427
2428 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2429 * config/gthr-vxworks-tls.c: Likewise.
2430
d7f5094a
OH
24312019-12-30 Olivier Hainque <hainque@adacore.com>
2432
2433 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2434 standard zero-initializer syntax.
2435
49cfaa2a
OH
24362019-12-30 Olivier Hainque <hainque@adacore.com>
2437
2438 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2439 reference to the internal VX_GET_TLS_DATA interface.
2440
89b9a554
OH
24412019-12-30 Olivier Hainque <hainque@adacore.com>
2442
2443 * config/vxcrtstuff.c: Fix incorrect spelling of
2444 USE_INITFINI_ARRAY in guard.
2445
e8aa9f55
JL
24462019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2447
2448 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2449 Override default "extra_parts" variable.
2450 * configure: Regenerate.
2451 * configure.ac: Disable TM clone registry by default for
2452 msp430-elfbare.
2453
a9046e98
JL
24542019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2455
2456 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2457 "extra_parts".
2458 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2459
34a53788
JL
24602019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2461
2462 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2463 true.
2464
21a098f4
JL
24652019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2466
2467 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2468 defined instead of its value.
2469
ad8b7783
JL
24702019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2471
2472 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2473 if it will have contents.
2474
08d7ff78
GJL
24752019-12-05 Georg-Johann Lay <avr@gjlay.de>
2476
2477 PR target/92055
2478 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2479
3d3a96a2
SN
24802019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2481
34b4d99d 2482 PR libgcc/91737
3d3a96a2
SN
2483 * config.host: Add t-gthr-noweak on *-*-musl*.
2484 * config/t-gthr-noweak: New file.
2485
632b5e3d
JDA
24862019-11-17 John David Anglin <danglin@gcc.gnu.org>
2487
2488 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2489 volatile void *. Remove trap check.
2490 (__kernel_cmpxchg2): Likewise.
2491 (FETCH_AND_OP_2): Adjust operand types.
2492 (OP_AND_FETCH_2): Likewise.
2493 (FETCH_AND_OP_WORD): Likewise.
2494 (OP_AND_FETCH_WORD): Likewise.
2495 (COMPARE_AND_SWAP_2): Likewise.
2496 (__sync_val_compare_and_swap_4): Likewise.
2497 (__sync_bool_compare_and_swap_4): Likewise.
2498 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2499 (__sync_lock_test_and_set_4): Likewise.
2500 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2501 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2502 for release.
2503 (__sync_lock_release_8): Remove.
2504
838fd641
SN
25052019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2506
2507 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2508 of __sigset_t.
2509
27204060
JL
25102019-11-14 Jerome Lambourg <lambourg@adacore.com>
2511 Doug Rupp <rupp@adacore.com>
2512 Olivier Hainque <hainque@adacore.com>
2513
2514 * config.host: Collapse the arm-vxworks entries into
2515 a single arm-wrs-vxworks7* one.
2516 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2517 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2518 kernel modules, to be overriden by libstdc++ when we link with
2519 it. Rely on externally provided __exidx_start/end.
2520
3004f893
DR
25212019-11-14 Doug Rupp <rupp@adacore.com>
2522 Olivier Hainque <hainque@adacore.com>
2523
2524 * config.host: Handle aarch64*-wrs-vxworks7*.
2525
36e5f4d4
OH
25262019-11-12 Olivier Hainque <hainque@adacore.com>
2527
2528 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2529 sources except the cxx0x support to LIB2ADDEH. We don't support
2530 cxx0x on AE/653.
2531 * config/t-vxworksae: New file.
2532 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2533 Makefile fragment files at their expected position in the tmake_file
2534 list, in accordance with what is done for other VxWorks variants.
2535
806dd047
CG
25362019-11-12 Corentin Gay <gay@adacore.com>
2537 Jerome Lambourg <lambourg@adacore.com>
2538 Olivier Hainque <hainque@adacore.com>
2539
2540 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2541 sources to LIB2ADDEH.
2542 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2543 * config/t-vxworks7: Likewise.
2544
2545 * config.host: Append a block at the end of the file to add the
2546 t-gthr files to the tmake_file list for VxWorks after everything
2547 else.
2548
2549 * config/vxlib.c: Rename as gthr-vxworks.c.
2550 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2551
2552 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2553 API and a basic error checking API, both internal. Simplify the
2554 __gthread_once_t type definition and initializers. Add sections
2555 for condition variables support and for the C++0x thread support,
2556 conditioned against Vx653 for the latter.
2557
2558 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2559 implementation, leveraging the TAS internal API.
2560 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2561 API, leveraging the general availability of TLS services in VxWorks7
2562 post SR6xxx.
2563 (__gthread_setspecific, __gthread_setspecific): Use it.
2564 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2565 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2566 support based on VxWorks primitives.
2567 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2568 based on VxWorks primitives.
2569
78e49fb1
JL
25702019-11-06 Jerome Lambourg <lambourg@adacore.com>
2571 Olivier Hainque <hainque@adacore.com>
2572
2573 * config/vxcrtstuff.c: New file.
2574 * config/t-vxcrtstuff: New Makefile fragment.
2575 * config.host: Append t-vxcrtstuff to the tmake_file list
2576 on all VxWorks ports using dwarf for table based EH.
2577
29f3def3
GJL
25782019-11-07 Georg-Johann Lay <avr@gjlay.de>
2579
2580 Support 64-bit double and 64-bit long double configurations.
2581
2582 PR target/92055
2583 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2584 long double is a 32-bit type.
2585 * config/avr/t-avrlibc: Copy double64 and long-double64
2586 multilib(s) from the vanilla one.
2587 * config/avr/t-copy-libgcc: New Makefile snip.
2588
62ec242e
JL
25892019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2590
2591 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2592 the target output object format is not ELF.
2593 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2594
da5c1bbe
OE
25952019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2596
2597 PR libgcc/78804
2598 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2599 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2600 FLOAT_BIT_ORDER_MISMATCH.
2601 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2602
8dc56a22
JW
26032019-11-01 Jim Wilson <jimw@sifive.com>
2604
2605 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2606
91c64455
JL
26072019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2608
2609 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2610 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2611 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2612 Define symbols for 32-bit and f5series hardware multiply
2613 register addresses.
2614 Replace hard-coded register addresses with symbols.
2615 Fix "_mspabi*" typo.
2616 Fix whitespace.
2617 * config/msp430/lib2mul.c: Add comment.
2618
85093ac6
JDA
26192019-10-15 John David Anglin <danglin@gcc.gnu.org>
2620
2621 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2622 unsigned int. Adjust callers.
2623 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2624 unsigned int *. Load relocation offset before function pointer.
2625 Add barrier to ensure ordering.
2626
1aea083d
JDA
26272019-10-12 John David Anglin <danglin@gcc.gnu.org>
2628
2629 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2630 Load PIC register after branch target. Fix white space.
2631 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2632 implementations. Load PIC register after branch target. Don't
2633 clobber function pointer when it points to function descriptor.
2634 Use nullification instead of branch in LINUX implementation.
2635
c49af82c
JDA
26362019-10-03 John David Anglin <danglin@gcc.gnu.org>
2637
2638 * config/pa/fptr.c: Disable -Warray-bounds warning.
2639
88a51d68
RH
26402019-09-25 Richard Henderson <richard.henderson@linaro.org>
2641
9e46fd07
RH
2642 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2643 not the ubuntu modified 2.69.
2644
58d169ba
RH
2645 PR target/91833
2646 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2647 initialization if !HAVE_SYS_AUXV_H.
2648 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2649 * config.in, configure: Rebuild.
2650
88a51d68
RH
2651 PR target/91834
2652 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2653 overlap the inputs.
2654
761e6bb9
SZ
26552019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2656
2657 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2658 CTR_EL0.IDC and CTR_EL0.DIC.
2659
76c93295
CL
26602019-09-20 Christophe Lyon <christophe.lyon@st.com>
2661
2662 Revert:
2663 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2664 Mickaël Guêné <mickael.guene@st.com>
2665
2666 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2667 architecture.
2668
33befddc
RH
26692019-09-19 Richard Henderson <richard.henderson@linaro.org>
2670
2671 * config/aarch64/lse-init.c: New file.
2672 * config/aarch64/lse.S: New file.
2673 * config/aarch64/t-lse: New file.
2674 * config.host: Add t-lse to all aarch64 tuples.
2675
ae1152e5
CL
26762019-09-10 Christophe Lyon <christophe.lyon@st.com>
2677 Mickaël Guêné <mickael.guene@st.com>
2678
84818dbb
CL
2679 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2680 architecture.
2681
26822019-09-10 Christophe Lyon <christophe.lyon@st.com>
2683 Mickaël Guêné <mickael.guene@st.com>
2684
ae1152e5
CL
2685 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2686 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2687 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2688 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2689 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2690 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2691 (__gnu_personality_sigframe_fdpic): New.
2692 (get_eit_entry): Add FDPIC signal frame support.
2693
5d727a4b
CL
26942019-09-10 Christophe Lyon <christophe.lyon@st.com>
2695 Mickaël Guêné <mickael.guene@st.com>
2696
2697 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2698 (__kernel_dmb): Likewise.
2699 (__fdpic_cmpxchg): New function.
2700 (__fdpic_dmb): New function.
2701 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2702 (gnu_Unwind_Find_got): New function.
2703 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2704 * unwind-arm-common.inc (UCB_PR_GOT): New.
2705 (funcdesc_t): New struct.
2706 (get_eit_entry): Add FDPIC support.
2707 (unwind_phase2): Likewise.
2708 (unwind_phase2_forced): Likewise.
2709 (__gnu_Unwind_RaiseException): Likewise.
2710 (__gnu_Unwind_Resume): Likewise.
2711 (__gnu_Unwind_Backtrace): Likewise.
2712 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2713
b1e21e5a 27142019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2715 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2716
11189793
CL
2717 * libgcc/crtstuff.c: Add support for FDPIC.
2718
27192019-09-10 Christophe Lyon <christophe.lyon@st.com>
2720
2721 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2722
91dfef96
JM
27232019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2724
2725 * config.host: Set cpu_type for bpf-*-* targets.
2726 * config/bpf/t-bpf: Likewise.
2727 * config/bpf/crtn.S: Likewise.
2728 * config/bpf/crti.S: New file.
2729
2f4d8951
JW
27302019-09-06 Jim Wilson <jimw@sifive.com>
2731
2732 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2733 (riscv*-*-freebsd*): Likewise.
2734
2f2aeda9
UW
27352019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2736
2737 * config.host: Remove references to spu.
2738 * config/spu/: Remove directory.
2739
d16017da
JL
27402019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2741
2742 PR target/91306
2743 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2744 element type, instead of "sizeof" the element type.
2745 (__DTOR_LIST__): Likewise.
2746 (__TMC_LIST__): Likewise.
2747 (__do_global_dtors_aux_fini_array_entry): Likewise.
2748 (__frame_dummy_init_array_entry): Likewise.
2749 (__CTOR_END__): Likewise.
2750 (__DTOR_END__): Likweise.
2751 (__FRAME_END__): Likewise.
2752 (__TMC_END__): Likewise.
2753
a9fcfec3
HL
27542019-08-20 Lili Cui <lilicui@intel.com>
2755
2756 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2757 INTEL_COREI7_COOPERLAKE.
2758
428642b1
MT
27592019-07-31 Matt Thomas <matt@3am-software.com>
2760 Nick Hudson <nick@nthcliff.demon.co.uk>
2761 Matthew Green <mrg@eterna.com.au>
2762 Maya Rashish <coypu@sdf.org>
2763
2764 * config.host (hppa*-*-netbsd*): New case.
2765 * config/pa/t-netbsd: New file.
2766
f0efd925
JH
27672019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2768
2769 * config/arm/cmse.c (cmse_check_address_range): Add
2770 warn_unused_result attribute.
2771
a861990d
ML
27722019-07-22 Martin Liska <mliska@suse.cz>
2773
2774 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2775 * config/pa/t-stublib: Likewise.
2776
9c0dba7c
SH
27772019-07-22 Stafford Horne <shorne@gmail.com>
2778
2779 PR target/90362
2780 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2781 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2782 instructions are not available on every processor. Change a
2783 l.bnf to l.bf to fix logic issue.
2784
61afc8f8
IS
27852019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2786
2787 * config.host: Remove reference to t-darwin8.
2788
179c7ef5
IS
27892019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2790
2791 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2792 list.
2793 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2794 mmacosx-version-min for crts to run across all system versions.
2795 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2796 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2797 system versions >= 10.4.
2798
596341c7
ML
27992019-07-03 Martin Liska <mliska@suse.cz>
2800
2801 * Makefile.in: Use topn_values instead of one_value names.
2802 * libgcov-merge.c (__gcov_merge_single): Move to ...
2803 (__gcov_merge_topn): ... this.
2804 (merge_single_value_set): Move to ...
2805 (merge_topn_values_set): ... this.
2806 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2807 ...
2808 (__gcov_topn_values_profiler_body): ... this.
2809 (__gcov_one_value_profiler_v2): Move to ...
2810 (__gcov_topn_values_profiler): ... this.
2811 (__gcov_one_value_profiler_v2_atomic): Move to ...
2812 (__gcov_topn_values_profiler_atomic): ... this.
2813 (__gcov_indirect_call_profiler_v4): Remove.
2814 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2815 (__gcov_topn_counter_op): ... this.
2816 * libgcov.h (L_gcov_merge_single): Remove.
2817 (L_gcov_merge_topn): New.
2818 (__gcov_merge_single): Remove.
2819 (__gcov_merge_topn): New.
2820 (__gcov_one_value_profiler_v2): Move to ..
2821 (__gcov_topn_values_profiler): ... this.
2822 (__gcov_one_value_profiler_v2_atomic): Move to ...
2823 (__gcov_topn_values_profiler_atomic): ... this.
2824
1b309ca5
ML
28252019-07-03 Martin Liska <mliska@suse.cz>
2826
2827 * libgcov-merge.c (merge_single_value_set): Support N values.
2828 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2829
5a460280
ID
28302019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2831
2832 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2833 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2834 * configure.ac: Add --disable-tm-clone-registry option.
2835 * configure: Regenerate.
2836
45309d28
ML
28372019-06-27 Martin Liska <mliska@suse.cz>
2838
2839 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2840 dead assignments.
2841 * libgcov-util.c: Likewise.
2842
c2f7a665
ML
28432019-06-27 Martin Liska <mliska@suse.cz>
2844
2845 * libgcov-util.c (gcov_profile_merge): Release allocated
2846 memory.
2847 (calculate_overlap): Likewise.
2848
a8e55c61
IS
28492019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2850
2851 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2852 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2853 Build objects for the out of line save/restore register functions
2854 so that they can be used for any supported Darwin version.
2855 * config/t-darwin: Default the build Darwin version to Darwin8
2856 (MacOS 10.4).
2857
e5ce4cbc
ML
28582019-06-25 Martin Liska <mliska@suse.cz>
2859
2860 * libgcov-driver-system.c (replace_filename_variables): Do not
2861 call strlen with NULL argument.
2862
52a47d28
AS
28632019-06-25 Andrew Stubbs <ams@codesourcery.com>
2864
2865 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2866 * config/gcn/unwind-gcn.c: New file.
2867
76d46331
KCY
28682019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2869 Andrew Stubbs <ams@codesourcery.com>
2870
2871 * configure: Regenerate.
2872 * config/gcn/gthr-gcn.h: New.
2873
787783a0
TV
28742019-06-18 Tom de Vries <tdevries@suse.de>
2875
2876 * config/nvptx/crt0.c (__main): Declare.
2877
f32f7585
MG
28782019-06-17 Matthew Green <mrg@eterna.com.au>
2879 Maya Rashish <coypu@sdf.org>
2880
2881 * config.host (aarch64*-*-netbsd*): New case.
2882
0fcc78f7
JL
28832019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2884
2885 * config/msp430/slli.S (__mspabi_sllll): New library function for
2886 performing a logical left shift of a 64-bit value.
2887 * config/msp430/srai.S (__mspabi_srall): New library function for
2888 performing a arithmetic right shift of a 64-bit value.
2889 * config/msp430/srll.S (__mspabi_srlll): New library function for
2890 performing a logical right shift of a 64-bit value.
2891
b27c1082
MT
28922019-06-14 Matt Thomas <matt@3am-software.com>
2893 Matthew Green <mrg@eterna.com.au>
2894 Nick Hudson <skrll@netbsd.org>
2895 Maya Rashish <coypu@sdf.org>
2896
2897 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2898 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2899 functions to build.
2900 * config/arm/t-netbsd-eabi: New file.
2901
ae7deb4b
DD
29022019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2903
2904 * config.host: Add PRU target.
2905 * config/pru/asri.c: New file.
2906 * config/pru/eqd.c: New file.
2907 * config/pru/eqf.c: New file.
2908 * config/pru/ged.c: New file.
2909 * config/pru/gef.c: New file.
2910 * config/pru/gtd.c: New file.
2911 * config/pru/gtf.c: New file.
2912 * config/pru/led.c: New file.
2913 * config/pru/lef.c: New file.
2914 * config/pru/lib2bitcountHI.c: New file.
2915 * config/pru/lib2divHI.c: New file.
2916 * config/pru/lib2divQI.c: New file.
2917 * config/pru/lib2divSI.c: New file.
2918 * config/pru/libgcc-eabi.ver: New file.
2919 * config/pru/ltd.c: New file.
2920 * config/pru/ltf.c: New file.
2921 * config/pru/mpyll.S: New file.
2922 * config/pru/pru-abi.h: New file.
2923 * config/pru/pru-asm.h: New file.
2924 * config/pru/pru-divmod.h: New file.
2925 * config/pru/sfp-machine.h: New file.
2926 * config/pru/t-pru: New file.
2927
0d7b3e47
JJ
29282019-06-11 Jakub Jelinek <jakub@redhat.com>
2929
2930 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2931
54e2d83c
ML
29322019-06-10 Martin Liska <mliska@suse.cz>
2933
2934 PR bootstrap/90808
2935 * libgcov.h: Add ATTRIBUTE_UNUSED.
2936
92d41717
ML
29372019-06-10 Martin Liska <mliska@suse.cz>
2938
2939 * Makefile.in: Add __gcov_one_value_profiler_v2,
2940 __gcov_one_value_profiler_v2_atomic and
2941 __gcov_indirect_call_profiler_v4.
2942 * libgcov-merge.c (__gcov_merge_single): Change
2943 function signature.
2944 (merge_single_value_set): New.
2945 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2946 Update functionality.
2947 (__gcov_one_value_profiler): Remove.
2948 (__gcov_one_value_profiler_v2): ... this.
2949 (__gcov_one_value_profiler_atomic): Rename to ...
2950 (__gcov_one_value_profiler_v2_atomic): this.
2951 (__gcov_indirect_call_profiler_v3): Rename to ...
2952 (__gcov_indirect_call_profiler_v4): ... this.
2953 * libgcov.h (__gcov_one_value_profiler): Remove.
2954 (__gcov_one_value_profiler_atomic): Remove.
2955 (__gcov_one_value_profiler_v2_atomic): New.
2956 (__gcov_indirect_call_profiler_v3): Remove.
2957 (__gcov_one_value_profiler_v2): New.
2958 (__gcov_indirect_call_profiler_v4): New.
2959 (gcov_get_counter_ignore_scaling): New function.
2960
e37333ba
ML
29612019-06-07 Martin Liska <mliska@suse.cz>
2962
2963 * Makefile.in: Remove usage of
2964 _gcov_merge_icall_topn.
2965 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2966 (gcov_sort_icall_topn_counter): Likewise.
2967 (gcov_sort_topn_counter_arrays): Likewise.
2968 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2969 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2970 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2971 Likewise.
2972 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2973 (struct indirect_call_tuple): Remove.
2974 (__gcov_indirect_call_topn_profiler): Remove.
2975 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2976 * libgcov.h (gcov_sort_n_vals): Remove.
2977 (L_gcov_merge_icall_topn): Likewise.
2978 (__gcov_merge_icall_topn): Likewise.
2979 (__gcov_indirect_call_topn_profiler): Likewise.
2980
34a4a9c2
IS
29812019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2982
2983 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2984 altivec enabled.
2985
d1b2f85f
JL
29862019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2987
2988 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2989 section.
2990 (__mspabi_slli): Likewise.
2991 (__mspabi_slll_n): Likewise.
2992 (__mspabi_slll): Likewise.
2993 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2994 (__mspabi_srai): Likewise.
2995 (__mspabi_sral_n): Likewise.
2996 (__mspabi_sral): Likewise.
2997 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2998 (__mspabi_srli): Likewise.
2999 (__mspabi_srll_n): Likewise.
3000 (__mspabi_srll): Likewise.
3001
e69a13d1
YS
30022019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3003
3004 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3005 Add appropriate tm_file clause as well.
3006 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3007
b009eac1
JC
30082019-06-05 James Clarke <jrtc27@jrtc27.com>
3009
3010 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3011 rather than .data/.bss so it can be accessed via gp-relative
3012 addressing.
3013
781d39f2
DE
30142019-06-05 David Edelsohn <dje.gcc@gmail.com>
3015
3016 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3017 (CR2_REGNO): Rename to R_CR2.
3018 (XER_REGNO): Rename to R_XER.
3019 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3020 (VRSAVE_REGNO): Rename to R_VRSAVE.
3021 (VSCR_REGNO): R_VSCR.
3022
76aaa9cd
YS
30232019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3024
3025 * config.host (rx-*-linux*): Add new case.
3026 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3027
8fc16d72
ST
30282019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3029
3030 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3031 function.
3032 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3033 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3034 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3035 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3036 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3037 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3038 string.
3039 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3040 string.
3041 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3042
e54b1a92
RO
30432019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3044
3045 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3046 Remove Solaris 9 and 10 support.
3047 (sparc_is_sighandler): Likewise.
3048
abbb8307
JDA
30492019-05-26 John David Anglin <danglin@gcc.gnu.org>
3050
3051 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3052
2581344d
L
30532019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3054
3055 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3056 4_FP_W_TYPEs are used for IEEE quad precision.
3057 * soft-fp/extendhftf2.c: Likewise.
3058 * soft-fp/extendsftf2.c: Likewise.
3059 * soft-fp/extendxftf2.c: Likewise.
3060 * soft-fp/trunctfdf2.c: Likewise.
3061 * soft-fp/trunctfhf2.c: Likewise.
3062 * soft-fp/trunctfsf2.c: Likewise.
3063 * soft-fp/trunctfxf2.c: Likewise.
3064 * config/rs6000/ibm-ldouble.c: Likewise.
3065
ccd1242e
RO
30662019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3067
3068 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3069 *-*-solaris2*.
3070 * configure.ac: Likewise.
3071 * configure: Regenerate.
3072
3073 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3074 Solaris 10 and Solaris 11 < snv_125 handling.
3075
ef5eb79d
IS
30762019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3077
3078 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3079
4f0e90fa
HL
30802019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3081
3082 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3083 * config/i386/cpuinfo.h (enum processor_features): Add
3084 FEATURE_AVX512BF16.
3085
48528842
RR
30862019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3087 Bernd Edlinger <bernd.edlinger@hotmail.de>
3088 Jakub Jelinek <jakub@redhat.com>
3089
3090 PR target/89093
3091 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3092 * config/arm/unwind-arm.c: Likewise.
3093 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3094 attribute for ARM.
3095
887e182f
MC
30962019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3097
3098 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3099 (RT_SIGRETURN): Update.
3100 (nds32_fallback_frame_state): Update.
3101
a90b0cdd
MS
31022019-02-21 Martin Sebor <msebor@redhat.com>
3103
3104 * libgcc2.h (__clear_cache): Correct signature.
3105 * libgcc2.c (__clear_cache): Same.
3106
1ed28eda
UB
31072019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3108
3109 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3110 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3111
fe95aee9
UB
31122019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3113
3114 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3115 regno instead of index to DWARF_ZERO_REG.
3116
bf7988f1
EB
31172019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3118
3119 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3120 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3121
ba2c1ca8
UB
31222019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3123
3124 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3125 to HOST_LIBGCC2_CFLAGS.
3126
6395ba73
L
31272019-01-23 Joseph Myers <joseph@codesourcery.com>
3128
3129 PR libgcc/88931
ba2c1ca8 3130 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3131
756721ba
ML
31322019-01-18 Martin Liska <mliska@suse.cz>
3133
3134 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3135 to ...
3136 (__gcov_indirect_call_profiler_v3): ... this.
3137 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3138 (__gcov_indirect_call_profiler_v3): Likewise.
3139 * Makefile.in: Bump function name.
3140
d273c40a
ML
31412019-01-18 Martin Liska <mliska@suse.cz>
3142
3143 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3144 (gcov_version): Use in gcov_error.
3145 (merge_one_data): Likewise.
3146 (dump_one_gcov): Likewise.
3147
be9d9fdb
ML
31482019-01-18 Martin Liska <mliska@suse.cz>
3149
3150 * libgcov-driver.c (gcov_version_string): New function.
3151 (gcov_version): Convert version integer into string.
3152
91d7b7fe
AS
31532019-01-17 Andrew Stubbs <ams@codesourcery.com>
3154 Kwok Cheung Yeung <kcy@codesourcery.com>
3155 Julian Brown <julian@codesourcery.com>
3156 Tom de Vries <tom@codesourcery.com>
3157
3158 * config.host: Recognize amdgcn*-*-amdhsa.
3159 * config/gcn/crt0.c: New file.
3160 * config/gcn/lib2-divmod-hi.c: New file.
3161 * config/gcn/lib2-divmod.c: New file.
3162 * config/gcn/lib2-gcn.h: New file.
3163 * config/gcn/sfp-machine.h: New file.
3164 * config/gcn/t-amdgcn: New file.
3165
67914693
SL
31662019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3167
3168 PR other/16615
3169
3170 * config/c6x/libunwind.S: Mechanically replace "can not" with
3171 "cannot".
3172 * config/tilepro/atomic.h: Likewise.
3173 * config/vxlib-tls.c: Likewise.
3174 * generic-morestack-thread.c: Likewise.
3175 * generic-morestack.c: Likewise.
3176 * mkmap-symver.awk: Likewise.
3177
a5544970
JJ
31782019-01-01 Jakub Jelinek <jakub@redhat.com>
3179
3180 Update copyright years.
3181
da77eace
L
31822018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3183
3184 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3185 to ignore -Waddress-of-packed-member.
3186
72e3a529
TP
31872018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3188
3189 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3190 parameter and corresponding code.
3191 (ARM_FUNC_START): Likewise in both definitions.
3192 Also update footer comment about condition that need to match with
3193 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3194 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3195 defined. Weakly define it in this case.
3196 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3197 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3198 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3199 comment to keep condition in sync with the one in
3200 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3201
5d54c798
WX
32022018-12-18 Wei Xiao <wei3.xiao@intel.com>
3203
3204 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3205 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3206
5a2580b6
RV
32072018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3208
3209 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3210 and .cfi_endproc directives for VxWorks targets.
3211
c0c5112b
PK
32122018-12-05 Paul Koning <ni1d@arrl.net>
3213
3214 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3215
1ea7ea18
AM
32162018-11-27 Alan Modra <amodra@gmail.com>
3217
3218 * config/rs6000/morestack.S (__stack_split_initialize),
3219 (__morestack_get_guard, __morestack_set_guard),
3220 (__morestack_make_guard): Provide CFI covering these functions.
3221 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3222
ff641ae1
XQ
32232018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3224
1ea7ea18 3225 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3226 (sc_pt_regs_lr): Update for kernel.
3227 (sc_pt_regs_tls): Update for kernel.
3228
28209372
XQ
32292018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3230
3231 * config/csky/linux-unwind.h: Fix coding style.
3232
b2a71af6
XQ
32332018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3234
3235 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3236 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3237 instructions to adapt to changes in the kernel
3238
d929e137
SH
32392018-11-09 Stafford Horne <shorne@gmail.com>
3240 Richard Henderson <rth@twiddle.net>
3241
3242 * config.host: Add OpenRISC support.
3243 * config/or1k/*: New.
3244
222cfefa
KC
32452018-11-08 Kito Cheng <kito@andestech.com>
3246
3247 * soft-fp/adddf3.c: Update from glibc.
3248 * soft-fp/addsf3.c: Likewise.
3249 * soft-fp/addtf3.c: Likewise.
3250 * soft-fp/divdf3.c: Likewise.
3251 * soft-fp/divsf3.c: Likewise.
3252 * soft-fp/divtf3.c: Likewise.
3253 * soft-fp/double.h: Likewise.
3254 * soft-fp/eqdf2.c: Likewise.
3255 * soft-fp/eqsf2.c: Likewise.
3256 * soft-fp/eqtf2.c: Likewise.
3257 * soft-fp/extenddftf2.c: Likewise.
3258 * soft-fp/extended.h: Likewise.
3259 * soft-fp/extendhftf2.c: Likewise.
3260 * soft-fp/extendsfdf2.c: Likewise.
3261 * soft-fp/extendsftf2.c: Likewise.
3262 * soft-fp/extendxftf2.c: Likewise.
3263 * soft-fp/fixdfdi.c: Likewise.
3264 * soft-fp/fixdfsi.c: Likewise.
3265 * soft-fp/fixdfti.c: Likewise.
3266 * soft-fp/fixhfti.c: Likewise.
3267 * soft-fp/fixsfdi.c: Likewise.
3268 * soft-fp/fixsfsi.c: Likewise.
3269 * soft-fp/fixsfti.c: Likewise.
3270 * soft-fp/fixtfdi.c: Likewise.
3271 * soft-fp/fixtfsi.c: Likewise.
3272 * soft-fp/fixtfti.c: Likewise.
3273 * soft-fp/fixunsdfdi.c: Likewise.
3274 * soft-fp/fixunsdfsi.c: Likewise.
3275 * soft-fp/fixunsdfti.c: Likewise.
3276 * soft-fp/fixunshfti.c: Likewise.
3277 * soft-fp/fixunssfdi.c: Likewise.
3278 * soft-fp/fixunssfsi.c: Likewise.
3279 * soft-fp/fixunssfti.c: Likewise.
3280 * soft-fp/fixunstfdi.c: Likewise.
3281 * soft-fp/fixunstfsi.c: Likewise.
3282 * soft-fp/fixunstfti.c: Likewise.
3283 * soft-fp/floatdidf.c: Likewise.
3284 * soft-fp/floatdisf.c: Likewise.
3285 * soft-fp/floatditf.c: Likewise.
3286 * soft-fp/floatsidf.c: Likewise.
3287 * soft-fp/floatsisf.c: Likewise.
3288 * soft-fp/floatsitf.c: Likewise.
3289 * soft-fp/floattidf.c: Likewise.
3290 * soft-fp/floattihf.c: Likewise.
3291 * soft-fp/floattisf.c: Likewise.
3292 * soft-fp/floattitf.c: Likewise.
3293 * soft-fp/floatundidf.c: Likewise.
3294 * soft-fp/floatundisf.c: Likewise.
3295 * soft-fp/floatunditf.c: Likewise.
3296 * soft-fp/floatunsidf.c: Likewise.
3297 * soft-fp/floatunsisf.c: Likewise.
3298 * soft-fp/floatunsitf.c: Likewise.
3299 * soft-fp/floatuntidf.c: Likewise.
3300 * soft-fp/floatuntihf.c: Likewise.
3301 * soft-fp/floatuntisf.c: Likewise.
3302 * soft-fp/floatuntitf.c: Likewise.
3303 * soft-fp/gedf2.c: Likewise.
3304 * soft-fp/gesf2.c: Likewise.
3305 * soft-fp/getf2.c: Likewise.
3306 * soft-fp/half.h: Likewise.
3307 * soft-fp/ledf2.c: Likewise.
3308 * soft-fp/lesf2.c: Likewise.
3309 * soft-fp/letf2.c: Likewise.
3310 * soft-fp/muldf3.c: Likewise.
3311 * soft-fp/mulsf3.c: Likewise.
3312 * soft-fp/multf3.c: Likewise.
3313 * soft-fp/negdf2.c: Likewise.
3314 * soft-fp/negsf2.c: Likewise.
3315 * soft-fp/negtf2.c: Likewise.
3316 * soft-fp/op-1.h: Likewise.
3317 * soft-fp/op-2.h: Likewise.
3318 * soft-fp/op-4.h: Likewise.
3319 * soft-fp/op-8.h: Likewise.
3320 * soft-fp/op-common.h: Likewise.
3321 * soft-fp/quad.h: Likewise.
3322 * soft-fp/single.h: Likewise.
3323 * soft-fp/soft-fp.h: Likewise.
3324 * soft-fp/subdf3.c: Likewise.
3325 * soft-fp/subsf3.c: Likewise.
3326 * soft-fp/subtf3.c: Likewise.
3327 * soft-fp/truncdfsf2.c: Likewise.
3328 * soft-fp/trunctfdf2.c: Likewise.
3329 * soft-fp/trunctfhf2.c: Likewise.
3330 * soft-fp/trunctfsf2.c: Likewise.
3331 * soft-fp/trunctfxf2.c: Likewise.
3332 * soft-fp/unorddf2.c: Likewise.
3333 * soft-fp/unordsf2.c: Likewise.
3334 * soft-fp/unordtf2.c: Likewise.
3335
2901f42f
VK
33362018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3337
3338 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3339 * config/i386/cpuinfo.h (processor_types): Add znver2.
3340
4310ca66
PK
33412018-11-01 Paul Koning <ni1d@arrl.net>
3342
3343 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3344 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3345
22e05272
JM
33462018-10-31 Joseph Myers <joseph@codesourcery.com>
3347
3348 PR bootstrap/82856
3349 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3350 * configure: Regenerate.
3351
8180cde0
CZ
33522018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3353
3354 * config/arc/lib1funcs.S (_muldi3): New function.
3355 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3356
be7b071e
RV
33572018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3358
3359 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3360
3239d726
ML
33612018-10-25 Martin Liska <mliska@suse.cz>
3362
3363 PR other/87735
3364 * libgcov-profiler.c: Revert.
3365
19b55958
ML
33662018-10-24 Martin Liska <mliska@suse.cz>
3367
3368 * libgcov-profiler.c: Start from 1 in order to distinguish
3369 functions which were seen and these that were not.
3370
a9a2fddb
PK
33712018-10-18 Paul Koning <ni1d@arrl.net>
3372
3373 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3374 standard.
3375 * divmod.c: Update references to __udivmodsi4.
3376 * udivmod.c: Ditto.
3377 * udivhi3.c: New file.
3378 * udivmodhi4.c: New file.
3379 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3380
fc8abc46
RV
33812018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3382
3383 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3384
87f918e3
OH
33852018-10-12 Olivier Hainque <hainque@adacore.com>
3386
3387 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3388 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3389
be86efa7
PK
33902018-10-08 Paul Koning <ni1d@arrl.net>
3391
3392 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3393
3edbcdbe
ML
33942018-10-04 Martin Liska <mliska@suse.cz>
3395
3396 PR gcov-profile/84107
3397 * libgcov-profiler.c (__gcov_indirect_call):
3398 Change type to indirect_call_tuple.
3399 (struct indirect_call_tuple): New struct.
3400 (__gcov_indirect_call_topn_profiler): Change type.
3401 (__gcov_indirect_call_profiler_v2): Use the new
3402 variables.
3403 * libgcov.h (struct indirect_call_tuple): New struct
3404 definition.
3405
af8096fc
UB
34062018-10-03 Uros Bizjak <ubizjak@gmail.com>
3407
3408 * libgcc2.c (isnan): Use __builtin_isnan.
3409 (isfinite): Use __builtin_isfinite.
3410 (isinf): Use __builtin_isinf.
3411
0a76bba4
UB
34122018-09-26 Uros Bizjak <ubizjak@gmail.com>
3413
3414 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3415
5244089f
OH
34162018-09-21 Alexandre Oliva <oliva@adacore.com>
3417
3418 * config/vxcache.c: New file. Provide __clear_cache, based on
3419 the cacheTextUpdate VxWorks service.
3420 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3421 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3422 * config/t-vxwoks7: Likewise.
3423
512cc015
ML
34242018-09-21 Martin Liska <mliska@suse.cz>
3425
3426 * libgcov-driver.c (crc32_unsigned): Remove.
3427 (gcov_histogram_insert): Likewise.
3428 (gcov_compute_histogram): Likewise.
3429 (compute_summary): Simplify rapidly.
3430 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3431 (merge_summary): Rapidly simplify.
3432 (dump_one_gcov): Ignore gcov_summary.
3433 (gcov_do_dump): Do not handle program summary, it's not
3434 used.
3435 * libgcov-util.c (tag_summary): Remove.
3436 (read_gcda_finalize): Fix coding style.
3437 (read_gcda_file): Initialize curr_object_summary.
3438 (compute_summary): Remove.
3439 (calculate_overlap): Remove settings of run_max.
3440
36ff254b
MC
34412018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3442
3443 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3444 ucontext_t type instead.
3445 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3446
229a033d
KC
34472018-09-21 Kito Cheng <kito.cheng@gmail.com>
3448
3449 * config/nds32/t-nds32-glibc: New file.
3450
53c6feb2
RO
34512018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3452
3453 * configure.ac (solaris_ld_v2_maps): New test.
3454 * configure: Regenerate.
3455 * Makefile.in (solaris_ld_v2_maps): New variable.
3456 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3457 if supported.
3458
ebdb6f23
RE
34592018-08-23 Richard Earnshaw <rearnsha@arm.com>
3460
3461 PR target/86951
3462 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3463 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3464 to build.
3465
a49c064e
IS
34662018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3467
1ea7ea18 3468 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3469 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3470 * config/darwin10-unwind-find-enc-func.c: … to here.
3471 * config/t-darwin: Build Darwin10 unwinder shim crt.
3472 * libgcc/config.host: Add the Darwin10 unwinder shim.
3473
9a5b8df7
RV
34742018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3475
3476 * config.host: Add crtbegin.o and crtend.o for
3477 powerpc-wrs-vxworks target.
3478
4cd0bc3b
J
34792018-08-17 Jojo <jijie_rong@c-sky.com>
3480 Huibin Wang <huibin_wang@c-sky.com>
3481 Sandra Loosemore <sandra@codesourcery.com>
3482 Chung-Lin Tang <cltang@codesourcery.com>
3483
3484 C-SKY port: libgcc
3485
3486 * config.host: Add C-SKY support.
3487 * config/csky/*: New.
3488
a4931745
CJW
34892018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3490
3491 * config/nds32/t-nds32-isr: Rearrange object dependency.
3492 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3493 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3494 and registers usage.
3495 * config/nds32/isr-library/excp_isr.S: Ditto.
3496 * config/nds32/isr-library/intr_isr.S: Ditto.
3497 * config/nds32/isr-library/reset.S: Ditto.
3498 * config/nds32/isr-library/restore_all.inc: Ditto.
3499 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3500 * config/nds32/isr-library/restore_partial.inc: Ditto.
3501 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3502 * config/nds32/isr-library/save_all.inc: Ditto.
3503 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3504 * config/nds32/isr-library/save_partial.inc: Ditto.
3505 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3506 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3507
2b1969f6
JDA
35082018-08-11 John David Anglin <danglin@gcc.gnu.org>
3509
3510 * config/pa/linux-atomic.c: Update comment.
3511 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3512 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3513 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3514 __ATOMIC_RELAXED for atomic loads.
3515 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3516 unordered store to release lock.
3517 (__sync_lock_release_8): Likewise.
3518 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3519
89fff9cc
NP
35202018-08-02 Nicolas Pitre <nico@fluxnic.net>
3521
3522 PR libgcc/86512
3523 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3524 exponent goes negative. Update my email address.
3525 * config/arm/ieee754-sf.S: Likewise.
3526
fd2e1dcd
ML
35272018-08-01 Martin Liska <mliska@suse.cz>
3528
3529 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3530 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3531
b7415975
CL
35322018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3533
3534 * config/arm/ieee754-df.S: Fix comment for code working on
3535 architectures >= 4.
3536 * config/arm/ieee754-sf.S: Likewise.
3537
b72e71a3
L
35382018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3539
3540 PR libgcc/85334
3541 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3542 Removed.
3543
1c686aa4
JC
35442018-07-05 James Clarke <jrtc27@jrtc27.com>
3545
3546 * configure: Regenerated.
3547
b61c9b99
RO
35482018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3549
3550 * Makefile.in (install_leaf): Use enable_gcov instead of
3551 enable_libgcov.
3552
1765b023
RV
35532018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3554
3555 * configure.ac: Add --disable-gcov option.
3556 * configure: Regenerate.
3557 * Makefile.in: Honour @enable_gcov@.
3558
9b2e34ef
CL
35592018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3560
3561 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3562 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3563 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3564 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3565 __ARM_ARCH__.
3566 * config/arm/ieee754-sf.S: Likewise.
3567 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3568
d1b0dd54
CL
35692018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3570
3571 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3572 longer supported.
3573 * config/arm/ieee754-sf.S: Likewise.
3574
1f3fa525
TM
35752018-06-20 Than McIntosh <thanm@google.com>
3576
3577 PR libgcc/86213
3578 * generic-morestack.c (allocate_segment): Move calls to getenv and
3579 getpagesize to __morestack_load_mmap.
3580 (__morestack_load_mmap) Initialize static_pagesize and
3581 use_guard_page here so as to avoid clobbering SSE regs during a
3582 __morestack call.
3583
6a8886e4
MM
35842018-06-18 Michael Meissner <meissner@linux.ibm.com>
3585
3586 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3587 support modules with -mno-gnu-attribute.
3588 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3589
fb997097
OH
35902018-06-07 Olivier Hainque <hainque@adacore.com>
3591
3592 * config/t-vxworks (LIBGCC_INCLUDES): Add
3593 -I$(MULTIBUILDTOP)../../gcc/include.
3594 * config/t-vxworks7: Likewise. Reformat a bit to match
3595 the t-vxworks layout.
3596
a548a5a1
OM
35972018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3598
3599 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3600
244aebfd
ML
36012018-06-07 Martin Liska <mliska@suse.cz>
3602
3603 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3604 all_prg.
244aebfd 3605
6c086e8c
ML
36062018-06-07 Martin Liska <mliska@suse.cz>
3607
92a285c1 3608 PR bootstrap/86057
6c086e8c 3609 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3610 memcpy instead of mempcpy.
6c086e8c 3611 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3612 prefix and set it.
6c086e8c 3613 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3614 here and properly copy content into it.
6c086e8c 3615 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3616 field, change prefix from size_t into char *.
6c086e8c
ML
3617 (compute_summary): Do not calculate longest filename.
3618 (gcov_do_dump): Release memory of gf.filename after each file.
3619 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3620 compute_summary.
6c086e8c
ML
3621 (calculate_overlap): Likewise.
3622
97a53d1d
ML
36232018-06-05 Martin Liska <mliska@suse.cz>
3624
3625 PR gcov-profile/47618
3626 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3627 function.
97a53d1d
ML
3628 (gcov_exit_open_gcda_file): Use it.
3629
7f3577f5
ML
36302018-06-05 Martin Liska <mliska@suse.cz>
3631
3632 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3633 of gcov_ctr_summary.
3634 (compute_summary): Do it just for a single summary.
3635 (merge_one_data): Likewise.
3636 (merge_summary): Simplify as we read just single summary.
3637 (dump_one_gcov): Pass proper argument.
3638 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3639 single summary.
3640 (gcov_info_count_all_cold): Likewise.
3641 (calculate_overlap): Likewise.
3642
cf3cd43d
CJW
36432018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3644 Monk Chiang <sh.chiang04@gmail.com>
3645
3646 * config.host (nds32*-linux*): New.
3647 * config/nds32/linux-atomic.c: New file.
3648 * config/nds32/linux-unwind.h: New file.
3649
8b8003ed
UB
36502018-05-31 Uros Bizjak <ubizjak@gmail.com>
3651
3652 PR target/85591
3653 * config/i386/cpuinfo.c (get_amd_cpu): Return
3654 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3655
bbdf026f
RV
36562018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3657
92a285c1 3658 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 3659
0e8f29da
ML
36602018-05-29 Martin Liska <mliska@suse.cz>
3661
92a285c1 3662 PR gcov-profile/85759
0e8f29da 3663 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 3664 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 3665 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 3666 overwrite a gcov file with a different timestamp.
0e8f29da 3667
54fd1590
K
36682018-05-23 Kalamatee <kalamatee@gmail.com>
3669
3670 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3671 path to Lf$finfty.
3672
09baee1a
KC
36732018-05-18 Kito Cheng <kito.cheng@gmail.com>
3674 Monk Chiang <sh.chiang04@gmail.com>
3675 Jim Wilson <jimw@sifive.com>
3676
3677 * config/riscv/save-restore.S: Add support for rv32e.
3678
c3f808d3
KT
36792018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3680
3681 * config/arm/libunwind.S: Update comment relating to armv5.
3682
fcf4f831
JL
36832018-05-17 Jerome Lambourg <lambourg@adacore.com>
3684
3685 * config/arm/cmse.c (cmse_check_address_range): Replace
3686 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3687
74b2bb19
OM
36882018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3689
3690 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3691 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3692
50e461df
OM
36932018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3694
3695 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3696 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3697
e5f1cdb1
AC
36982018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3699
3700 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3701
8f479d7a
AT
37022018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3703 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3704
3705 PR libgcc/84292
3706 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3707 op_and_fetch to return the right result.
3708
ae043291
AM
37092018-04-27 Alan Modra <amodra@gmail.com>
3710
3711 PR libgcc/85532
3712 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3713 -fno-asynchronous-unwind-tables.
3714
ba169b74
CJW
37152018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3716
3717 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3718 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3719
ffc2fc06
L
37202018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3721
3722 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3723 when including "config/i386/shadow-stack-unwind.h".
3724
7b47ecf2
L
37252018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 * configure: Regenerated.
3728
661eb8f9
MM
37292018-04-20 Michael Meissner <meissner@linux.ibm.com>
3730
3731 PR target/85456
3732 * config/rs6000/_powikf2.c: New file. Add support for the
3733 __builtin_powil function when long double is IEEE 128-bit floating
3734 point.
3735 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3736 __powikf2 support.
3737 (__powikf2): Likewise.
3738 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3739 (__powikf2_hw): Likewise.
3740 (__powikf2): Likewise.
3741 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3742 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3743 (_powikf2-hw.c): Likewise.
3744
5707be3c
L
37452018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3746
3747 PR libgcc/85334
3748 * unwind-generic.h (_Unwind_Frames_Increment): New.
3749 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3750 Likewise.
3751 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3752 count with _Unwind_Frames_Increment.
3753 (_Unwind_ForcedUnwind_Phase2): Likewise.
3754
5f9ca0b8
L
37552018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3756
3757 PR libgcc/85379
3758 * config/i386/morestack.S (__stack_split_initialize): Add
3759 _CET_ENDBR.
3760
a0e1df88
JJ
37612018-04-19 Jakub Jelinek <jakub@redhat.com>
3762
3763 * configure: Regenerated.
3764
001ddaa8
DM
37652018-04-18 David Malcolm <dmalcolm@redhat.com>
3766
3767 PR jit/85384
3768 * configure: Regenerate.
3769
a57f99ba
JJ
37702018-04-16 Jakub Jelinek <jakub@redhat.com>
3771
3772 PR target/84945
3773 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3774 -Wdangling-else warnings. Mask shift counts to avoid
3775 -Wshift-count-negative and -Wshift-count-overflow false positives.
3776
4d47fe5a
RB
37772018-04-06 Ruslan Bukin <br@bsdpad.com>
3778
3779 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3780
059cc8ac
L
37812018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3782
3783 PR target/85100
3784 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3785 (XSTATE_FP): Likewise.
3786 (XSTATE_SSE): Likewise.
3787 (XSTATE_YMM): Likewise.
3788 (XSTATE_OPMASK): Likewise.
3789 (XSTATE_ZMM): Likewise.
3790 (XSTATE_HI_ZMM): Likewise.
3791 (XCR_AVX_ENABLED_MASK): Likewise.
3792 (XCR_AVX512F_ENABLED_MASK): Likewise.
3793 (get_available_features): Enable AVX and AVX512 features only
3794 if their states are supported by OSXSAVE.
3795
f2620385
IT
37962018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3797
3798 PR target/85025
3799 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3800 Fix a typo, tmp => 255.
3801
ae6dca8c
JJ
38022018-03-20 Jakub Jelinek <jakub@redhat.com>
3803
3804 PR target/84945
3805 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3806 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3807 ifndef SHARED only.
3808 (set_feature): Define.
3809 (get_available_features): Use set_feature macro. Set __cpu_features2
3810 to the second word of features ifndef SHARED.
3811
c36b04c1
JK
38122018-03-15 Julia Koval <julia.koval@intel.com>
3813
3814 * config/i386/cpuinfo.c (get_available_features): Add
3815 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3816 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3817 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3818 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3819 FEATURE_AVX512BITALG.
3820
79ab5364
JK
38212018-03-14 Julia Koval <julia.koval@intel.com>
3822
3823 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3824 icelake client and icelake server.
3825
66a00b11
JDA
38262018-03-06 John David Anglin <danglin@gcc.gnu.org>
3827
3828 * config/pa/fptr.c (_dl_read_access_allowed): New.
3829 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3830
ce579a4f
JJ
38312018-02-28 Jakub Jelinek <jakub@redhat.com>
3832
3833 PR debug/83917
3834 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3835 $asm_hidden_op if visibility ("hidden") attribute works.
3836 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3837 * config/i386/i386-asm.h: Don't include auto-host.h.
3838 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3839 PACKAGE_URL): Don't undefine.
3840 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3841 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3842 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3843 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3844 definition instead of hardcoded .hidden.
3845 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3846 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3847 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3848 (USE_GAS_CFI_DIRECTIVES): Don't define.
3849 * configure: Regenerated.
3850 * config.in: Likewise.
3851
e5868319
JJ
38522018-02-26 Jakub Jelinek <jakub@redhat.com>
3853
3854 PR debug/83917
3855 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3856 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3857 inclusion of auto-target.h and auto-host.h.
3858 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3859 __GCC_HAVE_DWARF2_CFI_ASM.
3860 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3861 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3862 cfi_pop): Define.
3863 * config/i386/cygwin.S: Don't include auto-host.h here, just
3864 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3865 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3866 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3867 * config/i386/resms64fx.h: Add cfi_* directives.
3868 * config/i386/resms64x.h: Likewise.
3869
faef260e
MF
38702018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3871
3872 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3873 .literal_position directive.
3874 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3875
14e335ed
IT
38762018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3877
3878 PR target/84148
3879 * configure: Regenerate.
3880
95df0433
IT
38812018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3882
3883 PR target/84239
3884 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3885 Include cetintrin.h not x86intrin.h.
3886
f8de876d
IT
38872018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3888
3889 PR target/84239
95df0433 3890 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3891 Use new _get_ssp and _inc_ssp intrinsics.
3892
02da1e9c
JK
38932018-02-02 Julia Koval <julia.koval@intel.com>
3894
3895 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3896
048c6a9a
CZ
38972018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3898
3899 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3900 option.
3901 (__divsi3): Use RF16 safe registers.
3902 (__modsi3): Likewise.
3903
0889f168
MF
39042018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3905
3906 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3907 (__divsf3): Make NaN return value quiet.
3908 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3909 (__divdf3): Make NaN return value quiet.
3910
bc8b0d04
SP
39112018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3912
3913 * config/rl78/anddi3.S: New assembly file.
3914 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3915
99cc06ea
SP
39162018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3917
3918 * config/rl78/umindi3.S: New assembly file.
3919 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3920
6e9007a0
SP
39212018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3922
3923 * config/rl78/smindi3.S: New assembly file.
3924 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3925
d975e494 39262018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3927
d975e494
SP
3928 * config/rl78/smaxdi3.S: New assembly file.
3929 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3930
6a18c146 39312018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3932
5dd16013
SP
3933 * config/rl78/umaxdi3.S: New assembly file.
3934 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3935
07baf4a5
JDA
39362018-01-21 John David Anglin <danglin@gcc.gnu.org>
3937
3938 PR lto/83452
3939 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3940 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3941
dbc3af4f
RS
39422018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3943
3944 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3945 (DWARF_LAZY_REGISTER_VALUE): Define.
3946 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3947 to provide a fallback register value.
3948
68df9882
MM
39492018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3950
3951 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3952 __ibm128, instead of trying to use long double.
3953 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3954 accomidate -mabi=ieeelongdouble multilibs.
3955 (CVT_IBM128_TO_FLOAT128): Likewise.
3956 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3957 the appropriate IBM extended double type.
3958 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3959 (__gcc_qsub): Likewise.
3960 (__gcc_qmul): Likewise.
3961 (__gcc_qdiv): Likewise.
3962 (pack_ldouble): Likewise.
3963 (__gcc_qneg): Likewise.
3964 (__gcc_qeq): Likewise.
3965 (__gcc_qne): Likewise.
3966 (__gcc_qge): Likewise.
3967 (__gcc_qle): Likewise.
3968 (__gcc_stoq): Likewise.
3969 (__gcc_dtoq): Likewise.
3970 (__gcc_itoq): Likewise.
3971 (__gcc_utoq): Likewise.
3972 (__gcc_qunord): Likewise.
3973 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3974 quad-float128.h for the definitions.
3975 (COPYSIGN): Use the f128 version instead of the q version.
3976 (INFINITY): Likewise.
3977 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3978 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3979 quad-float128.h for the definitions.
3980 (COPYSIGN): Use the f128 version instead of the q version.
3981 (INFINITY): Likewise.
3982 (FABS): Likewise.
3983 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3984 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3985 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3986
64b371b1
SH
39872018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3988
3989 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3990 configuration.
3991
85ec4feb
JJ
39922018-01-03 Jakub Jelinek <jakub@redhat.com>
3993
3994 Update copyright years.
3995
39962017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3997
3998 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3999 * config/riscv/multi3.c: New file.
4000 * config/riscv/multi3.S: Remove.
4001
3a4c600f
JW
40022017-12-08 Jim Wilson <jimw@sifive.com>
4003
4004 * config/riscv/div.S: Use FUNC_* macros.
4005 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4006 * config/riscv/save-restore.S: Likewise.
4007 * config/riscv/riscv-asm.h: New.
4008
75ad35b5
MM
40092017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4010
6ae3512c
MM
4011 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4012 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4013
75ad35b5
MM
4014 PR libgcc/83112
4015 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4016 correct type for all ifunc resolvers to silence -Wattribute-alias
4017 warnings. Eliminate the forward declaration of the resolver
4018 functions which is no longer needed.
4019 (__subkf3_resolve): Likewise.
4020 (__mulkf3_resolve): Likewise.
4021 (__divkf3_resolve): Likewise.
4022 (__negkf2_resolve): Likewise.
4023 (__eqkf2_resolve): Likewise.
4024 (__nekf2_resolve): Likewise.
4025 (__gekf2_resolve): Likewise.
4026 (__gtkf2_resolve): Likewise.
4027 (__lekf2_resolve): Likewise.
4028 (__ltkf2_resolve): Likewise.
4029 (__unordkf2_resolve): Likewise.
4030 (__extendsfkf2_resolve): Likewise.
4031 (__extenddfkf2_resolve): Likewise.
4032 (__trunckfsf2_resolve): Likewise.
4033 (__trunckfdf2_resolve): Likewise.
4034 (__fixkfsi_resolve): Likewise.
4035 (__fixkfdi_resolve): Likewise.
4036 (__fixunskfsi_resolve): Likewise.
4037 (__fixunskfdi_resolve): Likewise.
4038 (__floatsikf_resolve): Likewise.
4039 (__floatdikf_resolve): Likewise.
4040 (__floatunsikf_resolve): Likewise.
4041 (__floatundikf_resolve): Likewise.
4042 (__extendkftf2_resolve): Likewise.
4043 (__trunctfkf2_resolve): Likewise.
4044
4045 PR libgcc/83103
4046 * config/rs6000/quad-float128.h (TF): Don't define if long double
4047 is IEEE 128-bit floating point.
4048 (TCtype): Define as either TCmode or KCmode, depending on whether
4049 long double is IEEE 128-bit floating point.
4050 (__mulkc3_sw): Add declarations for software/hardware versions of
4051 complex multiply/divide.
4052 (__divkc3_sw): Likewise.
4053 (__mulkc3_hw): Likewise.
4054 (__divkc3_hw): Likewise.
4055 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4056 handlers to switch between using software emulation and hardware
4057 float128 instructions, build the complex multiply/divide functions
4058 for both software and hardware support.
4059 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4060 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4061 (__divkc3_resolve): Likewise.
4062 (__mulkc3): Likewise.
4063 (__divkc3): Likewise.
4064 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4065 (fp128_hw_src): Likewise.
4066 (fp128_hw_static_obj): Likewise.
4067 (fp128_hw_shared_obj): Likewise.
4068 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4069 _mulkc3.c and _divkc3.c, changing the function name.
4070 (_divkc3-hw.c): Likewise.
4071 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4072 and _divkc3-hw.c.
4073
c234d831
UB
40742017-11-26 Julia Koval <julia.koval@intel.com>
4075
4076 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4077 * config/i386/cpuinfo.h (processor_subtypes): Add
4078 INTEL_COREI7_CANNONLAKE.
4079
1ebafce0
IT
40802017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4081
4082 PR bootstrap/83015
4083 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4084 parameter.
4085 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4086 * config/ia64/unwind-ia64.c: Add frames parameter.
4087 * unwind-sjlj.c: Likewise.
4088
6a10fff4
IT
40892017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4090
4091 * config/i386/linux-unwind.h: Include
4092 config/i386/shadow-stack-unwind.h.
4093 * config/i386/shadow-stack-unwind.h: New file.
4094 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4095 pass it to _Unwind_Frames_Extra.
4096 * unwind-generic.h (_Unwind_Frames_Extra): New.
4097 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4098 parameter. Add local variable frames to count number of frames.
4099 (_Unwind_ForcedUnwind_Phase2): Likewise.
4100 (_Unwind_RaiseException): Add local variable frames to count
4101 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4102 uw_install_context.
4103 (_Unwind_ForcedUnwind): Likewise.
4104 (_Unwind_Resume): Likewise.
4105 (_Unwind_Resume_or_Rethrow): Likewise.
4106
1ecae1fc
IT
41072017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4108
4109 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4110 (CET_FLAGS): New.
4111 * config/i386/morestack.S: Include <cet.h>.
4112 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4113 * config/i386/resms64.h: Include <cet.h>.
4114 * config/i386/resms64f.h: Likewise.
4115 * config/i386/resms64fx.h: Likewise.
4116 * config/i386/resms64x.h: Likewise.
4117 * config/i386/savms64.h: Likewise.
4118 * config/i386/savms64f.h: Likewise.
4119 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4120 (CRTSTUFF_T_CFLAGS): Likewise.
4121 * configure.ac: Include ../config/cet.m4.
4122 Set and substitute CET_FLAGS.
4123 * configure: Regenerated.
4124
f021f1d3
RO
41252017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4126
4127 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4128 renaming.
4129 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4130 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4131 * configure: Regenerate.
4132
65f480c7
TV
41332017-11-07 Tom de Vries <tom@codesourcery.com>
4134
4135 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4136 after "do {} while (0)".
4137
2a321acb
TV
41382017-11-07 Tom de Vries <tom@codesourcery.com>
4139
4140 PR other/82784
4141 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4142 semicolon after "do {} while (0)".
4143 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4144 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4145 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4146 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4147
59fcf6c3
AT
41482017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4149
4150 PR libgcc/82635
4151 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4152 sysctl to determine whether we're in a trampoline.
4153 Keep the pattern matching method for systems without
4154 KERN_PROC_SIGTRAMP sysctl.
4155
b0c7ddf8
CM
41562017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4157 Vineet Gupta <vgupta@synopsys.com>
4158
4159 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4160 * config/arc/linux-unwind-reg.def: New file.
4161 * config/arc/linux-unwind-reg.h: Likewise.
4162
5feee954
SP
41632017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4164
4165 * config/rl78/subdi3.S: New assembly file.
4166 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4167
a0bf6cf7
SP
41682017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4169
4170 * config/rl78/adddi3.S: New assembly file.
4171 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4172
e7176f75
JJ
41732017-10-13 Jakub Jelinek <jakub@redhat.com>
4174
4175 PR target/82274
4176 * libgcc2.c (__mulvDI3): If both operands have
4177 the same highpart of -1 and the topmost bit of lowpart is 0,
4178 multiplication overflows even if both lowparts are 0.
4179
db6601d2
JB
41802017-09-28 James Bowman <james.bowman@ftdichip.com>
4181
4182 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4183
938b6f1e
JM
41842017-09-26 Joseph Myers <joseph@codesourcery.com>
4185
4186 * config/microblaze/crti.S, config/microblaze/crtn.S,
4187 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4188 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4189 config/microblaze/mulsi3.S,
4190 config/microblaze/stack_overflow_exit.S,
4191 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4192 config/pa/milli64.S: Add .note.GNU-stack section.
4193
89762a83
DS
41942017-09-23 Daniel Santos <daniel.santos@pobox.com>
4195
4196 * configure.ac: Add Check for HAVE_AS_AVX.
4197 * config.in: Regenerate.
4198 * configure: Likewise.
4199 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4200 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4201 Correct out-of-date comments.
4202
cace2309
SP
42032017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4204
4205 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4206 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4207
3cb626e4
DS
42082017-09-17 Daniel Santos <daniel.santos@pobox.com>
4209
cace2309 4210 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4211 (ASMNAME): Modify to use PASTE2.
4212 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4213 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4214 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4215 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4216 * config/i386/resms64f.S: Likewise.
4217 * config/i386/resms64fx.S: Likewise.
4218 * config/i386/resms64x.S: Likewise.
4219 * config/i386/savms64.S: Likewise.
4220 * config/i386/savms64f.S: Likewise.
4221 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4222 includes it's corresponding header file.
cace2309
SP
4223 * config/i386/avx_resms64f.S: Likewise.
4224 * config/i386/avx_resms64fx.S: Likewise.
4225 * config/i386/avx_resms64x.S: Likewise.
4226 * config/i386/avx_savms64.S: Likewise.
4227 * config/i386/avx_savms64f.S: Likewise.
4228 * config/i386/sse_resms64.S: Likewise.
4229 * config/i386/sse_resms64f.S: Likewise.
4230 * config/i386/sse_resms64fx.S: Likewise.
4231 * config/i386/sse_resms64x.S: Likewise.
4232 * config/i386/sse_savms64.S: Likewise.
4233 * config/i386/sse_savms64f.S: Likewise.
4234 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4235
2f19c491 42362017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4237 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4238
611e7036
OH
42392017-08-31 Olivier Hainque <hainque@adacore.com>
4240
4241 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4242 match as powerpc-wrs-vxworks*.
4243
c8f34527
JY
42442017-08-07 Jonathan Yong <10walls@gmail.com>
4245
4246 * config.host (*-cygwin): Include file from mingw
4247 config/i386/enable-execute-stack-mingw32.c
4248
0b458d2b 42492017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
4250 Doug Rupp <rupp@adacore.com>
4251 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
4252
4253 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4254 as well as arm-wrs-vxworks.
4255 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4256 LIB2ADDEH.
4257 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4258 __exidx_start and __exidx_end for downloadable modules.
4259
4df612fa
OH
42602017-08-01 Olivier Hainque <hainque@adacore.com>
4261
4262 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4263 * config/t-vxworks7: Likewise.
4264
5560e8c0
OH
42652017-08-01 Olivier Hainque <hainque@adacore.com>
4266
4267 * config/t-vxworks: Instead of redefining LIB2ADD,
4268 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4269
16bab95a
SH
42702017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4271
4272 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4273
9cbc07cc
DS
42742017-07-24 Daniel Santos <daniel.santos@pobox.com>
4275
4276 PR testsuite/80759
4277 * config.host: include i386/t-msabi for darwin and solaris.
4278 * config/i386/i386-asm.h
4279 (ELFFN): Rename to FN_TYPE.
4280 (FN_SIZE): New macro.
4281 (FN_HIDDEN): Likewise.
4282 (ASMNAME): Likewise.
4283 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4284 .globl.
4285 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4286 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4287 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4288 .macro.
4289 * config/i386/resms64f.S: Likewise.
4290 * config/i386/resms64fx.S: Likewise.
4291 * config/i386/resms64x.S: Likewise.
4292 * config/i386/savms64.S: Likewise.
4293 * config/i386/savms64f.S: Likewise.
4294
de742204
JM
42952017-07-19 John Marino <gnugcc@marino.st>
4296
4297 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4298
3787ee47
MM
42992017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4300
4301 PR target/81193
4302 * configure.ac (PowerPC float128 hardware support): Test whether
4303 we can use __builtin_cpu_supports before enabling the ifunc
4304 handler.
4305 * configure: Regenerate.
4306
b1938888
VG
43072017-07-10 Vineet Gupta <vgupta@synopsys.com>
4308
4309 * config.host: Remove uclibc from arc target spec.
4310
bec75e53
KW
43112017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4312
4313 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4314
d4391a62
PB
43152017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4316
4317 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4318 (have_ieee_hw_p): Delete function.
4319 (SW_OR_HW) Use __builtin_cpu_supports().
4320
9296dd9b
TP
43212017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4322
4323 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4324
b85a969e
OH
43252017-07-03 Olivier Hainque <hainque@adacore.com>
4326
d4391a62 4327 * config/t-vxworks7: New file, really.
b85a969e 4328
883312dc
JM
43292017-06-28 Joseph Myers <joseph@codesourcery.com>
4330
4331 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4332 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4333 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4334 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4335 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4336 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4337 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4338 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4339 config/sh/linux-unwind.h (sh_fallback_frame_state),
4340 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4341 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4342 ucontext_t instead of struct ucontext.
4343
50567938
JL
43442017-06-27 Jerome Lambourg <lambourg@adacore.com>
4345
4346 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4347 (x86_64-wrs-vxworks7): Likewise.
4348
e4b0df93
OH
43492017-06-27 Olivier Hainque <hainque@adacore.com>
4350
4351 * config/t-vxworks7: New file.
4352 * config.host (*-*-vxworks7): Use it.
4353
60edf8bb
MT
43542017-06-22 Matt Turner <mattst88@gmail.com>
4355
4356 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4357 skylake case.
4358
a51a76e5
RB
43592017-06-21 Richard Biener <rguenther@suse.de>
4360
4361 PR gcov-profile/81080
4362 * configure.ac: Add AC_SYS_LARGEFILE.
4363 * libgcov.h: Include auto-target.h before tsystem.h to pick
4364 up _FILE_OFFSET_BITS which might differ for multilibs.
4365 * config.in: Regenerate.
4366 * configure: Likewise.
4367
f0cd49c5
RE
43682017-06-16 Richard Earnshaw <rearnsha@arm.com>
4369
4370 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4371
4f751c54
ML
43722017-06-09 Martin Liska <mliska@suse.cz>
4373
4374 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4375 Reset __gcov_indirect_call_callee to NULL.
4376
1ac644c8
OH
43772017-06-08 Olivier Hainque <hainque@adacore.com>
4378
4379 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4380 the set of -I options, support for direct inclusions of net/uio.h
4381 by VxWorks header files via ioLib.h.
4382
d8b9cd27
TR
43832017-06-07 Tony Reix <tony.reix@atos.net>
4384 Matthieu Sarter <matthieu.sarter.external@atos.net>
4385 David Edelsohn <dje.gcc@gmail.com>
4386
92a285c1
ML
4387 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4388 unconditionally.
4389 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4390 AIX 7.2 support.
d8b9cd27 4391
38a75ccc
OH
43922017-06-02 Olivier Hainque <hainque@adacore.com>
4393
4394 * config/vxlib.c (__gthread_once): Add missing value to
4395 return statement.
4396
5b2edf53
OH
43972017-05-30 Olivier Hainque <hainque@adacore.com>
4398
4399 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4400 dollar sign before $(MULTIDIR).
4401
7d66e265
RH
44022017-05-26 Richard Henderson <rth@redhat.com>
4403
4404 PR libgcc/80037
4405 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4406
78eca309
AT
44072017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4408
4409 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4410 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4411 * config/arm/unwind-arm.c: Implement the above.
4412
c39d309a
AZ
44132017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4414
4415 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4416 section for a non-executable stack.
4417
eac8c9f2
KW
44182017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4419
4420 PR target/80600
4421 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4422
d6d4d770
DS
44232017-05-14 Daniel Santos <daniel.santos@pobox.com>
4424
4425 * config.host: Add i386/t-msabi to i386/t-linux file list.
4426 * config/i386/i386-asm.h: New file.
4427 * config/i386/resms64.S: New file.
4428 * config/i386/resms64f.S: New file.
4429 * config/i386/resms64fx.S: New file.
4430 * config/i386/resms64x.S: New file.
4431 * config/i386/savms64.S: New file.
4432 * config/i386/savms64f.S: New file.
4433 * config/i386/t-msabi: New file.
4434
8ef2b9a7
AT
44352017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4436
4437 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4438 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4439
7ab8766a
JC
44402017-05-05 Joshua Conner <joshconner@google.com>
4441
4442 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4443 pc-relative indirect handling for fuchsia.
4444 * config/t-slibgcc-fuchsia: New file.
4445 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4446 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4447
46928a8f
ML
44482017-04-19 Martin Liska <mliska@suse.cz>
4449
4450 PR gcov-profile/80435
4451 * Makefile.in: Install gcov.h.
4452 * gcov.h: New file.
4453 * libgcov.h: Use the header and make __gcov_flush publicly
4454 visible.
4455
63971184
ML
44562017-04-18 Martin Liska <mliska@suse.cz>
4457
4458 PR gcov-profile/78783
4459 * libgcov-driver.c (gcov_get_filename): New function.
4460
29d8aae6
JL
44612017-04-07 Jeff Law <law@redhat.com>
4462
4463 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4464 target makefile fragment.
4465 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4466
2bdf7fc6
AM
44672017-04-07 Alan Modra <amodra@gmail.com>
4468
4469 PR target/45053
4470 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4471
5764ee3c
JW
44722017-04-03 Jonathan Wakely <jwakely@redhat.com>
4473
4474 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4475
c4192ad7
CZ
44762017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4477
4478 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4479
4ccfdb28
JM
44802017-03-10 John Marino <gnugcc@marino.st>
4481
4482 * config/aarch64/freebsd-unwind.h: New file.
4483 * config.host: Add aarch64-*-freebsd unwinder.
4484
4144e4e3
SB
44852017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4486
4487 * config/rs6000/crtrestvr.s: Use .machine altivec.
4488 * config/rs6000/crtsavevr.s: Ditto.
4489
7502c597
SB
44902017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4491
4492 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4493 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4494 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4495 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4496 * configure: Regenerate.
4497 * config.in: Regenerate.
4498
db9f7f65
JY
44992017-03-02 Jonathan Yong <10walls@gmail.com>
4500
4501 * config/i386/gthr-win32.h: Define NOGDI before
4502 windows.h include to prevent w32api CC_NONE macro
4503 clash with libgfortran.
4504
126437c5
JY
45052017-03-02 Jonathan Yong <10walls@gmail.com>
4506
4507 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4508
31927af6
AP
45092017-02-16 Andrew Pinski <apinski@cavium.com>
4510
4511 * config/aarch64/value-unwind.h: New file.
4512 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4513 to tm_file.
4514
0bd99911
PD
45152017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4516
4517 * config.host: Add RISC-V tuples.
4518 * config/riscv/atomic.c: New file.
4519 * config/riscv/crti.S: Likewise.
4520 * config/riscv/crtn.S: Likewise.
4521 * config/riscv/div.S: Likewise.
4522 * config/riscv/linux-unwind.h: Likewise.
4523 * config/riscv/muldi3.S: Likewise.
4524 * config/riscv/multi3.S: Likewise.
4525 * config/riscv/save-restore.S: Likewise.
4526 * config/riscv/sfp-machine.h: Likewise.
4527 * config/riscv/t-elf: Likewise.
4528 * config/riscv/t-elf32: Likewise.
4529 * config/riscv/t-elf64: Likewise.
4530 * config/riscv/t-softfp32: Likewise.
4531 * config/riscv/t-softfp64: Likewise.
4532
a8c9ef2a
JJ
45332017-01-24 Jakub Jelinek <jakub@redhat.com>
4534
4535 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4536 /* FALLTHRU */ comments.
4537
c6c82710
GP
45382017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4539
4540 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4541
a876231c
JW
45422017-01-20 Jiong Wang <jiong.wang@arm.com>
4543
4544 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4545 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4546 DW_CFA_GNU_window_save for AArch64 and LP64.
4547
aa348be2
JW
45482017-01-20 Jiong Wang <jiong.wang@arm.com>
4549
4550 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4551
5636faf2
JW
45522017-01-19 Jiong Wang <jiong.wang@arm.com>
4553
4554 * config/aarch64/aarch64-unwind.h: New file.
4555 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4556 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4557 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4558 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4559 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4560 (aarch64_post_extract_frame_addr): New function.
4561 (aarch64_post_frob_eh_handler_addr): New function.
4562 (aarch64_frob_update_context): New function.
4563 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4564 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4565 aarch64*-*-freebsd*):
4566 Initialize md_unwind_header to include aarch64-unwind.h.
4567 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4568 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4569 __aarch64__.
4570 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4571 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4572 (uw_frob_return_addr): New function.
4573 (uw_install_context): Use uw_frob_return_addr.
4574
3c36aa6b
JJ
45752017-01-17 Jakub Jelinek <jakub@redhat.com>
4576
4577 PR other/79046
4578 * configure.ac: Add GCC_BASE_VER.
4579 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4580 version from BASE-VER file.
4581 * configure: Regenerated.
4582
829afb8f
JS
45832017-01-13 Joe Seymour <joe.s@somniumtech.com>
4584
4585 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4586 libmul_f5.a): Filter archived prerequisites.
4587
79fc8ffe
AS
45882017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4589
4590 * config/i386/cpuinfo.h (processor_features): Add
4591 FEATURE_AVX512VPOPCNTDQ.
4592 * config/i386/cpuinfo.c (get_available_features): Habdle new
4593 feature.
4594
fec5f4e0
JM
45952017-01-04 Joseph Myers <joseph@codesourcery.com>
4596
4597 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4598 payload if [__mips_nan2008].
4599
8f56cb51
AM
46002017-01-04 Alan Modra <amodra@gmail.com>
4601
4602 * Makefile.in (configure_deps): Update.
4603 * configure: Regenerate.
4604
cbe34bb5
JJ
46052017-01-01 Jakub Jelinek <jakub@redhat.com>
4606
4607 Update copyright years.
4608
ab955692
KW
46092016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4610
4611 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4612 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4613 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4614
de34320f
MK
46152016-12-17 Matthias Klose <doko@ubuntu.com>
4616
4617 * config/arc/gmon: Remove empty directory.
4618
e04ea1da
CZ
46192016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4620
4621 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4622 crtgend.
4623 (arc*-*-elf*): Likewise.
4624 * config/arc/t-arc: Remove old gmon lib targets.
4625 * config/arc/crtg.S: Remove.
4626 * config/arc/crtgend.S: Likewise.
4627 * config/arc/gmon/atomic.h: Likewise.
4628 * config/arc/gmon/auxreg.h: Likewise.
4629 * config/arc/gmon/dcache_linesz.S: Likewise.
4630 * config/arc/gmon/gmon.c: Likewise.
4631 * config/arc/gmon/machine-gmon.h: Likewise.
4632 * config/arc/gmon/mcount.c: Likewise.
4633 * config/arc/gmon/prof-freq-stub.S: Likewise.
4634 * config/arc/gmon/prof-freq.c: Likewise.
4635 * config/arc/gmon/profil.S: Likewise.
4636 * config/arc/gmon/sys/gmon.h: Likewise.
4637 * config/arc/gmon/sys/gmon_out.h: Likewise.
4638 * config/arc/t-arc-newlib: Likewise.
4639 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4640
8ae1c2c1
GS
46412016-12-12 George Spelvin <linux@sciencehorizons.net>
4642
4643 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4644
a5b947fa
GS
46452016-12-12 George Spelvin <linux@sciencehorizons.net>
4646
4647 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4648 R16 instead of push + pop.
4649 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4650
d6574dd1
KW
46512016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4652
4653 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4654 tmake_file.
4655
62440b4f
CM
46562016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4657
4658 * config.host (arc*-*-linux-uclibc*): Use default extra
4659 objects. Include linux-android header.
4660 * config/arc/crti.S (_init): Declare symbol as function.
4661 (_fini): Likewise.
4662
31cfd832
TK
46632016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4664
4665 PR fortran/78379
4666 * config/i386/cpuinfo.c: Move denums for processor vendors,
4667 processor type, processor subtypes and declaration of
4668 struct __processor_model into
4669 * config/i386/cpuinfo.h: New header file.
4670
c92e08e3
AV
46712016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4672 Thomas Preud'homme <thomas.preudhomme@arm.com>
4673
4674 * config/arm/cmse_nonsecure_call.S: New.
4675 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4676
de7b5723
AV
46772016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4678 Thomas Preud'homme <thomas.preudhomme@arm.com>
4679
4680 * config/arm/t-arm (HAVE_CMSE): New.
4681 * config/arm/cmse.c: New.
4682
7a0d2bce
TP
46832016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4684
b3a5bff4
TP
4685 PR gcc/74748
4686 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4687 use generic linker version information on Blackfin.
4688
7a0d2bce
TP
4689 PR gcc/74748
4690 * libgcc/mkmap-symver.awk: add support for skip_underscore
4691
b410cf1d
IS
46922016-11-27 Iain Sandoe <iain@codesourcery.com>
4693 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4694
4695 PR target/67710
4696 * config/t-darwin: Default builds to 10.5 codegen.
4697
2e5f8203
JG
46982016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4699
4700 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4701 (_FP_NANSIGN_H): Likewise.
4702 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4703 (softfp_truncations): Add tfhf.
4704 (softfp_extras): Add required conversion functions.
4705
bea64ca3
JG
47062016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4707 Matthew Wahab <matthew.wahab@arm.com>
4708
4709 * config/arm/fp16.c (binary64): New.
4710 (__gnu_d2h_internal): New.
4711 (__gnu_d2h_ieee): New.
4712 (__gnu_d2h_alternative): New.
4713
8630cadb
JG
47142016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4715 Matthew Wahab <matthew.wahab@arm.com>
4716
4717 * config/arm/fp16.c (struct format): New.
4718 (binary32): New.
4719 (__gnu_float2h_internal): New. Body moved from
4720 __gnu_f2h_internal and generalize.
4721 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4722 Call it with binary32.
4723
5823ef23
JG
47242016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4725
4726 * soft-fp/extendhftf2.c: Update from glibc.
4727 * soft-fp/fixhfti.c: Likewise.
4728 * soft-fp/fixunshfti.c: Likewise.
4729 * soft-fp/floattihf.c: Likewise.
4730 * soft-fp/floatuntihf.c: Likewise.
4731 * soft-fp/half.h: Likewise.
4732 * soft-fp/trunctfhf2.c: Likewise.
4733
62a7df9f
MG
47342016-11-20 Marc Glisse <marc.glisse@inria.fr>
4735
4736 PR libgcc/77813
4737 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4738 __TMC_END__ behind a passthrough asm.
4739
7a384912
WL
47402016-11-18 Walter Lee <walt@tilera.com>
4741
62a7df9f 4742 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4743
9775c1a5
L
47442016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4745
4746 * config/i386/cpuinfo.c (processor_features): Add
4747 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4748
48c842ab
CZ
47492016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4750
4751 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4752 (__ARC_NORM__): Use instead ARC_OPTFPE.
4753 * config/arc/fp-hack.h: Likewise.
4754 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4755 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4756
5012919d
AM
47572016-11-16 Alexander Monakov <amonakov@ispras.ru>
4758
4759 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4760 * config/nvptx/mgomp.c: New file.
4761 * config/nvptx/t-nvptx: Add mgomp.c
4762
00178b98
WB
47632016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4764
4765 PR libgcc/68468
4766 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4767
d64af69f
CZ
47682016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4769
4770 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4771 of checking for cpus.
4772 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4773 (__modsi3, __clzsi2): Likewise.
4774
9d8f95de
SN
47752016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4776
4777 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4778 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4779 * config/i386/t-cpuinfo-static: New.
4780
7d29f8e3
ML
47812016-11-03 Martin Liska <mliska@suse.cz>
4782
4783 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4784 (__gcov_time_profiler_atomic): Likewise.
4785
5de3e2d8
BE
47862016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4787
4788 PR libgcc/78067
4789 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4790 count_leading_zeros.
4791
18362447
UB
47922016-11-02 Uros Bizjak <ubizjak@gmail.com>
4793
4794 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4795 * libgcc2.c (__divmoddi4): New function.
4796 * libgcc2.h (__divmoddi4): Declare.
4797 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4798 and __PFX_divmodti4.
4799
33107571
FW
48002016-10-24 Florian Weimer <fweimer@redhat.com>
4801
4802 PR libgcc/78064
4803 * unwind-c.c: Include auto-target.h.
4804
4c6d7494
JDA
48052016-10-19 John David Anglin <danglin@gcc.gnu.org>
4806
18362447 4807 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4808 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4809 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4810 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4811 hppa*64*-*-hpux11*.
4812
2a26adf1
MF
48132016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4814
4815 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4816 definition.
4817 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4818 definition.
4819 * config/xtensa/t-windowed (LIB2ADDEH): Use
4820 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4821 or xtensa/t-linux.
4822
66192aa1
DKC
48232016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4824
4825 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4826 __ieee754_sqrt): New functions.
4827 (__divdf3): Add implementation with new FPU instructions under
4828 #if XCHAL_HAVE_DFP_DIV.
4829 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4830 __ieee754_sqrtf): New functions.
4831 (__divsf3): Add implementation with new FPU instructions under
4832 #if XCHAL_HAVE_FP_DIV.
4833 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4834 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4835
4d0cdd0c
TP
48362016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4837
4838 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4839 equivalent.
4840 * config/tilepro/atomic.c: Likewise and stop casting model to
4841 enum memmodel.
4842
73f01cca
JM
48432016-10-10 Joseph Myers <joseph@codesourcery.com>
4844
4845 PR target/77586
4846 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4847 soft-fp.
4848
b20e7532
AT
48492016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4850
4851 * config.host: Add support for aarch64-*-freebsd*.
4852
a786cec4
AS
48532016-10-05 Andreas Schwab <schwab@suse.de>
4854
4855 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4856 (.section .init_array): Don't call __do_jv_register_classes.
4857 (.section .init): Likewise.
4858
5a79befb
JJ
48592016-10-04 Jakub Jelinek <jakub@redhat.com>
4860
4861 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4862 (__JCR_LIST__): Remove.
4863 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4864 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4865 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4866 * config/ia64/crtend.S (__JCR_END__): Remove.
4867 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4868 conditionals.
4869 (__JCR_LIST__, __JCR_END__): Remove.
4870 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4871 (__do_global_ctors_1): Likewise.
4872
e0ab3753
UB
48732015-09-28 Uros Bizjak <ubizjak@gmail.com>
4874
4875 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4876 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4877
8c9434c2
ML
48782016-09-27 Martin Liska <mliska@suse.cz>
4879
4880 PR gcov-profile/7970
4881 PR gcov-profile/16855
4882 PR gcov-profile/44779
4883 * libgcov-driver.c (__gcov_init): Do not register a atexit
4884 handler.
4885 (__gcov_exit): Rename from gcov_exit.
4886 * libgcov.h (__gcov_exit): Declare.
4887
56b653f1
ML
48882016-09-27 Martin Liska <mliska@suse.cz>
4889
4890 PR bootstrap/77749
4891 * Makefile.in: Remove _gcov_merge_delta.
4892 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4893 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4894 * libgcov.h: Remove declaration of __gcov_merge_delta.
4895
7e02fd1b
EB
48962016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4897
4898 * configure.ac: Do not create links, only substitute the filenames.
4899 * configure: Regenerate.
4900 * Makefile.in: Assign the substitution results to variables.
4901 (LIBGCC_LINKS): Define.
4902 (enable-execute-stack.c): New rule.
4903 (unwind.h): Likewise.
4904 (md-unwind-support.h): Likewise.
4905 (sfp-machine.h): Likewise.
4906 (gthr-default.h): Likewise.
4907 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4908 unwind.h as prerequisite of install-unwind_h-forbuild.
4909
29991048
JJ
49102016-09-16 Jakub Jelinek <jakub@redhat.com>
4911
4912 PR libgcc/71744
4913 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4914 is not the primary registry and atomics are available.
4915 (any_objects_registered): New variable.
4916 (__register_frame_info_bases, __register_frame_info_table_bases):
4917 Atomically store 1 to any_objects_registered after registering first
4918 unwind info.
4919 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4920
0abcd6cc
JG
49212016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4922
4923 PR target/63250
4924 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4925 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4926 (HFtype): Likewise.
4927 (HCtype): Likewise.
4928 (__divhc3): Likewise.
4929 (__mulhc3): Likewise.
4930 * libgcc2.c: Support _mulhc3 and _divhc3.
4931
d758aeb5
JM
49322016-09-07 Joseph Myers <joseph@codesourcery.com>
4933
4934 PR libgcc/77519
4935 * libgcc2.c (NOTRUNC): Invert settings.
4936
7fe76f6a
ML
49372016-09-06 Martin Liska <mliska@suse.cz>
4938
4939 PR gcov-profile/77378
4940 PR gcov-profile/77466
4941 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4942 conditionaly enable/disable *_atomic functions.
4943
21184026
JM
49442016-08-26 Joseph Myers <joseph@codesourcery.com>
4945
4946 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4947 where not already enabled.
4948
726f49c3
SN
49492016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4950
4951 * config/mips/linux-unwind.h: Use sys/syscall.h.
4952
feeb6268
JM
49532016-08-16 Joseph Myers <joseph@codesourcery.com>
4954
4955 PR libgcc/77265
4956 * soft-fp/adddf3.c: Update from glibc.
4957 * soft-fp/addsf3.c: Likewise.
4958 * soft-fp/addtf3.c: Likewise.
4959 * soft-fp/divdf3.c: Likewise.
4960 * soft-fp/divsf3.c: Likewise.
4961 * soft-fp/divtf3.c: Likewise.
4962 * soft-fp/double.h: Likewise.
4963 * soft-fp/eqdf2.c: Likewise.
4964 * soft-fp/eqsf2.c: Likewise.
4965 * soft-fp/eqtf2.c: Likewise.
4966 * soft-fp/extenddftf2.c: Likewise.
4967 * soft-fp/extended.h: Likewise.
4968 * soft-fp/extendsfdf2.c: Likewise.
4969 * soft-fp/extendsftf2.c: Likewise.
4970 * soft-fp/extendxftf2.c: Likewise.
4971 * soft-fp/fixdfdi.c: Likewise.
4972 * soft-fp/fixdfsi.c: Likewise.
4973 * soft-fp/fixdfti.c: Likewise.
4974 * soft-fp/fixsfdi.c: Likewise.
4975 * soft-fp/fixsfsi.c: Likewise.
4976 * soft-fp/fixsfti.c: Likewise.
4977 * soft-fp/fixtfdi.c: Likewise.
4978 * soft-fp/fixtfsi.c: Likewise.
4979 * soft-fp/fixtfti.c: Likewise.
4980 * soft-fp/fixunsdfdi.c: Likewise.
4981 * soft-fp/fixunsdfsi.c: Likewise.
4982 * soft-fp/fixunsdfti.c: Likewise.
4983 * soft-fp/fixunssfdi.c: Likewise.
4984 * soft-fp/fixunssfsi.c: Likewise.
4985 * soft-fp/fixunssfti.c: Likewise.
4986 * soft-fp/fixunstfdi.c: Likewise.
4987 * soft-fp/fixunstfsi.c: Likewise.
4988 * soft-fp/fixunstfti.c: Likewise.
4989 * soft-fp/floatdidf.c: Likewise.
4990 * soft-fp/floatdisf.c: Likewise.
4991 * soft-fp/floatditf.c: Likewise.
4992 * soft-fp/floatsidf.c: Likewise.
4993 * soft-fp/floatsisf.c: Likewise.
4994 * soft-fp/floatsitf.c: Likewise.
4995 * soft-fp/floattidf.c: Likewise.
4996 * soft-fp/floattisf.c: Likewise.
4997 * soft-fp/floattitf.c: Likewise.
4998 * soft-fp/floatundidf.c: Likewise.
4999 * soft-fp/floatundisf.c: Likewise.
5000 * soft-fp/floatunditf.c: Likewise.
5001 * soft-fp/floatunsidf.c: Likewise.
5002 * soft-fp/floatunsisf.c: Likewise.
5003 * soft-fp/floatunsitf.c: Likewise.
5004 * soft-fp/floatuntidf.c: Likewise.
5005 * soft-fp/floatuntisf.c: Likewise.
5006 * soft-fp/floatuntitf.c: Likewise.
5007 * soft-fp/gedf2.c: Likewise.
5008 * soft-fp/gesf2.c: Likewise.
5009 * soft-fp/getf2.c: Likewise.
5010 * soft-fp/ledf2.c: Likewise.
5011 * soft-fp/lesf2.c: Likewise.
5012 * soft-fp/letf2.c: Likewise.
5013 * soft-fp/muldf3.c: Likewise.
5014 * soft-fp/mulsf3.c: Likewise.
5015 * soft-fp/multf3.c: Likewise.
5016 * soft-fp/negdf2.c: Likewise.
5017 * soft-fp/negsf2.c: Likewise.
5018 * soft-fp/negtf2.c: Likewise.
5019 * soft-fp/op-1.h: Likewise.
5020 * soft-fp/op-2.h: Likewise.
5021 * soft-fp/op-4.h: Likewise.
5022 * soft-fp/op-8.h: Likewise.
5023 * soft-fp/op-common.h: Likewise.
5024 * soft-fp/quad.h: Likewise.
5025 * soft-fp/single.h: Likewise.
5026 * soft-fp/soft-fp.h: Likewise.
5027 * soft-fp/subdf3.c: Likewise.
5028 * soft-fp/subsf3.c: Likewise.
5029 * soft-fp/subtf3.c: Likewise.
5030 * soft-fp/truncdfsf2.c: Likewise.
5031 * soft-fp/trunctfdf2.c: Likewise.
5032 * soft-fp/trunctfsf2.c: Likewise.
5033 * soft-fp/trunctfxf2.c: Likewise.
5034 * soft-fp/unorddf2.c: Likewise.
5035 * soft-fp/unordsf2.c: Likewise.
5036 * soft-fp/unordtf2.c: Likewise.
5037
2e6fc1ac
GG
50382016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5039
5040 PR gcov-profile/67097
5041 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5042
a266236e
ML
50432016-08-10 Martin Liska <mliska@suse.cz>
5044
5045 PR gcov-profile/58306
5046 * Makefile.in: New functions (modules) are added.
5047 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5048 function.
5049 (__gcov_pow2_profiler_atomic): New function.
5050 (__gcov_one_value_profiler_body): New argument is instroduced.
5051 (__gcov_one_value_profiler): Call with the new argument.
5052 (__gcov_one_value_profiler_atomic): Likewise.
5053 (__gcov_indirect_call_profiler_v2): Likewise.
5054 (__gcov_time_profiler_atomic): New function.
5055 (__gcov_average_profiler_atomic): Likewise.
5056 (__gcov_ior_profiler_atomic): Likewise.
5057 * libgcov.h: Declare the aforementioned functions.
5058
e0c8eebf
ML
50592016-08-09 Martin Liska <mliska@suse.cz>
5060
5061 * libgcov-util.c: Fix typo and GNU coding style.
5062
6dce6418
ML
50632016-08-09 Martin Liska <mliska@suse.cz>
5064
5065 * Makefile.in: Remove __gcov_indirect_call_profiler.
5066 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5067 function.
5068 * libgcov.h: And the declaration of the function.
5069
dcb1e137
ML
50702016-08-09 Martin Liska <mliska@suse.cz>
5071
5072 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5073 power of two.
5074
d6e69705
BS
50752016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5076
5077 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5078 * config/rs6000/_mulkc3.c: Likewise.
5079
96aa1f95
GJL
50802016-07-29 Georg-Johann Lay <avr@gjlay.de>
5081
5082 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5083 zero_reg as previous call to __umulhisi3 already cleared it.
5084
a1b01d34
AJ
50852016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5086
5087 PR target/59833
5088 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5089
985a47b2
NC
50902016-07-19 Nick Clifton <nickc@redhat.com>
5091
5092 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5093 Add crtinit.o and crtfini.o to extra_parts.
5094
f906f5ed
BS
50952016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5096
5097 * config/rs6000/_divkc3.c: New.
5098 * config/rs6000/_mulkc3.c: New.
5099 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5100 and _divkc3.
5101 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5102 fp128_ppc_funcs.
5103
82742404
HW
51042016-07-11 Hale Wang <hale.wang@arm.com>
5105 Andre Vieira <andre.simoesdiasvieira@arm.com>
5106
5107 * config/arm/lib1funcs.S: Add new wrapper.
5108
05a437c1
TP
51092016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5110
5111 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5112
3d16d9ec
TP
51132016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5114
5115 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5116 and ARMv5t* rather than for a fixed list of architectures.
5117
6f493951
TP
51182016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5119
5120 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5121 implementation suitable for.
5122 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5123 for all Thumb-1 only targets.
5124 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5125 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5126 __ARM_ARCH_6M__.
5127 (EQUIV): Likewise.
5128 (ARM_FUNC_ALIAS): Likewise.
5129 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5130 version.
5131 (modsi3): Likewise.
5132 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5133 (clzdi2): Likewise.
5134 (ctzsi2): Likewise.
5135 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5136 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5137 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5138 __ARM_ARCH_6M__ and add comment to indicate the connection between
5139 this condition and the one in gcc/config/arm/elf.h.
5140 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5141 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5142 * config/arm/t-softfp: Likewise.
5143
1770511a
TS
51442016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5145
5146 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5147 CTOR_LISTS_DEFINED_EXTERNALLY.
5148
ba6be749
WL
51492016-06-28 Walter Lee <walt@tilera.com>
5150
5151 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5152 asm/unistd.h.
5153 (SPR_CMPEXCH_VALUE): Define for tilegx.
5154 (__NR_FAST_cmpxchg): Define for tilepro.
5155 (__NR_FAST_atomic_update): Define for tilepro.
5156 (__NR_FAST_cmpxchg64): Define for tilepro.
5157
a34c0db5
JS
51582016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5159
18362447 5160 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5161
0609abda
TS
51622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5163
5164 * config.host: Remove support for mep-*.
5165 * config/mep/lib1funcs.S: Remove.
5166 * config/mep/lib2funcs.c: Remove.
5167 * config/mep/t-mep: Remove.
5168 * config/mep/tramp.c: Remove.
5169
3e326935
TS
51702016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5171
5172 * config.host: Remove support for avr-rtems.
5173 * config/avr/t-rtems: Remove.
5174
914b155c
TS
51752016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5176
5177 * config.host: Remove m32r-rtems support.
5178
5ebf89bd
TS
51792016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5180
5181 * config.host: Remove h8300-rtems support.
5182
8466af06
TS
51832016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5184
5185 * config.host: Remove support for knetbsd.
5186
d980e738
TS
51872016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5188
5189 * config.host: Remove support for openbsd 2 and 3.
5190
ee2499b4
TS
51912016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5192
5193 * config.host: Remove interix support.
5194 * config/i386/t-interix: Remove.
5195
9f92937b
JDA
51962016-06-18 John David Anglin <danglin@gcc.gnu.org>
5197
5198 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5199 least-significant bit in function pointer for fixup.
5200
0a0ec53d
AC
52012016-06-05 Aaron Conole <aconole@redhat.com>
5202 Nathan Sidwell <nathan@acm.org>
5203
5204 PR libgcc/71400
5205 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5206 (get_gcov_error_file): Check __gcov_error_file before trying to
5207 initialize it.
5208 (gcov_error): Always use get_gcov_error_file.
5209
8aa5bdd6
AC
52102016-06-02 Aaron Conole <aconole@redhat.com>
5211
5212 * libgcov-driver-system.c (__gcov_error_file): New.
5213 (get_gcov_error_file): New.
5214 (gcov_error): Use and set __gcov_error_file.
5215 (gcov_error_exit): New.
5216 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5217
40774faf
NS
52182016-05-26 Nathan Sidwell <nathan@acm.org>
5219
5220 * config/nvptx/free.asm: Delete.
5221 * config/nvptx/malloc.asm: Delete.
5222 * config/nvptx/realloc.c: Delete.
5223 * t-nvptx: Update.
5224
69a6d5ad
NS
52252016-05-25 Nathan Sidwell <nathan@acm.org>
5226
5227 * config/nvptx/crt0.s: Delete.
5228 * config/nvptx/crt0.c: New.
5229 * t-nvptx: Update.
5230
6befaff6
SL
52312016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5232
385c7747 5233 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5234 dw2/seh configuration.
5235 [x86_64-*-mingw*]: Likewise.
5236
ad251dfd
JS
52372016-05-10 Joel Sherrill <joel@rtems.org>
5238
5239 PR libgcc/70720
5240 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5241 targets so the same extra_parts are built. Also have tmake_file add
5242 on to its value rather than override.
5243
bc6d9014
OE
52442016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5245
5246 * config.host: Remove SH5 support.
5247 * configure: Likewise.
5248
9129c8cf
OE
52492016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5250
5251 * config/sh/crt1.S: Remove SH5 support.
5252 * config/sh/crti.S: Likewise.
5253 * config/sh/crtn.S: Likewise.
5254 * config/sh/lib1funcs-4-300.S: Likewise.
5255 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5256 * config/sh/lib1funcs.S: Likewise.
5257 * config/sh/linux-unwind.h: Likewise.
5258 * config/sh/t-sh64: Delete.
5259
39d50464
CZ
52602016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5261
5262 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5263
8b48923b
CZ
52642016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5265 Joern Rennecke <joern.rennecke@embecosm.com>
5266
5267 * config/arc/crttls.S: New file.
5268 * config/arc/t-arc: New rule.
5269 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5270
2de1cf8c
NC
52712016-04-25 Nick Clifton <nickc@redhat.com>
5272
5273 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5274 (__mspabi_cmpd): Likewise.
5275 * config/msp430/floathidf.c (__floathidf): Likewise.
5276 * config/msp430/floathisf.c (__floathisf): Likewise
5277 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5278 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5279 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5280 second parameter.
5281 (__ashrsi3): Likewise.
5282
b8ce3fe2
WB
52832016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5284
5285 * config/m68k/linux-atomic.c: Do not include unistd.h
5286
4986f823
MG
52872016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5288
5289 * config/arm/ieee754-df.S: Fix typos in comments.
5290
35fbda43
MM
52912016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5292
5293 PR target/70381
5294 * configure.ac (powerpc*-*-linux*): Rework tests to build
5295 __float128 emulation routines to not depend on using #pragma GCC
5296 target to enable -mfloat128.
5297 * configure: Regnerate.
5298
72d1a48d
EB
52992016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5300
5301 PR target/67172
5302 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5303 __MINGW32__ is defined.
5304
dc2e8995
JB
53052016-03-28 James Bowman <james.bowman@ftdichip.com>
5306
385c7747 5307 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 5308
104cdaf1
MM
53092016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5310
5311 PR libgcc/70363
5312 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5313 built with an assembler that does not support ISA 3.0
5314 instructions, rename __extendkftf2_sw to __extendkftf2.
5315
a5046f48
RO
53162016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5317
5318 PR target/38239
5319 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5320 call-clobbered registers.
5321 (internal_mcount): Remove __i386__ handling.
5322
df674f74
JS
53232016-02-26 Joel Sherrill <joel@rtems.org>
5324
5325 * config.host: Add x86_64-*-rtems*.
5326
7cb065d6
JS
53272016-02-26 Joel Sherrill <joel@rtems.org>
5328
5329 * libgcc/config.host: Add aarch64-*-rtems*.
5330
47dfdc53
PM
53312016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5332 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5333
5334 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5335 union of u64 and double.
5336 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5337 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5338 value.
5339 (FP_ROUNDMODE): Update the usage of _fpscr.
5340
e6861a99
IV
53412016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5342
5343 PR driver/68463
5344 * Makefile.in (crtoffloadtable$(objext)): New rule.
5345 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5346 enable_offload_targets is not empty.
5347 * configure: Regenerate.
5348 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5349 crtoffloadtable.
5350
9bfcbdee
MF
53512016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5352
5353 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5354 .literal_position before the function.
5355 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5356 Likewise.
5357
4cb4721f
MK
53582016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5359
5360 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5361 * config/s390/morestack.S: New file.
5362 * config/s390/t-stack-s390: New file.
5363 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5364
b29d9a29
WL
53652016-02-12 Walter Lee <walt@tilera.com>
5366
5367 * config.host (tilegx*-*-linux*): remove ti from
5368 softfp_int_modes for 32-bit configs.
5369
03a0ae7d
ILT
53702016-02-10 Ian Lance Taylor <iant@google.com>
5371
5372 PR go/68562
5373 * config/i386/morestack.S (__stack_split_initialize): Align
5374 stack.
5375
68750bce
AT
53762016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5377
5378 PR bootstrap/69611
5379 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5380 __FLOAT128__ to compile only for __float128 capable targets.
5381
7d296953
JJ
53822016-01-25 Jakub Jelinek <jakub@redhat.com>
5383
5384 PR target/69444
5385 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5386 instead of ___NO_FPRS__.
5387
a71c0334 53882016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5389 Steven Munroe <munroesj@linux.vnet.ibm.com>
5390 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
5391
5392 * config/rs6000/float128-sed: New files to convert TF names to KF
5393 names for PowerPC IEEE 128-bit floating point support.
5394 * config/rs6000/float128-sed-hw: Likewise.
5395
5396 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5397 floating point hardware support.
5398
5399 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5400 128-bit floating point software emulation or use ISA 3.0 hardware
5401 support if it is available.
5402
5403 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5404 floating point.
5405
5406 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5407 floating point to IBM extended double.
5408
5409 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5410 double to IEEE 128-bit floating point.
5411
5412 * config/rs6000/t-float128: New Makefile fragments to enable
5413 building __float128 emulation support.
5414 * config/rs6000/t-float128-hw: Likewise.
5415
5416 * config/rs6000/sfp-exceptions.c: New file to provide exception
5417 support for IEEE 128-bit floating point.
5418
5419 * config/rs6000/floattikf.c: New files for converting between IEEE
5420 128-bit floating point and signed/unsigned 128-bit integers.
5421 * config/rs6000/fixunskfti.c: Likewise.
5422 * config/rs6000/fixkfti.c: Likewise.
5423 * config/rs6000/floatuntikf.c: Likewise.
5424
5425 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5426 when building on 64-bit systems, or when VSX is enabled.
5427 (_FP_W_TYPE): Likewise.
5428 (_FP_WS_TYPE): Likewise.
5429 (_FP_I_TYPE): Likewise.
5430 (TItype): Define on 64-bit systems.
5431 (UTItype): Likewise.
5432 (TI_BITS): Likewise.
5433 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5434 (_FP_MUL_MEAT_Q): Likewise.
5435 (_FP_DIV_MEAT_D): Likewise.
5436 (_FP_DIV_MEAT_Q): Likewise.
5437 (_FP_NANFRAC_D): Likewise.
5438 (_FP_NANFRAC_Q): Likewise.
5439 (ISA_BIT): Add exception support if we are being compiled on a
5440 machine with hardware floating point support to build the IEEE
5441 128-bit emulation functions.
5442 (FP_EX_INVALID): Likewise.
5443 (FP_EX_OVERFLOW): Likewise.
5444 (FP_EX_UNDERFLOW): Likewise.
5445 (FP_EX_DIVZERO): Likewise.
5446 (FP_EX_INEXACT): Likewise.
5447 (FP_EX_ALL): Likewise.
5448 (__sfp_handle_exceptions): Likewise.
5449 (FP_HANDLE_EXCEPTIONS): Likewise.
5450 (FP_RND_NEAREST): Likewise.
5451 (FP_RND_ZERO): Likewise.
5452 (FP_RND_PINF): Likewise.
5453 (FP_RND_MINF): Likewise.
5454 (FP_RND_MASK): Likewise.
5455 (_FP_DECL_EX): Likewise.
5456 (FP_INIT_ROUNDMODE): Likewise.
5457 (FP_ROUNDMODE): Likewise.
5458
5459 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5460 VSX code, enable IEEE 128-bit floating point. If the compiler can
5461 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5462 floating point hardware instructions and it supports declaring
5463 functions with the ifunc attribute, enable ifunc functions to
5464 switch between software and hardware support.
5465 * configure.ac (powerpc*-*-linux*): Likewise.
5466 * configure: Regenerate.
5467
bdc27e50
NC
54682016-01-15 Nick Clifton <nickc@redhat.com>
5469
5470 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5471 dependency as the source file to be compiled.
5472 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5473 (lib2hw_mul_f5.o): Likewise.
5474
006df05d
MM
54752016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5476
5477 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5478 * libgcc/config/rs6000/fixkfti.c: Likewise.
5479 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5480 * libgcc/config/rs6000/float128-hw.c: Likewise.
5481 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5482 * libgcc/config/rs6000/float128-sed: Likewise.
5483 * libgcc/config/rs6000/floattikf.c: Likewise.
5484 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5485 * libgcc/config/rs6000/quad-float128.h: Likewise.
5486 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5487 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5488 * libgcc/config/rs6000/t-float128: Likewise.
5489 * libgcc/config/rs6000/t-float128-hw: Likewise.
5490 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5491 * libgcc/config.host: Likewise.
5492 * libgcc/configure: Likewise.
5493 * libgcc/configure.ac: Likewise.
5494
29176d57 54952016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5496 Steven Munroe <munroesj@linux.vnet.ibm.com>
5497 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5498
5499 * config/rs6000/sfp-exceptions.c: New file to provide exception
5500 support for IEEE 128-bit floating point.
5501
5502 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5503 floating point hardware support.
5504
5505 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5506 point conversions.
5507 * config/rs6000/fixunskfti.c: Likewise.
5508 * config/rs6000/fixkfti.c: Likewise.
5509 * config/rs6000/floatuntikf.c: Likewise.
5510 * config/rs6000/extendkftf2-sw.c: Likewise.
5511 * config/rs6000/trunctfkf2-sw.c: Likewise.
5512
5513 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5514 128-bit floating point software emulation or use ISA 3.0 hardware
5515 support if it is available.
5516
5517 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5518 floating point.
5519
5520 * config/rs6000/t-float128: New Makefile fragments to enable
5521 building __float128 emulation support.
5522 * config/rs6000/t-float128-hw: Likewise.
5523
5524 * config/rs6000/float128-sed: New file to convert TF names to KF
5525 names for PowerPC IEEE 128-bit floating point support.
5526
5527 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5528 when building on 64-bit systems, or when VSX is enabled.
5529 (_FP_W_TYPE): Likewise.
5530 (_FP_WS_TYPE): Likewise.
5531 (_FP_I_TYPE): Likewise.
5532 (TItype): Define on 64-bit systems.
5533 (UTItype): Likewise.
5534 (TI_BITS): Likewise.
5535 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5536 (_FP_MUL_MEAT_Q): Likewise.
5537 (_FP_DIV_MEAT_D): Likewise.
5538 (_FP_DIV_MEAT_Q): Likewise.
5539 (_FP_NANFRAC_D): Likewise.
5540 (_FP_NANFRAC_Q): Likewise.
5541 (ISA_BIT): Add exception support if we are being compiled on a
5542 machine with hardware floating point support to build the IEEE
5543 128-bit emulation functions.
5544 (FP_EX_INVALID): Likewise.
5545 (FP_EX_OVERFLOW): Likewise.
5546 (FP_EX_UNDERFLOW): Likewise.
5547 (FP_EX_DIVZERO): Likewise.
5548 (FP_EX_INEXACT): Likewise.
5549 (FP_EX_ALL): Likewise.
5550 (__sfp_handle_exceptions): Likewise.
5551 (FP_HANDLE_EXCEPTIONS): Likewise.
5552 (FP_RND_NEAREST): Likewise.
5553 (FP_RND_ZERO): Likewise.
5554 (FP_RND_PINF): Likewise.
5555 (FP_RND_MINF): Likewise.
5556 (FP_RND_MASK): Likewise.
5557 (_FP_DECL_EX): Likewise.
5558 (FP_INIT_ROUNDMODE): Likewise.
5559 (FP_ROUNDMODE): Likewise.
5560
5561 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5562 compiler can do __float128.
5563 * configure: Regenerate.
5564
5565 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5566 VSX code, enable IEEE 128-bit floating point.
5567
a2218983
OH
55682016-01-05 Olivier Hainque <hainque@adacore.com>
5569
5570 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5571 specificities.
a2218983 5572
818ab71a
JJ
55732016-01-04 Jakub Jelinek <jakub@redhat.com>
5574
5575 Update copyright years.
5576
5a6c8ffa
AP
55772015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5578
5579 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5580 soft-fp targets.
5a6c8ffa 5581
077067a5
BE
55822015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5583
5584 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5585 instead of abort to avoid dependency on stdlib.h.
5586
787c1027
JDA
55872015-12-09 John David Anglin <danglin@gcc.gnu.org>
5588
5589 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5590 to initialize call to __dl_fixup once.
5591
04a9ae28
NC
55922015-12-04 Nick Clifton <nickc@redhat.com>
5593
5594 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5595 Allow for the second argument being negative.
5596 * config.host (extra_parts): Define for MSP430. Create separate
5597 libraries for each of the hardware multiply formats.
5598 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5599 that are needed.
5600 * config/msp430/lib2mul.c: Likewise.
5601 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5602 Add rules to build hardware multiply libraries.
5603 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5604 __mspabi_divul function.
5605 (__mspabi_divllu): New stub function.
5606
9a32d437
JDA
56072015-12-01 John David Anglin <danglin@gcc.gnu.org>
5608
5609 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5610 fixup values if saved GOT address doesn't match runtime address.
5611 (fixup_branch_offset): Reorder list.
5612
e5ef217c
RO
56132015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5614
5615 * Makefile.in (VTV_CFLAGS): New variable.
5616 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5617 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5618 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5619 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5620 to extra_parts if $enable_vtable_verify = yes.
5621
78cc43a2
SN
56222015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5623
5624 PR target/68059
5625 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5626 (write): ...this and fix the return type.
5627
9afebea2
DD
56282015-11-19 DJ Delorie <dj@redhat.com>
5629
5630 * config/msp430/lib2hw_mul.S: Fix alignment.
5631
33f47f42
NS
56322015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5633
5634 * config/nvptx/reduction.c: New.
5635 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5636
d9adb476
DE
56372015-11-15 David Edelsohn <dje.gcc@gmail.com>
5638
5639 * config/rs6000/on_exit.c: New file.
5640 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5641 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5642
c0ab1970
CZ
56432015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5644
5645 * config/arc/dp-hack.h: Add support for ARCHS.
5646 * config/arc/ieee-754/divdf3.S: Likewise.
5647 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5648 * config/arc/ieee-754/muldf3.S: Likewise.
5649 * config/arc/ieee-754/mulsf3.S: Likewise
5650 * config/arc/lib1funcs.S: Likewise
5651 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5652 for ARCv2 cores.
5653 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5654 for ARCv2 cores.
5655 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5656 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5657 cores.
5658
e6b6bf09
RO
56592015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5660
5661 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5662 value.
5663 * config/ia64/crtend.S: Likewise.
5664
a153644f
TS
56652015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5666
5667 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5668 __CHAR_BIT__ instead of BITS_PER_UNIT.
5669 * fixed-bit.h: Likewise.
5670 * fp-bit.h: Likewise.
5671 * libgcc2.c (__popcountSI2): Likewise.
5672 (__popcountDI2): Likewise.
5673 * libgcc2.h: Likewise.
5674 * libgcov.h: Likewise.
5675
3dee689d
DE
56762015-11-07 David Edelsohn <dje.gcc@gmail.com>
5677
5678 * config/rs6000/atexit.c: New file.
5679 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5680 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5681 * config/rs6000/cxa_finalize.c
5682 (catomic_compare_and_exchange_bool_acq): Negate return value.
5683
2ef543e4
VK
56842015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5685
5686 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5687 (processor_subtypes): Add znver1.
5688 (get_amd_cpu): Detect znver1.
5689
1300f017
CL
56902015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5691
5692 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5693 Include crtfastmath.o.
5694
3e5bb7ee
JR
56952015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5696
5697 PR libgcc/66883
5698 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5699
793aa938
KP
57002015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5701
5702 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5703 * config/rl78/divmodsi.S: Update return register to r8.
5704 * config/rl78/divmodhi.S: Update return register to r8,r9.
5705 Branch to main_loop_done_himode to pop registers before return.
5706
7d296953 57072015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5708
5709 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5710 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5711
6a192b5a
KY
57122015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5713
5714 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5715
4a0a9457
MF
57162015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5717
5718 * config.host (xtensa*-*-uclinux*): New configuration.
5719
ab91c076
KY
57202015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5721
385c7747 5722 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5723 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5724
30954527
JM
57252015-09-28 Joseph Myers <joseph@codesourcery.com>
5726
5727 * soft-fp/adddf3.c: Update from glibc.
5728 * soft-fp/addsf3.c: Likewise.
5729 * soft-fp/addtf3.c: Likewise.
5730 * soft-fp/divdf3.c: Likewise.
5731 * soft-fp/divsf3.c: Likewise.
5732 * soft-fp/divtf3.c: Likewise.
5733 * soft-fp/double.h: Likewise.
5734 * soft-fp/eqdf2.c: Likewise.
5735 * soft-fp/eqsf2.c: Likewise.
5736 * soft-fp/eqtf2.c: Likewise.
5737 * soft-fp/extenddftf2.c: Likewise.
5738 * soft-fp/extended.h: Likewise.
5739 * soft-fp/extendsfdf2.c: Likewise.
5740 * soft-fp/extendsftf2.c: Likewise.
5741 * soft-fp/extendxftf2.c: Likewise.
5742 * soft-fp/fixdfdi.c: Likewise.
5743 * soft-fp/fixdfsi.c: Likewise.
5744 * soft-fp/fixdfti.c: Likewise.
5745 * soft-fp/fixsfdi.c: Likewise.
5746 * soft-fp/fixsfsi.c: Likewise.
5747 * soft-fp/fixsfti.c: Likewise.
5748 * soft-fp/fixtfdi.c: Likewise.
5749 * soft-fp/fixtfsi.c: Likewise.
5750 * soft-fp/fixtfti.c: Likewise.
5751 * soft-fp/fixunsdfdi.c: Likewise.
5752 * soft-fp/fixunsdfsi.c: Likewise.
5753 * soft-fp/fixunsdfti.c: Likewise.
5754 * soft-fp/fixunssfdi.c: Likewise.
5755 * soft-fp/fixunssfsi.c: Likewise.
5756 * soft-fp/fixunssfti.c: Likewise.
5757 * soft-fp/fixunstfdi.c: Likewise.
5758 * soft-fp/fixunstfsi.c: Likewise.
5759 * soft-fp/fixunstfti.c: Likewise.
5760 * soft-fp/floatdidf.c: Likewise.
5761 * soft-fp/floatdisf.c: Likewise.
5762 * soft-fp/floatditf.c: Likewise.
5763 * soft-fp/floatsidf.c: Likewise.
5764 * soft-fp/floatsisf.c: Likewise.
5765 * soft-fp/floatsitf.c: Likewise.
5766 * soft-fp/floattidf.c: Likewise.
5767 * soft-fp/floattisf.c: Likewise.
5768 * soft-fp/floattitf.c: Likewise.
5769 * soft-fp/floatundidf.c: Likewise.
5770 * soft-fp/floatundisf.c: Likewise.
5771 * soft-fp/floatunditf.c: Likewise.
5772 * soft-fp/floatunsidf.c: Likewise.
5773 * soft-fp/floatunsisf.c: Likewise.
5774 * soft-fp/floatunsitf.c: Likewise.
5775 * soft-fp/floatuntidf.c: Likewise.
5776 * soft-fp/floatuntisf.c: Likewise.
5777 * soft-fp/floatuntitf.c: Likewise.
5778 * soft-fp/gedf2.c: Likewise.
5779 * soft-fp/gesf2.c: Likewise.
5780 * soft-fp/getf2.c: Likewise.
5781 * soft-fp/ledf2.c: Likewise.
5782 * soft-fp/lesf2.c: Likewise.
5783 * soft-fp/letf2.c: Likewise.
5784 * soft-fp/muldf3.c: Likewise.
5785 * soft-fp/mulsf3.c: Likewise.
5786 * soft-fp/multf3.c: Likewise.
5787 * soft-fp/negdf2.c: Likewise.
5788 * soft-fp/negsf2.c: Likewise.
5789 * soft-fp/negtf2.c: Likewise.
5790 * soft-fp/op-1.h: Likewise.
5791 * soft-fp/op-2.h: Likewise.
5792 * soft-fp/op-4.h: Likewise.
5793 * soft-fp/op-8.h: Likewise.
5794 * soft-fp/op-common.h: Likewise.
5795 * soft-fp/quad.h: Likewise.
5796 * soft-fp/single.h: Likewise.
5797 * soft-fp/soft-fp.h: Likewise.
5798 * soft-fp/subdf3.c: Likewise.
5799 * soft-fp/subsf3.c: Likewise.
5800 * soft-fp/subtf3.c: Likewise.
5801 * soft-fp/truncdfsf2.c: Likewise.
5802 * soft-fp/trunctfdf2.c: Likewise.
5803 * soft-fp/trunctfsf2.c: Likewise.
5804 * soft-fp/trunctfxf2.c: Likewise.
5805 * soft-fp/unorddf2.c: Likewise.
5806 * soft-fp/unordsf2.c: Likewise.
5807 * soft-fp/unordtf2.c: Likewise.
5808
4dfe21ac
RE
58092015-09-24 Richard Earnshaw <rearnsha@arm.com>
5810
5811 PR libgcc/67624
5812 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5813
df2a1cc4
RO
58142015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5815
5816 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5817 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5818 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5819 messages.
5820 (internal_mcount): Likewise.
5821 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5822 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5823
2d110442
RO
58242015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5825
5826 * configure.ac (libgcc_cv_solaris_crts): New test.
5827 * configure: Regenerate.
5828 * config.in: Regenerate.
5829 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5830 * config/gmon-sol2.c: Rename to ...
5831 * config/sol2/gmon.c: ... this.
5832 Include auto-target.h.
5833 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5834 * config/t-sol2: Rename to ...
5835 * config/sol2/t-sol2: ... this.
5836 (gmon.o): Reflect renaming.
5837 (crtp.o, crtpg.o): New rules.
5838 * config.host (*-*-solaris2*): Reflect renaming.
5839 Use system CRTs if present.
5840 Remove default CRT case.
5841
d572e439
JDA
58422015-09-23 John David Anglin <danglin@gcc.gnu.org>
5843
5844 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5845 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5846 __kernel_cmpxchg2.
5847 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5848 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5849 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5850 (__sync_lock_test_and_set_##WIDTH): Likewise.
5851 (__sync_lock_release_##WIDTH): Likewise.
5852 (__sync_fetch_and_##OP##_4): Change result to match type of
5853 __kernel_cmpxchg.
5854 (__sync_##OP##_and_fetch_4): Likewise.
5855 (__sync_val_compare_and_swap_4): Likewise.
5856 (__sync_bool_compare_and_swap_4): likewise.
5857 (__sync_lock_test_and_set_4): Likewise.
5858 (__sync_lock_release_4): Likewise.
5859 (FETCH_AND_OP_2): Add long long variants.
5860 (OP_AND_FETCH_2): Likewise.
5861 (COMPARE_AND_SWAP_2 ): Likewise.
5862 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5863 (SYNC_LOCK_RELEASE_2): Likewise.
5864 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5865
7d296953 58662015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5867
5868 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5869 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5870 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5871 (get_available_features): Habdle new features.
5872
131314e1
JB
58732015-09-21 James Bowman <james.bowman@ftdichip.com>
5874
5875 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5876 memory layout. Deal correctly with BSS region larger than 32K.
5877 Handle a watchdog reset like a power-on reset. Clean up unused
5878 code.
5879
04218b35
AD
58802015-09-18 Andrew Dixie <andrewd@gentrack.com>
5881 David Edelsohn <dje.gcc@gmail.com>
5882
5883 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5884 * config/rs6000/crtdbase.S: New file.
5885 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5886
c8338173
MF
58872015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5888
5889 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5890 Add support for call0 ABI.
5891
7a84bf71
JDA
58922015-09-13 John David Anglin <danglin@gcc.gnu.org>
5893
5894 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5895
4efab402
SH
58962015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5897
5898 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5899 (__GTHREAD_HAS_COND): Likewise.
5900 (__gthread_t): Likewise.
5901 (__gthread_cond_t): Likewise.
5902 (__gthread_time_t): Likewise.
5903 (__GTHREAD_MUTEX_INIT): Likewise.
5904 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5905 (__GTHREAD_COND_INIT): Likewise.
5906 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5907 (__GTHREAD_TIME_INIT): Likewise.
5908 (__gthread_create): Likewise.
5909 (__gthread_join): Likewise.
5910 (__gthread_detach): Likewise.
5911 (__gthread_equal): Likewise.
5912 (__gthread_self): Likewise.
5913 (__gthread_yield): Likewise.
5914 (__gthread_cond_broadcast): Likewise.
5915 (__gthread_cond_signal): Likewise.
5916 (__gthread_cond_wait): Likewise.
5917 (__gthread_cond_timedwait): Likewise.
5918 (__gthread_cond_wait_recursive): Likewise.
5919 (__gthread_cond_destroy): Likewise.
5920 (rtems_gxx_once): Delete.
5921 (rtems_gxx_key_create): Likewise.
5922 (rtems_gxx_key_delete): Likewise.
5923 (rtems_gxx_getspecific): Likewise.
5924 (rtems_gxx_setspecific): Likewise.
5925 (rtems_gxx_mutex_init): Likewise.
5926 (rtems_gxx_mutex_destroy): Likewise.
5927 (rtems_gxx_mutex_lock): Likewise.
5928 (rtems_gxx_mutex_trylock): Likewise.
5929 (rtems_gxx_mutex_unlock): Likewise.
5930 (rtems_gxx_recursive_mutex_init): Likewise.
5931 (rtems_gxx_recursive_mutex_lock): Likewise.
5932 (rtems_gxx_recursive_mutex_trylock): Likewise.
5933 (rtems_gxx_recursive_mutex_unlock): Likewise.
5934 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5935 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5936 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5937 (__gthread_once): Likewise.
5938 (__gthread_key_create): Likewise.
5939 (__gthread_key_delete): Likewise.
5940 (__gthread_getspecific): Likewise.
5941 (__gthread_setspecific): Likewise.
5942 (__gthread_key_t): Use <pthread.h> type.
5943 (__gthread_once_t): Likewise
5944 (__gthread_mutex_t): Use <sys/lock.h> type.
5945 (__gthread_recursive_mutex_t): Likewise
5946 (__gthread_mutex_lock): Use <sys/lock.h> function.
5947 (__gthread_mutex_trylock): Likewise.
5948 (__gthread_mutex_timedlock): Likewise.
5949 (__gthread_mutex_unlock): Likewise.
5950 (__gthread_mutex_destroy): Likewise.
5951 (__gthread_recursive_mutex_lock): Likewise.
5952 (__gthread_recursive_mutex_trylock): Likewise.
5953 (__gthread_recursive_mutex_timedlock): Likewise.
5954 (__gthread_recursive_mutex_unlock): Likewise.
5955 (__gthread_recursive_mutex_destroy): Likewise.
5956
991995c4
MF
59572015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5958
5959 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5960 context->sp instead of context->cfa.
5961
0e19db59
MF
59622015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5963
5964 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5965 with unwind-dw2-fde-dip.
5966
b6ac5f62
MF
59672015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5968
5969 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5970 CALL12 followed by series of ENTRY to spill windowed registers.
5971 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5972 instead of making linux spill syscall.
5973
3e0f3349
YR
59742015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5975
5976 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5977 (get_intel_cpu): Likewise.
5978
51c728b1
L
59792015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5980
5981 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5982 (get_intel_cpu): Add Knights Landing support.
5983
aff4eeac
UB
59842015-08-11 Uros Bizjak <ubizjak@gmail.com>
5985
5986 PR target/66954
5987 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5988 (get_available_features): Handle FEATURE_PCLMUL.
5989
736e56da
L
59902015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5991
5992 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5993 Broadwell.
5994
54d22142
UB
59952015-07-22 Uros Bizjak <ubizjak@gmail.com>
5996
5997 PR target/66954
5998 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5999 (get_available_features): Handle FEATURE_AES.
6000
20ca17e4
CLT
60012015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6002
6003 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6004 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6005
ebe4a560
NS
60062015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6007
6008 * offloadstuff.c: Constify host data.
6009
180744c0
JB
60102015-07-17 Jan Beulich <jbeulich@suse.com>
6011
6012 * config/t-softfp: Split up "else ifneq".
6013
a03c6ae3
SL
60142015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6015 Cesar Philippidis <cesar@codesourcery.com>
6016 Chung-Lin Tang <cltang@codesourcery.com>
6017
6018 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6019 for __nios2_arch__ level.
6020
73358db5
JM
60212015-07-13 John Marino <gnugcc@marino.st>
6022
6023 * config/i386/t-dragonfly: New.
6024
f9a12f7b
JDA
60252015-07-01 John David Anglin <danglin@gcc.gnu.org>
6026
6027 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6028 better match light-weight syscall argument order.
6029 (__kernel_cmpxchg2): Likewise.
6030 Adjust callers.
6031
cb78b51c
L
60322015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6033
6034 * config.host: Support i[34567]86-*-elfiamcu target.
6035 * config/t-softfp-sfdftf: New file.
6036 * config/i386/32/t-iamcu: Likewise.
6037 * configure: Regenerated.
6038
4fa0f9ea
JL
60392015-06-23 James Lemke <jwlemke@codesourcery.com>
6040
6041 libgcc/config/arm/
6042 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6043
428b3812
L
60442015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6045
6046 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6047
7d296953 60482015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6049
6050 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6051 md_unwind_header
6052 * config/i386/freebsd-unwind.h: New.
6053
9b789cc1
UB
60542015-05-22 Uros Bizjak <ubizjak@gmail.com>
6055
6056 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6057 i386/t-crtfm to tmake_file.
6058 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6059 (set_fast_math): Use set_fast_math_sse for SSE targets.
6060 * config/i386/t-crtfm: Remove.
6061
3dafb220
AM
60622015-05-21 Alan Modra <amodra@gmail.com>
6063
6064 PR libgcc/66225
6065 * config/rs6000/morestack.S: Remove ".abiversion 1".
6066
0f0fd745
AM
60672015-05-20 Alan Modra <amodra@gmail.com>
6068
6069 * config/rs6000/morestack.S: New.
6070 * config/rs6000/t-stack-rs6000: New.
6071 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6072 to tmake_file.
6073 * generic-morestack.c: Don't build for powerpc 32-bit.
6074
515ae71b
EB
60752015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6076
6077 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6078 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6079
36805406
JL
60802015-05-16 James Bowman <james.bowman@ftdichip.com>
6081
6082 * config.host: FT32 target added.
6083 * config/ft32/*: New files for FT32 target.
6084
ff935d0c
MG
60852015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6086
385c7747
UB
6087 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6088 New macros.
6089 * config/arm/ieee754-df.S: Add CFI directives.
6090 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6091
9b92a9f3
EB
60922015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6093
6094 * configure.ac: Include config/sjlj.m4.
6095 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6096 * config.in: Regenerate.
6097 * configure: Likewise.
6098 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6099
98b5dc61
UB
61002015-05-12 Uros Bizjak <ubizjak@gmail.com>
6101
6102 * libgcov-util.c: Add space between string literal and macro name.
6103
5a0ff57c
SL
61042015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6105 Chris Jones <chrisj@nvidia.com>
6106 Joshua Conner <jconner@nvidia.com>
6107
6108 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6109 (arm*-*-uclinux*): Likewise.
6110 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6111 * config/arm/crtfastmath.c: New file.
6112
d28ad5d4
BS
61132014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6114
6115 * Makefile.in (real_host_noncanonical): New variable.
6116 (libsubdir): Use it.
6117 * configure.ac (real_host_noncanonical): Compute. Remove special
6118 case for intelmicemul.
6119 * configure: Regenerate.
6120
cc86234f
UB
61212015-04-28 Uros Bizjak <ubizjak@gmail.com>
6122
6123 * config/frv/elf-lib.h: New file.
6124 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6125 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6126 to tm_file.
6127
61282015-04-28 Uros Bizjak <ubizjak@gmail.com>
6129
6130 * config/frv/frvbengin.c: Do not include defaults.h
6131 * config/frv/frvend.c: Ditto.
6132
2f6bd6eb
YS
61332015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6134
6135 * config.host: Add h8300-*-linux
6136 * config/h8300/t-linux: New file.
6137 * config/h8300/lib1funs.s: Change symbol prefix.
6138 * config/h8300/sfp-machine.h: 64bit double support.
6139
15aa7b44
GR
61402015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6141 Szabolcs Nagy <szabolcs.nagy@arm.com>
6142
6143 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6144 Linux if target provides dl_iterate_phdr.
6145
abd0cdc9
L
61462015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6147
6148 PR target/65612
6149 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6150 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6151 (__cpu_indicator_init@GCC_4.8.0): New.
6152 (__cpu_model@GCC_4.8.0): Likewise.
6153 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6154 -DUSE_ELF_SYMVER.
6155
72ed1126
NC
61562015-04-16 Nick Clifton <nickc@redhat.com>
6157
6158 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6159 and __modhi3 functions.
6160 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6161 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6162
d26b2237
CG
61632015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6164
6165 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6166 do-while loop as macro body to avoid warnings.
6167
cacf1f59
JJ
61682015-04-10 Jakub Jelinek <jakub@redhat.com>
6169 Iain Sandoe <iain@codesourcery.com>
6170
6171 PR target/65351
6172 * configure: Regenerate.
6173
e8a4ed3b
JJ
61742015-04-07 Jakub Jelinek <jakub@redhat.com>
6175 Iain Sandoe <iain@codesourcery.com>
6176
6177 PR target/65351
6178 * configure: Regenerate.
6179
0341335e
CLT
61802015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6181
6182 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6183
590e2636 61842015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6185
590e2636
MF
6186 Implement call0 ABI for xtensa
6187 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6188 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6189 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6190 use ret in call0 ABI.
6191 * config/xtensa/t-windowed: New file.
6192 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6193 * libgcc/configure: Regenerated.
6194 * libgcc/configure.ac: Check if xtensa target is configured for
6195 windowed ABI and thus needs to use custom unwind code.
6196
7727f8f2
JW
61972015-02-12 Jonathan Wakely <jwakely@redhat.com>
6198
6199 PR libgcc/64885
6200 * gthr-single.h: Use __unused__ attribute instead of unused.
6201 * config/gthr-vxworks.h: Likewise.
6202 * config/i386/gthr-win32.h: Likewise.
6203
0e4a0def
KT
62042015-02-27 Kai Tietz <ktietz@redhat.com>
6205
6206 PR target/65038
6207 * config.in: Regenerated.
6208 * configure: Likewise.
6209 * configure.ac (AC_HEADER_STDC): Added explicit.
6210 (AC_CHECK_HEADERS): Check for default headers plus
6211 for ftw.h header.
6212 * libgcov-util.c (gcov_read_profile_dir): Disable use
6213 of ftw-function, if header is not found.
6214 (ftw_read_file): Likewise.
6215
b6530d0a
TS
62162015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6217
6218 PR target/65181
6219 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6220 -Dinhibit_libc.
6221
53cfb467
SL
62222015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6223
6224 * config/arm/bpabi.S (test_div_by_zero): Make label names
6225 consistent between thumb2 and arm mode cases. Separate the
6226 signed comparison on the high word of the numerator from the
6227 unsigned comparison on the low word.
6228 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6229 signed comparison.
6230
77d10a1b
JM
62312015-02-17 Joseph Myers <joseph@codesourcery.com>
6232
6233 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6234 and <string.h>.
6235 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6236
98174188
RE
62372015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6238
6239 PR gcov-profile/61889
471274de 6240 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6241
771bef14
NC
62422015-02-02 Nick Clifton <nickc@redhat.com>
6243
6244 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6245 rounding up the fraction.
6246
40702893
JDA
62472015-01-31 John David Anglin <danglin@gcc.gnu.org>
6248
6249 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6250 oldval and newval to const void *. Fix typo.
6251 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6252 (FETCH_AND_OP_WORD): Likewise.
6253 (OP_AND_FETCH_WORD): Likewise.
6254 (COMPARE_AND_SWAP_2): Likewise.
6255 (__sync_val_compare_and_swap_4): Likewise.
6256 (__sync_lock_test_and_set_4): Likewise.
6257 (SYNC_LOCK_RELEASE_2): Likewise.
6258 Remove support for long long atomic operations.
6259
f7f049fa
CT
62602015-01-27 Caroline Tice <cmtice@google.com>
6261
6262 Committing VTV Cywin/Ming patch for Patrick Wollgast
6263 * Makefile.in: Move rules to build vtv_*.o out of the check
6264 for CUSTOM_CRTSTUFF.
6265 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6266 i[34567]86-*-mingw*)
3d3b561f 6267 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
6268 enable_vtable_verify.
6269
8410904a
NC
62702015-01-27 Nick Clifton <nickc@redhat.com>
6271
6272 * config/rl78/cmpsi2.S: Use function start and end macros.
6273 (__gcc_bcmp): New function.
6274 * config/rl78/lshrsi3.S: Use function start and end macros.
6275 * config/rl78/mulsi3.S: Add support for G10.
6276 (__mulqi3): New function for G10.
6277 * config/rl78/signbit.S: Use function start and end macros.
6278 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6279 fpmath-sf.S.
6280 (LIB2FUNCS_EXCLUDE): Define.
6281 (LIB2FUNCS_ST): Define.
6282 * config/rl78/trampoline.S: Use function start and end macros.
6283 * config/rl78/vregs.h (START_FUNC): New macro.
6284 (START_ANOTHER_FUNC): New macro.
6285 (END_FUNC): New macro.
6286 (END_ANOTHER_FUNC): New macro.
6287 * config/rl78/bit-count.S: New file. Contains assembler
6288 implementations of the bit counting functions: ___clzhi2,
6289 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6290 __paritysi2, __popcounthi2 and __popcountsi2.
6291 * config/rl78/fpbit-sf.S: New file. Contains assembler
6292 implementationas of the math functions: __negsf2, __cmpsf2,
6293 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6294 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6295 * config/rl78/fpmath-sf.S: New file. Contains assembler
6296 implementations of the math functions: __subsf3, __addsf3,
6297 __mulsf3 and __divsf3
6298
f962fbf1
RO
62992015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6300
6301 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6302 Add i386/elf-lib.h to tm_file.
6303 * config/i386/elf-lib.h: Fix comment.
6304 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6305 && __sun__ && __svr4__]: Remove workaround.
6306
939911c5
ASJ
63072015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6308
6309 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6310 FEATURE_BMI2.
6311 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6312
c8f2dff2
L
63132015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6314
6315 * config/i386/cpuinfo.c (processor_subtypes): Add
6316 INTEL_COREI7_BROADWELL.
6317 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6318 model numbers.
6319
7bbf9734
UB
63202015-01-23 Uros Bizjak <ubizjak@gmail.com>
6321
6322 * config/i386/elf-lib.h: New file.
6323 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6324 Wrap definition in #ifdef __i386__.
6325 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6326 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6327 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6328 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6329 to tm_file.
6330
324820f1
CG
63312015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6332
6333 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6334 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6335
a9ce4e4a
CLT
63362015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6337
6338 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6339 Update rt_sigframe format and address for current Nios II
6340 Linux conventions.
6341
82a19768
AT
63422015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6343
6344 * config.host (arm*-*-freebsd*): Add new configuration for
6345 arm*-*-freebsd*.
6346 * config/arm/freebsd-atomic.c: New file.
6347 * config/arm/t-freebsd: Likewise.
6348 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6349 'PC-relative indirect' OS's.
6350
0969ec7d
EB
63512015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6352
6353 * config.host: Add Visium support.
6354 * config/visium: New directory.
6355
5624e564
JJ
63562015-01-05 Jakub Jelinek <jakub@redhat.com>
6357
6358 Update copyright years.
6359
82f84ecb
MF
63602014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6361
6362 * config.host: Support mipsisa32r6 and mipsisa64r6.
6363 * config/mips/mips16.S: Do not build for R6.
6364
69044fa9
OE
63652014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6366
6367 * config/sh/crt.h: New.
6368 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6369 symbols.
6370 * config/sh/crt1.S: Likewise.
6371
2405e0ea
UB
63722014-12-15 Uros Bizjak <ubizjak@gmail.com>
6373
6374 PR libgcc/63832
6375 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6376 func_ptr *dtor_list temporary variable to avoid "array subscript
6377 is above array bounds" warnings.
6378
7d296953 63792014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
6380
6381 * Makefile.in (with_aix_soname): Define.
6382 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6383 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6384 * configure: Recreate.
6385
a66272f6
OH
63862014-12-05 Olivier Hainque <hainque@adacore.com>
6387
6388 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6389 now provided by defaults.h.
6390
6342b2c5
OE
63912014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6392
7d0ee249 6393 PR target/55351
6342b2c5
OE
6394 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6395 whether it's defined.
6396
c17eac85
IT
63972014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6398
6399 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6400 * config/i386/cpuinfo.c (get_available_features): Detect it.
6401
1025cb6c
TW
64022014-11-27 Tony Wang <tony.wang@arm.com>
6403
6404 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6405 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6406 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6407
d19f2e38
SB
64082014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6409
6410 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6411
17f6e9a3
JDA
64122014-11-24 John David Anglin <danglin@gcc.gnu.org>
6413
6414 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6415 instead.
6416
0cd7c672
GM
64172014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6418 John David Anglin <danglin@gcc.gnu.org>
6419
6420 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6421 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6422 (OP_AND_FETCH_2): Likewise.
6423 (COMPARE_AND_SWAP_2): Likewise.
6424 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6425 (SYNC_LOCK_RELEASE_2): Likewise.
6426 (SUBWORD_SYNC_OP): Remove.
6427 (SUBWORD_VAL_CAS): Likewise.
6428 (SUBWORD_BOOL_CAS): Likewise.
6429 (FETCH_AND_OP_WORD): Update.
6430 Consistently use signed types.
cc86234f 6431
85c64bbe
BS
64322014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6433 Thomas Schwinge <thomas@codesourcery.com>
6434 Ilya Verbin <ilya.verbin@intel.com>
6435 Andrey Turetskiy <andrey.turetskiy@intel.com>
6436
6437 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6438 (crtoffloadend$(objext)): Likewise.
6439 * configure: Regenerate.
6440 * configure.ac (accel_dir_suffix): Compute new variable.
6441 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6442 if enable_offload_targets is not empty.
6443 * offloadstuff.c: New file.
6444
52a1ff8b
NC
64452014-11-13 Nick Clifton <nickc@redhat.com>
6446
6447 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6448 Use START_FUNC and END_FUNC macros to enable linker garbage
6449 collection.
6450 * config/rl78/divmodqi.S: Likewise.
6451 * config/rl78/divmodsi.S: Likewise.
6452 * config/rl78/mulsi3.S: Likewise.
6453 * config/rl78/lib2div.c: Remove G10 functions.
6454 * config/rl78/lib2muls.c: Likewise.
6455 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6456 * config/rl78/vregs.h (START_FUNC): New macro.
6457 (END_FUNC): New macro.
6458
050af144
MF
64592014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6460
6461 * config/mips/mips16.S: Set .module when supported. Update O32
6462 FP64 calling convention and use for FPXX when possible. Add FPXX
6463 calling convention fallback case.
6464
738f2522
BS
64652014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6466
6467 * config.host: Handle nvptx-*-*.
6468 * shared-object.mk (as-flags-$o): Define.
6469 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6470 -xassembler-with-cpp.
6471 * static-object.mk: Identical changes.
6472 * config/nvptx/t-nvptx: New file.
6473 * config/nvptx/crt0.s: New file.
6474 * config/nvptx/free.asm: New file.
6475 * config/nvptx/malloc.asm: New file.
6476 * config/nvptx/realloc.c: New file.
6477
e610393c
JM
64782014-10-30 Joseph Myers <joseph@codesourcery.com>
6479
6480 * Makefile.in (libgcc.map.in): New target.
6481 (libgcc.map): Use libgcc.map.in.
6482 * config/t-softfp (softfp_compat): New variable to be set by
6483 users.
6484 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6485 variables.
6486 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6487 directory.
6488 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6489 that use compat symbols and disable all code unless [SHARED].
6490 * config/t-softfp-compat: New file.
6491 * find-symver.awk: New file.
6492 * configure.ac (--with-glibc-version): New configure option.
6493 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6494 * configure: Regenerate.
6495 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6496 soft-float and e500.
6497
bc1b3a88
JM
64982014-10-29 Joseph Myers <joseph@codesourcery.com>
6499
6500 * config/t-hardfp (hardfp_exclusions): Document new variable for
6501 user to define.
6502 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6503 * config/t-softfp (softfp_extras): Document new variable for user
6504 to define.
6505 (softfp_func_list): Add functions from $(softfp_extras).
6506 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6507 * config.host (powerpc*-*-linux*): For e500v1, use
6508 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6509 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6510 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6511
ef2810c1
JDA
65122014-10-26 John David Anglin <danglin@gcc.gnu.org>
6513
6514 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6515 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6516 memory read accesses are ok.
6517
d80c2bea
JM
65182014-10-25 Joseph Myers <joseph@codesourcery.com>
6519
6520 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6521 * configure: Regenerate.
6522 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6523 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6524 of soft-fp for 32-bit classic hard float. Do not use
6525 t-softfp-excl for soft float.
6526
693b297b
JM
65272014-10-22 Joseph Myers <joseph@codesourcery.com>
6528
6529 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6530 configurations.
6531 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6532 Remove variables.
6533
18a3415e
GJL
65342014-10-22 Georg-Johann Lay <avr@gjlay.de>
6535
6536 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6537 introduced with 2014-10-21 trunk r216525.
6538
c1dd9790 65392014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6540 Vidya Praveen <vidya.praveen@atmel.com>
6541 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6542 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6543 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6544
6545 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6546 order.
6547
6548 Updated library functions for AVRTINY arch.
6549 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6550 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6551 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6552 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6553 wsubi/wadi macors.
6554 (__mulsi3_helper): Update stack, preserve callee saved regs and
6555 argument from stack. Restore callee save registers.
6556 (__mulpsi3): Likewise.
6557 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6558 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6559 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6560 AVRTINY.
6561 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6562 (__do_copy_data): Added new definition for AVRTINY.
6563 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6564 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6565 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6566 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6567 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6568 macors.
18a3415e 6569 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6570 AVRTINY.
6571
18a3415e 6572 Fix broken long multiplication on tiny arch.
c1dd9790 6573
5f606431
JM
65742014-10-09 Joseph Myers <joseph@codesourcery.com>
6575
6576 * soft-fp/double.h: Update from glibc.
6577 * soft-fp/eqdf2.c: Likewise.
6578 * soft-fp/eqsf2.c: Likewise.
6579 * soft-fp/eqtf2.c: Likewise.
6580 * soft-fp/extenddftf2.c: Likewise.
6581 * soft-fp/extended.h: Likewise.
6582 * soft-fp/extendsfdf2.c: Likewise.
6583 * soft-fp/extendsftf2.c: Likewise.
6584 * soft-fp/extendxftf2.c: Likewise.
6585 * soft-fp/gedf2.c: Likewise.
6586 * soft-fp/gesf2.c: Likewise.
6587 * soft-fp/getf2.c: Likewise.
6588 * soft-fp/ledf2.c: Likewise.
6589 * soft-fp/lesf2.c: Likewise.
6590 * soft-fp/letf2.c: Likewise.
6591 * soft-fp/op-1.h: Likewise.
6592 * soft-fp/op-2.h: Likewise.
6593 * soft-fp/op-4.h: Likewise.
6594 * soft-fp/op-8.h: Likewise.
6595 * soft-fp/op-common.h: Likewise.
6596 * soft-fp/quad.h: Likewise.
6597 * soft-fp/single.h: Likewise.
6598 * soft-fp/soft-fp.h: Likewise.
6599 * soft-fp/unorddf2.c: Likewise.
6600 * soft-fp/unordsf2.c: Likewise.
6601 * soft-fp/unordtf2.c: Likewise.
6602 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6603 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6604 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6605 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6606 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6607 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6608 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6609 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6610 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6611 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6612
9b84e7a8
RX
66132014-10-08 Rong Xu <xur@google.com>
6614
6615 * libgcov-util.c (read_gcda_file): Fix format.
6616 (find_match_gcov_info): Ditto.
6617 (calculate_2_entries): New.
6618 (compute_one_gcov): Ditto.
6619 (gcov_info_count_all_cold): Ditto.
6620 (gcov_info_count_all_zero): Ditto.
6621 (extract_file_basename): Ditto.
6622 (get_file_basename): Ditto.
6623 (set_flag): Ditto.
6624 (matched_gcov_info): Ditto.
6625 (calculate_overlap): Ditto.
6626 (gcov_profile_overlap): Ditto.
6627 * libgcov-driver.c (compute_summary): Make
6628 it avavilable for external calls.
6629
fe1090c1
RX
66302014-10-06 Rong Xu <xur@google.com>
6631
6632 * Makefile.in: Ditto.
6633 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6634 (gcov_sort_icall_topn_counter): Ditto.
6635 (gcov_sort_topn_counter_arrays): Ditto.
6636 (dump_one_gcov): Sort indirect_call topn counters.
6637 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6638 function.
6639 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6640 utility function.
6641 (__gcov_indirect_call_topn_profiler): New profiler function.
6642 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6643 * libgcov.h: New decls.
6644
3daa7bbf
TS
66452014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6646
6647 * config.host: Remove support for score-*.
6648
9a79452d
JM
66492014-09-22 Joseph Myers <joseph@codesourcery.com>
6650
6651 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6652 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6653 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6654 __LIBGCC_XF_MANT_DIG__.
6655 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6656 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6657 __LIBGCC_TF_MANT_DIG__.
6658 * libgcc2.c (NOTRUNC): Define in terms of
6659 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6660 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6661
1a849e50
JM
66622014-09-22 Joseph Myers <joseph@codesourcery.com>
6663
6664 PR target/63312
6665 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6666 New macros.
6667
598a1586
HPN
66682014-09-22 Hans-Peter Nilsson <hp@axis.com>
6669
6670 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6671 override USE_PT_GNU_EH_FRAME.
6672 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6673 check USE_EH_FRAME_REGISTRY_ALWAYS against
6674 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6675 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6676 variable for substituted force_explicit_eh_registry.
6677 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6678 * configure.ac (explicit-exception-frame-registration):
6679 New AC_ARG_ENABLE.
6680 * configure: Regenerate.
6681
3a8fe7c6
OH
66822014-09-19 Olivier Hainque <hainque@adacore.com>
6683
6684 * config.host (powerpc-wrs-vxworksmils): New configuration,
6685 same as vxworksae.
6686
dd69f047
JM
66872014-09-18 Joseph Myers <joseph@codesourcery.com>
6688
6689 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6690
e770bfd9
JM
66912014-09-18 Joseph Myers <joseph@codesourcery.com>
6692
6693 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6694 bits not set bits as indicating trapping exceptions.
6695
cadb2b96
NS
66962014-09-17 Nathan sidwell <nathan@acm.org>
6697
6698 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6699 (LIBGCOV_DRIVER): ... here.
6700 * libgcov-driver.c (gcov_master): New.
6701 (gcov_exit): Remove from master chain.
6702 (__gcov_init): Add to master chain if version compatible. Don't
6703 clear the version.
6704 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6705 (gcov_reset_int): Clear master chain, if compatible.
6706 (gcov_dump_int): New internal interface. Dump master chain, if
6707 compatible.
6708 (gcov_dump): Alias for gcov_dump_int.
6709 * libgcov.h (struct gcov_root): Add next and prev fields.
6710 (struct gcov_master): New struct.
6711 (__gcov_master): New.
6712 (gcov_dump_int): Declare.
6713
580d22a3
OH
67142014-09-17 Olivier Hainque <hainque@adacore.com>
6715
6716 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6717 and crtbegin.o + crtend.o to extra_parts.
6718
8cc4b7a2
JM
67192014-09-12 Joseph Myers <joseph@codesourcery.com>
6720
6721 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6722 __LIBGCC_HAS_SF_MODE__.
6723 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6724 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6725 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6726 * config/libbid/bid_gcc_intrinsics.h
6727 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6728 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6729 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6730 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6731 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6732 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6733
ea3f2b24
GJL
67342014-09-11 Georg-Johann Lay <avr@gjlay.de>
6735
6736 PR target/63223
6737 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6738 and R24 as needed. Make work for all devices and .text locations.
6739 (__do_global_ctors, __do_global_dtors): Use word addresses.
6740 (__tablejump__, __tablejump_elpm__): Remove functions.
6741 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6742 Add _tablejump2.
6743 (XICALL, XIJMP): New macros.
6744
b677236a
MS
67452014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6746 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6747
6748 * config.host (aarch64*): Include crtfastmath.o and
6749 t-crtfm.
6750 * config/aarch64/crtfastmath.c: New file.
6751
157e859f
TS
67522014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6753
6754 * config.host: Remove picochip support.
6755 * config/picochip/adddi3.S: Remove.
6756 * config/picochip/ashlsi3.S: Remove.
6757 * config/picochip/ashlsi3.c: Remove.
6758 * config/picochip/ashrsi3.S: Remove.
6759 * config/picochip/ashrsi3.c: Remove.
6760 * config/picochip/clzsi2.S: Remove.
6761 * config/picochip/cmpsi2.S: Remove.
6762 * config/picochip/divmod15.S: Remove.
6763 * config/picochip/divmodhi4.S: Remove.
6764 * config/picochip/divmodsi4.S: Remove.
6765 * config/picochip/lib1funcs.S: Remove.
6766 * config/picochip/longjmp.S: Remove.
6767 * config/picochip/lshrsi3.S: Remove.
6768 * config/picochip/lshrsi3.c: Remove.
6769 * config/picochip/parityhi2.S: Remove.
6770 * config/picochip/popcounthi2.S: Remove.
6771 * config/picochip/setjmp.S: Remove.
6772 * config/picochip/subdi3.S: Remove.
6773 * config/picochip/t-picochip: Remove.
6774 * config/picochip/ucmpsi2.S: Remove.
6775 * config/picochip/udivmodhi4.S: Remove.
6776 * config/picochip/udivmodsi4.S: Remove.
6777
66bb34c0
JM
67782014-09-08 Joseph Myers <joseph@codesourcery.com>
6779
6780 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6781 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6782 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6783 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6784 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6785 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6786 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6787 defined and LIBGCC2_HAS_DF_MODE is defined.
6788 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6789 defined and LIBGCC2_HAS_XF_MODE is defined.
6790 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6791 defined and LIBGCC2_HAS_TF_MODE is defined.
6792
9686a2e6
JM
67932014-09-08 Joseph Myers <joseph@codesourcery.com>
6794
6795 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6796 and ROUND_TOWARDS_ZERO conditionals.
6797
71c3e2ef
NS
67982014-09-07 Nathan sidwell <nathan@acm.org>
6799
6800 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6801 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6802
53d68b9f
JM
68032014-09-05 Joseph Myers <joseph@codesourcery.com>
6804
6805 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6806 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6807 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6808 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6809 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6810 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6811 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6812 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6813 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6814 (DWARF_FRAME_REGISTERS): Change all uses to
6815 __LIBGCC_DWARF_FRAME_REGISTERS__.
6816 (EH_RETURN_STACKADJ_RTX): Change all uses to
6817 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6818 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6819 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6820 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6821 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6822 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6823 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6824 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6825 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6826 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6827 __LIBGCC_STACK_POINTER_REGNUM__.
6828 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6829 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6830 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6831 to __LIBGCC_STACK_POINTER_REGNUM__.
6832 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6833 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6834 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6835 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6836 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6837 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6838 (STACK_POINTER_REGNUM): Change all uses to
6839 __LIBGCC_STACK_POINTER_REGNUM__.
6840 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6841 use to __LIBGCC_STACK_POINTER_REGNUM__.
6842 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6843 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6844 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6845 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6846 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6847 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6848 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6849 to __LIBGCC_STACK_POINTER_REGNUM__.
6850 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6851 Remove conditional definition.
6852 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6853 __LIBGCC_TEXT_SECTION_ASM_OP__.
6854 (EH_FRAME_SECTION_NAME): Change all uses to
6855 __LIBGCC_EH_FRAME_SECTION_NAME__.
6856 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6857 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6858 (CTORS_SECTION_ASM_OP): Change all uses to
6859 __LIBGCC_CTORS_SECTION_ASM_OP__.
6860 (DTORS_SECTION_ASM_OP): Change all uses to
6861 __LIBGCC_DTORS_SECTION_ASM_OP__.
6862 (JCR_SECTION_NAME): Change all uses to
6863 __LIBGCC_JCR_SECTION_NAME__.
6864 (INIT_SECTION_ASM_OP): Change all uses to
6865 __LIBGCC_INIT_SECTION_ASM_OP__.
6866 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6867 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6868 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6869 __LIBGCC_STACK_GROWS_DOWNWARD__.
6870 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6871 __LIBGCC_INIT_SECTION_ASM_OP__.
6872 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6873 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6874 (EH_FRAME_SECTION_NAME): Change all uses to
6875 __LIBGCC_EH_FRAME_SECTION_NAME__.
6876 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6877 definitions. Change all uses to
6878 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6879 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6880 __LIBGCC_STACK_GROWS_DOWNWARD__.
6881 (DWARF_FRAME_REGISTERS): Change all uses to
6882 __LIBGCC_DWARF_FRAME_REGISTERS__.
6883 (EH_RETURN_STACKADJ_RTX): Change all uses to
6884 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6885 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6886 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6887 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6888 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6889 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6890
b20ee094
NS
68912014-09-02 Nathan sidwell <nathan@acm.org>
6892
6893 * libgcov-interface.c (STRONG_ALIAS): New.
6894 (__gcov_flush): Call __gcov_reset_int.
6895 (__gcov_reset): Strong alias for ...
6896 (__gcov_reset_ing): ... this renamed hidden version.
6897 * libgcov.h (__gcov_reset_int): New declaration.
6898
1ac83976
YS
68992014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6900
25efdb9f
YS
6901 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6902 call from here...
6903 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6904 (__dso_handle): Define on Cygwin.
6905 * config/i386/t-cygming (crtbeginS.o): New rule.
6906 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6907
1ac83976
YS
6908 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6909 declaration syntax.
6910
c6f9ea3b
SE
69112014-08-13 Steve Ellcey <sellcey@mips.com>
6912
6913 * crtstuff.c: Undef caddr_t.
6914
5b1ea7c5
SE
69152014-08-12 Steve Ellcey <sellcey@mips.com>
6916
6917 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6918
4303c581
NS
69192014-08-07 Nathan Sidwell <nathan@acm.org>
6920
6921 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6922 (LIBGCOV_DRIVER): ... to here.
6923 * libgcov.h (gcov_do_dump): New #define.
6924 (struct gcov_root): New.
6925 (__gcov_root): New declaration.
6926 (__gcov_dump_one): Declare.
6927 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6928 run_accounted): Delete.
6929 (gcov_compute_histogram): Add LIST argument, adjust.
6930 (compute_summary): Adjust gcov_compute_histogram call.
6931 (gcov_do_dump): Not hidden, static in libgcov.
6932 (gcov_clear): Move to interface.c.
6933 (__gcov_dump_one): New, broken out of ...
6934 (gcov_exit): ... here. Make static.
6935 (__gcov_root): New.
6936 (__gcov_init): Adjust.
6937 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6938 declarations.
6939 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6940 (gcov_clear): Moved from driver.c. Add LIST argument.
6941 (__gcov_reset): Adjust for changed interfaces.
6942 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6943
23742a9e
RAR
69442014-08-04 Rohit <rohitarulraj@freescale.com>
6945
6946 PR target/60102
6947 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6948 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6949
b98a872b
NS
69502014-08-01 Nathan Sidwell <nathan@acm.org>
6951
6952 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6953 LIBGCOV_INTERFACE): Reformat.
6954 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6955 IN_GCOV_TOOL.
6956 * libgcov-interface.c: Reformat some comments.
6957 (__gcov_flush_mx): Add declaration. Tidy up definition.
6958
6adaaa1d
AM
69592014-07-31 Alan Modra <amodra@gmail.com>
6960 Peter Bergner <bergner@vnet.ibm.com>
6961
6962 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6963 (pack_ldouble): New function.
6964 (__gcc_qadd): Use it.
6965 (__gcc_qmul): Likewise.
6966 (__gcc_qdiv): Likewise.
6967 (__gcc_qneg): Likewise.
6968 (__gcc_stoq): Likewise.
6969 (__gcc_dtoq): Likewise.
6970
87cb0c0c
UW
69712014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6972
6973 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6974 (__tpf_eh_return): Add original return address as second parameter.
6975 Handle cases where unwinder routines were called directly, instead
6976 of from within the C++ library.
6977
19926161
NS
69782014-07-29 Nathan Sidwell <nathan@acm.org>
6979
6980 * libgcov.h: Move renaming of entry points to lib gcov specific
6981 portion.
6982 (gcov_do_dump): New rename.
6983 (gcov_rewrite): Remove inline, make HIDDEN.
6984 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6985 (gcov_exit_compute_summary): Rename to ...
6986 (compute_summary): ... here. Add LIST argument.
6987 (gcov_exit_merge_gcda): Rename to ...
6988 (merge_one_data): ... here.
6989 (gcov_exit_write_gcda): Rename to ...
6990 (write_one_data): ... here.
6991 (gcov_exit_merge_summary): Rename to ...
6992 (merge_summary): Add RUN_COUNTED argument.
6993 (gcov_exit_dump_gcov): Rename to ...
6994 (dump_one_gcov): Add RUN_COUNTED argument.
6995 (gcov_do_dump): New function, broken out of ...
6996 (gcov_exit): ... here. Call it.
6997
17522262
AG
69982014-07-27 Anthony Green <green@moxielogic.com>
6999
7000 * config.host: Add moxiebox configuration suppport.
7001
6dc33097
NS
70022014-07-27 Nathan Sidwell <nathan@acm.org>
7003
7004 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7005 (struct gcov_filename): ... here. Include buffer and max length
7006 fields.
7007 (gcov_max_filename): Remove.
7008 (gi_filename): Remove.
7009 (gcov_exit_compute_summary): Compute max filename here.
7010 (gcov_exit_merge_gcda): Add filename parm, adjust.
7011 (gcov_exit_merge_summary): Likewise.
7012 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7013 (gcov_exit): Likewise.
7014 (__gcov_init): Don't calculate max length here.
7015 * libgcov_util.c (max_filename_len): Remove.
7016 (read_gcda_file): Don't calculate max length here.
7017 (gcov_read_profile_dir): Don't propagate here.
7018 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7019 struct gcov_filename changes.
7020 (gcov_exit_open_gcda_file): Likewise.
7021
770f687d
NS
70222014-07-25 Nathan Sidwell <nathan@acm.org>
7023
7024 * libgcov-driver.c (set_gcov_dump_complete,
7025 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7026 functions polluting user's namespace.
7027 (gcov_exit): Set variable directly.
7028 (gcov_clear): Reset variable directly.
7029 * libgcov-interface.c (get_gcov_dymp_complete,
7030 reset_gov_dump_complete): Remove declarations.
7031 (__gcov_reset, __gcov_dump): Don't call them.
7032
fabf71ba
DD
70332014-07-24 DJ Delorie <dj@redhat.com>
7034
7035 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7036 (__gcc_deregister_frame): Move logic to detect deregister function
7037 to ...
7038 (__gcc_register_frame): here, so it's consistent with the register
7039 logic.
fabf71ba 7040
d10ee722
NS
70412014-07-23 Nathan Sidwell <nathan@acm.org>
7042
7043 * libgcov-driver.c (set_gcov_list): Remove.
7044 (gcov_list): Make non-static in GCOV_TOOL.
7045 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7046
a4137090
JDA
70472014-07-17 John David Anglin <danglin@gcc.gnu.org>
7048
7049 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7050 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7051 Don't use SYNC_LOCK_RELEASE for int type.
7052
72602c6c
RB
70532014-07-14 Richard Biener <rguenther@suse.de>
7054
7055 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7056
d5313205
RX
70572014-07-11 Rong Xu <xur@google.com>
7058
7059 * libgcov-util.c (gcov_max_filename): Fix declartion.
7060
c77556a5
RX
70612014-07-10 Rong Xu <xur@google.com>
7062
7063 Add gcov-tool: an offline gcda profile processing tool
7064 Support.
7065 * libgcov-driver.c (gcov_max_filename): Make available
7066 to gcov-tool.
7067 * libgcov-merge.c (__gcov_merge_add): Replace
7068 gcov_read_counter() with a Macro.
7069 (__gcov_merge_ior): Ditto.
7070 (__gcov_merge_time_profile): Ditto.
7071 (__gcov_merge_single): Ditto.
7072 (__gcov_merge_delta): Ditto.
7073 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7074 in the utility functions.
7075 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7076 gcov_list object link lists.
7077 (tag_function): Ditto.
7078 (tag_blocks): Ditto.
7079 (tag_arcs): Ditto.
7080 (tag_lines): Ditto.
7081 (tag_counters): Ditto.
7082 (tag_summary): Ditto.
7083 (read_gcda_finalize): Ditto.
7084 (read_gcda_file): Ditto.
7085 (ftw_read_file): Ditto.
7086 (read_profile_dir_init): Ditto.
7087 (gcov_read_profile_dir): Ditto.
7088 (gcov_read_counter_mem): Ditto.
7089 (gcov_get_merge_weight): Ditto.
7090 (merge_wrapper): A wrapper function that calls merging handler.
7091 (gcov_merge): Merge two gcov_info objects with weights.
7092 (find_match_gcov_info): Find the matched gcov_info in the list.
7093 (gcov_profile_merge): Merge two gcov_info object lists.
7094 (__gcov_add_counter_op): Process edge profile counter values.
7095 (__gcov_ior_counter_op): Process IOR profile counter values.
7096 (__gcov_delta_counter_op): Process delta profile counter values.
7097 (__gcov_single_counter_op): Process single profile counter values.
7098 (fp_scale): Callback function for float-point scaling.
cc86234f 7099 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7100 (gcov_profile_scale): Scaling profile counters.
7101 (gcov_profile_normalize): Normalize profile counters.
7102 * libgcov.h: Add headers and functions for gcov-tool use.
7103 (gcov_get_counter): New.
7104 (gcov_get_counter_target): Ditto.
7105 (struct gcov_info): Make the functions field mutable in gcov-tool
7106 compilation.
7107
5c7dac8a
KT
71082014-06-23 Kai Tietz <ktietz@redhat.com>
7109
7110 PR libgcc/61585
7111 * unwind-seh.c (_Unwind_GetGR): Check for proper
7112 index range.
7113 (_Unwind_SetGR): Likewise.
7114
161c9312
NC
71152014-05-22 Nick Clifton <nickc@redhat.com>
7116
7117 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7118 -mhwmult=none.
7119
e3f0315f
TJ
71202014-05-22 Teresa Johnson <tejohnson@google.com>
7121
7122 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7123 include.
7124
dbed5a9b
JM
71252014-05-20 John Marino <gnugcc@marino.st>
7126
7127 * config.host (*-*-dragonfly*): New target.
7128 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7129 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7130 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7131 * config/i386/dragonfly-unwind.h: New.
7132
1ec380e5
MR
71332014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7134
7135 PR libgcc/60166
7136 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7137 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7138
54fde020
BE
71392014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7140
7141 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7142 implementation.
7143
999db125
GJL
71442014-05-12 Georg-Johann Lay <avr@gjlay.de>
7145
7146 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7147
cceaf54a
RO
71482014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7149
7150 PR libgcc/61097
7151 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7152 if --enable-shared.
7153
e3fe9b5b
BE
71542014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7155
7156 Work around for current cygwin32 build problems.
7157 * config/i386/cygming-crtbegin.c (__register_frame_info,
7158 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7159 functions only for 64-bit systems.
7160
54cf37e9
RO
71612014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7162
7163 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7164 (sigill_caught, sigill_hdlr): Remove.
7165
d9f069ab
RO
71662014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7167
7168 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7169 check.
7170 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7171 Solaris 9 single-threaded support.
7172 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7173 Solaris 9 single-threaded support. Add call_user_handler code
7174 sequences.
7175 (sparc_is_sighandler): Likewise.
7176
59976ef8
AK
71772014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7178
7179 * config.host: Append t-floattodi to tmake_file depending on
7180 host_address.
7181
d02bbcf3
JS
71822014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7183
31466bc0 7184 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7185
c2e7e597
UB
71862014-03-10 Uros Bizjak <ubizjak@gmail.com>
7187
7188 PR libgcc/60472
7189 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7190 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7191 Use __builtin_expect when checking *jcr_list for NULL.
7192
227a7dc8
RO
71932014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7194
7195 PR libgcc/59339
7196 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7197 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7198 vtv_*.o to extra_parts if enable_vtable_verify.
7199
df2b279c
NC
72002014-03-06 Nick Clifton <nickc@redhat.com>
7201
7202 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7203 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7204
dc11d79b
JY
72052014-02-28 Joey Ye <joey.ye@arm.com>
7206
7207 PR libgcc/60166
7208 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7209 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7210 Set to zero.
7211
341c653c
WL
72122014-02-24 Walter Lee <walt@tilera.com>
7213
7214 * config.host: Support "tilegx*" and "tilepro*" triplets.
7215 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7216 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7217
95ce7613
CLT
72182014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7219 Chung-Lin Tang <cltang@codesourcery.com>
7220
7221 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7222 * config/nios2/crti.S: Remove .file directive.
7223 * config/nios2/crtn.S: Likewise.
7224
0bb4fc05
KT
72252014-02-18 Kai Tietz <ktietz@redhat.com>
7226 Jonathan Schleifer <js@webkeks.org>
7227
7228 PR objc/56870
7229 * unwind-seh.c (_GCC_specific_handler): Pass proper
7230 value to unwind-handler.
7231
9acf28f1
JM
72322014-02-12 Joseph Myers <joseph@codesourcery.com>
7233
7234 * soft-fp/adddf3.c: Update from glibc.
7235 * soft-fp/addsf3.c: Likewise.
7236 * soft-fp/addtf3.c: Likewise.
7237 * soft-fp/divdf3.c: Likewise.
7238 * soft-fp/divsf3.c: Likewise.
7239 * soft-fp/divtf3.c: Likewise.
7240 * soft-fp/double.h: Likewise.
7241 * soft-fp/eqdf2.c: Likewise.
7242 * soft-fp/eqsf2.c: Likewise.
7243 * soft-fp/eqtf2.c: Likewise.
7244 * soft-fp/extenddftf2.c: Likewise.
7245 * soft-fp/extended.h: Likewise.
7246 * soft-fp/extendsfdf2.c: Likewise.
7247 * soft-fp/extendsftf2.c: Likewise.
7248 * soft-fp/extendxftf2.c: Likewise.
7249 * soft-fp/fixdfdi.c: Likewise.
7250 * soft-fp/fixdfsi.c: Likewise.
7251 * soft-fp/fixdfti.c: Likewise.
7252 * soft-fp/fixsfdi.c: Likewise.
7253 * soft-fp/fixsfsi.c: Likewise.
7254 * soft-fp/fixsfti.c: Likewise.
7255 * soft-fp/fixtfdi.c: Likewise.
7256 * soft-fp/fixtfsi.c: Likewise.
7257 * soft-fp/fixtfti.c: Likewise.
7258 * soft-fp/fixunsdfdi.c: Likewise.
7259 * soft-fp/fixunsdfsi.c: Likewise.
7260 * soft-fp/fixunsdfti.c: Likewise.
7261 * soft-fp/fixunssfdi.c: Likewise.
7262 * soft-fp/fixunssfsi.c: Likewise.
7263 * soft-fp/fixunssfti.c: Likewise.
7264 * soft-fp/fixunstfdi.c: Likewise.
7265 * soft-fp/fixunstfsi.c: Likewise.
7266 * soft-fp/fixunstfti.c: Likewise.
7267 * soft-fp/floatdidf.c: Likewise.
7268 * soft-fp/floatdisf.c: Likewise.
7269 * soft-fp/floatditf.c: Likewise.
7270 * soft-fp/floatsidf.c: Likewise.
7271 * soft-fp/floatsisf.c: Likewise.
7272 * soft-fp/floatsitf.c: Likewise.
7273 * soft-fp/floattidf.c: Likewise.
7274 * soft-fp/floattisf.c: Likewise.
7275 * soft-fp/floattitf.c: Likewise.
7276 * soft-fp/floatundidf.c: Likewise.
7277 * soft-fp/floatundisf.c: Likewise.
7278 * soft-fp/floatunditf.c: Likewise.
7279 * soft-fp/floatunsidf.c: Likewise.
7280 * soft-fp/floatunsisf.c: Likewise.
7281 * soft-fp/floatunsitf.c: Likewise.
7282 * soft-fp/floatuntidf.c: Likewise.
7283 * soft-fp/floatuntisf.c: Likewise.
7284 * soft-fp/floatuntitf.c: Likewise.
7285 * soft-fp/gedf2.c: Likewise.
7286 * soft-fp/gesf2.c: Likewise.
7287 * soft-fp/getf2.c: Likewise.
7288 * soft-fp/ledf2.c: Likewise.
7289 * soft-fp/lesf2.c: Likewise.
7290 * soft-fp/letf2.c: Likewise.
7291 * soft-fp/muldf3.c: Likewise.
7292 * soft-fp/mulsf3.c: Likewise.
7293 * soft-fp/multf3.c: Likewise.
7294 * soft-fp/negdf2.c: Likewise.
7295 * soft-fp/negsf2.c: Likewise.
7296 * soft-fp/negtf2.c: Likewise.
7297 * soft-fp/op-1.h: Likewise.
7298 * soft-fp/op-2.h: Likewise.
7299 * soft-fp/op-4.h: Likewise.
7300 * soft-fp/op-8.h: Likewise.
7301 * soft-fp/op-common.h: Likewise.
7302 * soft-fp/quad.h: Likewise.
7303 * soft-fp/single.h: Likewise.
7304 * soft-fp/soft-fp.h: Likewise.
7305 * soft-fp/subdf3.c: Likewise.
7306 * soft-fp/subsf3.c: Likewise.
7307 * soft-fp/subtf3.c: Likewise.
7308 * soft-fp/truncdfsf2.c: Likewise.
7309 * soft-fp/trunctfdf2.c: Likewise.
7310 * soft-fp/trunctfsf2.c: Likewise.
7311 * soft-fp/trunctfxf2.c: Likewise.
7312 * soft-fp/unorddf2.c: Likewise.
7313 * soft-fp/unordsf2.c: Likewise.
7314 * soft-fp/unordtf2.c: Likewise.
7315 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7316 macro.
7317 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7318 Likewise.
7319 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7320 Likewise.
7321 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7322 Likewise.
7323 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7324 Likewise.
7325 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7326 Likewise.
7327 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7328 Likewise.
7329 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7330 Likewise.
7331 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7332 Likewise.
7333 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7334 Likewise.
7335 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7336 Likewise.
7337 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7338 Likewise.
7339 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7340 Likewise.
7341 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7342 Likewise.
7343 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7344 Likewise.
7345 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7346 Likewise.
7347
ce245ec6
AK
73482014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7349
7350 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7351 cannot be represented.
7352 * config/s390/32/_fixsfdi.c: Likewise.
7353 * config/s390/32/_fixtfdi.c: Likewise.
7354 * config/s390/32/_fixunsdfdi.c: Likewise.
7355 * config/s390/32/_fixunssfdi.c: Likewise.
7356 * config/s390/32/_fixunstfdi.c: Likewise.
7357
1c51d688
RS
73582014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7359
7360 * configure.ac (libgcc_cv_mips_hard_float): New.
7361 * configure: Regenerate.
7362 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7363 t-softfp-sfdf for hard-float targets.
7364 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7365 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7366 (softfp_truncations, softfp_exclude_libgcc2): New.
7367 * config/t-hardfp: New file.
7368 * config/t-hardfp-sfdf: Likewise.
7369 * config/hardfp.c: Likewise.
7370
bbf391db
AK
73712014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7372
7373 * config.host: Include t-floattodi also for s390x.
7374 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7375 * config/s390/32/_fixsfdi.c: Likewise.
7376 * config/s390/32/_fixtfdi.c: Likewise.
7377 * config/s390/32/_fixunsdfdi.c: Likewise.
7378 * config/s390/32/_fixunssfdi.c: Likewise.
7379 * config/s390/32/_fixunstfdi.c: Likewise.
7380
91da0481
RO
73812014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7382
7383 PR target/59788
7384 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7385 (install-libgcc-unwind-map-forbuild): New target.
7386 (all): Depend on install-libgcc-unwind-map-forbuild.
7387 (install-libgcc-unwind-map): New target.
7388 (install): Depend on install-libgcc-unwind-map.
7389
02b67731
SL
73902014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7391
7392 * config/nios2/crti.S (_init): Initialize GOT pointer from
7393 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7394
1ea0a651
RS
73952014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7396
7397 * configure.ac: Check __mips64 when setting host_address.
7398 * configure: Regenerate.
7399 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7400 mips/t-mips64 and t-softfp.
7401 (mips*-*-linux*): Don't add mips/t-tpbit.
7402 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7403 (DPBIT, DPBIT_CFLAGS): Delete.
7404 * config/mips/sfp-machine.h: New file.
7405 * config/mips/t-mips64: Likewise.
7406 * config/mips/t-softfp-tf: Likewise.
7407 * config/mips/t-tpbit: Delete.
7408
f32b0061
MS
74092014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7410
7411 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7412 as long long.
7413
a5420aa4
WL
74142014-01-25 Walter Lee <walt@tilera.com>
7415
7416 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7417 config.h or system.h.
7418 (bool) Define.
7419
24534912
WL
74202014-01-25 Walter Lee <walt@tilera.com>
7421
7422 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7423 (post_atomic_barrier): Ditto.
7424 (__fetch_and_do): New macro.
7425 (__atomic_fetch_and_do): Use __fetch_and_do.
7426 (__sync_fetch_and_do): New macro.
7427 (__sync_fetch_and_add_4): New function.
7428 (__sync_fetch_and_sub_4): New function.
7429 (__sync_fetch_and_or_4): New function.
7430 (__sync_fetch_and_and_4): New function.
7431 (__sync_fetch_and_xor_4): New function.
7432 (__sync_fetch_and_nand_4): New function.
7433 (__sync_fetch_and_add_8): New function.
7434 (__sync_fetch_and_sub_8): New function.
7435 (__sync_fetch_and_or_8): New function.
7436 (__sync_fetch_and_and_8): New function.
7437 (__sync_fetch_and_xor_8): New function.
7438 (__sync_fetch_and_nand_8): New function.
7439 (__do_and_fetch): New macro.
7440 (__atomic_do_and_fetch): Use __do_and_fetch.
7441 (__sync_do_and_fetch): New macro.
7442 (__sync_add_and_fetch_4): New function.
7443 (__sync_sub_and_fetch_4): New function.
7444 (__sync_or_and_fetch_4): New function.
7445 (__sync_and_and_fetch_4): New function.
7446 (__sync_xor_and_fetch_4): New function.
7447 (__sync_nand_and_fetch_4): New function.
7448 (__sync_add_and_fetch_8): New function.
7449 (__sync_sub_and_fetch_8): New function.
7450 (__sync_or_and_fetch_8): New function.
7451 (__sync_and_and_fetch_8): New function.
7452 (__sync_xor_and_fetch_8): New function.
7453 (__sync_nand_and_fetch_8): New function.
7454 (__sync_exchange_methods): New macro.
7455 (__sync_val_compare_and_swap_4): New function.
7456 (__sync_bool_compare_and_swap_4): New function.
7457 (__sync_lock_test_and_test_4): New function.
7458 (__sync_val_compare_and_swap_8): New function.
7459 (__sync_bool_compare_and_swap_8): New function.
7460 (__sync_lock_test_and_test_8): New function.
7461 (__subword_cmpxchg_body): New macro.
7462 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7463 (__atomic_compare_exchange_2): Ditto.
7464 (__sync_subword_cmpxchg): New macro.
7465 (__sync_val_compare_and_swap_1): New function.
7466 (__sync_bool_compare_and_swap_1): New function.
7467 (__sync_val_compare_and_swap_2): New function.
7468 (__sync_bool_compare_and_swap_2): New function.
7469 (__atomic_subword): Rename to ...
7470 (__subword): ... New name.
7471 (__atomic_subword_fetch): Use __subword.
7472 (__sync_subword_fetch): New macro.
7473 (__sync_fetch_and_add_1): New function.
7474 (__sync_fetch_and_sub_1): New function.
7475 (__sync_fetch_and_or_1): New function.
7476 (__sync_fetch_and_and_1): New function.
7477 (__sync_fetch_and_xor_1): New function.
7478 (__sync_fetch_and_nand_1): New function.
7479 (__sync_fetch_and_add_2): New function.
7480 (__sync_fetch_and_sub_2): New function.
7481 (__sync_fetch_and_or_2): New function.
7482 (__sync_fetch_and_and_2): New function.
7483 (__sync_fetch_and_xor_2): New function.
7484 (__sync_fetch_and_nand_2): New function.
7485 (__sync_add_and_fetch_1): New function.
7486 (__sync_sub_and_fetch_1): New function.
7487 (__sync_or_and_fetch_1): New function.
7488 (__sync_and_and_fetch_1): New function.
7489 (__sync_xor_and_fetch_1): New function.
7490 (__sync_nand_and_fetch_1): New function.
7491 (__sync_add_and_fetch_2): New function.
7492 (__sync_sub_and_fetch_2): New function.
7493 (__sync_or_and_fetch_2): New function.
7494 (__sync_and_and_fetch_2): New function.
7495 (__sync_xor_and_fetch_2): New function.
7496 (__sync_nand_and_fetch_2): New function.
7497 (__atomic_subword_lock): Use __subword.
7498 (__sync_subword_lock): New macro.
7499 (__sync_lock_test_and_set_1): New function.
7500 (__sync_lock_test_and_set_2): New function.
7501
4d6d3bc5
WL
75022014-01-25 Walter Lee <walt@tilera.com>
7503
7504 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7505 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7506 (__atomic_subword): Ditto.
7507
cbd9890e
WL
75082014-01-25 Walter Lee <walt@tilera.com>
7509
7510 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7511 a prefix op argument.
7512 (__atomic_nand_fetch_4): Add prefix op.
7513 (__atomic_nand_fetch_8): Ditto.
7514
7d296953 75152014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7516
7517 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7518
46dd1242
L
75192014-01-09 Rong Xu <xur@google.com>
7520
7521 * libgcov-driver.c (this_prg): make it local to save
7522 bss space.
7523 (gcov_exit_compute_summary): Ditto.
7524 (gcov_exit_merge_gcda): Ditto.
7525 (gcov_exit_merge_summary): Ditto.
7526 (gcov_exit_dump_gcov): Ditto.
7527
cc86234f 75282014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7529
7530 * libgcov-driver.c: Use libgcov.h.
7531 (buffer_fn_data): Use xmalloc instead of malloc.
7532 (gcov_exit_merge_gcda): Ditto.
7533 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7534 * libgcov.h: New common header files for libgcov-*.h.
7535 * libgcov-interface.c: Use libgcov.h
7536 * libgcov-merge.c: Ditto.
7537 * libgcov-profiler.c: Ditto.
7538 * Makefile.in: Add dependence to libgcov.h
7539
a02e7bdd
JM
75402014-01-02 Joseph Myers <joseph@codesourcery.com>
7541
7542 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7543 case of small numerator and finite nonzero result.
7544
ac1dca3c
RS
75452014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7546
7547 Update copyright years
7548
f9030485
RS
75492014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7550
7551 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7552 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7553 config/arc/dp-hack.h, config/arc/fp-hack.h,
7554 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7555 config/arc/ieee-754/arc600-dsp/divdf3.S,
7556 config/arc/ieee-754/arc600-dsp/divsf3.S,
7557 config/arc/ieee-754/arc600-dsp/muldf3.S,
7558 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7559 config/arc/ieee-754/arc600-mul64/divdf3.S,
7560 config/arc/ieee-754/arc600-mul64/divsf3.S,
7561 config/arc/ieee-754/arc600-mul64/muldf3.S,
7562 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7563 config/arc/ieee-754/arc600/divsf3.S,
7564 config/arc/ieee-754/arc600/mulsf3.S,
7565 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7566 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7567 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7568 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7569 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7570 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7571 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7572 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7573 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7574 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7575 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7576 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7577 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7578 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7579 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7580 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7581 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7582 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7583 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7584 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7585 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7586 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7587 vtv_start_preinit.c: Use the standard form for the copyright notice.
7588
e430824f
CLT
75892013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7590 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 7591 Based on patches from Altera Corporation
e430824f
CLT
7592
7593 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7594 * config/nios2/lib2-nios2.h: New file.
7595 * config/nios2/lib2-divmod-hi.c: New file.
7596 * config/nios2/linux-unwind.h: New file.
7597 * config/nios2/lib2-divmod.c: New file.
7598 * config/nios2/linux-atomic.c: New file.
7599 * config/nios2/t-nios2: New file.
7600 * config/nios2/crti.asm: New file.
7601 * config/nios2/t-linux: New file.
7602 * config/nios2/lib2-divtable.c: New file.
7603 * config/nios2/lib2-mul.c: New file.
7604 * config/nios2/tramp.c: New file.
7605 * config/nios2/crtn.asm: New file.
7606
1879e97f
UB
76072013-12-26 Uros Bizjak <ubizjak@gmail.com>
7608
7609 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7610 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7611 from cpuid.h to check vendor signatures.
7612
f4a4bdbb
GG
76132013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7614
c2e7e597 7615 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7616 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7617 (get_amd_cpu): Likewise.
7618
8d2ae544
L
76192013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7620
7621 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7622 Haswell.
7623
74924838
ASJ
76242013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7625 H.J. Lu <hongjiu.lu@intel.com>
7626
0bb52f25
L
7627 PR target/59422
7628 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7629 and AMD_JAGUAR.
7630 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7631 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7632 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7633 FEATURE_XOP and FEATURE_FMA.
7634 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7635 AMDFAM15H_BDVER3.
7636 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 7637 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
7638 FEATURE_FMA4 and FEATURE_XOP.
7639
d3c11974
L
76402013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7641
7642 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7643 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7644 (get_intel_cpu): Updated.
7645
064c4ff2
ZC
76462013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7647
7648 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7649
8b02e720
UB
76502013-12-09 Uros Bizjak <ubizjak@gmail.com>
7651
7652 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 7653 instructions when __SSE_MATH__ is defined.
8b02e720 7654
3fa2ccb4
RC
76552013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7656
7657 * config.host (microblaze-*-rtems*): New.
7658
ecd78fc9
KV
76592013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7660
7661 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7662 architectures that do not have hardware divide instruction.
7663 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7664
b21fbbd2
RS
76652013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7666
7667 * longlong.h: Delete (moved to include/).
7668
b03fb8c9
AZ
76692013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7670
7671 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7672 of normal number and qNaN to not raise an inexact exception.
7673
3c716922
UB
76742013-11-28 Uros Bizjak <ubizjak@gmail.com>
7675
7676 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7677
76782013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
7679
7680 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7681 for correct opcodes on BE.
7682
a3458d22
UB
76832013-11-27 Uros Bizjak <ubizjak@gmail.com>
7684
7685 * soft-fp/op-4.h: Update from glibc.
7686
30b8f78b
KV
76872013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7688
7689 * libgcc2.c (__udivmoddi4): Define new implementation when
7690 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7691 divide instructions.
7692
82552a29
OE
76932013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7694
7695 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7696
80e87457
RO
76972013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7698
7699 * config/t-softfp (soft-fp-objects-base): New variable.
7700 (soft-fp-objects): Use it.
7701
44178879
DE
77022013-11-23 David Edelson <dje.gcc@gmail.com>
7703 Andrew Dixie <andrewd@gentrack.com>
7704
7705 PR target/33704
7706 * config/rs6000/aixinitfini.c: New file.
7707 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7708 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7709 symbols.
7710
e5287671
YR
77112013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7712
a3458d22 7713 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7714
867c8b03
JH
77152013-11-18 Jan Hubicka <jh@suse.cz>
7716
7f369373
JH
7717 * libgcov-driver.c (run_accounted): Make global level static.
7718 (gcov_exit_merge_summary): Silence warning; do not clear
7719 run_accounted here.
7720 (gcov_exit): Clear it here.
7721
1d0b3334
JH
7722 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7723 run_accounted.
7724
867c8b03
JH
7725 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7726 (all_prg, crc32): Remove static vars.
7727 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7728 all_prg.
7729 (gcov_exit_merge_gcda): Add crc32 parameter.
7730 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7731 do not account run if it was already accounted.
7732 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7733 (gcov_exit): Initialize all_prg; update.
7734
66204992
AS
77352013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7736
7737 * configure: Regenerate.
7738
b54214fe
UW
77392013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7740 Alan Modra <amodra@gmail.com>
7741
7742 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7743 (frob_update_context): Use it.
7744
77452013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7746 Alan Modra <amodra@gmail.com>
7747
7748 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7749 (trampoline_initial): Provide ELFv2 variant.
7750 (__trampoline_setup): Likewise.
7751
7752 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7753 check for AIX indirect function call sequence if _CALL_ELF == 2.
7754
77552013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7756 Alan Modra <amodra@gmail.com>
7757
7758 * config/rs6000/linux-unwind.h (get_regs): Do not support
7759 old kernel versions if _CALL_ELF == 2.
7760 (frob_update_context): Do not support PLT stub variants only
7761 generated by old linkers if _CALL_ELF == 2.
7762
13e0981a
UW
77632013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7764 Alan Modra <amodra@gmail.com>
7765
7766 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7767 location of CR save area for 64-bit little-endian systems.
7768
1a80085d
EB
77692013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7770
7771 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7772 in tmake_file.
7773 * config/arm/t-vxworks: Delete.
7774
cabeea52
KT
77752013-11-10 Kai Tietz <ktietz@redhat.com>
7776
7777 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7778 Increment load-count on use of LIBGCC_SONAME DLL.
7779 (hmod_libgcc): New static variable to hold handle of
7780 LIBGCC_SONAME DLL.
7781 (__gcc_deregister_frame): Decrement load-count of
7782 LIBGCC_SONAME DLL.
7783
ac088ba1
BRF
77842013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7785
7786 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7787 availability.
7788 * configure: Regenerate
7789
d59a8fcc
UB
77902013-11-07 Uros Bizjak <ubizjak@gmail.com>
7791
7792 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7793 FP_EX_DENORM. Store result to volatile location after SSE division
7794 to close interrupt window. Remove unneeded fwait after x87
7795 division since interrupt window will be closed by emitted fstp.
9de84e84 7796 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7797
9954c743
JM
77982013-11-06 Joseph Myers <joseph@codesourcery.com>
7799
7800 * soft-fp/README: Update.
7801 * soft-fp/adddf3.c: Update from glibc.
7802 * soft-fp/addsf3.c: Likewise.
7803 * soft-fp/addtf3.c: Likewise.
7804 * soft-fp/divdf3.c: Likewise.
7805 * soft-fp/divsf3.c: Likewise.
7806 * soft-fp/divtf3.c: Likewise.
7807 * soft-fp/double.h: Likewise.
7808 * soft-fp/eqdf2.c: Likewise.
7809 * soft-fp/eqsf2.c: Likewise.
7810 * soft-fp/eqtf2.c: Likewise.
7811 * soft-fp/extenddftf2.c: Likewise.
7812 * soft-fp/extended.h: Likewise.
7813 * soft-fp/extendsfdf2.c: Likewise.
7814 * soft-fp/extendsftf2.c: Likewise.
7815 * soft-fp/extendxftf2.c: Likewise.
7816 * soft-fp/fixdfdi.c: Likewise.
7817 * soft-fp/fixdfsi.c: Likewise.
7818 * soft-fp/fixdfti.c: Likewise.
7819 * soft-fp/fixsfdi.c: Likewise.
7820 * soft-fp/fixsfsi.c: Likewise.
7821 * soft-fp/fixsfti.c: Likewise.
7822 * soft-fp/fixtfdi.c: Likewise.
7823 * soft-fp/fixtfsi.c: Likewise.
7824 * soft-fp/fixtfti.c: Likewise.
7825 * soft-fp/fixunsdfdi.c: Likewise.
7826 * soft-fp/fixunsdfsi.c: Likewise.
7827 * soft-fp/fixunsdfti.c: Likewise.
7828 * soft-fp/fixunssfdi.c: Likewise.
7829 * soft-fp/fixunssfsi.c: Likewise.
7830 * soft-fp/fixunssfti.c: Likewise.
7831 * soft-fp/fixunstfdi.c: Likewise.
7832 * soft-fp/fixunstfsi.c: Likewise.
7833 * soft-fp/fixunstfti.c: Likewise.
7834 * soft-fp/floatdidf.c: Likewise.
7835 * soft-fp/floatdisf.c: Likewise.
7836 * soft-fp/floatditf.c: Likewise.
7837 * soft-fp/floatsidf.c: Likewise.
7838 * soft-fp/floatsisf.c: Likewise.
7839 * soft-fp/floatsitf.c: Likewise.
7840 * soft-fp/floattidf.c: Likewise.
7841 * soft-fp/floattisf.c: Likewise.
7842 * soft-fp/floattitf.c: Likewise.
7843 * soft-fp/floatundidf.c: Likewise.
7844 * soft-fp/floatundisf.c: Likewise.
7845 * soft-fp/floatunditf.c: Likewise.
7846 * soft-fp/floatunsidf.c: Likewise.
7847 * soft-fp/floatunsisf.c: Likewise.
7848 * soft-fp/floatunsitf.c: Likewise.
7849 * soft-fp/floatuntidf.c: Likewise.
7850 * soft-fp/floatuntisf.c: Likewise.
7851 * soft-fp/floatuntitf.c: Likewise.
7852 * soft-fp/gedf2.c: Likewise.
7853 * soft-fp/gesf2.c: Likewise.
7854 * soft-fp/getf2.c: Likewise.
7855 * soft-fp/ledf2.c: Likewise.
7856 * soft-fp/lesf2.c: Likewise.
7857 * soft-fp/letf2.c: Likewise.
7858 * soft-fp/muldf3.c: Likewise.
7859 * soft-fp/mulsf3.c: Likewise.
7860 * soft-fp/multf3.c: Likewise.
7861 * soft-fp/negdf2.c: Likewise.
7862 * soft-fp/negsf2.c: Likewise.
7863 * soft-fp/negtf2.c: Likewise.
7864 * soft-fp/op-1.h: Likewise.
7865 * soft-fp/op-2.h: Likewise.
7866 * soft-fp/op-4.h: Likewise.
7867 * soft-fp/op-8.h: Likewise.
7868 * soft-fp/op-common.h: Likewise.
7869 * soft-fp/quad.h: Likewise.
7870 * soft-fp/single.h: Likewise.
7871 * soft-fp/soft-fp.h: Likewise.
7872 * soft-fp/subdf3.c: Likewise.
7873 * soft-fp/subsf3.c: Likewise.
7874 * soft-fp/subtf3.c: Likewise.
7875 * soft-fp/truncdfsf2.c: Likewise.
7876 * soft-fp/trunctfdf2.c: Likewise.
7877 * soft-fp/trunctfsf2.c: Likewise.
7878 * soft-fp/trunctfxf2.c: Likewise.
7879 * soft-fp/unorddf2.c: Likewise.
7880 * soft-fp/unordsf2.c: Likewise.
7881 * soft-fp/unordtf2.c: Likewise.
7882
02ac9503
UB
78832013-11-05 Uros Bizjak <ubizjak@gmail.com>
7884
7885 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7886 (_FP_MUL_MEAT_D): Ditto.
7887 (_FP_DIV_MEAT_S): Ditto.
7888 (_FP_DIV_MEAT_D): Ditto.
7889 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7890 t-softfp-sfdf and t-softfp to tmake_file.
7891
61221141
UB
78922013-11-03 Uros Bizjak <ubizjak@gmail.com>
7893
7894 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7895 * config/i386/crtprec.c: Ditto.
7896
9304f876
CJW
78972013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7898 Shiva Chen <shiva0217@gmail.com>
7899
7900 * config.host (nds32*-elf*): Add nds32 target.
7901 * config/nds32 : New directory and files.
7902
0e499e75
HPN
79032013-10-16 Hans-Peter Nilsson <hp@axis.com>
7904
7905 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7906 * config.host (cpu_type) <Setting default>: Add entry for
7907 crisv32-*-*.
7908 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7909 <crisv32-*-linux*>: Adjust.
7910 * longlong.h: Wrap the whole CRIS section in a single
7911 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7912 and sub_ddmmss.
7913 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7914 defined.
7915 [__CRIS__] (__umulsidi3): Define.
7916 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7917 * config/cris/sfp-machine.h: New file.
7918 * config/cris/umulsidi3.S: New file.
7919 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7920 * config/cris/arit.c (SIGNMULT): New macro.
7921 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7922 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7923 saving 3 out of originally 33 cycles from the fastest
7924 path, 3 out of 54 from the medium path and one from the longest
7925 path. Improve comments.
7926
16022041
RS
79272013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7928
7929 * sync.c: Remove static aliases and define each function directly
7930 under its real name.
7931
69778659
JDA
79322013-10-02 John David Anglin <danglin@gcc.gnu.org>
7933
7934 * config.host (hppa*64*-*-linux*): Define extra_parts.
7935 (hppa*-*-linux*): Likewise.
7936
2deaf8b0
JR
79372013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7938
7939 * config/arc/crtgend.S: Add 2013 to Copyright years.
7940 * config/arc/gmon/atomic.h: Likewise.
7941 * config/arc/gmon/auxreg.h: Likewise.
7942 * config/arc/gmon/sys/gmon_out.h: Likewise.
7943 * config/arc/gmon/sys/gmon.h: Likewise.
7944 * config/arc/gmon/prof-freq.c: Likewise.
7945 * config/arc/gmon/mcount.c: Likewise.
7946 * config/arc/gmon/prof-freq-stub.S: Likewise.
7947 * config/arc/gmon/gmon.c: Likewise.
7948 * config/arc/gmon/machine-gmon.h: Likewise.
7949 * config/arc/gmon/profil.S: Likewise.
7950 * config/arc/gmon/dcache_linesz.S: Likewise.
7951 * config/arc/crtg.S: Likewise.
7952 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7953 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7954 * config/arc/ieee-754/adddf3.S: Likewise.
7955 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7956 * config/arc/ieee-754/fixsfsi.S: Likewise.
7957 * config/arc/ieee-754/gtsf2.S: Likewise.
7958 * config/arc/ieee-754/floatsisf.S: Likewise.
7959 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7960 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7961 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7962 * config/arc/ieee-754/fixdfsi.S: Likewise.
7963 * config/arc/ieee-754/addsf3.S: Likewise.
7964 * config/arc/ieee-754/gesf2.S: Likewise.
7965 * config/arc/ieee-754/floatsidf.S: Likewise.
7966 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7967 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7968 * config/arc/ieee-754/gtdf2.S: Likewise.
7969 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7970 * config/arc/ieee-754/uneqdf2.S: Likewise.
7971 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7972 * config/arc/ieee-754/uneqsf2.S: Likewise.
7973 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7974 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7975 * config/arc/ieee-754/eqdf2.S: Likewise.
7976 * config/arc/ieee-754/ordsf2.S: Likewise.
7977 * config/arc/ieee-754/divsf3.S: Likewise.
7978 * config/arc/ieee-754/divdf3.S: Likewise.
7979 * config/arc/ieee-754/floatunsidf.S: Likewise.
7980 * config/arc/ieee-754/orddf2.S: Likewise.
7981 * config/arc/ieee-754/eqsf2.S: Likewise.
7982 * config/arc/ieee-754/gedf2.S: Likewise.
7983 * config/arc/crtn.S: Likewise.
7984 * config/arc/crti.S: Likewise.
7985 * config/arc/t-arc700-uClibc: Likewise.
7986 * config/arc/asm.h: Likewise.
7987 * config/arc/libgcc-excl.ver: Likewise.
7988 * config/arc/t-arc-newlib: Likewise.
7989 * config/arc/divtab-arc700.c: Likewise.
7990 * config/arc/initfini.c: Likewise.
7991 * config/arc/fp-hack.h: Likewise.
7992
c8e318b0
JR
79932013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7994 Diego Novillo <dnovillo@google.com>
7995
7996 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7997 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7998 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7999 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 8000
d38a64b4
JR
80012013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8002 Brendan Kehoe <brendan@zen.org>
8003 Simon Cook <simon.cook@embecosm.com>
8004
8005 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8006 * config/arc: New directory.
8007 * longlong.h [__arc__] (umul_ppmm): Remove.
8008 [__arc__] (__umulsidi3): Define.
8009 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8010 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8011
dff717d2
JC
80122013-09-17 Jacek Caban <jacek@codeweavers.com>
8013
8014 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8015 CreateSemaphoreA.
8016 * config/i386/gthr-win32.h: Likewise.
8017
5c0029de
DD
80182013-09-16 DJ Delorie <dj@redhat.com>
8019
844ad6c6 8020 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
8021 * config/rl78/lib2mul.c: Enable for RL78/G10.
8022 * config/rl78/lib2div.c: Likewise.
8023 * config/rl78/lshrsi3.S: Use vregs.h.
8024 * config/rl78/cmpsi2.S: Likewise.
8025 * config/rl78/trampoline.S: Likewise.
8026 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8027
ceb2fc49
DD
80282013-09-14 DJ Delorie <dj@redhat.com>
8029 Nick Clifton <nickc@redhat.com>
8030
8031 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8032 * config/rl78/vregs.h: New.
8033 * config/rl78/signbit.S: New file. Implements signbit function.
8034 * config/rl78/divmodsi.S: New.
8035 * config/rl78/divmodhi.S: New.
8036 * config/rl78/divmodqi.S: New.
8037 * config/rl78/t-rl78: Build them here...
8038 * config/rl78/lib2div.c: ...but not here.
8039
f6a83b4a
DD
80402013-09-12 DJ Delorie <dj@redhat.com>
8041
8042 * config.host (msp*-*-elf): New.
8043 * config/msp430/: New port.
8044
9107b096
IS
80452013-08-18 Iain Sandoe <iain@codesourcery.com>
8046
8047 PR gcov-profile/58127
8048 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8049 __thread var for emulated TLS.
8050 (__gcov_indirect_call_counters): Likewise.
8051
0f9bde1f 80522013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8053 Catherine Moore <clm@codesourcery.com>
7d296953 8054 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8055
8056 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8057 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8058 (CALL_STUB_NO_RET): Likewise.
8059 (CALL_STUB_RET): Likewise.
8060 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8061 __mips16_ret call/return stub symbols.
8062 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8063 to tmake_file.
8064
2dc14aac
MR
80652013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8066
8067 * config.host <mips*-*-linux*>: Remove a stray comment.
8068
748d71f3
JH
80692013-08-10 Jan Hubicka <jh@suse.cz>
8070
8071 Work around binutils PR14342
8072 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8073 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8074 (L_gcov_indirect_call_profiler_v2): New.
8075
2fa3d31b
JH
80762013-08-06 Jan Hubicka <jh@suse.cz>
8077
8078 * libgcov.c (__gcov_indirect_call_callee,
8079 __gcov_indirect_call_counters): New global vars.
8080 (__gcov_indirect_call_profiler): replace by ...
8081 (__gcov_indirect_call_profiler_v2) ... this one.
8082
2077db1b
CT
80832013-08-06 Caroline Tice <cmtice@google.com>
8084
d0595b65 8085 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8086 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8087 * configure.ac: Add code to check/set enable_vtable_verify.
8088 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8089 true.
d0595b65
CT
8090 * vtv_start_preinit.c: New file.
8091 * vtv_end_preinit.c: New file.
8092 * vtv_start.c: New file.
8093 * vtv_end.c: New file.
8094 * configure: Regenerated.
2077db1b 8095
46549c20
MK
80962013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8097
8098 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8099 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8100 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8101 GPL-3.0-with-GCC-exception.
8102
72be589b
MR
81032013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8104
8105 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8106 ISA and up.
8107
902a3faf
AK
81082013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8109
8110 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8111 mapping for FPRs when creating the fallback framestate.
8112
02371798
GJL
81132013-07-19 Georg-Johann Lay <avr@gjlay.de>
8114
8115 PR target/57516
8116 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8117 (__round_s2_const, __round_u2_const)
8118 (__round_s4_const, __round_u4_const, __round_x8):
8119 Saturate result if addition result cannot be represented.
8120
ab0e8379
MK
81212013-07-15 Matthias Klose <doko@ubuntu.com>
8122
8123 * libgcc2.c: Don't include <limits.h>.
8124
7da38058
JJ
81252013-07-09 Janis Johnson <janisjo@codesourcery.com>
8126
8127 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8128
1f6eac90
JJ
81292013-07-06 Jakub Jelinek <jakub@redhat.com>
8130
8131 PR target/29776
8132 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8133
4ea3d774
JJ
81342013-06-28 Jakub Jelinek <jakub@redhat.com>
8135
8136 PR middle-end/36041
8137 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8138 Define.
8139 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8140 instead of table lookups.
8141 (__popcountDI2): Likewise.
8142
9d2cdf25
CJW
81432013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8144
8145 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8146 correctly.
8147
fa1e55b0
JM
81482013-06-21 Joseph Myers <joseph@codesourcery.com>
8149
8150 PR other/53317
8151 * soft-fp/adddf3.c: Update from glibc.
8152 * soft-fp/addsf3.c: Likewise.
8153 * soft-fp/addtf3.c: Likewise.
8154 * soft-fp/divdf3.c: Likewise.
8155 * soft-fp/divsf3.c: Likewise.
8156 * soft-fp/divtf3.c: Likewise.
8157 * soft-fp/double.h: Likewise.
8158 * soft-fp/eqdf2.c: Likewise.
8159 * soft-fp/eqsf2.c: Likewise.
8160 * soft-fp/eqtf2.c: Likewise.
8161 * soft-fp/extenddftf2.c: Likewise.
8162 * soft-fp/extended.h: Likewise.
8163 * soft-fp/extendsfdf2.c: Likewise.
8164 * soft-fp/extendsftf2.c: Likewise.
8165 * soft-fp/fixdfdi.c: Likewise.
8166 * soft-fp/fixdfsi.c: Likewise.
8167 * soft-fp/fixsfdi.c: Likewise.
8168 * soft-fp/fixsfsi.c: Likewise.
8169 * soft-fp/fixtfdi.c: Likewise.
8170 * soft-fp/fixtfsi.c: Likewise.
8171 * soft-fp/fixunsdfdi.c: Likewise.
8172 * soft-fp/fixunsdfsi.c: Likewise.
8173 * soft-fp/fixunssfdi.c: Likewise.
8174 * soft-fp/fixunssfsi.c: Likewise.
8175 * soft-fp/fixunstfdi.c: Likewise.
8176 * soft-fp/fixunstfsi.c: Likewise.
8177 * soft-fp/floatdidf.c: Likewise.
8178 * soft-fp/floatdisf.c: Likewise.
8179 * soft-fp/floatditf.c: Likewise.
8180 * soft-fp/floatsidf.c: Likewise.
8181 * soft-fp/floatsisf.c: Likewise.
8182 * soft-fp/floatsitf.c: Likewise.
8183 * soft-fp/floatundidf.c: Likewise.
8184 * soft-fp/floatundisf.c: Likewise.
8185 * soft-fp/floatunditf.c: Likewise.
8186 * soft-fp/floatunsidf.c: Likewise.
8187 * soft-fp/floatunsisf.c: Likewise.
8188 * soft-fp/floatunsitf.c: Likewise.
8189 * soft-fp/gedf2.c: Likewise.
8190 * soft-fp/gesf2.c: Likewise.
8191 * soft-fp/getf2.c: Likewise.
8192 * soft-fp/ledf2.c: Likewise.
8193 * soft-fp/lesf2.c: Likewise.
8194 * soft-fp/letf2.c: Likewise.
8195 * soft-fp/muldf3.c: Likewise.
8196 * soft-fp/mulsf3.c: Likewise.
8197 * soft-fp/multf3.c: Likewise.
8198 * soft-fp/negdf2.c: Likewise.
8199 * soft-fp/negsf2.c: Likewise.
8200 * soft-fp/negtf2.c: Likewise.
8201 * soft-fp/op-1.h: Likewise.
8202 * soft-fp/op-2.h: Likewise.
8203 * soft-fp/op-4.h: Likewise.
8204 * soft-fp/op-8.h: Likewise.
8205 * soft-fp/op-common.h: Likewise.
8206 * soft-fp/quad.h: Likewise.
8207 * soft-fp/single.h: Likewise.
8208 * soft-fp/soft-fp.h: Likewise.
8209 * soft-fp/subdf3.c: Likewise.
8210 * soft-fp/subsf3.c: Likewise.
8211 * soft-fp/subtf3.c: Likewise.
8212 * soft-fp/truncdfsf2.c: Likewise.
8213 * soft-fp/trunctfdf2.c: Likewise.
8214 * soft-fp/trunctfsf2.c: Likewise.
8215 * soft-fp/unorddf2.c: Likewise.
8216 * soft-fp/unordsf2.c: Likewise.
8217 * soft-fp/unordtf2.c: Likewise.
8218 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8219 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8220 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8221 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8222 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8223 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8224 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8225 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8226 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8227 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8228 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8229 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8230
0de86a92
JU
82312013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8232
8233 * config/mips/lib2funcs.c: New file.
8234 * config/mips/t-mips (LIB2ADD_ST): Add it.
8235
0d008882
OE
82362013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8237
8238 PR target/6526
8239 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8240 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8241
776434d1
WL
82422013-06-08 Walter Lee <walt@tilera.com>
8243
8244 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8245 Replace int64_t with long long. Add __extension__ where
8246 appropriate.
8247 * config/tilepro/atomic.c: Include config.h.
8248
6ab3ebb4
DR
82492013-06-06 Douglas B Rupp <rupp@adacore.com>
8250
8251 * config.host (arm-wrs-vxworks): Configure with other soft float.
8252
107eea2c
JU
82532013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8254
8255 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8256 (mips64r5900el-*-elf*): New configurations.
8257
5cc19c62
AM
82582013-06-04 Alan Modra <amodra@gmail.com>
8259
8260 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8261
0f1d3965
YR
82622013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8263
8264 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8265
0ba045df
EB
82662013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8267
8268 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8269 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8270 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8271
49dcafd4
EB
82722013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8273
8274 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8275 (powerpc-wrs-vxworks): Likewise.
8276
4fcb5d87
EB
82772013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8278
8279 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8280 signal frames as well.
8281 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8282 STACK_BIAS to the CFA offset.
8283
0ec33224
RH
82842013-05-17 Richard Henderson <rth@redhat.com>
8285
8286 PR target/49146
8287 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8288 (execute_cfa_program): Use it when storing to fs->regs.
8289
492a8029
KT
82902013-05-08 Kai Tietz <ktietz@redhat.com>
8291
8292 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8293 (__deregister_frame_info): Likewise.
8294
701e2f0a
TS
82952013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8296
e5123d08
TS
8297 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8298 NaN's payload.
8299
701e2f0a
TS
8300 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8301
b9a7eb5d
AM
83022013-04-25 Alan Modra <amodra@gmail.com>
8303
8304 * config.host: Match little-endian powerpc-linux.
8305
dfe192f5
YZ
83062013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8307
8308 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8309 as 'unsigned long long' instead of 'unsigned long'.
8310 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8311 'signed long'.
8312
b6b9af2f
JB
83132013-04-10 Julian Brown <julian@codesourcery.com>
8314
8315 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8316 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8317 unsigned char/unsigned short.
8318 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8319
ecabdd00
JDA
83202013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8321
8322 PR other/55274
8323 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8324
34652576
MI
83252013-04-04 Meador Inge <meadori@codesourcery.com>
8326
8327 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8328 computing the location of the link register.
8329 (aeabi_uldivmod): Ditto.
8330
e9fd8c19
KT
83312013-03-27 Kai Tietz <ktietz@redhat.com>
8332
8333 * config.host: Add support for cygwin x64 target.
8334 * configure: Regenerated.
8335
a6406324
WL
83362013-03-26 Walter Lee <walt@tilera.com>
8337
8338 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8339 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8340
55446c7e
KT
83412013-03-25 Kai Tietz <ktietz@redhat.com>
8342
8343 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8344
d2ae19d9
RM
83452013-03-20 Robert Mason <rbmj@verizon.net>
8346
8347 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8348 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8349 (__gthread_leave_tsd_dtor_context): Add prototypes.
8350 (tls_delete_hook): Update.
8351
22c4c869
CM
83522013-03-20 Catherine Moore <clm@codesourcery.com>
8353 Joseph Myers <joseph@codesourcery.com>
8354 Chao-ying Fu <fu@mips.com>
8355
8356 * config/mips/mips16.S: Don't build for microMIPS.
8357 * config/mips/linux-unwind.h: Handle microMIPS frame.
8358 * config/mips/crtn.S (fini, init): New labels.
8359
fbd28bc3
JJ
83602013-03-14 Jakub Jelinek <jakub@redhat.com>
8361
8362 PR tree-optimization/53265
8363 * unwind-dw2.c (execute_cfa_program): Avoid
8364 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8365 on targets with DWARF_FRAME_REGISTERS < 32.
8366
decc676e
OE
83672013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8368
8369 PR target/49880
8370 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8371 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8372
84ea618a
ST
83732013-03-07 Sriraman Tallam <tmsriram@google.com>
8374
8375 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8376 sandybridge processors.
8377
8f6d1c86
OE
83782013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8379
8380 PR target/56529
8381 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8382 inclusion list.
8383
ecdbd01a 83842013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
8385
8386 * config/microblaze/crti.S: Setup stack protection at entry
8387
0b4ce21b
GJL
83882013-03-04 Georg-Johann Lay <avr@gjlay.de>
8389
8390 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8391 (__rotldi3): Shift bytewise if applicable.
8392
b7c3f1ca
JG
83932013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8394
8395 * config/aarch64/sync-cache.c
8396 (__aarch64_sync_cache_range): Silence warnings.
8397
6d65e8f1
CM
83982013-02-25 Catherine Moore <clm@codesourcery.com>
8399
8400 Revert:
8401 2013-02-24 Catherine Moore <clm@codesourcery.com>
8402 Joseph Myers <joseph@codesourcery.com>
8403 Chao-ying Fu <fu@mips.com>
8404
8405 * config/mips/mips16.S: Don't build for microMIPS.
8406 * config/mips/linux-unwind.h: Handle microMIPS frame.
8407 * config/mips/crtn.S (fini, init): New labels.
8408
6941b508
CM
84092013-02-24 Catherine Moore <clm@codesourcery.com>
8410 Joseph Myers <joseph@codesourcery.com>
8411 Chao-ying Fu <fu@mips.com>
8412
8413 * config/mips/mips16.S: Don't build for microMIPS.
8414 * config/mips/linux-unwind.h: Handle microMIPS frame.
8415 * config/mips/crtn.S (fini, init): New labels.
8416
7c422dbb 84172012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8418 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8419 as dividend.
8420
110207ad
AM
84212013-02-16 Alan Modra <amodra@gmail.com>
8422
8423 PR target/55431
8424 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8425 (ppc_fallback_frame_state): Always set up save locations for fp
8426 and altivec. Don't bother with non-callee-saved regs, r0-r13
8427 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8428
e68a4ef6
GJL
84292013-02-12 Georg-Johann Lay <avr@gjlay.de>
8430
8431 PR target/54222
8432 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8433 _ssmulHA, _ssmulSA.
8434 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8435 _ssmulha3, _usmulusa3, _ssmulsa3.
8436 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8437 (__muldi3): XCALL __muldi3_6 instead of rcall.
8438 (__umulsidi3, __mulsidi3): New functions.
8439 (do_prologue_saves, do_epilogue_restores): New .macros.
8440 (__divdi3_moddi3): Use them.
8441 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8442 (__usmulusa3, __ssmulsa3): New functions.
8443
6c59ffd1
IS
84442013-02-11 Iain Sandoe <iain@codesourcery.com>
8445 Jack Howarth <howarth@bromo.med.uc.edu>
8446 Patrick Marlier <patrick.marlier@gmail.com>
8447
8448 PR libitm/55693
8449 * config/darwin-crt-tm.c: Remove dummy functions hack.
8450
85d768f3
GJL
84512013-02-08 Georg-Johann Lay <avr@gjlay.de>
8452
8453 PR target/54222
8454 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8455 * config/avr/lib2-object.mk: New iterator to build objects from it.
8456 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8457 lib2funcs.c.
8458 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8459 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8460 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8461 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8462 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8463 * config/avr/lib1funcs-fixed.S: Implement them.
8464
5d5bf775
RS
84652013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8466
8467 Update copyright years.
8468
99113dff
DE
84692013-02-01 David Edelsohn <dje.gcc@gmail.com>
8470
8471 PR target/54601
8472 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8473 Add crtcxa to extra_parts.
8474 * config/rs6000/exit.h: New file.
8475 * config/rs6000/cxa_atexit.c: New file.
8476 * config/rs6000/cxa_finalize.c: New file.
8477 * config/rs6000/crtcxa.c: New file.
8478 * config/rs6000/t-aix-cxa: New file.
8479 * config/rs6000/libgcc-aix-cxa.ver: New file.
8480
dbdbd982
NC
84812013-01-31 Nick Clifton <nickc@redhat.com>
8482
8483 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8484 variant.
8485
5893f158
GJL
84862013-01-29 Georg-Johann Lay <avr@gjlay.de>
8487
8488 PR target/54222
8489 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8490 _mulQQ, _mulHQ, _mulHA, _mulSA,
8491 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8492 _divQQ, _divHQ, _divHA, _divSA,
8493 _divUQQ, _divUHQ, _divUHA, _divUSA.
8494
ecdbd01a 84952013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8496
dbdbd982 8497 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8498 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8499 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8500 to exclude functions from being built with libgcc.c and use
8501 the microblaze assembly.
8502
ecdbd01a 85032013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8504
8505 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8506 extra_parts.
8507
922c57d1
YZ
85082013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8509
8510 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8511 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8512 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8513 alignment operation.
8514
e0f8b6a0
SN
85152013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8516
8517 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8518 loop start address for cache clearing.
8519
00892272
GJL
85202013-01-14 Georg-Johann Lay <avr@gjlay.de>
8521
8522 * config/avr/lib1funcs.S: Remove trailing blanks.
8523 * config/avr/lib1funcs-fixed.S: Ditto.
8524
e59ec5fd
GJL
85252013-01-14 Georg-Johann Lay <avr@gjlay.de>
8526
8527 * config/avr/avr-lib.h: Add GPL copyright notice.
8528
3ffc1958
GJL
85292013-01-14 Georg-Johann Lay <avr@gjlay.de>
8530
8531 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8532 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8533 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8534 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8535
25c210f9
MK
85362013-01-07 Mark Kettenis <kettenis@openbsd.org>
8537
8538 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8539 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8540
db59befb
NC
85412013-01-04 Nick Clifton <nickc@redhat.com>
8542
8543 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8544 the CALLT instruction is supported.
8545
5aa12dbf
JW
85462012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8547
8548 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8549 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8550
65f14117
JT
85512012-12-13 John Tytgat <John@bass-software.com>
8552
8553 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8554 is 25.
8555
ee3ae4f7
JJ
85562012-12-12 Jakub Jelinek <jakub@redhat.com>
8557
8558 PR libgcc/55451
8559 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8560 undefined signed overflows.
8561
2fcfba3d
UB
85622012-12-09 Uros Bizjak <ubizjak@gmail.com>
8563
8564 PR target/55344
8565 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8566
4f2b3dc2
UB
85672012-12-06 Uros Bizjak <ubizjak@gmail.com>
8568
8569 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8570 (FP_TRAPPING_EXCEPTIONS): Define.
8571 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8572 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8573
066161a2
RH
85742012-12-04 Richard Henderson <rth@redhat.com>
8575
8576 PR bootstrap/55571
8577 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8578
7d296953 85792012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8580
4f2b3dc2 8581 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8582 (FP_EX_SHIFT): Define.
8583 (FP_TRAPPING_EXCEPTIONS): Define.
8584
7d296953 85852012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8586
8587 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8588 (FP_ROUNDMODE): Use FP_RND_MASK.
8589 * config/aarch64/sfp-exceptions.c: New.
8590 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8591 Use __sfp_handle_exceptions.
8592
5005fe22
RE
85932012-12-04 Richard Earnshaw <rearnsha@arm.com>
8594
8595 * config.host: (arm*-*-freebsd*): Remove.
8596 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8597 (arm*-*-elf*): Remove.
8598 (arm*-*-wince-pe*): Remove.
8599 * arm/unwind-arm.c (struct fpa_reg): Delete.
8600 (struct fpa_regs): Delete.
8601 (phase1_vrs): Remove fpa element.
8602 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8603 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8604 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8605 * ieee754-sf.S (floatundisf): Remove FPA support.
8606 (floatdisf): Likewise.
8607 * ieee75f-df.S (floatundidf): Likewise.
8608 (floatdidf): Likewise.
8609
e5a81c8e
KT
86102012-11-29 Kai Tietz <ktietz@redhat.com>
8611
8612 PR target/55445
8613 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8614 * unwind-generic.h: Likewise.
8615 * unwind-seh.c: Likewise.
8616
f4919e4a
RH
86172012-11-28 Richard Henderson <rth@redhat.com>
8618
8619 PR libgcc/48076
8620 * emutls.c (__emutls_get_address): Avoid race condition between
8621 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8622
e13d9d5a
GJL
86232012-11-22 Georg-Johann Lay <avr@gjlay.de>
8624
8625 Adjust decimal point of signed accum mode to GCC default.
8626
8627 PR target/54222
8628 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8629 _divqq_helper.
8630 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8631 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8632 (__mulha3, __mulsa3)
8633 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8634 decimal point of signed accum types.
8635
e13d9d5a
GJL
8636 (__mulusa3_round): New function.
8637 (__mulusa3): Use it.
8638 (__divqq_helper): New function.
8639 (__udivuqq3): Use it.
8640
1b845c6e
JJ
86412012-11-20 Jakub Jelinek <jakub@redhat.com>
8642
8643 PR bootstrap/55370
8644 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8645
822a258a
TJ
86462012-11-18 Teresa Johnson <tejohnson@google.com>
8647
8648 PR bootstrap/55051
8649 * libgcov.c (gcov_exit): Remove merged program summary
8650 comparison unless !GCOV_LOCKED.
8651
7d296953 86522012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
8653
8654 * soft-fp: Updated from glibc upstream.
8655
e808687a
ILT
86562012-11-06 Ian Lance Taylor <iant@google.com>
8657
8658 * generic-morestack.c (__generic_morestack): Align the returned
8659 stack pointer to a 32 byte boundary.
8660 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8661 increment the return address until we have decided that we don't
8662 have a varargs function.
8663 (__morestack) [32-bit]: Align stack correctly when calling C
8664 functions.
8665 (__morestack) [64-bit]: Likewise.
8666
460277e0
TS
86672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8668
8669 * configure: Regenerate.
8670
73edb277
UB
86712012-11-02 Uros Bizjak <ubizjak@gmail.com>
8672
8673 PR target/55175
8674 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8675 * config/i386/sfp-machine.h: Guard exception handling
8676 code with _SOFT_FLOAT.
8677 * config/i386/32/sfp-machine.h: Guard rounding handling
8678 code with _SOFT_FLOAT.
8679 * config/i386/64/sfp-machine.h: Ditto.
8680
c1d4fa04
JS
86812012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8682
8683 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8684 as extra_parts.
8685
eff6ca85
UB
86862012-10-26 Uros Bizjak <ubizjak@gmail.com>
8687
8688 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8689 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8690 when appropriate. Correct structure element types.
8691 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8692 -minline-all-stringops from compile flags.
8693
7d296953 86942012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8695
8696 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8697
7d296953 86982012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8699
eff6ca85 8700 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8701
6f288860
SH
87022012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8703
8704 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8705 tmake_file.
8706
1e3d5096
IB
87072012-10-23 Ian Bolton <ian.bolton@arm.com>
8708 Jim MacArthur <jim.macarthur@arm.com>
8709 Marcus Shawcroft <marcus.shawcroft@arm.com>
8710 Nigel Stephens <nigel.stephens@arm.com>
8711 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8712 Richard Earnshaw <rearnsha@arm.com>
8713 Sofiane Naci <sofiane.naci@arm.com>
8714 Stephen Thomas <stephen.thomas@arm.com>
8715 Tejas Belagod <tejas.belagod@arm.com>
8716 Yufeng Zhang <yufeng.zhang@arm.com>
8717
8718 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8719 * config/aarch64/crti.S: New file.
8720 * config/aarch64/crtn.S: New file.
8721 * config/aarch64/linux-unwind.h: New file.
8722 * config/aarch64/sfp-machine.h: New file.
8723 * config/aarch64/sync-cache.c: New file.
8724 * config/aarch64/t-aarch64: New file.
8725 * config/aarch64/t-softfp: New file.
8726
8a740f07
HPN
87272012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8728
8729 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8730 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8731 no-longer-needed LDBU insns.
8732
7d296953 87332012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8734
8735 * config.host
8736 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8737 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8738
595fefee
MGD
87392012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8740
8741 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8742
9945a876
MK
87432012-10-15 Matthias Klose <doko@ubuntu.com>
8744
8745 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8746
1183dc2c
PC
87472012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8748
8749 * configure: Regenerate.
8750 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8751
945a9c1f
UB
87522012-10-10 Uros Bizjak <ubizjak@gmail.com>
8753
8754 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8755 instructions for 64bit targets only.
8756
fb8bf47a
UB
87572012-10-10 Uros Bizjak <ubizjak@gmail.com>
8758
8759 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8760 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8761 * config/i386/32/sfp-machine.h: ... here.
8762 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8763 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8764 New defines.
8765
acb72498
MK
87662012-10-07 Matthias Klose <doko@ubuntu.com>
8767
8768 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8769 as unused.
8770 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8771
8eaee0f0
MK
87722012-10-06 Mark Kettenis <kettenis@openbsd.org>
8773
8774 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8775 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8776 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8777 (ElfW): Likewise.
8778
5e3e4fe8
JW
87792012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8780
8781 PR other/53889
8782 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8783 Fix parameter names.
8784
86086376
OE
87852012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8786
8787 PR target/33135
8788 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8789 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8790 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8791
9597375a
OE
87922012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8793
8794 PR target/50457
8795 * config/sh/linux-atomic.S: Delete.
8796 * config/sh/linux-atomic.c: New.
8797 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8798 linux-atomic.c. Add cflags to disable warnings.
8799
1504e3e1
JW
88002012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8801
8802 PR other/53889
8803 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8804 function.
8805 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8806 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8807 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8808 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8809 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8810 Likewise.
1504e3e1
JW
8811 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8812 Likewise.
8813 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8814 Likewise.
8815 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8816 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8817
17f293b0
MK
88182012-09-19 Mark Kettenis <kettenis@openbsd.org>
8819
9597375a
OE
8820 * config.host (hppa-*-openbsd*): New target.
8821 * config/pa/t-openbsd: New file.
17f293b0 8822
51526856
GJL
88232012-09-15 Georg-Johann Lay <avr@gjlay.de>
8824
8825 PR target/54222
8826 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8827 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8828 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8829 (__divsa3): Use __negsi2 to negate r_quoL.
8830 * config/avr/lib1funcs.S (FALIAS): New macro.
8831 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8832 (__negsi2): ...this new function.
8833 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8834 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8835 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8836 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8837 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8838 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8839
aadb5b43
OE
88402012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8841
8842 PR target/54089
8843 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8844 (lshrsi3): Reimplement as lshrsi3_r0.
8845
d5d66749
AS
88462012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8847
8848 PR target/46191
8849 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8850 of libgcc.a.
8851
c6c36e73
TJ
88522012-09-07 Teresa Johnson <tejohnson@google.com>
8853
9597375a 8854 PR gcov-profile/54487
c6c36e73 8855 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8856 differences.
c6c36e73 8857
b588ae30
GJL
88582012-09-05 Georg-Johann Lay <avr@gjlay.de>
8859
8860 PR target/54461
8861 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8862 not configured --with-avrlibc=no.
8863 * config/avr/t-avrlibc: New file.
8864 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8865 (DPBIT_FUNCS): Ditto.
8866 (TPBIT_FUNCS): Ditto.
8867
abd16fb1
TJ
88682012-09-04 Teresa Johnson <tejohnson@google.com>
8869
8870 * libgcov.c (struct gcov_summary_buffer): New structure.
8871 (gcov_histogram_insert): New function.
8872 (gcov_compute_histogram): Ditto.
8873 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8874 histograms during summary merging.
8875
613061fd
MK
88762012-09-01 Mark Kettenis <kettenis@openbsd.org>
8877
8878 * config.host (x86_64-*-openbsd*): New target.
73edb277 8879
867a8345
CLT
88802012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8881
8882 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8883 attribute.
8884
4aeaaca3
GJL
88852012-08-24 Georg-Johann Lay <avr@gjlay.de>
8886
8887 PR target/54222
8888 * config/avr/t-avr (conv_X): Rename to func_X.
8889
e55e4056
GJL
88902012-08-24 Georg-Johann Lay <avr@gjlay.de>
8891
8892 PR target/54222
8893 * config/avr/lib1funcs-fixed.S: New file.
8894 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8895 after they are used.
8896 (neg2, neg4): New macros.
8897 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8898 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8899 (__umulhisi3): Speed up MUL variant if there is enough flash.
8900 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8901 avr-modes.def.
8902 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8903 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8904 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8905 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8906 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8907 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8908 (LIB2FUNCS_EXCLUDE): Add supported functions.
8909
a147b6d2
GJL
89102012-08-22 Georg-Johann Lay <avr@gjlay.de>
8911
8912 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8913 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8914 libgcc-s-objects.
8915 * fixed-obj.mk: Only expand dependency if $o is not in
8916 LIB2FUNCS_EXCLUDE.
8917
c637141a
L
89182012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8919
8920 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8921
130e00bd
JM
89222012-08-22 Joseph Myers <joseph@codesourcery.com>
8923
8924 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8925 depend on --enable-shared.
8926 ($(lib1asmfuncs-o)): Use %.vis files independent of
8927 --enable-shared.
8928 * static-object.mk ($(base)$(objext), $(base).vis)
8929 ($(base)_s$(objext)): Use same rules for visibility handling as in
8930 shared-object.mk.
8931
4b1b3788
ILT
89322012-08-21 Ian Lance Taylor <iant@google.com>
8933
8934 * config/i386/morestack.S (__morestack_non_split): Increase amount
8935 of space allocated for non-split code stack.
8936
d2468141
JM
89372012-08-19 Joseph Myers <joseph@codesourcery.com>
8938
8939 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8940 even if inhibit_libc.
8941
a508e1a8
JB
89422012-08-17 Julian Brown <julian@codesourcery.com>
8943
8944 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8945 -fexceptions -fnon-call-exceptions if not defined.
8946 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8947 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8948
5615a07d
AS
89492012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8950
8951 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8952 type.
8953
138f5acd
DE
89542012-08-16 David Edelsohn <dje.gcc@gmail.com>
8955
8956 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8957 rs6000/t-slibgcc-aix.
8958
18efc0dd
SB
89592012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8960
8961 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8962
6b39bc38
SB
89632012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8964
8965 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8966
cd25dea0
L
89672012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8968
8969 PR driver/54171
8970 * Makefile.in (version): Replace top_srcdir with srcdir.
8971
a3dda30b
JY
89722012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8973
8974 * Makefile.in (version): set to BASE-VER file from gcc directory.
8975
d04aacfc
NC
89762012-08-01 Nick Clifton <nickc@redhat.com>
8977
8978 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8979 Implements __clrsb for an HImode argument.
8980
0d13c974
NC
89812012-07-31 Nick Clifton <nickc@redhat.com>
8982
8983 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8984 Implements __clrsb for an HImode argument.
8985 * config/stormy16/clrsbhi2.c: New file:
8986 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8987
efbb59b2
SB
89882012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8989
8990 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8991
bf1431e3
TG
89922012-07-19 Tristan Gingold <gingold@adacore.com>
8993 Richard Henderson <rth@redhat.com>
8994
8995 * unwind-seh.c: New file.
8996 * unwind-generic.h: Include windows.h for SEH.
8997 (_Unwind_Exception): Use 6 private fields for SEH.
8998 (_GCC_specific_handler): Declare.
8999 * unwind-c.c (__gcc_personality_seh0): New function.
9000 Adjust for SEH.
9001 * config/i386/libgcc-cygming.ver: New file.
9002 * config/i386/t-seh-eh: New file.
9003 * config.host (x86_64-*-mingw*): Default to seh.
9004
659140c8
SB
90052012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9006
9007 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9008
a20d08fd
UB
90092012-06-17 Uros Bizjak <ubizjak@gmail.com>
9010
9011 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9012 __builtin_expect when checking for exceptions.
9013 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9014
79261115
UB
90152012-06-13 Uros Bizjak <ubizjak@gmail.com>
9016
4a172156
UB
9017 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9018 function declaration.
9019 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9020 (FP_RND_MASK): New.
9021 * config/ia64/sfp-exceptions.c: New.
9022 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 9023
bb5c97d4
UB
90242012-06-13 Uros Bizjak <ubizjak@gmail.com>
9025
9026 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9027 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9028 * config/i386/64/sfp-machine: ... (delete here) ...
9029 * config/i386/sfp-machine.h: ... to here.
9030 (FP_EX_MASK): Remove.
9031 (FP_RND_MASK): New.
9032 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9033
91fe5efb
ST
90342012-06-11 Sriraman Tallam <tmsriram@google.com>
9035
9036 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9037 * config/i386/libgcc-sol2.ver: Ditto.
9038 * config/i386/libgcc-glibc.ver: Ditto.
9039
67a218c5
RM
90402012-06-11 Roland McGrath <mcgrathr@google.com>
9041
9042 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9043 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9044 pthread_cancel.
9045
492fbea1
UB
90462012-06-09 Uros Bizjak <ubizjak@gmail.com>
9047
9048 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9049 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9050 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9051 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9052 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9053 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9054 * config/i386/64/sfp-machine: ... (delete here) ...
9055 * config/i386/sfp-machine.h: ... to here.
9056 (FP_EX_MASK): New.
9057 (__sfp_handle_exceptions): New function declaration.
9058 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9059 * config/i386/sfp-exceptions.c: New.
9060 * config/i386/t-softfp: New.
9061 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9062 i386/t-softfp to tmake_file.
9063
7b4cf266
DM
90642012-06-03 David S. Miller <davem@davemloft.net>
9065
9066 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9067 change.
9068
0de0d5c6
DM
90692012-05-31 David S. Miller <davem@davemloft.net>
9070
9071 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9072 multiply and divide instructions on 32-bit when V9.
9073 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9074
d8c9d391
JM
90752012-05-29 Joseph Myers <joseph@codesourcery.com>
9076
9077 * config/arm/ieee754-df.S: Fix typos.
9078 * config/arm/ieee754-sf.S: Fix typos.
9079 * config/c6x/libunwind.S: Fix typos.
9080 * config/epiphany/udivsi3-float.c: Fix typos.
9081 * config/microblaze/muldi3_hard.S: Fix typos.
9082 * config/picochip/adddi3.S: Fix typos.
9083 * config/picochip/ashlsi3.S: Fix typos.
9084 * config/picochip/ashrsi3.S: Fix typos.
9085 * config/picochip/clzsi2.S: Fix typos.
9086 * config/picochip/cmpsi2.S: Fix typos.
9087 * config/picochip/divmod15.S: Fix typos.
9088 * config/picochip/divmodhi4.S: Fix typos.
9089 * config/picochip/divmodsi4.S: Fix typos.
9090 * config/picochip/longjmp.S: Fix typos.
9091 * config/picochip/lshrsi3.S: Fix typos.
9092 * config/picochip/parityhi2.S: Fix typos.
9093 * config/picochip/popcounthi2.S: Fix typos.
9094 * config/picochip/setjmp.S: Fix typos.
9095 * config/picochip/subdi3.S: Fix typos.
9096 * config/picochip/ucmpsi2.S: Fix typos.
9097 * config/picochip/udivmodhi4.S: Fix typos.
9098 * config/picochip/udivmodsi4.S: Fix typos.
9099 * config/spu/divv2df3.c: Fix typos.
9100 * config/spu/mfc_multi_tag_release.c: Fix typos.
9101 * config/spu/mfc_tag_release.c: Fix typos.
9102 * configure.ac: Fix typos.
9103 * configure: Regenerate.
9104
31a18a7e
ILT
91052012-05-25 Ian Lance Taylor <iant@google.com>
9106
9107 * config/i386/morestack.S (__morestack_non_split): Check whether
9108 caller is varargs and needs %bp to hold the stack frame on return.
9109
c5768510
OH
91102012-05-25 Olivier Hainque <hainque@adacore.com>
9111
9112 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9113 sequence in the non pic case on VxWorks.
9114
7c7c339b
OH
91152012-05-24 Olivier Hainque <hainque@adacore.com>
9116
73fb7630 9117 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9118 "install-leaf" to "install".
9119
fdc1b7d3
OH
91202012-05-24 Olivier Hainque <hainque@adacore.com>
9121
9122 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9123 Use a separate command for stamp removals.
9124
07ba94b9
AP
91252012-05-21 Andrew Pinski <apinski@cavium.com>
9126
9127 PR bootstrap/53183
9128 * configure.ac: Define the default includes to being none.
9129 * configure: Regenerate.
9130
4677d2eb
OH
91312012-05-16 Olivier Hainque <hainque@adacore.com>
9132
9133 * Makefile.in (install-unwind_h): Rename into ...
9134 (install-unwind_h-forbuild): New target.
9135 (all): Use it instead of the former install-unwind_h.
9136 (install-unwind_h): Reinstate, copy to user install destination
9137 for include files, not to the internal gcc object directory one.
9138 (install-leaf): Depend on it.
9139
7d67c380
OH
91402012-05-15 Olivier Hainque <hainque@adacore.com>
9141
9142 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9143 register numbers. LR_REGNO replaces R_LR.
9144 (ucontext_for): New, helper for ...
9145 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9146 and 5.3 of ...
9147 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9148
aca06c90
RO
91492012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9150
9151 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9152 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9153 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9154 i386/t-cpuinfo ...
9155 (i[34567]86-*-*, x86_64-*-*): ... here.
9156
9157 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9158 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9159
9160 * config/i386/i386-cpuinfo.c: Rename to ...
9161 * config/i386/cpuinfo.c: ... this.
9162 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9163
9164 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9165 (libgcc_cv_init_priority): New test.
9166 * configure: Regenerate.
9167 * config.in: New file.
9168 * Makefile.in (clean): Rename config.h to auto-target.h.
9169 (config.h): Likewise.
9170 (stamp-h): Likewise.
9171
9172 * config/i386/cpuinfo.c (auto-target.h): Include.
9173 (CONSTRUCTOR_PRIORITY): Define.
9174 (__cpu_indicator_init): Use it.
9175
0d03ac1b
L
91762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9177
9178 * longlong.h: Use a URL instead of an FSF postal address.
9179 Replace spaces with tab.
9180
4a172156 91812012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9182
9183 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9184 (__gcov_dump): Ditto.
9185 (gcov_dump_complete): New global variable.
9186 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9187 (__gcov_flush): Outline functionality now in gcov_clear.
9188 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9189
e4bb767e
AJ
91902012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9191
31a18a7e
ILT
9192 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9193 (mips*-*-linux*): Include mips/t-tpbit when long double is
9194 16 bytes long.
e4bb767e 9195
5ddecff9
ST
91962012-04-25 Sriraman Tallam <tmsriram@google.com>
9197
9198 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9199 (get_available_features): New argument. Check for AVX2.
9200 (__cpu_indicator_init): Modify call to get_available_features.
9201
b427dd7a
AM
92022012-04-25 Alan Modra <amodra@gmail.com>
9203
9204 * config/rs6000/crtsavevr.S: New file.
9205 * config/rs6000/crtrestvr.S: New file.
9206 * config/rs6000/t-savresfgpr: Build the above.
9207 * config/rs6000/t-netbsd: Likewise.
9208
ad491329
ST
92092012-04-24 Sriraman Tallam <tmsriram@google.com>
9210
9211 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9212
792317cc
ST
92132012-04-24 Sriraman Tallam <tmsriram@google.com>
9214
9215 * libgcc/config/i386/i386-cpuinfo.c: New file.
9216 * libgcc/config/i386/t-cpuinfo: New file.
9217 * libgcc/config.host: Include t-cpuinfo.
9218 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9219
e1be98a4
CF
92202012-04-24 Chao-ying Fu <fu@mips.com>
9221
9222 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9223
1bde7dab
TS
92242012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9225
9226 struct siginfo vs. siginfo_t
9227
9228 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9229 siginfo_t instead of struct siginfo.
9230 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9231 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9232 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9233 (ia64_handle_unwabi): Likewise.
9234 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9235 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9236 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9237 (sh_fallback_frame_state): Likewise.
9238 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9239 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9240
24590f66
L
92412012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9244 system call number.
9245
9a9dcce8
EB
92462012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9247
9248 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9249 if it hasn't been previously saved.
9250
6401aaf5
L
92512012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9252
9253 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9254 only for glibc.
9255
7fd6378e
GJL
92562012-03-28 Georg-Johann Lay <avr@gjlay.de>
9257
9258 PR target/52737
9259 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9260 instead of __AVR_HAVE_8BIT_SP__.
9261
9e916de7
TG
92622012-03-26 Tristan Gingold <gingold@adacore.com>
9263
9264 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9265 (unw_table_entry): Use unw_word instead of unsigned long.
9266 (_Unwind_FindTableEntry): Likewise.
9267 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9268 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9269 (_Unwind_FindTableEntry): Likewise.
9270 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9271 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9272 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9273 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9274 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9275 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9276 (uw_init_context_1, uw_install_context): Likewise.
9277 (unw_word): Move to unwind-ia64.h
9278
4b12e93d
TG
92792012-03-26 Tristan Gingold <gingold@adacore.com>
9280
9281 * config/vms/vms-ucrt0.c: Update copyright years.
9282 Add a sanity check.
9283 (___gcc_main_flags): Declare.
9284 (__main): Check flags to remap argv and exit code.
9285 * config.host (*-*-*vms*): Adjust extra_parts.
9286 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9287 (crt0.o): Add.
9288
06ea7371
RE
92892012-03-22 Richard Earnshaw <rearnsha@arm.com>
9290
9291 * arm/lib1funcs.asm (ctzsi2): New function.
9292 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9293 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9294 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9295 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9296 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9297 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9298
d82ad50d
AT
92992012-03-21 Andreas Tobler <andreast@fgznet.ch>
9300
9301 * config.host: Add bits to support powerpc64-*-freebsd*.
9302 * config/rs6000/freebsd-unwind.h: New file.
9303 * config/rs6000/t-freebsd64: New file.
9304
b260a8c0
RG
93052012-03-20 Richard Guenther <rguenther@suse.de>
9306
9307 PR gcov-profile/52627
9308 * libgcov.c (init_mx): Fix mutex name.
9309
86286a8a
TG
93102012-03-16 Tristan Gingold <gingold@adacore.com>
9311
9312 * config/ia64/vms-unwind.h: Remove ulong (and replace
9313 it by unw_reg where used). Define unw_reg with __int64.
9314
7888f266
RO
93152012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9316
9317 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9318 Solaris 8 handling.
9319 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9320 Solaris 8 handling.
9321 (sparc_is_sighandler): Likewise.
9322
f155bc64
L
93232012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9324
9325 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9326 <= saved reg size.
9327
d47657bd
RO
93282012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9329
9330 * config/arm/crtn.S: Fix typo.
9331
5bef73a1
RG
93322012-03-13 Richard Guenther <rguenther@suse.de>
9333
9334 * libgcov.c: Remove stdio.h include and NULL un-define.
9335
9c4271f3
RG
93362012-03-13 Richard Guenther <rguenther@suse.de>
9337
9338 PR target/52569
9339 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9340
c6d10e7c
RG
93412012-03-13 Richard Guenther <rguenther@suse.de>
9342
9343 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9344
074a385f
RG
93452012-03-13 Richard Guenther <rguenther@suse.de>
9346
9347 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9348 and __gthread_mutex_init_function definitions.
9349
c4bc5c25
RO
93502012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9351
9352 * config.host (mips*-*-openbsd*): Remove.
9353
5c30094f
RO
93542012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9355
9356 * config.host: Remove alpha*-dec-osf5.1* handling.
9357 * config/alpha/gthr-posix.c: Remove.
9358 * config/alpha/libgcc-osf5.ver: Remove.
9359 * config/alpha/osf5-unwind.h: Remove.
9360 * config/alpha/t-osf-pthread: Remove.
9361 * config/alpha/t-slibgcc-osf: Remove.
9362 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9363 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9364 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9365 * mkmap-flat.awk: Remove osf_export handling.
9366
33e3e24d
RG
93672012-03-12 Richard Guenther <rguenther@suse.de>
9368
9369 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9370 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9371 (__gthread_mutex_init_function): New function.
9372 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9373
9374 PR gcov/49484
9375 * libgcov.c: Include gthr.h.
9376 (__gcov_flush_mx): New global variable.
9377 (init_mx, init_mx_once): New functions.
9378 (__gcov_flush): Protect self with a mutex.
9379 (__gcov_fork): Re-initialize mutex after forking.
9380 * unwind-dw2-fde.c: Change condition under which to use
9381 __GTHREAD_MUTEX_INIT_FUNCTION.
9382
d8aba32a
TG
93832012-03-12 Tristan Gingold <gingold@adacore.com>
9384
9385 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9386 * config/ia64/t-vms: Likewise.
9387
75ffafdc
MH
93882012-03-11 Michael Hope <michael.hope@linaro.org>
9389
4a172156
UB
9390 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9391 for Thumb-2.
75ffafdc 9392
ef6c2c53
WL
93932012-03-07 Walter Lee <walt@tilera.com>
9394
9395 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9396 "arch_atomic_".
9397 (atomic_xor): Rename and move definition to
9398 config/tilepro/atomic.h.
9399 (atomic_nand): Ditto.
9400 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9401 "arch_atomic_".
9402 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9403 (arch_atomic_nand): Ditto.
9404
4e30d980
GJL
94052012-03-07 Georg-Johann Lay <avr@gjlay.de>
9406
9407 PR target/52507
9408 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9409
61108225
GJL
94102012-03-07 Georg-Johann Lay <avr@gjlay.de>
9411
9412 PR target/52505
9413 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9414 from RAM.
9415
b30e10ab
GJL
94162012-03-07 Georg-Johann Lay <avr@gjlay.de>
9417
9418 PR target/52461
9419 PR target/52508
9420 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9421 if RAMPZ affects reading from RAM.
9422 (__tablejump_elpm__): Ditto.
9423 (.xload): Ditto.
9424 (__movmemx_hi): Ditto.
9425 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9426 (__do_global_dtors): Ditto.
9427 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9428 (__movmemx_hi): Ditto.
9429
8993fde4
RH
94302012-03-05 Richard Henderson <rth@redhat.com>
9431
9432 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9433 [ARM] (count_trailing_zeros): Use the builtin.
9434
b7633ee3
KT
94352012-03-01 Kai Tietz <ktietz@redhat.com>
9436
9437 * soft-fp: Imported from glibc upstream.
9438
fbd3340c
KT
94392012-02-28 Kai Tietz <ktietz@redhat.com>
9440
9441 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9442 for mingw-targets as attribute gcc_struct.
9443
e9e053eb
ILT
94442012-02-28 Ian Lance Taylor <iant@google.com>
9445
9446 * generic-morestack.c (__splitstack_releasecontext): Correct call
9447 to __morestack_release_segments.
9448
d80c632e
ST
94492012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9450
9451 PR target/52390
9452 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9453 for __linux__ when removing signals from __morestack_fullmask.
9454
0253a8b1
GJL
94552012-02-23 Georg-Johann Lay <avr@gjlay.de>
9456
9457 PR target/52261
9458 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9459
e10e461e
UW
94602012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9461
9462 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9463 instead of HAVE_INITFINI_ARRAY.
9464 * config/ia64/crtend.S: Likewise.
9465
0c0c6398
KT
94662012-02-20 Kai Tietz <ktietz@redhat.com>
9467
d7470374
KT
9468 PR libstdc++/52300
9469 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9470
0c0c6398
KT
9471 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9472 to w32-unwind.h header.
9473
78c27266
RS
94742012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9475
9476 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9477 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9478 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9479 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9480
5adeb246
RS
94812012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9482
9483 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9484
672ed313
IS
94852012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9486
9487 PR libitm/52220
9488 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9489
e948a1fb
IS
94902012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9491 Patrick Marlier <patrick.marlier@gmail.com>
9492
9493 PR libitm/52220
9494 * config/darwin-crt-tm.c: Generate dummy functions.
9495
6017aed3
IS
94962012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9497 Patrick Marlier <patrick.marlier@gmail.com>
9498
9499 PR libitm/52042
9500 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9501 (__doTMRegistrations): Call it.
e9e053eb 9502 (__doTMdeRegistrations): Likewise.
6017aed3 9503
2da8c1ad 95042012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9505 Anatoly Sokolov <aesok@post.ru>
9506 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9507
9508 PR target/52261
9509 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9510 (__epilogue_restores__): Ditto.
9511
0f952eb4
EB
95122012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9513
9514 PR target/51921
9515 PR target/52205
9516 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9517 Solaris 11 and slightly reformat.
9518 (sparc_is_sighandler): Likewise.
9519
dd552284
WL
95202012-02-14 Walter Lee <walt@tilera.com>
9521
9522 * config.host: Handle tilegx and tilepro.
9523 * config/tilegx/sfp-machine.h: New file.
9524 * config/tilegx/sfp-machine32.h: New file.
9525 * config/tilegx/sfp-machine64.h: New file.
9526 * config/tilegx/t-crtstuff: New file.
9527 * config/tilegx/t-softfp: New file.
9528 * config/tilegx/t-tilegx: New file.
9529 * config/tilepro/atomic.c: New file.
9530 * config/tilepro/atomic.h: New file.
9531 * config/tilepro/linux-unwind.h: New file.
9532 * config/tilepro/sfp-machine.h: New file.
9533 * config/tilepro/softdivide.c: New file.
9534 * config/tilepro/softmpy.S: New file.
9535 * config/tilepro/t-crtstuff: New file.
9536 * config/tilepro/t-tilepro: New file.
9537
b59cbd50
JW
95382012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9539
9540 PR libstdc++/51296
9541 PR libstdc++/51906
9542 * gthr-posix.h: Allow static initializer macros to be disabled.
9543 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9544
6caf807f
CLT
95452012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9546
9547 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9548 Add t-slibgcc-libgcc to tmake_file.
9549 * config/mips/libgcc-mips16.ver: Revert previous patch.
9550 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9551
7d296953
JJ
95522012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9553 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9554
9555 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9556 * config/cr16/crti.S: New file.
9557 * config/cr16/crtlibid.S: New file.
9558 * config/cr16/crtn.S: New file.
9559 * config/cr16/lib1funcs.S: New file.
9560 * config/cr16/t-cr16: New file.
9561 * config/cr16/t-crtlibid: New file.
9562 * config/cr16/unwind-dw2.h: New file.
9563 * config/cr16/unwind-cr16.c: New file.
9564 * config/cr16/divmodhi3.c: New file.
9565
8ef03aa7
AM
95662012-01-25 Alan Modra <amodra@gmail.com>
9567
9568 * config/rs6000/t-linux64: Delete. Move..
9569 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9570 * config/rs6000/t-linux: ..and libgcc flags to here.
9571
daecebc8
DR
95722012-01-22 Douglas B Rupp <rupp@gnat.com>
9573
9574 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9575 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9576 * configure: Regenerate.
9577
ddaf8125
RS
95782012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9579 Richard Sandiford <rdsandiford@googlemail.com>
9580
9581 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9582 * config/mips/mips16.S (__mips16_rdhwr): New function.
9583 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9584
2cd8b32c
NS
95852012-01-11 Nathan Sidwell <nathan@acm.org>
9586
9587 * libgcov.c (__gcov_init): Ignore objects with no functions.
9588
cba300dd
GJL
95892012-01-10 Georg-Johann Lay <avr@gjlay.de>
9590
9591 PR target/49868
9592 Extend __pgmx semantics to linearize memory.
9593 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9594 * config/avr/lib1funcs.S (__xload_1): New function.
9595 (__movmemx_qi, __movmemx_hi): New functions.
9596 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9597 semantics.
9ffaf4bc 9598
3d137660
EB
95992012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9600
9601 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9602 purported sigacthandler address isn't null before dereferencing it.
9603 (sparc_is_sighandler): Likewise.
9604
bf4db96c
EB
96052012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9606
9607 PR ada/41929
9608 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9609 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9610 (sparc_is_sighandler): Likewise.
9611 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9612
1ab3568b
TG
96132012-01-06 Tristan Gingold <gingold@adacore.com>
9614
9615 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9616 compatibility thunks...
9617 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9618 (crtbeginS.o, crtendS.o): ... and these to ...
9619 * config/ia64/t-ia64-elf: ... this new file.
9620 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9621 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9622
925b0ed8
AK
96232012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9624
9625 * configure: Regenerate.
9626 * config/s390/t-crtstuff: Remove -fPIC.
9627
a99ad737
JW
96282012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9629
9630 PR bootstrap/51006
9631 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9632 for NetBSD.
9633
884f56d1
GJL
96342012-01-02 Georg-Johann Lay <avr@gjlay.de>
9635
9636 PR target/51345
9637 * config/avr/lib1funcs.S: Remove FIXME comments.
9638 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9639
8c57e547
GJL
96402012-01-02 Georg-Johann Lay <avr@gjlay.de>
9641
9642 Implement light-weight DImode support.
9643 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9644 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9645 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9646 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9647
04dbc287
NS
96482011-12-30 Nathan Sidwell <nathan@acm.org>
9649
9650 * libgcov.c (gcov_crc32): Remove global var.
9651 (free_fn_data): New function.
9652 (buffer_fn_data): Pass in filename, more robust error recovery.
9653 (crc32_unsigned): New function.
9654 (gcov_exit): More robust detection of new program. More robust
9655 error recovery.
9656 (__gcov_init): Do not update program's crc here.
9657
8e1d97d4
TG
96582011-12-21 Tristan Gingold <gingold@adacore.com>
9659
9660 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9661
9ffaf4bc
ILT
96622011-12-21 Ian Lance Taylor <iant@google.com>
9663
9664 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9665
a0c8d0c1
ILT
96662011-12-20 Ian Lance Taylor <iant@google.com>
9667
9668 * config/i386/morestack.S (__morestack_non_split): If there is
9669 enough stack space already, don't split. Ask for more stack space
9670 than we required.
9671
69048898
SDJ
96722011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9673
9674 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9675 `sys/sdt.h'.
9676 (_Unwind_DebugHook): New function.
9677 (uw_restore_core_regs): New define.
9678 (unwind_phase2): Use uw_restore_core_regs instead of
9679 restore_core_regs.
9680 (unwind_phase2_forced): Likewise.
9681 (__gnu_Unwind_Resume): Likewise.
9682
1bb4b6a3
UB
96832011-12-20 Uros Bizjak <ubizjak@gmail.com>
9684
9685 * config/alpha/linux-unwind.h: Update copyright years.
9686 (MD_FROB_UPDATE_CONTEXT): New define.
9687 (alpha_frob_update_context): New function.
9688
eb028768
RS
96892011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9690
9691 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9692 tmake_file rather replacing it.
9693
6a2045bf
IS
96942011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9695
9696 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9697 function is not used for PPC64.
6a2045bf
IS
9698 (save_world): Amend comments. Update the VRsave mask to reflect the
9699 saved regs.
9700 (rest_world): Update comments, do not clobber r10, do not use r8.
9701 (eh_rest_world_r10): Amend comments, do not use r8.
9702 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9703 no longer used, move restore of CR and target address to the end of
9704 the routine.
9705
a13780a6
L
97062011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9707
9708 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9709 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9710
d7288dfb
GJL
97112011-12-14 Georg-Johann Lay <avr@gjlay.de>
9712
9713 PR target/49313
9714 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9715 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9716
8d2c862d
EB
97172011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9718
9719 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9720
3447cae6
GJL
97212011-12-09 Georg-Johann Lay <avr@gjlay.de>
9722
9723 PR target/49313
9724 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9725 * config/avr/lib1funcs.S (__muldi3): New function.
9726
806fc6aa
AP
97272011-12-06 Andrew Pinski <apinski@cavium.com>
9728
9729 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9730 size of func_ptr.
9731 (__frame_dummy_init_array_entry): Likewise.
9732
28c5e6b5
GJL
97332011-12-06 Georg-Johann Lay <avr@gjlay.de>
9734
9735 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9736
9737 PR target/51345
9738 PR target/51002
9739 * config/avr/lib1funcs.S (__prologue_saves__,
9740 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9741 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9742
8f90394a
IS
97432011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9744
9745 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9746
06dd33ac
JDA
97472011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9748
9749 PR other/51272
9750 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9751 (_ITM_deregisterTMCloneTable): Likewise.
9752 (__register_frame_info): Fix unused warning.
9753 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9754 pthread_default_stacksize_np): Likewise.
9755 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9756
85b8555e
DD
97572011-11-29 DJ Delorie <dj@redhat.com>
9758
9759 * config.host (rl78-*-elf): New case.
9760 * config/rl78: New directory for the Renesas RL78.
9761
4d5ae4ea
BS
97622011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9763
9764 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9765 formatting.
9766
f9c55897
RO
97672011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9768
9769 PR other/51022
9770 * config/rs6000/t-savresfgpr: New file.
9771 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9772 $(srcdir)/config/rs6000/eabi.S.
9773 * config/rs6000/t-ppccomm-ldbl: Remove.
9774 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9775 tmake_file.
9776 (powerpc-*-eabispe*): Likewise.
9777 (powerpc-*-eabi*): Likewise.
9778 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9779 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9780 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9781 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9782 tmake_file.
9783 (powerpc-*-eabisim*): Likewise.
9784 (powerpc-*-elf*): Likewise.
9785 (powerpc-*-eabialtivec*): Likewise.
9786 (powerpc-xilinx-eabi*): Likewise.
9787 (powerpc-*-rtems*): Likewise.
9788 (powerpcle-*-elf*): Likewise.
9789 (powerpcle-*-eabisim*): Likewise.
9790 (powerpcle-*-eabi*): Likewise.
9791
a01207c4
ILT
97922011-11-27 Ian Lance Taylor <iant@google.com>
9793
9794 * generic-morestack.c (__splitstack_find): Check for NULL old
9795 stack value.
9796 (__splitstack_resetcontext): New function.
9797 (__splitstack_releasecontext): New function.
9798 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9799
2b0b8ab2
IS
98002011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9801
9802 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9803
c1d8101c
IS
98042011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9805
9806 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9807
8b281334
RH
98082011-11-26 Richard Henderson <rth@redhat.com>
9809
9810 * config/m68k/linux-atomic.c: New file.
9811 * config/m68k/t-linux: New file.
9812 * config.host (m68k-uclinux, m68k-linux): Use it.
9813
7546aa9d
RH
98142011-11-26 Richard Henderson <rth@redhat.com>
9815
9816 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9817 (__TMC_END__): Only declare if hidden is available; in the definition,
9818 if hidden is unavailable add a null record.
9819 (deregister_tm_clones, register_tm_clones): New.
9820 (__do_global_dtors_aux, frame_dummy): Use them.
9821 (__do_global_dtors, __do_global_ctors_1): Likewise.
9822
e2362f5d
IS
98232011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9824
9825 * config/darwin-crt-tm.c: New file.
9826 * config.host (darwin): Build crttms.o crttme.o to provide
9827 startup and shutdown for tm clones.
9828 * config/t-darwin (crttms.o): New build rule.
9829 (crttme.o): Likewise.
9830
6685dd96
HPN
98312011-11-21 Hans-Peter Nilsson <hp@axis.com>
9832
9833 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9834 et al.
9835
b0dc7e4c
RH
98362011-11-21 Richard Henderson <rth@redhat.com>
9837
9838 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9839 (__TMC_LIST__, __TMC_END__): New.
9840 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9841 (__do_global_dtors): Likewise.
9842 (frame_dummy): Call _ITM_registerTMCloneTable.
9843 (__do_global_ctors_1): Likewise.
9844
d4b4b542
RO
98452011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9846
9847 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9848 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9849 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9850 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9851 * config/i386/t-darwin64: Remove.
9852 * config/sh/t-netbsd (LIB2ADD): Remove.
9853
989bdb74
GJL
98542011-11-21 Georg-Johann Lay <avr@gjlay.de>
9855
9856 PR target/49313
9857 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9858 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9859 * config/avr/lib1funcs.S (wmov): New assembler macro.
9860 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9861 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9862 (__udivmod64): New function.
9863 (__negdi2): New function.
9864
515a0cfc
GP
98652011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9866
9867 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9868 *-*-freebsd*aout*): Remove.
9869
0115d17f
HPN
98702011-11-20 Hans-Peter Nilsson <hp@axis.com>
9871
9872 * static-object.mk (c_flags-$o): Save c_flags.
9873 ($(base)$(objext)): Use it.
9874
93aeb62b
SE
98752011-11-18 Steve Ellcey <sje@cup.hp.com>
9876
9877 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9878
7bc6df2c
GJL
98792011-11-18 Georg-Johann Lay <avr@gjlay.de>
9880
9881 PR target/49868
9882 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9883 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9884 New functions.
9885
425d737b
MGD
98862011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9887
9888 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9889 functions.
1bb4b6a3 9890 (aeabi_uidivmod): Likewise.
425d737b
MGD
9891 (umodsi3): Likewise.
9892 (divsi3): Likewise.
9893 (aeabi_idivmod): Likewise.
9894 (modsi3): Likewise.
9895
f2a176dc
TG
98962011-11-16 Tristan Gingold <gingold@adacore.com>
9897
9898 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9899
7c209481
GJL
99002011-11-15 Georg-Johann Lay <avr@gjlay.de>
9901
9902 PR target/49868
9903 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9904 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9905
9dfd5832
JDA
99062011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9907
9908 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9909 tmake_file list.
9910 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9911 * config/pa/t-stublib64: Delete.
9912
f77dca5d
RH
99132011-11-12 Richard Henderson <rth@redhat.com>
9914
9915 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9916 cast the pointer argument to _Unwind_SetGRPtr.
9917
902828f0
RO
99182011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9919
9920 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9921
e14304ef
ILT
99222011-11-09 Ian Lance Taylor <iant@google.com>
9923
9924 * generic-morestack.c: Include <string.h>.
9925 (uintptr_type): Define.
9926 (struct initial_sp): Add dont_block_signals field. Reduce size of
9927 extra array by 1.
9928 (allocate_segment): Set prev field to NULL. Don't set
9929 __morestack_current_segment or __morestack_segments.
9930 (__generic_morestack): Update current->prev and *pp after calling
9931 allocate_segment.
9932 (__morestack_block_signals): Don't do anything if
9933 dont_block_signals is set.
9934 (__morestack_unblock_signals): Likewise.
9935 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9936 uintptr_type.
9937 (__splitstack_block_signals): New function.
9938 (enum __splitstack_content_offsets): Define.
9939 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9940 (__splitstack_makecontext): New function.
9941 (__splitstack_block_signals_context): New function.
9942 (__splitstack_find_context): New function.
9943 * config/i386/morestack.S (__morestack_get_guard): New function.
9944 (__morestack_set_guard, __morestack_make_guard): New functions.
9945 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9946
e3d871e4
RO
99472011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9948
9949 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9950 (i[34567]86-*-mingw*): ... here.
9951 (x86_64-*-mingw*): ... here.
9952
e55cef40
RO
99532011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9954
9955 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9956
5366b186
NS
99572011-11-07 Nathan Sidwell <nathan@acm.org>
9958
9959 * libgcov.c (struct gcov_fn_buffer): New struct.
9960 (buffer_fn_data): New helper.
9961 (gcov_exit): Rework for new gcov data structures.
9962
74155a6f
GJL
99632011-11-07 Georg-Johann Lay <avr@gjlay.de>
9964
9965 PR target/49313
9966 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9967
200feb07
RO
99682011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9969
9970 * config.host (tmake_file): Correct comment.
9971 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9972 t-libgcc-pic.
9973 (bfin*-uclinux*): Likewise.
9974 (bfin*-linux-uclibc*): Likewise.
9975 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9976
9977 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9978 assigning.
9979 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9980 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9981 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9982 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9983 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9984 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9985 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9986 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9987 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9988 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9989 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9990 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9991 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9992
9993 * config/bfin/t-elf: Remove.
9994 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9995
c9cd1a07
RO
99962011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9997
9998 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9999 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10000 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10001 (lm32-*-elf*): ... this.
10002 (lm32-*-rtems*): ... and this.
10003 Add to tmake_file.
10004 (m32r-*-rtems*): Add to tmake_file.
10005 (moxie-*-rtems*): Likewise.
10006 (sparc-*-rtems*): Likewise.
10007 Remove t-rtems from tmake_file.
10008 (sparc64-*-rtems*): Likewise.
10009 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10010 instead.
10011
9fbcc75d
RO
100122011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10013
10014 PR bootstrap/50982
10015 * config/gthr-posix.h: Move ...
10016 * gthr-posix.h: ... here.
10017 * config/gthr-lynx.h: Reflect this.
10018 * config/gthr-vxworks.h: Likewise.
10019 * config/rs6000/gthr-aix.h: Likewise.
10020 * configure.ac (target_thread_file): Likewise.
10021 * configure: Regenerate.
10022
76644b68
SH
100232011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10024
10025 * config.host (arm*-*-rtemseabi*): New target.
10026
5e490f2a
JDA
100272011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10028
10029 PR other/50991
10030 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10031 extra-parts.
10032
feeeff5c
JR
100332011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10034
10035 * config.host (epiphany-*-elf*): New configuration.
10036 * config/epiphany: New Directory.
10037
d618bb2c
RC
100382011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10039
10040 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10041 * config/avr/t-rtems: New.
10042 Filter out _exit from LIB1ASMFUNCS.
10043
1bb6f778
DM
100442011-11-04 David S. Miller <davem@davemloft.net>
10045
10046 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10047 * configure: Rebuild.
10048
9a7f7422
AK
100492011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10050
10051 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10052 variable.
10053
e4fe948a
GJL
100542011-11-04 Georg-Johann Lay <avr@gjlay.de>
10055
10056 PR target/50931
10057 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10058 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10059
7084e037
JS
100602011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10061
10062 PR target/50989
10063 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10064
1a032034
RO
100652011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10066
10067 * config/c6x/t-elf (LIB2ADDEH): Set.
10068 * config/c6x/t-c6x-elf: Remove.
10069
d385f772
RO
100702011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10071
10072 * config/i386/sol2-ci.S: Rename to ...
10073 * config/i386/crti.S: ... this.
10074 * config/i386/sol2-cn.S: Rename to ...
10075 * config/i386/crtn.S: ... this.
10076 * config/sparc/sol2-ci.S: Rename to ...
10077 * config/sparc/crti.S: ... this.
10078 * config/sparc/sol2-cn.S: Rename to ...
10079 * config/sparc/crtn.S: ... this.
10080 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10081 (crti.o, crtn.o): Remove.
10082
1ba878a9
TG
100832011-11-04 Tristan Gingold <gingold@adacore.com>
10084
10085 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10086
02750c15
KK
100872011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10088
10089 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10090
bf86b067
HPN
100912011-11-03 Hans-Peter Nilsson <hp@axis.com>
10092
10093 * config.host (crisv32-*-none, cris-*-none): Remove.
10094 (crisv32-*-elf): Append to tmake_file, don't just set it.
10095 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10096
d0bc53bd
RO
100972011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10098
10099 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10100 (ecrtn$(objext)): Likewise.
10101 (ncrti$(objext)): Likewise.
10102 (ncrtn$(objext)): Likewise.
10103
036da830
AS
101042011-11-03 Andreas Schwab <schwab@redhat.com>
10105
10106 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10107
d2a7d041
DM
101082011-11-02 David S. Miller <davem@davemloft.net>
10109
10110 * configure.ac: Set host_address on sparc too.
10111 * configure: Regenerate.
10112 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10113 based upon host_address.
10114 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10115
af8ed618
JM
101162011-11-02 Jason Merrill <jason@redhat.com>
10117
10118 * config/rs6000/t-ppccomm: Add missing \.
10119
5d1c8e77
RO
101202011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10121
10122 * gthr-single.h, gthr.h: New files.
10123 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10124 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10125 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10126 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10127 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10128 * configure.ac (thread_header): New variable.
10129 Set it depending on target_thread_file.
10130 (gthr-default.h): Link from $thread_header.
10131 * configure: Regenerate.
10132 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10133
852b75ed
RO
101342011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10135
10136 * configure.ac (tm_file_): New variable.
10137 Determine from tm_file.
10138 (tm_file, tm_defines): Substitute.
10139 * configure: Regenerate.
10140 * mkheader.sh: New file.
10141 * Makefile.in (clean): Remove libgcc_tm.h.
10142 ($(objects)): Depend on libgcc_tm.h.
10143 (libgcc_tm_defines, libgcc_tm_file): New variables.
10144 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10145 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10146 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10147 ($(extra-parts)): Depend on libgcc_tm.h.
10148 * config.host (tm_defines, tm_file): New variable.
10149 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10150 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10151 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10152 (avr-*-rtems*): Likewise.
10153 (avr-*-*): Likewise.
10154 (frv-*-elf): Likewise.
10155 (frv-*-*linux*): Likewise.
10156 (h8300-*-rtems*): Likewise.
10157 (h8300-*-elf*): Likewise.
10158 (i[34567]86-*-darwin*): Likewise.
10159 (x86_64-*-darwin*): Likewise.
10160 (rx-*-elf): Likewise.
10161 (tic6x-*-uclinux): Likewise.
10162 (tic6x-*-elf): Likewise.
10163 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10164 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10165 * config/i386/cygming-crtbegin.c: Likewise.
10166 * config/i386/cygming-crtend.c: Likewise.
10167 * config/ia64/fde-vms.c: Likewise.
10168 * config/ia64/unwind-ia64.c: Likewise.
10169 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10170 * config/rs6000/darwin-fallback.c: Likewise.
10171 * config/stormy16/lib2funcs.c: Likewise.
10172 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10173 * crtstuff.c: Likewise.
10174 * dfp-bit.h: Likewise.
10175 * emutls.c: Likewise.
10176 * fixed-bit.c: Likewise.
10177 * fp-bit.c: Likewise.
10178 * generic-morestack-thread.c: Likewise.
10179 * generic-morestack.c: Likewise.
10180 * libgcc2.c: Likewise.
10181 * libgcov.c: Likewise.
10182 * unwind-dw2-fde-dip.c: Likewise.
10183 * unwind-dw2-fde.c: Likewise.
10184 * unwind-dw2.c: Likewise.
10185 * unwind-sjlj.c: Likewise.
10186
f9989b51
RO
101872011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10188
10189 * configure.ac: Include ../config/picflag.m4.
10190 (GCC_PICFLAG): Call it.
10191 Substitute.
10192 * configure: Regenerate.
10193 * Makefile.in (gcc_srcdir): Remove.
10194 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10195 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10196 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10197 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10198 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10199 Use $<.
10200 Remove comment.
10201 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10202 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10203 to refer to libgcc2.c.
10204 Use $<.
10205 * config/darwin-64.c: New file.
10206 * config/darwin-crt3.c: Remove comment.
10207 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10208 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10209 config/udivmodsi4.c: New files.
10210 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10211 config/memset.c: New files.
10212 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10213 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10214 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10215 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10216 * config/t-openbsd-thread: New file.
10217 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10218 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10219 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10220 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10221 qrnnd.S.
10222 Adapt filename.
10223 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10224 to refer to gthr-posix.c.
10225 * config/alpha/t-vms (LIB2ADD): Set.
10226 * config/alpha/vms-gcc_shell_handler.c: New file.
10227 * config/arm/bpabi.c, config/arm/fp16.c,
10228 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10229 config/arm/unaligned-funcs.c: New files.
10230 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10231 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10232 * config/arm/t-linux: Likewise.
10233 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10234 * config/arm/t-netbsd: New file.
10235 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10236 * config/arm/t-symbian (LIB2ADD_ST): Set.
10237 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10238 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10239 * config/bfin/t-elf: New file.
10240 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10241 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10242 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10243 config/c6x/ltf.c: New files.
10244 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10245 (HOST_LIBGCC2_CFLAGS): Set.
10246 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10247 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10248 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10249 New files.
10250 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10251 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10252 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10253 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10254 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10255 files.
10256 * config/frv/t-frv (LIB2ADD): Set.
10257 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10258 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10259 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10260 config/h8300/popcounthi2.c: New files.
10261 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10262 * config/i386/gthr-win32.c: New file.
10263 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10264 * config/i386/t-cygwin: Likewise.
10265 * config/i386/t-darwin, config/i386/t-darwin64,
10266 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10267 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10268 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10269 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10270 * config/ia64/quadlib.c: New file.
10271 * config/ia64/t-hpux (LIB2ADD): Set.
10272 * config/ia64/t-ia64: Add comment.
10273 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10274 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10275 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10276 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10277 * config/m32c/t-m32c (LIB2ADD): Set.
10278 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10279 * config/m32r/t-m32r: Likewise.
10280 * config/m68k/fpgnulib.c: New file.
10281 * config/m68k/t-floatlib (LIB2ADD): Set.
10282 (xfgnulib.c): New target.
10283 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10284 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10285 * config/mep/t-mep (LIB2ADD): Set.
10286 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10287 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10288 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10289 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10290 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10291 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10292 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10293 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10294 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10295 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10296 New files.
10297 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10298 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10299 * config/pa/fptr.c, config/pa/lib2funcs.S,
10300 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10301 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10302 (LIB2ADD, LIB2ADD_ST): Set.
10303 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10304 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10305 Set.
10306 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10307 * config/pdp11/t-pdp11: New file.
10308 * config/picochip/libgccExtras/adddi3.S,
10309 config/picochip/libgccExtras/ashlsi3.S,
10310 config/picochip/libgccExtras/ashrsi3.S,
10311 config/picochip/libgccExtras/clzsi2.S,
10312 config/picochip/libgccExtras/cmpsi2.S,
10313 config/picochip/libgccExtras/divmod15.S,
10314 config/picochip/libgccExtras/divmodhi4.S,
10315 config/picochip/libgccExtras/divmodsi4.S,
10316 config/picochip/libgccExtras/lshrsi3.S,
10317 config/picochip/libgccExtras/parityhi2.S,
10318 config/picochip/libgccExtras/popcounthi2.S,
10319 config/picochip/libgccExtras/subdi3.S,
10320 config/picochip/libgccExtras/ucmpsi2.S,
10321 config/picochip/libgccExtras/udivmodhi4.S,
10322 config/picochip/libgccExtras/udivmodsi4.S: New files.
10323 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10324 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10325 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10326 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10327 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10328 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10329 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10330 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10331 files.
10332 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10333 (HOST_LIBGCC2_CFLAGS): Set.
10334 * config/rs6000/t-darwin64: New file.
10335 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10336 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10337 * config/rs6000/t-ppccomm (LIB2ADD): Add
10338 $(srcdir)/config/rs6000/tramp.S.
10339 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10340 Add $(srcdir)/config/rs6000/eabi.S.
10341 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10342 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10343 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10344 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10345 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10346 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10347 * config/rs6000/tramp.S: New file.
10348 * config/s390/t-tpf: Remove.
10349 * config/sh/linux-atomic.S: New file.
10350 * config/sh/t-linux (LIB2ADD): Set.
10351 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10352 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10353 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10354 to unwind-dw2.c.
10355 (HOST_LIBGCC2_CFLAGS): Set.
10356 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10357 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10358 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10359 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10360 config/spu/mfc_multi_tag_release.c,
10361 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10362 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10363 config/spu/multi3.c: New files.
10364 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10365 (HOST_LIBGCC2_CFLAGS): Set.
10366 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10367 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10368 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10369 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10370 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10371 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10372 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10373 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10374 config/stormy16/umodsi3.c: New files.
10375 * config/xtensa/lib2funcs.S: New file.
10376 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10377 * config/xtensa/t-xtensa (LIB2ADD): Set.
10378 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10379 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10380 Add t-freebsd-thread to tmake_file for posix threads.
10381 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10382 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10383 (*-*-lynxos*): Likewise.
10384 (*-*-netbsd*): Likewise.
10385 (*-*-openbsd*): Likewise.
10386 Add t-openbsd-thread to tmake_file for posix threads.
10387 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10388 (*-*-vxworks*): Set tmake_file.
10389 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10390 (alpha*-*-freebsd*): Likewise.
10391 (alpha*-*-netbsd*): Likewise.
10392 (alpha*-*-openbsd*): Likewise.
10393 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10394 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10395 (alpha*-dec-*vms*): Likewise.
10396 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10397 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10398 (bfin*-uclinux*): Likewise.
10399 (bfin*-linux-uclibc*): Likewise.
10400 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10401 (crisv32-*-none): Likewise.
10402 (cris-*-elf): Likewise.
10403 (cris-*-none): Likewise.
10404 (cris-*-linux*, crisv32-*-linux*): Likewise.
10405 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10406 tmake_file.
10407 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10408 tmake_file.
10409 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10410 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10411 (x86_64-*-elf*): Likewise.
10412 (i[34567]86-*-nto-qnx*): Likewise.
10413 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10414 win32 threads.
10415 (x86_64-*-mingw*): Likewise.
10416 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10417 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10418 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10419 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10420 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10421 tmake_file.
10422 (mipsisa64sr71k-*-elf*): Likewise.
10423 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10424 (mips-*-elf*, mipsel-*-elf*): Likewise.
10425 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10426 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10427 (mips*-*-rtems*): Likewise.
10428 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10429 to tmake_file.
10430 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10431 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10432 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10433 (spu-*-elf*): Likewise.
10434 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10435
45b86625
RO
104362011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10437
10438 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10439 $(srcdir) to refer to $(LIB1ASMSRC).
10440 Use $<.
10441 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10442 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10443 config/arm/lib1funcs.S: New files.
10444 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10445 * config/arm/t-arm: New file.
10446 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10447 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10448 config/arm/t-strongarm-elf: New files.
10449 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10450 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10451 * config/avr/lib1funcs.S: New file.
10452 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10453 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10454 * config/c6x/lib1funcs.S: New file.
10455 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10456 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10457 * config/frv/lib1funcs.S: New file.
10458 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10459 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10460 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10461 * config/ia64/__divxf3.asm: Rename to ...
10462 * config/ia64/__divxf3.S: ... this.
10463 Adapt lib1funcs.asm filename.
10464 * config/ia64/_fixtfdi.asm: Rename to ...
10465 * config/ia64/_fixtfdi.S: ... this.
10466 Adapt lib1funcs.asm filename.
10467 * config/ia64/_fixunstfdi.asm: Rename to ...
10468 * config/ia64/_fixunstfdi.S: ... this.
10469 Adapt lib1funcs.asm filename.
10470 * config/ia64/_floatditf.asm: Rename to ...
10471 * config/ia64/_floatditf.S: ... this.
10472 Adapt lib1funcs.asm filename.
10473 * config/ia64/lib1funcs.S: New file.
10474 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10475 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10476 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10477 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10478 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10479 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10480 * config/mep/lib1funcs.S: New file.
10481 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10482 * config/mips/mips16.S: New file.
10483 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10484 * config/pa/milli64.S: New file.
10485 * config/pa/t-linux, config/pa/t-linux64: New files.
10486 * config/picochip/lib1funcs.S: New file.
10487 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10488 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10489 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10490 * config/sh/t-netbsd: New file.
10491 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10492 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10493 * config/sh/t-sh64: New file.
10494 * config/sparc/lb1spc.S: New file.
10495 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10496 filename.
10497 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10498 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10499 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10500 config/xtensa/lib1funcs.S: New files.
10501 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10502 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10503 tmake_file.
10504 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10505 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10506 (arm*-*-linux*): Likewise.
10507 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10508 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10509 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10510 (arm*-*-ecos-elf): Likewise.
10511 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10512 (arm*-*-rtems*): Likewise.
10513 (arm*-*-elf): Likewise.
10514 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10515 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10516 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10517 (bfin*-uclinux*): Likewise.
10518 (bfin*-linux-uclibc*): Likewise.
10519 (bfin*-rtems*): Likewise.
10520 (bfin*-*): Likewise.
10521 (fido-*-elf): Merge into m68k-*-elf*.
10522 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10523 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10524 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10525 (h8300-*-elf*): Likewise.
10526 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10527 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10528 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10529 (i[34567]86-*-mingw*): Likewise.
10530 (x86_64-*-mingw*): Likewise.
10531 (i[34567]86-*-interix3*): Likewise.
10532 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10533 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10534 (m68k-*-elf*): Also handle fido-*-elf.
10535 Add m68k/t-floatlib to tmake_file.
10536 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10537 (m68k-*-linux*): Likewise.
10538 (m68k-*-rtems*): Likewise.
10539 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10540 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10541 sh64*-*-*.
10542 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10543 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10544 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10545 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10546 sh/t-netbsd to tmake_file.
10547 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10548 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10549 (sh-wrs-vxworks): Likewise.
10550 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10551 *-leon[3-9]*.
10552 (v850*-*-*): Add v850/t-v850 to tmake_file.
10553 (vax-*-linux*): Add vax/t-linux to tmake_file.
10554 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10555
5f73c6cc
RO
105562011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10557
10558 * crtstuff.c: New file.
10559 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10560 (CRTSTUFF_T_CFLAGS): Define.
10561 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10562 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10563 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10564 crtstuff.c.
10565 Use $<.
10566 (crtbeginT.o): Use $(objext).
10567 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10568 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10569 (gcc-extra-parts): Remove.
10570 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10571 Set extra_parts.
10572 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10573 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10574 Add t-crtstuff-pic to tmake_file.
10575 (*-*-lynxos*): New case.
10576 Set tmake_file, extra_parts.
10577 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10578 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10579 *-*-netbsdelf[2-9]*.
10580 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10581 (*-*-rtems*): Set extra_parts.
10582 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10583 (*-*-uclinux*): New case.
10584 Set extra_parts.
10585 (*-*-vms*): New case.
10586 Set tmake_file, extra_parts.
10587 (*-*-elf): Set extra_parts.
10588 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10589 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10590 vms/t-vms64.
10591 Set extra_parts.
10592 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10593 Set extra_parts.
10594 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10595 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10596 (arm-wrs-vxworks): Append to tmake_file.
10597 Set extra_parts.
10598 (arm*-*-uclinux*): Set extra_parts.
10599 (arm*-*-ecos-elf): Likewise.
10600 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10601 arm*-*-eabi*.
10602 (arm*-*-rtems*): Set extra_parts.
10603 (arm*-*-elf): Likewise.
10604 (avr-*-rtems*): Clear extra_parts.
10605 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10606 Set extra_parts.
10607 (bfin*-uclinux*): Likewise.
10608 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10609 (bfin*-rtems*): Append to tmake_file.
10610 Set extra_parts.
10611 (bfin*-*): Likewise.
10612 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10613 (crisv32-*-elf): ... this.
10614 (crisv32-*-none): ... this.
10615 (cris-*-elf, cris-*-none): New cases.
10616 Add cris/t-elfmulti to tmake_file.
10617 (fr30-*-elf): Append to tmake_file.
10618 Set extra_parts.
10619 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10620 Set extra_parts.
10621 (h8300-*-rtems*): Append to tmake_file.
10622 Set extra_parts.
10623 (h8300-*-elf*): Likewise.
10624 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10625 Set extra_parts.
10626 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10627 Set extra_parts.
10628 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10629 (x86_64-*-elf*): Likewise.
10630 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10631 (x86_64-*-freebsd*): Likewise.
10632 (x86_64-*-netbsd*): Likewise.
10633 (i[34567]86-*-linux*): Likewise.
10634 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10635 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10636 (x86_64-*-linux*): Likewise.
10637 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10638 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10639 tmake_file.
10640 Set extra_parts.
10641 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10642 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10643 Append to extra_parts, remove crtbegin.o, crtend.o.
10644 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10645 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10646 crtend.o, crtbeginS.o, crtendS.o.
10647 (ia64*-*-linux*): Comment extra_parts.
10648 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10649 Set extra_parts.
10650 (iq2000*-*-elf*): Clear extra_parts.
10651 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10652 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10653 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10654 (m32r-*-rtems*): ... this.
10655 Add m32r/t-m32r to tmake_file.
10656 (m68k-*-elf*): Add t-crtin to tmake_file.
10657 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10658 (mcore-*-elf): Likewise.
10659 (microblaze*-*-*): Set extra_parts.
10660 (mips*-sde-elf*): New case.
10661 Set tmake_file, extra_parts.
10662 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10663 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10664 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10665 tmake_file.
10666 Set extra_parts.
10667 (mipsisa64sr71k-*-elf*): Likewise.
10668 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10669 (mips-*-elf*, mipsel-*-elf*): Likewise.
10670 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10671 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10672 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10673 (mips*-*-rtems*): Likewise.
10674 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10675 (moxie-*-*): Split into ...
10676 (moxie-*-elf, moxie-*-uclinux*): ... this.
10677 Add to extra_parts, remove crtbegin.o, crtend.o.
10678 (moxie-*-rtems*): New case.
10679 Set tmake_file.
10680 Clear extra_parts.
10681 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10682 Set extra_parts.
10683 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10684 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10685 tmake_file.
10686 Set extra_parts.
10687 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10688 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10689 Set extra_parts.
10690 (powerpc-*-eabisim*): Likewise.
10691 (powerpc-*-elf*): Likewise.
10692 (powerpc-*-eabialtivec*): Likewise.
10693 (powerpc-xilinx-eabi*): Likewise.
10694 (powerpc-*-eabi*): Likewise.
10695 (powerpc-*-rtems*): Likewise.
10696 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10697 tmake_file.
10698 Set extra_parts.
10699 (powerpc-*-lynxos*): Add to tmake_file.
10700 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10701 rs6000/t-crtstuff, t-crtstuff-pic.
10702 Set extra_parts.
10703 (powerpcle-*-eabisim*): Likewise.
10704 (powerpcle-*-eabi*): Likewise.
10705 (rx-*-elf): Remove extra_parts.
10706 (s390x-ibm-tpf*): Set extra_parts.
10707 (score-*-elf): Set extra_parts.
10708 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10709 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10710 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10711 (sh64l*-*-netbsd*): Split into ...
10712 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10713 Add t-crtstuff-pic to tmake_file.
10714 Set extra_parts.
10715 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10716 Set extra_parts.
10717 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10718 (sparc-*-elf*): Remove t-crtin from tmake_file.
10719 Add to extra_parts, remove crtbegin.o, crtend.o.
10720 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10721 (sparc64-*-linux*): Likewise.
10722 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10723 Add to extra_parts, remove crtbegin.o, crtend.o.
10724 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10725 Add to extra_parts, remove crtbegin.o, crtend.o.
10726 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10727 Add to extra_parts, remove crtbegin.o, crtend.o.
10728 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10729 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10730 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10731 Set extra_parts.
10732 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10733 Set extra_parts.
10734 (tic6x-*-*): Change to ...
10735 (tic6x-*-elf): ... this.
10736 Set extra_parts.
10737 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10738 Set extra_parts.
10739 (am33_2.0-*-linux*): Add comment.
10740 (mep*-*-*): Add mep/t-mep to tmake_file.
10741 Set extra_parts.
10742 * config/alpha/t-vms: New file.
10743 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10744 * config/arm/crti.S, config/arm/crtn.S: New files.
10745 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10746 * config/bfin/crtlibid.S: New file.
10747 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10748 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10749 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10750 (crti.o, crtin.o): New rules.
10751 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10752 * config/c6x/t-uclinux: New file.
10753 * config/cris/t-elfmulti: New file.
10754 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10755 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10756 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10757 * config/frv/t-frv: New file.
10758 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10759 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10760 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10761 New files.
10762 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10763 refer to cygming-crtbegin.c, cygming-crtend.c.
10764 Use $<.
10765 * config/i386/t-nto: New file.
10766 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10767 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10768 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10769 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10770 Use .S extension.
10771 Use $<.
10772 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10773 (crtinitS.o): New rule.
10774 * config/ia64/vms-crtinit.S: New file.
10775 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10776 * config/m32r/initfini.c: New file.
10777 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10778 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10779 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10780 * config/mep/t-mep: New file.
10781 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10782 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10783 * config/mips/crti.S, config/mips/crtn.S: New files.
10784 * config/mips/t-crtstuff: New file.
10785 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10786 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10787 (CUSTOM_CRTIN): Set.
10788 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10789 dependencies.
10790 Use $(srcdir) to refer to crti.S, crtn.S.
10791 Use .S extension, $<.
10792 * config/moxie/crti.asm: Rename to ...
10793 * config/moxie/crti.S: ... this.
10794 * config/moxie/crtn.asm: Rename to ...
10795 * config/moxie/crtn.S: ... this.
10796 * config/moxie/t-moxie: Remove.
10797 * config/pa/stublib.c: New file.
10798 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10799 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10800 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10801 * config/rs6000/t-crtstuff: New file.
10802 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10803 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10804 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10805 Make output file explicit.
10806 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10807 Make output file explicit.
10808 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10809 Make output file explicit.
10810 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10811 Make output file explicit.
10812 * config/score/crti.S, config/score/crtn.S: New files.
10813 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10814 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10815 files.
10816 * config/sh/t-sh, config/sh/t-superh: New files.
10817 * config/sparc/t-linux64: New file.
10818 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10819 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10820 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10821 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10822 * config/t-crtin: Remove.
10823 * config/t-crtstuff-pic: New file.
10824 * config/t-sol2 (CUSTOM_CRTIN): Set.
10825 (crti.o, crtn.o): New rules.
10826 * config/vms/t-vms: New file.
10827 * config/vms/vms-ucrt0.c: New file.
10828 * config/xtensa/t-elf: New file.
10829
b040f2be
RO
108302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10831
10832 * Makefile.in (SHLIB_NM_FLAGS): Set.
10833 * mkmap-flat.awk, mkmap-symver.awk: New files.
10834 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10835 exceptions.
10836 * configure: Regenerate.
10837 * config/libgcc-glibc.ver: New file.
10838 * config/libgcc-libsystem.ver: New file.
10839 * config/t-libunwind (SHLIB_LC): Set.
10840 * config/t-linux: New file.
10841 * config/t-slibgcc (INSTALL_SHLIB): New.
10842 (SHLIB_INSTALL): Use it.
10843 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10844 to mkmap-symver.awk.
10845 (SHLIB_MAPFILES): Don't append, adapt pathname.
10846 (SHLIB_VERPFX): Set.
10847 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10848 to mkmap-symver.awk.
10849 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10850 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10851 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10852 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10853 to mkmap-flat.awk.
10854 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10855 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10856 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10857 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10858 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10859 * config/i386/libgcc-darwin.10.4.ver,
10860 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10861 New files.
10862 * config/i386/t-darwin: Remove.
10863 * config/i386/t-darwin64: Likewise.
10864 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10865 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10866 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10867 * config/i386/t-linux: New file.
10868 * config/i386/t-mingw32: New file.
10869 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10870 * config/ia64/t-glibc: Rename to ...
10871 * config/ia64/t-linux: ... this.
10872 (SHLIB_MAPFILES): Set.
10873 * config/ia64/t-glibc-libunwind: Rename to ...
10874 * config/ia64/t-linux-libunwind: ... this.
10875 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10876 * config/ia64/t-slibgcc-hpux: New file.
10877 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10878 * config/m68k/t-slibgcc-elf-ver: New file.
10879 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10880 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10881 to mkmap-flat.awk.
10882 * config/pa/t-slibgcc-hpux: New file.
10883 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10884 files.
10885 * config/rs6000/libgcc-darwin.10.4.ver,
10886 config/rs6000/libgcc-darwin.10.5.ver: New files.
10887 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10888 config/rs6000/libgcc-glibc.ver.
10889 * config/rs6000/libgcc-ppc64.ver: Rename to
10890 config/rs6000/libgcc-ibm-ldouble.ver.
10891 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10892 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10893 * config/rs6000/t-ldbl128: Rename to ...
10894 * config/rs6000/t-linux: ... this.
10895 (SHLIB_MAPFILES): Adapt filename.
10896 * config/rs6000/t-slibgcc-aix: New file.
10897 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10898 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10899 libgcc-excl.ver, libgcc-glibc.ver.
10900 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10901 * config/sparc/libgcc-glibc.ver: New file.
10902 * config/sparc/t-linux: New file.
10903 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10904 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10905 t-slibgcc-elf-ver to tmake_file.
10906 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10907 *-*-freebsd[34].
10908 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10909 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10910 t-slibgcc-elf-ver, t-linux to tmake_file.
10911 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10912 tmake_file.
10913 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10914 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10915 (alpha*-dec-*vms*): Likewise.
10916 (arm*-*-freebsd*): Append to tmake_file.
10917 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10918 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10919 arm*-*-linux-*eabi.
10920 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10921 tmake_file for arm*-*-symbianelf*.
10922 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10923 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10924 cris/t-linux.
10925 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10926 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10927 pa/t-slibgcc-dwarf-ver to tmake_file.
10928 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10929 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10930 (hppa*64*-*-hpux11*): Likewise.
10931 (hppa[12]*-*-hpux11*): Likewise.
10932 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10933 i386/t-crtpc, i386/t-crtfm.
10934 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10935 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10936 to tmake_file.
10937 Add i386/t-cygwin to tmake_file.
10938 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10939 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10940 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10941 to tmake_file.
10942 Add i386/t-mingw32 to tmake_file.
10943 (x86_64-*-mingw*): Likewise.
10944 (ia64*-*-freebsd*): Append to tmake_file.
10945 (ia64*-*-linux*): Append to tmake_file.
10946 Replace ia64/t-glibc by ia64/t-linux.
10947 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10948 system libunwind.
10949 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10950 t-slibgcc-hpux to tmake_file.
10951 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10952 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10953 (m32rle-*-linux*): Likewise.
10954 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10955 sjlj exceptions.
10956 (microblaze*-linux*): New case.
10957 Append to tmake_file, add t-slibgcc-nolc-override.
10958 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10959 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10960 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10961 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10962 rs6000/t-slibgcc-aix to tmake_file.
10963 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10964 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10965 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10966 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10967 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10968 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10969 sh*-*-linux*.
10970 (sparc-*-linux*): Append to tmake_file for *-leon*.
10971 Add sparc/t-linux to tmake_file for non-Leon targets.
10972 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10973 (tic6x-*-uclinux): New case.
10974 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10975 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10976 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10977 (am33_2.0-*-linux*): Append to tmake_file.
10978 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10979 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10980 x86_64-*-kfreebsd*-gnu.
10981 Add i386/t-linux to tmake_file.
10982
18b4bd7b
ILT
109832011-10-28 Ian Lance Taylor <iant@google.com>
10984
10985 * config/i386/morestack.S: Correct CFI information to do proper
10986 returns throughout function. In 32-bit mode, save %ebx so that it
10987 is restored on unwind.
10988
5b2d9d90
BS
109892011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10990
10991 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10992 case where B3 isn't the return register.
10993
0d53e346
BS
10994 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10995 logic for doubleword pops.
10996
cbffbd59
AT
109972011-10-25 Andreas Tobler <andreast@fgznet.ch>
10998
10999 * config/rs6000/t-freebsd: Add wildcard.
11000
56dc349e
PB
110012011-10-21 Paul Brook <paul@codesourcery.com>
11002
11003 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11004
1e06b07d
UB
110052011-10-16 Uros Bizjak <ubizjak@gmail.com>
11006 Eric Botcazou <ebotcazou@adacore.com>
11007
11008 PR target/50737
11009 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11010 fs->signal_frame to 1.
11011
b5204884
ILT
110122011-10-07 Ian Lance Taylor <iant@google.com>
11013
11014 * generic-morestack-thread.c: #include <errno.h>.
11015
91a639a1
ILT
110162011-10-07 Ian Lance Taylor <iant@google.com>
11017
11018 PR target/46093
11019 * generic-morestack.c (__generic_morestack): Make sure the segment
11020 is large enough for both the stack frame and the copied
11021 parameters.
11022
cc49116d
RO
110232011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11024
11025 PR bootstrap/49804
11026 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11027 extra_parts.
11028
2996d8c3
NC
110292011-09-28 Nick Clifton <nickc@redhat.com>
11030
11031 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11032 64-bit doubles are not enabled.
11033 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11034 and floatunsisf functions.
11035
1e874273 110362011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11037
1e874273
PB
11038 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11039 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11040 * unwind-arm-common.inc: New file.
11041 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11042 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11043 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11044 * config/c6x/libunwind.S: New file.
11045 * config/c6x/pr-support.c: New file.
11046 * config/c6x/unwind-c6x.c: New file.
11047 * config/c6x/unwind-c6x.h: New file.
11048 * config/c6x/t-c6x-elf: New file.
11049
f70c879a
UB
110502011-08-23 Uros Bizjak <ubizjak@gmail.com>
11051
11052 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11053 (ASM_DIVZERO): Ditto.
11054 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11055
c55b374b
RS
110562011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11057
11058 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11059
1e138510
RS
110602011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11061
11062 PR target/50090
11063 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11064 instead of an assembly one.
11065
1563503d
PB
110662011-08-12 Paolo Bonzini <bonzini@gnu.org>
11067
11068 PR bootstrap/50047
11069 * Makefile.in (install-unwind_h): Create
11070 $(gcc_objdir)/include/unwind.h atomically.
11071
3627ac1a
RO
110722011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11073
11074 * Makefile.in (install-unwind_h): Remove destination file first.
11075
c6412d86
RO
110762011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11077
11078 * sync.c: New file.
11079 * config/mips/t-mips16: New file.
11080 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11081 (mips*-*-linux*): Likewise.
11082 (mips*-sde-elf*): Likewise.
11083 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11084 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11085 Add mips/t-mips16 to tmake_file.
11086 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11087 (mips-*-elf*): Likewise.
11088 (mips64-*-elf*): Likewise.
11089 (mips64orion-*-elf*): Likewise.
11090 (mips*-*-rtems*): Likewise.
11091 (mipstx39-*-elf*): Likewise.
11092 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11093 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11094 LIBGCC_SYNC_CFLAGS.
11095 Use $(srcdir) to refer to sync.c.
11096 Use $<.
11097 ($(libgcc-sync-funcs-o)): Likewise.
11098 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11099 ($(libgcc-sync-funcs-s-o)): Likewise.
11100
3cb6e5bd
AS
111012011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11102
11103 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11104 t-libunwind.
11105
cca2207a
L
111062011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11107
11108 PR other/48007
11109 * config/i386/value-unwind.h: New.
11110
ed39fbad
RS
111112011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11112
11113 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11114 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11115 Add to tmake_file rather than overriding it.
11116
aca0b0b3
RO
111172011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11118
11119 * config/t-softfp: Remove.
11120 * soft-fp: Moved from ../gcc/config.
11121 * soft-fp/README: Remove t-softfp reference.
11122 * soft-fp/t-softfp: Move to config/t-softfp.
11123 (softfp_machine_header): Remove.
11124 (softfp_file_list): Remove config subdir.
11125 (soft-fp-objects): New variable.
11126 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11127 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11128 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11129 * config/t-softfp-excl: New file.
11130 * config/t-softfp-sfdf: New file.
11131 * config/t-softfp-tf: New file.
11132 * config/no-sfp-machine.h: New file.
11133 * config/arm/sfp-machine.h: New file.
11134 * config/arm/t-softfp: New file.
11135 * config/c6x/sfp-machine.h: New file.
11136 * config/i386/32/t-fprules-softfp: Rename to ...
11137 * config/i386/32/t-softfp: ... this.
11138 (tifunctions, LIB2ADD): Remove.
11139 (softfp_int_modes): Override.
11140 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11141 subdir.
11142 * config/i386/64/eqtf2.c: Likewise.
11143 * config/i386/64/getf2.c: Likewise.
11144 * config/i386/64/letf2.c: Likewise.
11145 * config/ia64/sft-machine.h: New file.
11146 * config/ia64/t-fprules-softfp: Rename to ...
11147 * config/ia64/t-softfp: ... this.
11148 * config/lm32/sfp-machine.h: New file.
11149 * config/moxie/t-moxie-softfp: Remove.
11150 * config/rs6000/ibm-ldouble-format: New file.
11151 * config/rs6000/ibm-ldouble.c: New file.
11152 * config/rs6000/libgcc-ppc-glibc.ver: New file
11153 * config/rs6000/libgcc-ppc64.ver: New file
11154 * config/rs6000/sfp-machine.h: New file.
11155 * config/rs6000/t-freebsd: New file.
11156 * config/rs6000/t-ibm-ldouble: New file.
11157 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11158 libgcc-ppc-glibc.ver.
11159 * config/rs6000/t-linux64: New file.
11160 * config/rs6000/t-ppccomm (LIB2ADD): Add
11161 $(srcdir)/config/rs6000/ibm-ldouble.c.
11162 * config/rs6000/t-ppccomm-ldbl: New file.
11163 * config/score/sfp-machine.h: New file.
11164 * config.host (sfp_machine_header): Explain.
11165 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11166 t-softfp to tmake_file.
11167 (arm*-*-uclinux*): Likewise.
11168 (arm*-*-ecos-elf): Likewise.
11169 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11170 (arm*-*-rtems*): Likewise.
11171 (arm*-*-elf): Likewise.
11172 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11173 in tmake_file.
11174 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11175 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11176 (lm32-*-uclinux*): Likewise.
11177 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11178 t-softfp-excl, t-softfp.
11179 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11180 (powerpc64-*-darwin*): Likewise.
11181 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11182 to tmake_file.
11183 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11184 tmake_file.
11185 (powerpc-*-eabisim*): Likewise.
11186 (powerpc-*-elf*): Likewise.
11187 (powerpc-*-eabialtivec*): Likewise.
11188 (powerpc-xilinx-eabi*): Likewise.
11189 (powerpc-*-rtems*): Likewise.
11190 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11191 t-softfp-excl, t-softfp to tmake_file.
11192 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11193 rs6000/t-ppccomm-ldbl to tmake_file.
11194 (powerpcle-*-elf*): Likewise.
11195 (powerpcle-*-eabisim*): Likewise.
11196 (powerpcle-*-eabi*): Likewise.
11197 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11198 rs6000/t-ibm-ldouble to tmake_file.
11199 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11200 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11201 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11202 (tic6x-*-*): Likewise.
11203 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11204 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11205 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11206 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11207 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11208 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11209 t-softfp to tmake_file.
11210 * configure.ac (sfp_machine_header): Provide default if unset.
11211 Substitute.
11212 Link sfp-machine.h to config/$sfp_machine_header.
11213 * configure: Regenerate.
11214
569dc494
RO
112152011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11216
11217 * Makefile.in (double_type_size, long_double_type_size): Set.
11218 Remove $(fpbit-in-libgcc) support.
11219 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11220 (fpbit-src): New variable.
11221 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11222 Compile with -DFLOAT $(FPBIT_CFLAGS).
11223 Use $<.
11224 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11225 Compile with $(FPBIT_CFLAGS).
11226 Use $<.
11227 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11228 Compile with -DFLOAT $(TPBIT_CFLAGS).
11229 Use $<.
11230 * configure.ac (double_type_size, long_double_type_size):
11231 Determine and substitute.
11232 * configure: Regenerate.
11233 * fp-bit.c, fp-bit.h: New files.
11234 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11235 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11236 * config/mips/t-mips: New file.
11237 * config/mips/t-sdemtk: New file.
11238 * config/rs6000/ppc64-fp.c: New file.
11239 * config/rs6000/t-darwin (LIB2ADD): Add
11240 $(srcdir)/config/rs6000/ppc64-fp.c.
11241 * config/rs6000/t-ppc64-fp: New file.
11242 * config/rx/rx-lib.h: New file.
11243 * config/rx/t-rx (FPBIT): Set to true.
11244 ($(gcc_objdir)/fp-bit.c): Remove.
11245 (DPBIT): Set to true only with -m64bit-doubles.
11246 ($(gcc_objdir)/dp-bit.c): Remove.
11247 * config/sparc/t-softfp: Remove.
11248 * config/spu/t-elf: New file.
11249 * config/t-fdpbit, config/t-fpbit: New files.
11250 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11251 (mips*-*-*): Likewise.
11252 (arm-wrs-vxworks): Likewise.
11253 (arm*-*-freebsd*): Likewise.
11254 (avr-*-rtems*): Add t-fpbit to tmake_file.
11255 (avr-*-*): Likewise.
11256 (bfin*-elf*): Add t-fdpbit to tmake_file.
11257 (bfin*-uclinux*): Likewise.
11258 (bfin*-linux-uclibc*): Likewise.
11259 (bfin*-rtems*): New case.
11260 Add t-fdpbit to tmake_file.
11261 (bfin*-*): Add t-fdpbit to tmake_file.
11262 (crisv32-*-elf): Likewise.
11263 (cris-*-linux*): Likewise.
11264 (fr30-*-elf): Likewise.
11265 (frv-*-elf, frv-*-*linux*): Likewise.
11266 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11267 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11268 (m32r-*-elf*): Likewise.
11269 (m32rle-*-elf*): Likewise.
11270 (m32r-*-linux*): Likewise.
11271 (m32rle-*-linux*): Likewise.
11272 (mcore-*-elf): Add t-fdpbit to tmake_file.
11273 (microblaze*-*-*): Likewise.
11274 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11275 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11276 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11277 Fix typo.
11278 Add mips/t-tpbit to tmake-file.
11279 (mips*-*-linux*): Fix typo.
11280 (mips*-sde-elf*): New case
11281 Add mips/t-sdemtk unless using newlib.
11282 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11283 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11284 (mn10300-*-*): Likewise.
11285 (pdp11-*-*): Likewise.
11286 (picochip-*-*): Add t-fpbit to tmake_file.
11287 (powerpc-*-eabisimaltivec*): Likewise.
11288 (powerpc-*-eabisim*): Likewise.
11289 (powerpc-*-elf*): Likewise.
11290 (powerpc-*-eabialtivec*): Likewise.
11291 (powerpc-xilinx-eabi*): New case.
11292 Add t-fdpbit to tmake_file.
11293 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11294 (powerpc-*-rtems*): Likewise.
11295 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11296 tmake_file.
11297 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11298 tmake_file.
11299 (powerpc-*-lynxos*): Likewise.
11300 (powerpcle-*-elf*): Likewise.
11301 (powerpcle-*-eabisim*): Likewise.
11302 (powerpcle-*-eabi*): Likewise.
11303 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11304 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11305 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11306 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11307 (rx-*-elf): Add t-fdpbit to tmake_file.
11308 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11309 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11310 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11311 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11312 sh*-*-netbsd*.
11313 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11314 (sh-wrs-vxworks): Likewise.
11315 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11316 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11317 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11318 (sparc64-*-rtems*): ... new case.
11319 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11320 (spu-*-elf*): Likewise.
11321 Add spu/t-elf to tmake_file.
11322 (v850*-*-*): Add t-fdpbit to tmake_file.
11323 (xstormy16-*-elf): Likewise.
11324 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11325 (mep*-*-*): Likewise.
11326
201cdb74
RO
113272011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11328
11329 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11330 variables.
11331 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11332 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11333 (install-unwind_h): New target.
11334 (all): Depend on it.
11335 * config.host (unwind_header): New variable.
11336 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11337 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11338 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11339 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11340 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11341 Set unwind_header.
11342 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11343 Set unwind_header.
11344 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11345 arm*-*-eabi*.
11346 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11347 Set unwind_header.
11348 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11349 (ia64*-*-freebsd*): Likewise.
11350 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11351 tmake_file.
11352 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11353 $with_system_libunwind.
11354 (ia64*-*-hpux*): Set tmake_file.
11355 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11356 (picochip-*-*): Set tmake_file.
11357 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11358 md_unwind_header.
11359 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11360 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11361 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11362 (xtensa*-*-elf*): Set tmake_file.
11363 (xtensa*-*-linux*): Likewise.
11364 * configure.ac: Include ../config/unwind_ipinfo.m4.
11365 Call GCC_CHECK_UNWIND_GETIPINFO.
11366 Link unwind.h to $unwind_header.
11367 * configure: Regenerate.
11368 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11369 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11370 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11371 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11372 * config/unwind-dw2-fde-darwin.c: New file.
11373 * config/arm/libunwind.S, config/arm/pr-support.c,
11374 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11375 config/arm/unwind-arm.h,: New files.
11376 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11377 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11378 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11379 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11380 config/ia64/unwind-ia64.h: New files.
11381 * config/picochip/t-picochip: New file.
11382 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11383 files.
11384 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11385 * config/s390/t-tpf (LIB2ADDEH): Remove.
11386 * config/t-darwin (LIB2ADDEH): Set.
11387 * config/t-eh-dw2-dip: New file.
11388 * config/t-libunwind, config/t-libunwind-elf: New files.
11389 * config/t-sol2 (LIB2ADDEH): Remove.
11390 * config/xtensa/t-xtensa: New file.
11391
40f2f11f
L
113922011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11393
11394 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11395 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11396 long long to check rt_sigreturn syscall.
11397
bd15e32c
AM
113982011-08-02 Alan Modra <amodra@gmail.com>
11399
11400 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11401 Restore for indirect call bcrtl from correct stack slot, and only
11402 if cfa+40 isn't valid.
11403
655b30bf
JB
114042011-08-01 Julian Brown <julian@codesourcery.com>
11405
11406 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11407 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11408 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11409
247eb06f
JB
114102011-08-01 Julian Brown <julian@codesourcery.com>
11411
11412 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11413 (libgcc-std.ver.in): Use above.
11414 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11415 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11416 throughout file.
11417 * config/t-fixedpoint-gnu-prefix: New file.
11418 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11419 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11420 instead of __PFX__.
11421
02a8fe00
L
114222011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11423
11424 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11425 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11426 for x86-64. Properly check __x86_64__ and __LP64__.
11427
5fce9126
L
114282010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11429
11430 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11431 version.
11432 (_FP_WS_TYPE): Likewise.
11433 (_FP_I_TYPE): Likewise.
11434
2374a88a
AM
114352011-07-28 Alan Modra <amodra@gmail.com>
11436
11437 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11438 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11439 in a plt call stub. Do restore r2 if stopped on bctrl.
11440
e44dbbe1
RO
114412011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11442
11443 * config.host (i[3456x]86-*-netware*): Remove.
11444 * config/i386/netware-crt0.c, config/i386/t-nwld,
11445 config/i386/t-slibgcc-nwld: Remove.
11446
bcead286
BS
114472011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11448
11449 * config.host: Handle tic6x-*-*.
11450 * config/c6x/c6x-abi.h: New file.
11451
b3fe1584
RO
114522011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11453
11454 * config/i386/crtprec.c: New file.
11455 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11456 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11457 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11458 (x86_64-*-darwin*): Likewise.
11459 (i[34567]86-*-solaris2*: Likewise.
11460
35d8090d
RO
114612011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11462
11463 * config/alpha/crtfastmath.c: New file.
11464 * config/i386/crtfastmath.c: New file.
11465 * config/ia64/crtfastmath.c: New file.
11466 * config/mips/crtfastmath.c: New file.
11467 * config/sparc/crtfastmath.c: New file.
11468
11469 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11470 crtfastmath.c.
11471 Add -frandom-seed=gcc-crtfastmath.
11472 * config/alpha/t-crtfm: Remove.
11473 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11474 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11475
11476 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11477 (alpha*-dec-osf5.1*): Likewise.
11478 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11479 Add crtfastmath.o to extra_parts.
11480 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11481 Add crtfastmath.o to extra_parts.
11482 (x86_64-*-darwin*): Likewise.
11483 (x86_64-*-mingw*): Likewise.
11484 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11485 (ia64*-*-freebsd*): Likewise.
11486 (ia64*-*-linux*): Likewise.
11487 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11488 Add crtfastmath.o to extra_parts.
11489
e141542e
RO
114902011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11491
11492 * config/darwin-crt3.o: New file.
11493 * config/rs6000/darwin-crt2.c: New file.
11494 * config/t-darwin: New file.
11495 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11496 (crt2.o): New rule.
11497 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11498 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11499 (powerpc64-*-darwin*): Likewise.
11500
2d1efe2d
RO
115012011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11502
11503 * config/i386/netware-crt0.c: New file.
11504 * config/i386/t-nwld: Rename to ...
11505 * config/i386/t-slibgcc-nwld: ... this.
11506 * config/i386/t-nwld: New file.
11507 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11508 tmake_file.
11509 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11510 extra_parts.
11511
4a8bb046
RO
115122011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11513
11514 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11515 i386/t-crtstuff.
11516 * configure: Regenerate.
11517
2d8d5935
RO
115182011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11519
11520 * dfp-bit.c, dfp-bit.h: New files.
11521 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11522 variables.
11523 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11524 ($(d64pbit-o)): Likewise.
11525 ($(d128pbit-o)): Likewise.
11526 * config/t-dfprules: New file.
11527 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11528 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11529 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11530 (x86_64-*-linux*): Likewise.
11531 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11532 (i[34567]86-*-cygwin*): Likewise.
11533 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11534 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11535
2c50b2c3
RO
115362011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11537
11538 * Makfile.in (LIBGCOV): New variable.
11539 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11540 * libgcov.c: New file.
11541
a039d7c2
RO
115422011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11543
11544 * fixed-bit.c, fixed-bit.h: New files.
11545 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11546 refer to fixed-bit.c.
11547
1e4b2746
JM
115482011-07-07 Joseph Myers <joseph@codesourcery.com>
11549
11550 * config.host (*local*): Remove.
11551
fbdd5d87
RO
115522011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11553
11554 PR target/39150
11555 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11556 like i?86-*-solaris2.1[0-9]*.
11557 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11558 * configure.ac (i?86-*-solaris2*): Likewise.
11559 * configure: Regenerate.
11560
9e7714f4
TS
115612011-07-06 Thomas Schwinge <thomas@schwinge.name>
11562
11563 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11564 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11565 md_unwind_header by splitting out of...
11566 (i[34567]86-*-linux*): ... this.
11567 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11568 Remove md_unwind_header by splitting out of...
11569 (x86_64-*-linux*): ... this.
11570
6dab9931
GJL
115712011-07-04 Georg-Johann Lay <avr@gjlay.de>
11572
11573 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11574
4be46d19
NC
115752011-06-28 Nick Clifton <nickc@redhat.com>
11576
11577 * config.host: Recognize all V850 variants.
11578
1da9434b
UB
115792011-06-22 Uros Bizjak <ubizjak@gmail.com>
11580
11581 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11582
e4d48a4d
RO
115832011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11584
11585 * shared-object.mk (c_flags-$o): Save c_flags.
11586 ($(base)$(objext)): Use it.
11587 ($(base)_s$(objext)): Likewise.
11588
3801c801
BS
115892011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11590
11591 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11592 * libgcc-std.ver.in (GCC_4.7.0): New section.
11593
0ad8bb3b 115942011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11595
0ad8bb3b
GJL
11596 PR target/49313
11597 PR target/29524
11598 * config/avr/t-avr: Fix line endings.
11599 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11600 _parityXX2.
11601
ea963999
OH
116022011-06-14 Olivier Hainque <hainque@adacore.com>
11603 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11604
11605 * config/mips/irix6-unwind.h: New file.
11606 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11607
b11b0904
EB
116082011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11609
11610 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11611 (sparc64_fallback_frame_state): Use it.
11612 (sparc64_frob_update_context): Further adjust context.
11613 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11614 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11615 * config/sparc/sol2-cn.S: Likewise.
11616
10e48e39
RO
116172011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11618
11619 * enable-execute-stack-empty.c: New file.
11620 * enable-execute-stack-mprotect.c: New file.
11621 * config/i386/enable-execute-stack-mingw32.c: New file.
11622 * config.host (enable_execute_stack): New variable.
11623 Select appropriate variants.
11624 * configure.ac: Link enable-execute-stack.c to
11625 $enable_execute_stack.
11626 * configure: Regenerate.
11627 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11628 (lib2funcs): Remove _enable_execute_stack.
11629
10c4cabc
DM
116302011-06-09 David S. Miller <davem@davemloft.net>
11631 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11632
11633 * config.host (sparc-*-linux*): Correct md_unwind_header
11634 filename.
11635 (s390x-ibm-tpf*): Fix typo.
11636
aa4203e7
RO
116372011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11638
11639 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11640 Add crtfastmath.o to extra_parts.
11641 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11642 mips/t-crtfm.
11643 * config/mips/t-crtfm: Remove.
11644
0defd786
JDA
116452011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11646
11647 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11648
82f247af
KK
116492011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11650
11651 * config.host (sh*-*-linux*): Fix typo.
11652
58cd1d70
RO
116532011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11654
11655 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11656 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11657 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11658 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11659 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11660 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11661 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11662 Wrap in !__MINGW64__.
11663 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11664 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11665 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11666 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11667 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11668 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11669 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11670 Wrap in !__LP64__.
11671 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11672 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11673 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11674 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11675 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11676 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11677 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11678 * config/no-unwind.h: New file.
11679 * config.host (md_unwind_header): Document.
11680 Define.
11681 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11682 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11683 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11684 hppa[12]*-*-hpux11*): Set md_unwind_header.
11685 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11686 Set md_unwind_header.
11687 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11688 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11689 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11690 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11691 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11692 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11693 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11694 md_unwind_header.
11695 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11696 * configure: Regenerate.
11697
737346fa
RO
116982011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11699
11700 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11701 Set tmake_file, extra_parts.
11702 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11703 Remove O32 support.
11704 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11705 Remove O32 support.
11706 * config/mips/t-irix6: New file.
11707 * config/mips/t-slibgcc-irix: New file.
11708
c192cee6
RO
117092011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11710
11711 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11712 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11713
ee33b5f0
RO
117142011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11715
11716 * configure.ac (target_thread_file): Determine thread model.
11717 * configure: Regenerate.
11718 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11719 * config/alpha/t-alpha: New file.
11720 * config/alpha/t-crtfm: Use $<.
11721 * config/alpha/t-ieee: New file.
11722 * config/alpha/t-osf-pthread: New file.
11723 * config/alpha/t-slibgcc-osf: New file.
11724 * config/alpha/libgcc-osf5.ver: New file.
11725
0699e415
RO
117262011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11727
11728 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11729 tmake_file.
11730 Add crtfastmath.o to extra_parts.
11731
a3fab9c2
RO
117322011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11733
11734 * config/gmon-sol2.c: Reindent.
11735 Cleanup comments.
11736 Remove, correct casts.
11737 Use STDERR_FILENO, NULL.
11738 (BASEADDRESS): Remove.
11739 (minbrk): Remove.
11740 (errno, sbrk): Remove declarations.
11741 (monstartup) [hp300]: Remove.
11742 (mcount): Remove.
11743
ca24c5ad
RO
117442011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11745
11746 * Makefile.in (cpu_type): Define.
11747 * config.host (i[34567]86-*-rtems*): Handle it.
11748 (i[34567]86-*-solaris2*): Move body ...
11749 (*-*-solaris2*): ... here.
11750 New case, generalize.
11751 (sparc-*-elf*): Handle it.
11752 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11753 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11754 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11755 Fold into ...
11756 (sparc*-*-solaris2*): ... this.
11757 New case.
11758 (sparc64-*-elf*): Handle it.
11759 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11760 Merge ../gcc/config/i386/gmon-sol2.c.
11761 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11762 Use C comments.
11763 Merge ../gcc/config/i386/sol2-gc1.asm.
11764 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11765 Use C comments.
11766 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11767 Use C comments.
11768 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11769 * config/i386/t-crtstuff: New file.
11770 * config/i386/t-softfp: New file.
11771 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11772 $(T)crti.o, $(T)crtn.o): Remove.
11773 (gcrt1.o): New rule.
11774 (TARGET_LIBGCC2_CFLAGS): Remove.
11775 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11776 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11777 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11778 * config/sparc/t-sol2: New file.
11779 * config/sparc/t-crtfm: Move to ...
11780 * config/t-crtfm: ... this.
11781 Use $(cpu_type), $<.
11782 * config/t-crtin: New file.
11783 * config/sparc/t-softfp: New file.
11784 * config/sparc/t-softmul: New file.
11785 * config/t-rtems: New file.
11786 * config/t-slibgcc: New file.
11787 * config/t-slibgcc-elf-ver: New file.
11788 * config/t-slibgcc-gld: New file.
11789 * config/t-slibgcc-sld: New file.
11790 * config/t-sol2: New file.
11791 * configure.ac: Include ../config/lib-ld.m4.
11792 Call AC_LIB_PROG_LD_GNU.
11793 Substitute cpu_type.
11794 * configure: Regenerate.
11795
ad5f3d7b
BS
117962011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11797
11798 PR bootstrap/49173
11799 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11800 libgcc-std.ver in the build directory.
11801 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11802 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11803
cdbf4541
BS
118042011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11805
11806 * libgcc-std.ver.in: New file.
11807 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11808 variables.
11809 (libgcc-std.ver): New rule.
11810 * config/t-gnu-prefix: New file.
11811
c8028650
RO
118122011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11813
11814 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11815
4a68b4ca
JM
118162011-05-10 Joseph Myers <joseph@codesourcery.com>
11817
11818 * config/i386/darwin-lib.h: New file.
11819
80cf2e08
JM
118202011-05-10 Joseph Myers <joseph@codesourcery.com>
11821
11822 * config/arm/symbian-lib.h: New.
11823
a3330c9d
CD
118242011-05-04 Chris Demetriou <cgd@google.com>
11825
11826 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11827 (__x86.get_pc_thunk.bx): ...this.
11828 (__morestack): Adjust for rename, remove undef of __i686.
11829
6ace0756
CD
118302011-05-03 Chris Demetriou <cgd@google.com>
11831
11832 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11833
ebb9f8b0
JM
118342011-03-22 Joseph Myers <joseph@codesourcery.com>
11835
11836 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11837 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11838 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11839 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11840 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11841 Remove cases.
11842
9cfa1499
AT
118432011-03-14 Andreas Tobler <andreast@fgznet.ch>
11844
11845 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11846 Adjust copyright year.
11847
457186f6
ILT
118482011-03-07 Ian Lance Taylor <iant@google.com>
11849
11850 * generic-morestack.c (__splitstack_find): Adjust returned stack
11851 pointer to include all registers pushed by __morestack.
11852
58c741a6
DK
118532011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11854
11855 PR target/40125
11856 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11857 (toolexecdir): Calculate and AC_SUBST.
11858 (toolexeclibdir): Likewise.
11859 * Makefile.in (target_noncanonical): Import.
11860 (toolexecdir): Likewise.
11861 (toolexeclibdir): Likewise.
11862 * configure: Regenerate.
11863
26716c44
NF
118642010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11865
11866 PR target/46040
11867 * config/arm/bpabi.h: Rename to...
11868 * config/arm/bpabi-lib.h: ...this.
11869
b595b1a1
RO
118702010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11871
11872 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11873 appropriate.
11874 * configure: Regenerate.
11875
a3abe41c
NF
118762010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11877
11878 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11879 __FLOAT_WORD_ORDER__.
11880 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11881 Delete.
11882
455c8f48
RW
118832010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11884
11885 PR other/46202
11886 * Makefile.in (install-strip): New phony target.
11887
f3824a8b
ILT
118882010-11-07 Ian Lance Taylor <iant@google.com>
11889
11890 PR target/46089
11891 * config/i386/morestack.S (__morestack_large_model): New
11892 function.
11893
18ed6ee4
NF
118942010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11895
11896 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11897 Delete.
11898 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11899
8ac7fdcb
NF
119002010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11901
11902 * config/arm/bpabi.h: New file.
11903 * config/frv/frv-abi.h: New file.
11904
cdb388c2
ILT
119052010-10-01 Ian Lance Taylor <iant@google.com>
11906
11907 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11908 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11909
ef7c141c
L
119102010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11911
11912 PR target/45858
11913 * config.host: Add the missing `$'.
11914
80920132
ME
119152010-09-30 Michael Eager <eager@eagercon.com>
11916
11917 * config.host: Add microblaze*-*-*.
11918 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11919 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11920 udivsi3.asm,umodsi3.asm}: New.
11921
6dace308
ILT
119222010-09-28 Ian Lance Taylor <iant@google.com>
11923
11924 * configure.ac: Adjust CFI test to test assembler directly rather
11925 than checking gcc preprocessor macro.
11926 * configure: Rebuild.
11927
b6110d6d
ILT
119282010-09-27 Ian Lance Taylor <iant@google.com>
11929
11930 * configure.ac: Test whether assembler supports CFI directives.
11931 * config.host: Only add t-stack and i386/t-stack-i386 to
11932 tmake_file if libgcc_cv_cfi is "yes".
11933 * configure: Rebuild.
11934
7458026b
ILT
119352010-09-27 Ian Lance Taylor <iant@google.com>
11936
11937 * generic-morestack.h: New file.
11938 * generic-morestack.c: New file.
11939 * generic-morestack-thread.c: New file.
11940 * config/i386/morestack.S: New file.
11941 * config/t-stack: New file.
11942 * config/i386/t-stack-i386: New file.
11943 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11944 i386/t-stack-i386 to tmake_file.
11945
5b50fc0c
IS
119462010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11947
11948 * Makefile.in (libgcc-extra-parts): Check for static archives and
11949 invoke ranlib after installing them.
11950 (gcc-extra-parts): Likewise.
11951 (install-leaf): Likewise.
11952
b93cf342
L
119532010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11954
11955 * configure: Regenerated.
11956
996b42ef
KT
119572010-09-10 Kai Tietz <kai.tietz@onevision.com>
11958
b93cf342 11959 * configure: Regenerated.
996b42ef 11960
be1c764e
GP
119612010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11962 Andrew Pinski <pinskia@gmail.com>
11963
1da9434b 11964 PR target/40959
be1c764e
GP
11965 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11966
cc0ae0ca
L
119672010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11968
11969 PR target/45524
11970 * configure: Regenerated.
11971
84f47d20
AS
119722010-09-06 Andreas Schwab <schwab@redhat.com>
11973
11974 * configure: Regenerate.
11975
4159fb8d
UB
119762010-09-03 Uros Bizjak <ubizjak@gmail.com>
11977
11978 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11979 64bit targets.
11980 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11981 for 64bit targets.
11982
0df8fcc8
UB
119832010-09-03 Uros Bizjak <ubizjak@gmail.com>
11984 Iain Sandoe <iains@gcc.gnu.org>
11985
11986 PR target/45476
11987 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11988 LIB2FUNCS_EXCLUDE functions.
11989
3c39bca6
AK
119902010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11991
11992 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11993 Include dfp.m4.
11994 * configure: Regenerate.
11995
d78552bd
UB
119962010-09-01 Uros Bizjak <ubizjak@gmail.com>
11997
11998 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11999 i386/t-freebsd to tmake_file.
12000 * config/i386/t-freebsd: New file.
12001 * config/i386/libgcc-bsd.ver: New file.
12002
c5b79d4e
NF
120032010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12004
12005 * config.host (powerpc*-eabispe*): Set tmake_file.
12006 (powerpc*-eabi*): Likewise.
12007 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12008 crtbeginS, crtendS, crtbeginT.
12009
48b09a92
KH
120102010-06-12 Kazu Hirata <kazu@codesourcery.com>
12011
12012 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12013 to tmake_file. Add crtfastmath.o to extra_parts.
12014 * config/mips/t-crtfm: New.
12015
7d296953 120162010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
12017
12018 * config.host (sparc64-*-rtems*): New target.
12019
ed104137
RO
120202010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12021
12022 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12023 assembler syntax.
12024
3f56ef8b
TS
120252010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12026
12027 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12028
8c200350
RO
120292010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12030
12031 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12032 alpha-dec-osf5.0* support.
12033
7d296953 120342010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12035
12036 * config.host: Add lm32-*-rtems*.
12037
f128db92 120382010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12039 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12040
12041 PR target/39048
12042 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12043 like other remaining 32-bit x86 OSes.
12044 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12045 assembler syntax.
12046 * config/i386/libgcc-sol2.ver: New file.
12047 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12048
7d296953 120492010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12050
12051 PR c/43553
12052 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12053 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12054 is used and substitute set_use_emutls.
12055 * configure: Regenerated.
12056
15baf7f8
TG
120572010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12058
12059 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12060
7f5441df
RO
120612010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12062
12063 PR target/38085
12064 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12065 MULTILIB_CFLAGS.
12066 ($(T)gcrt1.o): Likewise.
12067 ($(T)crt1.o): Likewise.
12068 ($(T)crti.o): Likewise.
12069 ($(T)crtn.o): Likewise.
12070
ef74edbd
RW
120712010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12072
12073 PR other/42980
12074 * Makefile.in (install): Use $(MAKE) string in rule, for
12075 parallel make.
12076
e7c914db
HPN
120772010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12078
12079 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12080 * config/mmix/t-mmix: New file.
12081 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12082
1bcb71c4
JH
120832010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12084
12085 PR java/41991
12086 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12087 SHLIB_MAPFILES.
12088
e6e50811
AG
120892010-01-04 Anthony Green <green@moxielogic.com>
12090
12091 * config/moxie/crti.asm, config/moxie/crtn.asm,
12092 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12093 config/moxie/t-moxie: New files.
12094 * config.host: Add t-moxie-softfp reference.
12095
7d296953 120962009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12097
12098 PR other/39888
12099 * config/t-slibgcc-darwin: Fix embedded rpaths for
12100 --enable-version-specific-runtime-libs, build extension stub
12101 libs exposing features available from current libgcc_s.
12102
7d296953 121032009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12104
d78552bd
UB
12105 * config.host: Add lm32 targets.
12106 * config/lm32: New directory.
12107 * config/lm32/libgcc_lm32.h: New file.
12108 * config/lm32/_mulsi3.c: New file.
12109 * config/lm32/_udivmodsi4.c: New file.
12110 * config/lm32/_divsi3.c: New file.
12111 * config/lm32/_modsi3.c: New file.
12112 * config/lm32/_udivsi3.c: New file.
12113 * config/lm32/_umodsi3.c: New file.
12114 * config/lm32/_lshrsi3.S: New file.
12115 * config/lm32/_ashrsi3.S: New file.
12116 * config/lm32/_ashlsi3.S: New file.
12117 * config/lm32/crti.S: New file.
12118 * config/lm32/crtn.S: New file.
12119 * config/lm32/t-lm32: New file.
12120 * config/lm32/t-elf: New file.
12121 * config/lm32/t-uclinux: New file.
aa4945c1 12122
65a324b4
NC
121232009-10-26 Nick Clifton <nickc@redhat.com>
12124
12125 * config.host: Add support for RX target.
12126 * config/rx: New directory.
12127 * config/rx/rx-abi-functions.c: New file. Supplementary
12128 functions for libgcc to support the RX ABI.
12129 * config/rx/rx-abi.h: New file. Supplementary header file for
12130 libgcc RX ABI functions.
12131 * config/rx/t-rx: New file: Makefile fragment for building
12132 libgcc for the RX.
12133
dfb3b0e3
UB
121342009-10-09 Uros Bizjak <ubizjak@gmail.com>
12135
12136 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12137 constraint of y0 to "g".
12138
81dd9fd7
AK
121392009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12140
12141 * config.host: Include the s390 makefile fragments.
12142 * config/s390/32/_fixdfdi.c: New file.
12143 * config/s390/32/_fixsfdi.c: New file.
12144 * config/s390/32/_fixtfdi.c: New file.
12145 * config/s390/32/_fixunsdfdi.c: New file.
12146 * config/s390/32/_fixunssfdi.c: New file.
12147 * config/s390/32/_fixunstfdi.c: New file.
12148 * config/s390/32/t-floattodi: New file.
12149 * config/s390/libgcc-glibc.ver: New file.
12150 * config/s390/t-crtstuff: New file.
12151 * config/s390/t-linux: New file.
12152 * config/s390/t-tpf: New file.
12153
df58e648
RW
121542009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12155
12156 * configure.ac (AC_PREREQ): Bump to 2.64.
12157
79052be3
KK
121582009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12159
12160 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12161
5213506e
RW
121622009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12163
12164 * configure: Regenerate.
12165
a9a25daa
DR
121662009-08-09 Douglas B Rupp <rupp@gnat.com>
12167
12168 * config.host (ia64-hp-*vms*): New target.
12169 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12170 with ia64-hp-*vms*.
12171
6efbd53f
RW
121722009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12173
12174 * configure.ac: Add snippet for maintainer-mode.
12175 * configure: Regenerate.
12176 * Makefile.in (AUTOCONF, configure_deps): New variables.
12177 ($(srcdir)/configure)): New rule, active only with maintainer
12178 mode turned on.
12179
7acf4da6
DD
121802009-06-23 DJ Delorie <dj@redhat.com>
12181
12182 Add MeP port.
12183 * config.host: Add mep support.
12184
54f549af
KT
121852009-06-22 Kai Tietz <kai.tietz@onevision.com>
12186
34481f28 12187 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12188 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12189
12190 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12191 for mingw targets.
54f549af
KT
12192 * config/i386/64/_multc3.c: Likewise.
12193 * config/i386/64/_powitf2.c: Likewise.
12194 * config/i386/64/eqtf2.c: Likewise.
12195 * config/i386/64/getf2.c: Likewise.
12196 * config/i386/64/letf2.c: Likewise.
12197 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12198 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12199 unsigned long long for x64 mingw targets.
12200 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12201 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12202
fea96e25
MR
122032009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12204
12205 * config.host (vax-*-linux*): New.
12206
cceb575c
AG
122072009-05-31 Anthony Green <green@moxielogic.com>
12208
12209 * config.host: Add moxie support.
12210 * config/moxie/t-moxie: New file.
12211
7d296953 122122009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12213
12214 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12215 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12216
532bfb0a
AJ
122172009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12218
12219 * config.host: Add i386/${host_address}/t-fprules-softfp to
12220 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12221
748086b7
JJ
122222009-04-09 Nick Clifton <nickc@redhat.com>
12223
12224 * config/ia64/tf-signs.c: Change copyright header to refer to
12225 version 3 of the GNU General Public License with version 3.1
12226 of the GCC Runtime Library Exception and to point readers at
12227 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12228 web page.
12229 * config/i386/32/tf-signs.c: Likewise.
12230 * config/libbid/_addsub_dd.c: Likewise.
12231 * config/libbid/_addsub_sd.c: Likewise.
12232 * config/libbid/_addsub_td.c: Likewise.
12233 * config/libbid/_dd_to_df.c: Likewise.
12234 * config/libbid/_dd_to_di.c: Likewise.
12235 * config/libbid/_dd_to_sd.c: Likewise.
12236 * config/libbid/_dd_to_sf.c: Likewise.
12237 * config/libbid/_dd_to_si.c: Likewise.
12238 * config/libbid/_dd_to_td.c: Likewise.
12239 * config/libbid/_dd_to_tf.c: Likewise.
12240 * config/libbid/_dd_to_udi.c: Likewise.
12241 * config/libbid/_dd_to_usi.c: Likewise.
12242 * config/libbid/_dd_to_xf.c: Likewise.
12243 * config/libbid/_df_to_dd.c: Likewise.
12244 * config/libbid/_df_to_sd.c: Likewise.
12245 * config/libbid/_df_to_td.c: Likewise.
12246 * config/libbid/_di_to_dd.c: Likewise.
12247 * config/libbid/_di_to_sd.c: Likewise.
12248 * config/libbid/_di_to_td.c: Likewise.
12249 * config/libbid/_div_dd.c: Likewise.
12250 * config/libbid/_div_sd.c: Likewise.
12251 * config/libbid/_div_td.c: Likewise.
12252 * config/libbid/_eq_dd.c: Likewise.
12253 * config/libbid/_eq_sd.c: Likewise.
12254 * config/libbid/_eq_td.c: Likewise.
12255 * config/libbid/_ge_dd.c: Likewise.
12256 * config/libbid/_ge_sd.c: Likewise.
12257 * config/libbid/_ge_td.c: Likewise.
12258 * config/libbid/_gt_dd.c: Likewise.
12259 * config/libbid/_gt_sd.c: Likewise.
12260 * config/libbid/_gt_td.c: Likewise.
12261 * config/libbid/_isinfd128.c: Likewise.
12262 * config/libbid/_isinfd32.c: Likewise.
12263 * config/libbid/_isinfd64.c: Likewise.
12264 * config/libbid/_le_dd.c: Likewise.
12265 * config/libbid/_le_sd.c: Likewise.
12266 * config/libbid/_le_td.c: Likewise.
12267 * config/libbid/_lt_dd.c: Likewise.
12268 * config/libbid/_lt_sd.c: Likewise.
12269 * config/libbid/_lt_td.c: Likewise.
12270 * config/libbid/_mul_dd.c: Likewise.
12271 * config/libbid/_mul_sd.c: Likewise.
12272 * config/libbid/_mul_td.c: Likewise.
12273 * config/libbid/_ne_dd.c: Likewise.
12274 * config/libbid/_ne_sd.c: Likewise.
12275 * config/libbid/_ne_td.c: Likewise.
12276 * config/libbid/_sd_to_dd.c: Likewise.
12277 * config/libbid/_sd_to_df.c: Likewise.
12278 * config/libbid/_sd_to_di.c: Likewise.
12279 * config/libbid/_sd_to_sf.c: Likewise.
12280 * config/libbid/_sd_to_si.c: Likewise.
12281 * config/libbid/_sd_to_td.c: Likewise.
12282 * config/libbid/_sd_to_tf.c: Likewise.
12283 * config/libbid/_sd_to_udi.c: Likewise.
12284 * config/libbid/_sd_to_usi.c: Likewise.
12285 * config/libbid/_sd_to_xf.c: Likewise.
12286 * config/libbid/_sf_to_dd.c: Likewise.
12287 * config/libbid/_sf_to_sd.c: Likewise.
12288 * config/libbid/_sf_to_td.c: Likewise.
12289 * config/libbid/_si_to_dd.c: Likewise.
12290 * config/libbid/_si_to_sd.c: Likewise.
12291 * config/libbid/_si_to_td.c: Likewise.
12292 * config/libbid/_td_to_dd.c: Likewise.
12293 * config/libbid/_td_to_df.c: Likewise.
12294 * config/libbid/_td_to_di.c: Likewise.
12295 * config/libbid/_td_to_sd.c: Likewise.
12296 * config/libbid/_td_to_sf.c: Likewise.
12297 * config/libbid/_td_to_si.c: Likewise.
12298 * config/libbid/_td_to_tf.c: Likewise.
12299 * config/libbid/_td_to_udi.c: Likewise.
12300 * config/libbid/_td_to_usi.c: Likewise.
12301 * config/libbid/_td_to_xf.c: Likewise.
12302 * config/libbid/_tf_to_dd.c: Likewise.
12303 * config/libbid/_tf_to_sd.c: Likewise.
12304 * config/libbid/_tf_to_td.c: Likewise.
12305 * config/libbid/_udi_to_dd.c: Likewise.
12306 * config/libbid/_udi_to_sd.c: Likewise.
12307 * config/libbid/_udi_to_td.c: Likewise.
12308 * config/libbid/_unord_dd.c: Likewise.
12309 * config/libbid/_unord_sd.c: Likewise.
12310 * config/libbid/_unord_td.c: Likewise.
12311 * config/libbid/_usi_to_dd.c: Likewise.
12312 * config/libbid/_usi_to_sd.c: Likewise.
12313 * config/libbid/_usi_to_td.c: Likewise.
12314 * config/libbid/_xf_to_dd.c: Likewise.
12315 * config/libbid/_xf_to_sd.c: Likewise.
12316 * config/libbid/_xf_to_td.c: Likewise.
12317 * config/libbid/bid128.c: Likewise.
12318 * config/libbid/bid128_2_str.h: Likewise.
12319 * config/libbid/bid128_2_str_macros.h: Likewise.
12320 * config/libbid/bid128_2_str_tables.c: Likewise.
12321 * config/libbid/bid128_add.c: Likewise.
12322 * config/libbid/bid128_compare.c: Likewise.
12323 * config/libbid/bid128_div.c: Likewise.
12324 * config/libbid/bid128_fma.c: Likewise.
12325 * config/libbid/bid128_logb.c: Likewise.
12326 * config/libbid/bid128_minmax.c: Likewise.
12327 * config/libbid/bid128_mul.c: Likewise.
12328 * config/libbid/bid128_next.c: Likewise.
12329 * config/libbid/bid128_noncomp.c: Likewise.
12330 * config/libbid/bid128_quantize.c: Likewise.
12331 * config/libbid/bid128_rem.c: Likewise.
12332 * config/libbid/bid128_round_integral.c: Likewise.
12333 * config/libbid/bid128_scalb.c: Likewise.
12334 * config/libbid/bid128_sqrt.c: Likewise.
12335 * config/libbid/bid128_string.c: Likewise.
12336 * config/libbid/bid128_to_int16.c: Likewise.
12337 * config/libbid/bid128_to_int32.c: Likewise.
12338 * config/libbid/bid128_to_int64.c: Likewise.
12339 * config/libbid/bid128_to_int8.c: Likewise.
12340 * config/libbid/bid128_to_uint16.c: Likewise.
12341 * config/libbid/bid128_to_uint32.c: Likewise.
12342 * config/libbid/bid128_to_uint64.c: Likewise.
12343 * config/libbid/bid128_to_uint8.c: Likewise.
12344 * config/libbid/bid32_to_bid128.c: Likewise.
12345 * config/libbid/bid32_to_bid64.c: Likewise.
12346 * config/libbid/bid64_add.c: Likewise.
12347 * config/libbid/bid64_compare.c: Likewise.
12348 * config/libbid/bid64_div.c: Likewise.
12349 * config/libbid/bid64_fma.c: Likewise.
12350 * config/libbid/bid64_logb.c: Likewise.
12351 * config/libbid/bid64_minmax.c: Likewise.
12352 * config/libbid/bid64_mul.c: Likewise.
12353 * config/libbid/bid64_next.c: Likewise.
12354 * config/libbid/bid64_noncomp.c: Likewise.
12355 * config/libbid/bid64_quantize.c: Likewise.
12356 * config/libbid/bid64_rem.c: Likewise.
12357 * config/libbid/bid64_round_integral.c: Likewise.
12358 * config/libbid/bid64_scalb.c: Likewise.
12359 * config/libbid/bid64_sqrt.c: Likewise.
12360 * config/libbid/bid64_string.c: Likewise.
12361 * config/libbid/bid64_to_bid128.c: Likewise.
12362 * config/libbid/bid64_to_int16.c: Likewise.
12363 * config/libbid/bid64_to_int32.c: Likewise.
12364 * config/libbid/bid64_to_int64.c: Likewise.
12365 * config/libbid/bid64_to_int8.c: Likewise.
12366 * config/libbid/bid64_to_uint16.c: Likewise.
12367 * config/libbid/bid64_to_uint32.c: Likewise.
12368 * config/libbid/bid64_to_uint64.c: Likewise.
12369 * config/libbid/bid64_to_uint8.c: Likewise.
12370 * config/libbid/bid_b2d.h: Likewise.
12371 * config/libbid/bid_binarydecimal.c: Likewise.
12372 * config/libbid/bid_conf.h: Likewise.
12373 * config/libbid/bid_convert_data.c: Likewise.
12374 * config/libbid/bid_decimal_data.c: Likewise.
12375 * config/libbid/bid_decimal_globals.c: Likewise.
12376 * config/libbid/bid_div_macros.h: Likewise.
12377 * config/libbid/bid_dpd.c: Likewise.
12378 * config/libbid/bid_flag_operations.c: Likewise.
12379 * config/libbid/bid_from_int.c: Likewise.
12380 * config/libbid/bid_functions.h: Likewise.
12381 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12382 * config/libbid/bid_inline_add.h: Likewise.
12383 * config/libbid/bid_internal.h: Likewise.
12384 * config/libbid/bid_round.c: Likewise.
12385 * config/libbid/bid_sqrt_macros.h: Likewise.
12386
123872009-04-09 Jakub Jelinek <jakub@redhat.com>
12388
12389 * Makefile.in: Change copyright header to refer to version
12390 3 of the GNU General Public License and to point readers at the
12391 COPYING3 file and the FSF's license web page.
12392 * config.host: Likewise.
12393
633dd061
AM
123942009-04-07 Alan Modra <amodra@bigpond.net.au>
12395
12396 * config.host: Reorder and merge to match config.gcc change.
12397
457d1d00
AM
123982009-04-03 Alan Modra <amodra@bigpond.net.au>
12399
12400 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12401
52c0e446
JM
124022009-03-28 Joseph Myers <joseph@codesourcery.com>
12403
12404 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12405 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12406 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12407 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12408
ba181049
UB
124092009-02-12 Uros Bizjak <ubizjak@gmail.com>
12410
12411 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12412 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12413
c252db20
L
124142009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12415
ba181049
UB
12416 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12417 ia64/t-softfp-compat to tmake_file.
c252db20
L
12418
12419 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12420
12421 * config/ia64/__divxf3.asm: New.
12422 * config/ia64/_fixtfdi.asm: Likewise.
12423 * config/ia64/_fixunstfdi.asm: Likewise.
12424 * config/ia64/_floatditf.asm: Likewise.
12425 * config/ia64/t-fprules-softfp: Likewise.
12426 * config/ia64/t-softfp-compat: Likewise.
12427 * config/ia64/tf-signs.c: Likewise.
12428
c60535f9
BE
124292009-01-18 Ben Elliston <bje@au.ibm.com>
12430
12431 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12432
ce16861e
BE
124332009-01-16 Ben Elliston <bje@au.ibm.com>
12434
12435 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12436 to tmake_file.
12437
bcf4713b
BE
124382009-01-13 Ben Elliston <bje@au.ibm.com>
12439
12440 * config/t-softfp: New file.
12441 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12442 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12443
7d296953 124442009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12445
12446 * config.host: Add m32r*-*-rtems*.
12447
7d296953 124482008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12449
12450 * config.host: Add m32c*-*-rtems*.
12451
19523300
RO
124522008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12453
12454 PR bootstrap/33100
12455 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12456 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12457 * configure: Regenerate.
12458 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12459 tmake_file here from gcc/config.gcc.
12460 Move extra_parts here from gcc/config.gcc.
12461 * config/i386/t-sol2: Move here from gcc/config/i386.
12462 Use gcc_srcdir instead of srcdir.
12463
0a4a51c7
AN
124642008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12465
12466 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12467 case.
12468
2a761e46
TS
124692008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12470
12471 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12472
c0451df7
TS
124732008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12474
12475 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12476
358da97e
HS
124772008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12478
12479 Add picoChip port.
12480 * config.host: Add picochip-*-*.
12481
c660f132
BW
124822008-08-06 Bob Wilson <bob.wilson@acm.org>
12483
12484 * config.host: Match more processor names for Xtensa.
12485
d1349557
L
124862008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12487
12488 * config/i386/64/t-softfp-compat: Update comments.
12489
dd7b73c0
L
124902008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12491
12492 * config/i386/64/_divtc3-compat.c: Moved to ...
12493 * config/i386/64/_divtc3.c: Here.
12494
12495 * config/i386/64/_multc3-compat.c: Moved to ...
12496 * config/i386/64/_multc3.c: Here.
12497
12498 * config/i386/64/_powitf2-compat.c: Moved to ...
12499 * config/i386/64/_powitf2.c: Here.
12500
12501 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12502 .c suffix instead of -compat.c.
12503
6e1fab3d
UB
125042008-07-05 Uros Bizjak <ubizjak@gmail.com>
12505
12506 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12507 (_FP_MUL_MEAT_D): Ditto.
12508 (_FP_DIV_MEAT_S): Ditto.
12509 (_FP_DIV_MEAT_D): Ditto.
12510
f92518d7
RS
125112008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12512
12513 * Makefile.in: Add support for __sync_* libgcc functions.
12514
d0aede14
L
125152008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12518
c174f11c
L
125192008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12520
12521 PR boostrap/36702
12522 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12523 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12524
12525 * config/i386/64/t-fprules-softfp: Moved to ...
12526 * config/i386/64/t-softfp-compat: This. New.
12527
5f464fa2
UB
125282008-07-02 Uros Bizjak <ubizjak@gmail.com>
12529
12530 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12531 Initialize f with 0.0.
12532
ff473280
L
125332008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12534
12535 PR target/36669
12536 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12537
12538 * config/i386/64/_divtc3-compat.c: New.
12539 * config/i386/64/_multc3-compat.c: Likewise.
12540 * config/i386/64/_powitf2-compat.c: Likewise.
12541 * config/i386/64/eqtf2.c: Likewise.
12542 * config/i386/64/getf2.c: Likewise.
12543 * config/i386/64/letf2.c: Likewise.
12544 * config/i386/64/t-fprules-softfp: Likewise.
12545
125462008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12547
12548 * config.host: Add i386/${host_address}/t-fprules-softfp to
12549 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12550 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12551
12552 * configure.ac: Set host_address to 64 or 32 for x86.
12553 * configure: Regenerated.
12554
12555 * Makefile.in (config.status): Also depend on
12556 $(srcdir)/config.host.
12557
12558 * config/i386/32/t-fprules-softfp: New.
12559 * config/i386/32/tf-signs.c: Likewise.
12560
12561 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12562
125632008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12564 Uros Bizjak <ubizjak@gmail.com>
12565
12566 * config/i386/32/sfp-machine.h: New.
12567
30551d99
NF
125682008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12569
12570 * config/rs6000/t-ppccomm: Remove rules that conflict with
12571 auto-generated rules.
12572
18c04407
RW
125732008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12574
12575 * configure.ac: sinclude override.m4.
12576 * configure: Regenerate.
12577
10fbe77a
BRF
125782008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12579
12580 * configure: Regenerate.
12581
bc6d4c3f
JM
125822008-06-10 Joseph Myers <joseph@codesourcery.com>
12583
12584 * Makefile.in (DECNUMINC): Remove
12585 -I$(MULTIBUILDTOP)../../libdecnumber.
12586 * gstdint.h: New.
12587
cd985f66
JM
125882008-06-07 Joseph Myers <joseph@codesourcery.com>
12589
12590 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12591 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12592 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12593 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12594 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12595 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12596 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12597 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12598 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12599 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12600 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12601 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12602 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12603 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12604
93fea8d3
AL
126052008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12606
12607 * config.host (sh2[lbe]*-*-linux*): Allow target.
12608
18724e30
NF
126092008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12610
12611 * config/rs6000/t-ppccomm: Add build rules for new files.
12612 (LIB2ADD_ST): New variable.
12613
47583040
AH
126142008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12615
12616 PR target/34210
12617 PR target/35508
12618 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12619 * config/t-avr: New file. Build 16bit libgcc functions.
12620
cf8e67fe
JJ
126212008-03-02 Jakub Jelinek <jakub@redhat.com>
12622
12623 PR target/35401
12624 * config/t-slibgcc-darwin: Make install-leaf dependent on
12625 install-darwin-libgcc-stubs instead of install.
12626
8d8da227
JM
126272008-01-25 Joseph Myers <joseph@codesourcery.com>
12628
12629 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12630 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12631 sh-*-rtemscoff*): Remove cases.
12632
edbf8b16
RS
126332007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12634
12635 * Makefile.in (all): Use install-leaf rather than install.
12636 (install): Split most of the rule into...
12637 (install-leaf): ...this new one.
12638
89deeaff
EK
126392007-12-19 Etsushi Kato <ek.kato@gmail.com>
12640 Paolo Bonzini <bonzini@gnu.org>
12641
12642 PR target/30572
5f464fa2
UB
12643 * Makefile.in: Use @shlib_slibdir@ substitution to get
12644 correct install name on darwin.
89deeaff 12645 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 12646
4081d704
HPN
126472007-12-15 Hans-Peter Nilsson <hp@axis.com>
12648
12649 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12650 cris-*-elf and cris-*-none.
12651 (crisv32-*-linux*): Similar, as cris-*-linux*.
12652
f43e89a3
RIL
126532007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12654
12655 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12656
b4e9c2c6
L
126572007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12658
12659 PR regression/33926
12660 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12661 * configure: Regenerated.
12662
b2a00c89
L
126632007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12664
12665 * Makefile.in (dfp-filenames): Replace decimal_globals,
12666 decimal_data, binarydecimal and convert_data with
12667 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12668 and bid_convert_data, respectively.
12669
8d2a9e0e
CF
126702007-09-17 Chao-ying Fu <fu@mips.com>
12671 Nigel Stephens <nigel@mips.com>
12672
12673 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12674 * Makefile.in (fixed_point): Define.
12675 Check if fixed_point is yes to build support functions.
12676 * configure.ac: Check for fixed_point support.
12677 * configure: Regenerated.
12678 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12679 funcs, modes, from, to.
12680
2b53935d
JJ
126812007-09-11 Janis Johnson <janis187@us.ibm.com
12682
12683 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12684
2533577f
JJ
126852007-09-10 Janis Johnson <janis187@us.ibm.com>
12686
12687 * Makefile.in (dfp-filenames): Remove decUtility, add
12688 decDouble, decPacked, decQuad, decSingle.
12689
3ae3dbd6
HK
126902007-08-27 Hans Kester <hans.kester@ellips.nl>
12691
12692 * config.host : Add x86_64-elf target.
12693
22867d02
L
126942007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12695
12696 * configure.ac (set_have_cc_tls): Add a missing =.
12697 * configure: Regenerated.
12698
6f461e76
L
126992007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12700
12701 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12702 and x86_64-*-linux*.
12703
12704 * config/t-tls: New file.
12705
dfb3b0e3 12706 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12707
12708 * configure.ac: Include ../config/enable.m4 and
12709 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12710 supports TLS and substitute set_have_cc_tls.
12711 * configure: Regenerated.
12712
200359e8
L
127132007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12714
12715 * Makefile.in: Use libbid for DFP when BID is enabled.
12716
76f5e200
DS
127172007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12718
12719 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12720 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12721 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12722
9bd196f0 127232007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12724 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12725
12726 PR target/29498
12727 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12728 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12729 * config/i386/t-crtfm: Compile crtfastmath.o with
12730 -minline-all-stringops.
12731
1910440e
RS
127322007-05-10 Richard Sandiford <richard@codesourcery.com>
12733
12734 * config.host (sparc-wrs-vxworks): New target.
12735
7d33c31d
KH
127362007-04-14 Kazu Hirata <kazu@codesourcery.com>
12737
12738 * config.host: Recognize fido.
12739
96fccd0d
JJ
127402007-04-04 Janis Johnson <janis187@us.ibm.com>
12741
12742 * configure: Check host, not target, for decimal float support.
12743
577565f9
UB
127442007-04-03 Uros Bizjak <ubizjak@gmail.com>
12745
12746 * config/i386/t-crtpc: New file.
12747 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12748 (x86_64-*-linux*): Ditto.
577565f9 12749
ccf8e764
RH
127502007-02-30 Kai Tietz <kai.tietz@onevision.com>
12751
12752 * config.host (x86_64-*-mingw*): New target.
12753
79b87c74
MM
127542007-03-23 Michael Meissner <michael.meissner@amd.com>
12755 H.J. Lu <hongjiu.lu@intel.com>
12756
12757 * Makefile.in (enable_decimal_float): New.
12758 (DECNUMINC): Add
12759 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12760 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12761 (decbits-filenames): This.
12762 (decbits-objects): New.
12763 (libgcc-objects): Add $(decbits-objects).
12764
12765 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12766 Substitute enable_decimal_float.
12767 * configure: Regenerated.
12768
8fce4e31
HPN
127692007-03-19 Hans-Peter Nilsson <hp@axis.com>
12770
12771 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12772
e8bb4597
BM
127732007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12774
12775 * Makefile.in (install-info): New dummy target.
12776
344189f9
BS
127772007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12778
12779 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12780
ac84c172
BM
127812007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12782
12783 * Makefile.in: Add install-html and install-pdf dummy
12784 targets.
12785
cd5c2357
RS
127862007-02-05 Roger Sayle <roger@eyesopen.com>
12787 Daniel Jacobowitz <dan@codesourcery.com>
12788
12789 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12790 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12791 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12792
d9a66f98
JJ
127932007-01-29 Janis Johnson <janis187@us.ibm.com>
12794
12795 * Makefile.in (dec-filenames): Add decExcept.
12796
9891ec5f
DJ
127972007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12798
12799 PR bootstrap/30469
12800 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12801 -fprofile-use.
12802
d6efbf5a
DJ
128032007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12804
12805 * configure.ac: Add --enable-version-specific-runtime-libs.
12806 Correct $slibdir default.
12807 * configure: Regenerated.
12808
17caeff2
JM
128092007-01-23 Joseph Myers <joseph@codesourcery.com>
12810
12811 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12812
5ea41e3a
AP
128132007-01-21 Andrew Pinski <pinskia@gmail.com>
12814
12815 PR target/30519
12816 * config.host (alpha*-*-linux*): Set extra_parts.
12817
26900826
KK
128182007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12819
12820 * config/sh/t-linux: New.
12821 * config.host (sh*-*-linux*): Set tmake_file.
12822
97af925b
DJ
128232007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12824
12825 * Makefile.in (install): Handle multilibs.
12826
b0088af7
BM
128272007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12828
12829 * Makefile.in: Added .PHONY entry for documentation targets.
12830
e0a9456a
BM
128312007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12832
12833 * Makefile.in: Add empty info, html, dvi, pdf targets.
12834
7fd453b4
MS
128352007-01-04 Mike Stump <mrs@apple.com>
12836
12837 * Makefile.in (MAKEINFO): Remove.
12838 (PERL): Likewise.
12839
14e8fc8b
PB
128402007-01-04 Paolo Bonzini <bonzini@gnu.org>
12841
12842 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12843 * configure: Regenerate.
12844 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12845 (gcc_objdir): Use it.
14e8fc8b 12846
1555beba
DJ
128472007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12848
12849 * config.host (ia64*-*-linux*): Set tmake_file.
12850
79e6eaeb
DJ
128512007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12852
12853 * Makefile.in (version): Define.
12854
fa958513
DJ
128552007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12856 Paolo Bonzini <bonzini@gnu.org>
12857
12858 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12859 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12860 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12861 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12862 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12863 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12864 * configure: Generated.
818ab71a 12865\f
68127a8e 12866Copyright (C) 2007-2023 Free Software Foundation, Inc.
818ab71a
JJ
12867
12868Copying and distribution of this file, with or without modification,
12869are permitted in any medium without royalty provided the copyright
12870notice and this notice are preserved.