]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
PR tree-optimization/109392
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
5229788d
GA
12023-04-05 John David Anglin <danglin@gcc.gnu.org>
2
3 PR target/109374
4 * config/pa/milli64.S (RETURN_COLUMN): Define.
5 ($$divI): Add CFI directives.
6 ($$divU): Likewise.
7 ($$remI): Likewise.
8 ($$remU): Likewise.
9
09abeb73
GA
102023-03-19 Stafford Horne <shorne@gmail.com>
11
12 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
13 statement clearing existing exceptions.
14
a9835599
GA
152023-03-13 Max Filippov <jcmvbkbc@gmail.com>
16
17 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
18 * config/xtensa/crtn.S: Likewise.
19 * config/xtensa/lib1funcs.S: Likewise.
20 * config/xtensa/lib2funcs.S: Likewise.
21
44ea7318
GA
222023-03-12 Jakub Jelinek <jakub@redhat.com>
23
24 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
25 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
26 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
27 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
28 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
29 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
30 * soft-fp/floatundibf.c: New file.
31 * soft-fp/floatdibf.c: New file.
32
c8065441
GA
332023-03-10 Jakub Jelinek <jakub@redhat.com>
34
35 PR target/107703
36 * soft-fp/floattibf.c: New file.
37 * soft-fp/floatuntibf.c: New file.
38 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
39 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
40 floatuntibf.
41 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
42
6a87fdd3
GA
432023-03-08 Kewen Lin <linkw@linux.ibm.com>
44
45 PR libgcc/108727
46 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
47 bump size.
48
3dd4ada4
GA
492023-03-06 Michael Meissner <meissner@linux.ibm.com>
50
51 PR target/107299
52 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
53 whether long double is IBM or IEEE.
54 (INFINITY): Likewise.
55 (FABS): Likewise.
56 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
57 (INFINITY): Likewise.
58 * config/rs6000/quad-float128.h (TF): Remove definition.
59 (TFtype): Define to be long double or _Float128.
60 (TCtype): Define to be _Complex long double or _Complex _Float128.
61 * libgcc2.h (TFtype): Allow machine config files to override this.
62 (TCtype): Likewise.
63 * soft-fp/quad.h (TFtype): Likewise.
64
ae719781
GA
652023-02-13 Kito Cheng <kito.cheng@sifive.com>
66
67 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
68 * config/riscv/value-unwind.h: New.
69
49e52115
GA
702023-02-03 Christophe Lyon <christophe.lyon@arm.com>
71
72 * config/arm/pr-support.c (__gnu_unwind_execute): Use
73 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
74
897a0502
GA
752023-01-30 Flavio Cruz <flaviocruz@gmail.com>
76
77 * config.host: Recognize x86_64-*-gnu* targets.
78 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
79 TODO for now.
80
607f278a
GA
812023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
82
83 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
84 "0xb5".
85
862023-01-23 Andrea Corallo <andrea.corallo@arm.com>
87 Tejas Belagod <tbelagod@arm.com>
88 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
89
90 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
91 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
92 with AUTG if found.
93 * config/arm/unwind-arm.c (struct pseudo_regs): New.
94 (phase1_vrs): Introduce new field to store pseudo-reg state.
95 (phase2_vrs): Likewise.
96 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
97 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
98 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
99
9f98cfa5
GA
1002023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
101
102 PR target/107678
103 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
104 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
105 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
106 encode the return address signing state.
107 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
108 Check current return address signing state.
109 (aarch64_frob_update_contex): Remove.
110
5013c3bb
GA
1112023-01-13 John David Anglin <danglin@gcc.gnu.org>
112
113 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
114 pa/t-pa64-linux.
115 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
116 instead of pa/t-hpux and pa/t-pa64.
117 * config/pa/linux-atomic.c: Define u32 type.
118 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
119 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
120 defines to use atomic_load calls for type.
121 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
122 * config/pa/sync-libfuncs.c: New file.
123 * config/pa/t-netbsd (LIB2ADD_ST): Define.
124 * config/pa/t-openbsd (LIB2ADD_ST): Define.
125 * config/pa/t-pa64-hpux: New file.
126 * config/pa/t-pa64-linux: New file.
127
1282023-01-13 Jonathan Wakely <jwakely@redhat.com>
129
130 PR libstdc++/108331
131 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
132 struct matching the previous __gthread_mutex_t struct.
133 (__GTHREAD_LEGACY_MUTEX_T): Define.
134
1352023-01-13 Seija Kijin <doremylover456@gmail.com>
136
137 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
138 unified syntax.
139
d901bf8a
GA
1402023-01-07 LIU Hao <lh_mouse@126.com>
141
142 PR middle-end/108300
143 * config/i386/enable-execute-stack-mingw32.c: Define
144 `WIN32_LEAN_AND_MEAN` before <windows.h>.
145 * libgcc2.c: Likewise.
146 * unwind-generic.h: Likewise.
147
0f8fbb57
GA
1482023-01-03 Florian Weimer <fweimer@redhat.com>
149
150 * unwind-dw2-execute_cfa.h: New file. Extracted from
151 the execute_cfa_program function in unwind-dw2.c.
152 * unwind-dw2.c (execute_cfa_program_generic): New function.
153 (execute_cfa_program_specialized): Likewise.
154 (execute_cfa_program): Call execute_cfa_program_specialized
155 or execute_cfa_program_generic, as appropriate.
156
1572023-01-03 Florian Weimer <fweimer@redhat.com>
158
159 Revert:
160 2023-01-03 Florian Weimer <fweimer@redhat.com>
161
162 * unwind-dw2.c (dwarf_reg_size): New function.
163 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
164 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
165 (uw_init_context_1): Do not initialize dwarf_reg_size_table
166 if not in use.
167
1682023-01-03 Florian Weimer <fweimer@redhat.com>
169
170 Revert:
171 2023-01-03 Florian Weimer <fweimer@redhat.com>
172
173 * unwind-dw2-execute_cfa.h: New file. Extracted from
174 the execute_cfa_program function in unwind-dw2.c.
175 * unwind-dw2.c (execute_cfa_program_generic): New function.
176 (execute_cfa_program_specialized): Likewise.
177 (execute_cfa_program): Call execute_cfa_program_specialized
178 or execute_cfa_program_generic, as appropriate.
179
fee53a31
GA
1802023-01-02 Florian Weimer <fweimer@redhat.com>
181
182 * unwind-dw2-execute_cfa.h: New file. Extracted from
183 the execute_cfa_program function in unwind-dw2.c.
184 * unwind-dw2.c (execute_cfa_program_generic): New function.
185 (execute_cfa_program_specialized): Likewise.
186 (execute_cfa_program): Call execute_cfa_program_specialized
187 or execute_cfa_program_generic, as appropriate.
188
1892023-01-02 Florian Weimer <fweimer@redhat.com>
190
191 * unwind-dw2.c (dwarf_reg_size): New function.
192 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
193 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
194 (uw_init_context_1): Do not initialize dwarf_reg_size_table
195 if not in use.
196
bc38aee7
GA
1972022-12-25 Jonathan Yong <10walls@gmail.com>
198
199 * config/i386/gthr-win32.h: undef CC_NONE
200
843c4d2f
GA
2012022-12-24 Iain Sandoe <iain@sandoe.co.uk>
202
203 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
204 install of libgcc_s.1.dylib when the installation is into the build
205 gcc directory.
206
376d6b8c
GA
2072022-12-23 Eric Botcazou <ebotcazou@adacore.com>
208
209 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
210 as well as new i386/t-slibgcc-mingw fragment.
211 (x86_64-*-mingw*): Likewise.
212 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
213 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
214 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
215 Include stdlib.h instead of errno.h and do not include _mingw.h.
216 (CONST_CAST2): Add specific definition for C++.
217 (ATTRIBUTE_UNUSED): New macro.
218 (__UNUSED_PARAM): Delete.
219 Define WIN32_LEAN_AND_MEAN before including windows.h.
220 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
221 (__gthread_objc_init_thread_system): Likewise.
222 (__gthread_objc_thread_get_data): Minor tweak.
223 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
224 (__gthread_objc_condition_deallocate): Likewise.
225 (__gthread_objc_condition_wait): Likewise.
226 (__gthread_objc_condition_broadcast): Likewise.
227 (__gthread_objc_condition_signal): Likewise.
228 Include sys/time.h.
229 (__gthr_win32_DWORD): New typedef.
230 (__gthr_win32_HANDLE): Likewise.
231 (__gthr_win32_CRITICAL_SECTION): Likewise.
232 (__gthr_win32_CONDITION_VARIABLE): Likewise.
233 (__gthread_t): Adjust.
234 (__gthread_key_t): Likewise.
235 (__gthread_mutex_t): Likewise.
236 (__gthread_recursive_mutex_t): Likewise.
237 (__gthread_cond_t): New typedef.
238 (__gthread_time_t): Likewise.
239 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
240 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
241 (__GTHREAD_COND_INIT_FUNCTION): Define.
242 (__GTHREAD_TIME_INIT): Likewise.
243 (__gthr_i486_lock_cmp_xchg): Delete.
244 (__gthr_win32_create): Declare.
245 (__gthr_win32_join): Likewise.
246 (__gthr_win32_self): Likewise.
247 (__gthr_win32_detach): Likewise.
248 (__gthr_win32_equal): Likewise.
249 (__gthr_win32_yield): Likewise.
250 (__gthr_win32_mutex_destroy): Likewise.
251 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
252 (__gthr_win32_cond_broadcast): Likewise.
253 (__gthr_win32_cond_signal): Likewise.
254 (__gthr_win32_cond_wait): Likewise.
255 (__gthr_win32_cond_timedwait): Likewise.
256 (__gthr_win32_recursive_mutex_init_function): Delete.
257 (__gthr_win32_recursive_mutex_lock): Likewise.
258 (__gthr_win32_recursive_mutex_unlock): Likewise.
259 (__gthr_win32_recursive_mutex_destroy): Likewise.
260 (__gthread_create): New inline function.
261 (__gthread_join): Likewise.
262 (__gthread_self): Likewise.
263 (__gthread_detach): Likewise.
264 (__gthread_equal): Likewise.
265 (__gthread_yield): Likewise.
266 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
267 (__gthread_cond_broadcast): Likewise.
268 (__gthread_cond_signal): Likewise.
269 (__gthread_cond_wait): Likewise.
270 (__gthread_cond_timedwait): Likewise.
271 (__GTHREAD_WIN32_INLINE): New macro.
272 (__GTHREAD_WIN32_COND_INLINE): Likewise.
273 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
274 Define WIN32_LEAN_AND_MEAN before including windows.h.
275 (__gthread_once): Minor tweaks.
276 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
277 (__gthread_key_delete): Minor tweak.
278 (__gthread_getspecific): Likewise.
279 (__gthread_setspecific): Likewise.
280 (__gthread_mutex_init_function): Reimplement.
281 (__gthread_mutex_destroy): Likewise.
282 (__gthread_mutex_lock): Likewise.
283 (__gthread_mutex_trylock): Likewise.
284 (__gthread_mutex_unlock): Likewise.
285 (__gthr_win32_abs_to_rel_time): Declare.
286 (__gthread_recursive_mutex_init_function): Reimplement.
287 (__gthread_recursive_mutex_destroy): Likewise.
288 (__gthread_recursive_mutex_lock): Likewise.
289 (__gthread_recursive_mutex_trylock): Likewise.
290 (__gthread_recursive_mutex_unlock): Likewise.
291 (__gthread_cond_destroy): New inline function.
292 (__gthread_cond_wait_recursive): Likewise.
293 * config/i386/gthr-win32.c: Delete everything.
294 Include gthr-win32.h to get the out-of-line version of inline routines.
295 Add compile-time checks for the local version of the Win32 types.
296 * config/i386/gthr-win32-cond.c: New file.
297 * config/i386/gthr-win32-thread.c: Likewise.
298 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
299 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
300 the static version of libgcc.
301 * config/i386/t-slibgcc-mingw: New file.
302 * config/i386/libgcc-mingw.ver: Likewise.
303
5fb1e674
GA
3042022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
305
306 * unwind-dw2-fde.c: Initialize fde object lazily when
307 the first exception tries to pass through.
308
3092022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
310
311 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
312
e6110da4
GA
3132022-12-08 Max Filippov <jcmvbkbc@gmail.com>
314
315 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
316 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
317 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
318 (XSHAL_ABI): Remove stray symbols from macro definitions.
319
4bc2d9f6
GA
3202022-12-07 Max Filippov <jcmvbkbc@gmail.com>
321
322 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
323 xtensa-config-builtin.h.
324 * config/xtensa/crtn.S: Likewise.
325 * config/xtensa/lib1funcs.S: Likewise.
326 * config/xtensa/lib2funcs.S: Likewise.
327 * config/xtensa/xtensa-config-builtin.h: New File.
328
05788e9b
GA
3292022-11-04 Florian Weimer <fweimer@redhat.com>
330
331 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
332 values actually used by BFD ld.
333
00716b77
GA
3342022-10-23 LIU Hao <lh_mouse@126.com>
335
336 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
337 libobjc, instead of 'gthr.h'
338
87f9c4a4
GA
3392022-10-19 LIU Hao <lh_mouse@126.com>
340
341 * config.host: Add new cases for `mcf` thread model
342 * config/i386/gthr-mcf.h: New file
343 * config/i386/t-mingw-mcfgthread: New file
344 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
345 * configure: Regenerate
346
21de009f
GA
3472022-10-18 Jonathan Wakely <jwakely@redhat.com>
348
349 * Makefile.in: Quote variable.
350
6237663c
GA
3512022-10-17 H.J. Lu <hjl.tools@gmail.com>
352
353 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
354 argument.
355 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
356 _Unwind_Frames_Increment.
357 (_Unwind_ForcedUnwind_Phase2): Likewise.
358 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
359 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
360 return address on normal stack doesn't match the return address
361 on shadow stack.
362
3632022-10-17 Florian Weimer <fweimer@redhat.com>
364
365 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
366 and reduce its size.
367
baeec7cc
GA
3682022-10-14 Jakub Jelinek <jakub@redhat.com>
369
370 * config/i386/t-softfp (softfp_extensions): Add bfsf.
371 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
372 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
373 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
374 -msse2.
375 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
376 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
377 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
378 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
379 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
380 * soft-fp/brain.h: New file.
381 * soft-fp/truncsfbf2.c: New file.
382 * soft-fp/truncdfbf2.c: New file.
383 * soft-fp/truncxfbf2.c: New file.
384 * soft-fp/trunctfbf2.c: New file.
385 * soft-fp/trunchfbf2.c: New file.
386 * soft-fp/truncbfhf2.c: New file.
387 * soft-fp/extendbfsf2.c: New file.
388
781f477a
GA
3892022-10-12 Martin Liska <mliska@suse.cz>
390
391 * libgcov-driver.c: Use new function.
392 * libgcov.h (gcov_write_summary): Rename to ...
393 (gcov_write_object_summary): ... this.
394
ab332cd7
GA
3952022-10-11 Olivier Hainque <hainque@adacore.com>
396
397 * config.host (*vxworks*): When enable_shared, add
398 libgcc and crtstuff "shared" fragments for rtp except
399 large code model.
400 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
401 the list of fragments.
402
629d04d3
GA
4032022-10-06 Jakub Jelinek <jakub@redhat.com>
404
405 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
406 fs->regs.how[X] instead of fs->regs.reg[X].how.
407
4082022-10-06 Jakub Jelinek <jakub@redhat.com>
409
410 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
411 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
412 REG_UNDEFINED): New anonymous enum, moved from inside of
413 struct frame_state_reg_info.
414 (struct frame_state_reg_info): Remove reg[].how element and the
415 anonymous enum there. Add how element.
416 * unwind-dw2.c: Include stddef.h.
417 (uw_frame_state_for): Don't clear first
418 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
419 (execute_cfa_program, __frame_state_for, uw_update_context_1,
420 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
421 or fs.regs.how[X] instead of fs.regs.reg[X].how.
422 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
423 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
424 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
425 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
426 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
427 Likewise.
428 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
429 Likewise.
430 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
431 * config/arc/linux-unwind.h (arc_fallback_frame_state,
432 arc_frob_update_context): Likewise.
433 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
434 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
435 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
436 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
437 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
438 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
439 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
440 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
441 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
442 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
443 x86_fallback_frame_state): Likewise.
444 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
445 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
446 x86_fallback_frame_state): Likewise.
447 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
448 Likewise.
449 * config/i386/dragonfly-unwind.h
450 (x86_64_dragonfly_fallback_frame_state): Likewise.
451 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
452 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
453 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
454 Likewise.
455 * config/aarch64/freebsd-unwind.h
456 (aarch64_freebsd_fallback_frame_state): Likewise.
457 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
458 Likewise.
459 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
460 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
461 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
462 Likewise.
463 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
464 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
465 Likewise.
466 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
467 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
468 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
469 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
470
42231015
GA
4712022-10-02 Olivier Hainque <hainque@adacore.com>
472
473 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
474 -I options for gcc/include and gcc/include-fixed at the end
475 and make them -isystem.
476
4772022-10-02 Olivier Hainque <hainque@adacore.com>
478
479 * config/gthr-vxworks.h: Prevent Wpragma warning for the
480 pragma diagnostics on Wstrict-prototypes.
481
bbdcdf5c
GA
4822022-09-29 Olivier Hainque <hainque@adacore.com>
483
484 * config/vxcrtstuff.c: Improve the comment attached to the use
485 of auto-host.h and of __dso_handle. Remove redundant guard on
486 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
487
220c4d8e
GA
4882022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
489
490 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
491 for the non-fast-path case. Drop destructor priority.
492
279c6715
GA
4932022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
494
495 * unwind-dw2-fde.c: (release_register_frames) Remember
496 when the btree has been destroyed.
497 (__deregister_frame_info_bases) Disable the assert when
498 shutting down.
499
0990a778
GA
5002022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
501
502 * unwind-dw2-fde.c: Replace uintptr_t with typedef
503 for __UINTPTR_TYPE__.
504 * unwind-dw2-btree.h: Likewise.
505
7ee0fa10
GA
5062022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
507
508 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
509 (__register_frame_info_table_bases): Use btree in atomic fast path.
510 (__deregister_frame_info_bases): Likewise.
511 (_Unwind_Find_FDE): Likewise.
512 (base_from_object): Make parameter const.
513 (classify_object_over_fdes): Add query-only mode.
514 (get_pc_range): Compute PC range for lookup.
515 * unwind-dw2-fde.h (last_fde): Make parameter const.
516 * unwind-dw2-btree.h: New file.
517
542c60c4
GA
5182022-08-31 Martin Liska <mliska@suse.cz>
519
520 * config.host: Remove hppa.
521
3de9fb32
GA
5222022-08-30 Martin Liska <mliska@suse.cz>
523
524 * config.host: Remove the port.
525
16f542d6
GA
5262022-08-26 Martin Liska <mliska@suse.cz>
527
528 * config.host: Remove cr16 related stuff.
529 * config/cr16/crti.S: Removed.
530 * config/cr16/crtlibid.S: Removed.
531 * config/cr16/crtn.S: Removed.
532 * config/cr16/divmodhi3.c: Removed.
533 * config/cr16/lib1funcs.S: Removed.
534 * config/cr16/t-cr16: Removed.
535 * config/cr16/t-crtlibid: Removed.
536 * config/cr16/unwind-cr16.c: Removed.
537 * config/cr16/unwind-dw2.h: Removed.
538
47a61e65
GA
5392022-08-16 Kito Cheng <kito.cheng@sifive.com>
540
541 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
542 (_FP_NANFRAC_H): Ditto.
543 (_FP_NANSIGN_H): Ditto.
544 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
545 routines.
546 (softfp_truncations): Ditto.
547 (softfp_extras): Ditto.
548 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
549
5502022-08-16 Kito Cheng <kito.cheng@sifive.com>
551
552 * soft-fp/fixhfdi.c: New.
553 * soft-fp/fixhfsi.c: Likewise.
554 * soft-fp/fixunshfdi.c: Likewise.
555 * soft-fp/fixunshfsi.c: Likewise.
556 * soft-fp/floatdihf.c: Likewise.
557 * soft-fp/floatsihf.c: Likewise.
558 * soft-fp/floatundihf.c: Likewise.
559 * soft-fp/floatunsihf.c: Likewise.
560 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
561 lines and update URL for license.
562 * soft-fp/addsf3.c: Likewise.
563 * soft-fp/addtf3.c: Likewise.
564 * soft-fp/divdf3.c: Likewise.
565 * soft-fp/divsf3.c: Likewise.
566 * soft-fp/divtf3.c: Likewise.
567 * soft-fp/double.h: Likewise.
568 * soft-fp/eqdf2.c: Likewise.
569 * soft-fp/eqhf2.c: Likewise.
570 * soft-fp/eqsf2.c: Likewise.
571 * soft-fp/eqtf2.c: Likewise.
572 * soft-fp/extenddftf2.c: Likewise.
573 * soft-fp/extended.h: Likewise.
574 * soft-fp/extendhfdf2.c: Likewise.
575 * soft-fp/extendhfsf2.c: Likewise.
576 * soft-fp/extendhftf2.c: Likewise.
577 * soft-fp/extendhfxf2.c: Likewise.
578 * soft-fp/extendsfdf2.c: Likewise.
579 * soft-fp/extendsftf2.c: Likewise.
580 * soft-fp/extendxftf2.c: Likewise.
581 * soft-fp/fixdfdi.c: Likewise.
582 * soft-fp/fixdfsi.c: Likewise.
583 * soft-fp/fixdfti.c: Likewise.
584 * soft-fp/fixhfti.c: Likewise.
585 * soft-fp/fixsfdi.c: Likewise.
586 * soft-fp/fixsfsi.c: Likewise.
587 * soft-fp/fixsfti.c: Likewise.
588 * soft-fp/fixtfdi.c: Likewise.
589 * soft-fp/fixtfsi.c: Likewise.
590 * soft-fp/fixtfti.c: Likewise.
591 * soft-fp/fixunsdfdi.c: Likewise.
592 * soft-fp/fixunsdfsi.c: Likewise.
593 * soft-fp/fixunsdfti.c: Likewise.
594 * soft-fp/fixunshfti.c: Likewise.
595 * soft-fp/fixunssfdi.c: Likewise.
596 * soft-fp/fixunssfsi.c: Likewise.
597 * soft-fp/fixunssfti.c: Likewise.
598 * soft-fp/fixunstfdi.c: Likewise.
599 * soft-fp/fixunstfsi.c: Likewise.
600 * soft-fp/fixunstfti.c: Likewise.
601 * soft-fp/floatdidf.c: Likewise.
602 * soft-fp/floatdisf.c: Likewise.
603 * soft-fp/floatditf.c: Likewise.
604 * soft-fp/floatsidf.c: Likewise.
605 * soft-fp/floatsisf.c: Likewise.
606 * soft-fp/floatsitf.c: Likewise.
607 * soft-fp/floattidf.c: Likewise.
608 * soft-fp/floattihf.c: Likewise.
609 * soft-fp/floattisf.c: Likewise.
610 * soft-fp/floattitf.c: Likewise.
611 * soft-fp/floatundidf.c: Likewise.
612 * soft-fp/floatundisf.c: Likewise.
613 * soft-fp/floatunditf.c: Likewise.
614 * soft-fp/floatunsidf.c: Likewise.
615 * soft-fp/floatunsisf.c: Likewise.
616 * soft-fp/floatunsitf.c: Likewise.
617 * soft-fp/floatuntidf.c: Likewise.
618 * soft-fp/floatuntihf.c: Likewise.
619 * soft-fp/floatuntisf.c: Likewise.
620 * soft-fp/floatuntitf.c: Likewise.
621 * soft-fp/gedf2.c: Likewise.
622 * soft-fp/gesf2.c: Likewise.
623 * soft-fp/getf2.c: Likewise.
624 * soft-fp/half.h: Likewise.
625 * soft-fp/ledf2.c: Likewise.
626 * soft-fp/lesf2.c: Likewise.
627 * soft-fp/letf2.c: Likewise.
628 * soft-fp/muldf3.c: Likewise.
629 * soft-fp/mulsf3.c: Likewise.
630 * soft-fp/multf3.c: Likewise.
631 * soft-fp/negdf2.c: Likewise.
632 * soft-fp/negsf2.c: Likewise.
633 * soft-fp/negtf2.c: Likewise.
634 * soft-fp/op-1.h: Likewise.
635 * soft-fp/op-2.h: Likewise.
636 * soft-fp/op-4.h: Likewise.
637 * soft-fp/op-8.h: Likewise.
638 * soft-fp/op-common.h: Likewise.
639 * soft-fp/quad.h: Likewise.
640 * soft-fp/single.h: Likewise.
641 * soft-fp/soft-fp.h: Likewise.
642 * soft-fp/subdf3.c: Likewise.
643 * soft-fp/subsf3.c: Likewise.
644 * soft-fp/subtf3.c: Likewise.
645 * soft-fp/truncdfhf2.c: Likewise.
646 * soft-fp/truncdfsf2.c: Likewise.
647 * soft-fp/truncsfhf2.c: Likewise.
648 * soft-fp/trunctfdf2.c: Likewise.
649 * soft-fp/trunctfhf2.c: Likewise.
650 * soft-fp/trunctfsf2.c: Likewise.
651 * soft-fp/trunctfxf2.c: Likewise.
652 * soft-fp/truncxfhf2.c: Likewise.
653 * soft-fp/unorddf2.c: Likewise.
654 * soft-fp/unordsf2.c: Likewise.
655 * soft-fp/unordtf2.c: Likewise.
656
79fb1124
GA
6572022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
658
659 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
660 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
661 configurations.
662
87509781
GA
6632022-06-25 Jeff Law <jeffreyalaw@gmail.com>
664
665 * config.host: Removed tilegx and tilepro entries.
666 * config/tilegx/sfp-machine.h: Removed.
667 * config/tilegx/sfp-machine32.h: Removed.
668 * config/tilegx/sfp-machine64.h: Removed.
669 * config/tilegx/t-crtstuff: Removed.
670 * config/tilegx/t-softfp: Removed.
671 * config/tilegx/t-tilegx: Removed.
672 * config/tilepro/atomic.c: Removed.
673 * config/tilepro/atomic.h: Removed.
674 * config/tilepro/linux-unwind.h: Removed.
675 * config/tilepro/sfp-machine.h: Removed.
676 * config/tilepro/softdivide.c: Removed.
677 * config/tilepro/softmpy.S: Removed.
678 * config/tilepro/t-crtstuff: Removed.
679 * config/tilepro/t-tilepro: Removed.
680
e3bba42f
GA
6812022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
682
683 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
684 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
685
3164de6a
GA
6862022-06-01 H.J. Lu <hjl.tools@gmail.com>
687
688 PR libgcc/27576
689 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
690
3dff965c
GA
6912022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
692
693 PR libgcc/105708
694 * config/aarch64/lse-init.c: Increase constructor priority.
695
6962022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
697
698 PR target/104689
699 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
700 Handle the !REG_UNSAVED case.
701 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
702
57f2ce6a
GA
7032022-05-20 Christophe Lyon <christophe.lyon@arm.com>
704
705 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
706 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
707 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
708
7092022-05-20 Christophe Lyon <christophe.lyon@arm.com>
710
711 * config.host: Add t-dfprules to AArch64 targets.
712
7132022-05-20 Christophe Lyon <christophe.lyon@arm.com>
714
715 * configure: Regenerate.
716
9df4ffe4
GA
7172022-05-13 Sebastian Pop <spop@amazon.com>
718
719 PR target/105162
720 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
721 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
722
e8778989
GA
7232022-05-10 Martin Liska <mliska@suse.cz>
724 Hans-Peter Helfert <peter-helfert@t-online.de>
725
726 PR gcov-profile/105535
727 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
728 n_functions.
729
6259d8aa
GA
7302022-05-02 Martin Liska <mliska@suse.cz>
731
732 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
733
6b6f53d8
GA
7342022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
735
736 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
737 (gcov_profile_merge_stream): Likewise.
738
7392022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
740
741 * libgcov-util.c (consume_stream): New.
742 (get_target_profiles_for_merge): Likewise.
743 (gcov_profile_merge_stream): Likewise.
744
7452022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
746
747 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
748
7492022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
750
751 * libgcov-util.c (read_gcda_file): Do not open file.
752 (ftw_read_file): Open file here.
753
7542022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
755
756 * libgcov-util.c (read_gcda_file): Prepend new info object to global
757 list.
758 (ftw_read_file): Remove list append here.
759
7602022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
761
762 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
763 (ftw_read_file): Duplicate filename for read_gcda_file().
764
7652022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
766
767 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
768 (__gcov_filename_to_gcfn): Declare and document.
769 * libgcov-driver.c (dump_string): New.
770 (__gcov_filename_to_gcfn): Likewise.
771 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
772
7732022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
774
775 * libgcov.h (gcov_seek): Remove define and declaration.
776
7772022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
778
779 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
780 parameter. Pass mode to gcov_open() calls.
781 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
782 gcov_exit_open_gcda_file() call.
783 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
784 calls.
785 (__gcov_dump_one): Open file for reading and writing.
786
7872022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
788
789 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
790 reading and writing.
791 * libgcov-util.c (read_gcda_file): Open file for reading.
792 * libgcov.h (gcov_open): Delete declaration.
793
7942022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
795
796 * libgcov-util.c (gcov_profile_merge): Return the list of merged
797 profiles. Accept empty target and source profile lists.
798
405eda0d
GA
7992022-04-08 Sergei Trofimovich <siarheit@google.com>
800
801 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
802
9f774626
GA
8032022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
804 Lulu Cheng <chenglulu@loongson.cn>
805
806 * configure: Regenerate file.
807
8082022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
809 Lulu Cheng <chenglulu@loongson.cn>
810
811 * config/loongarch/crtfastmath.c: New file.
812 * config/loongarch/linux-unwind.h: Like wise.
813 * config/loongarch/sfp-machine.h: Like wise.
814 * config/loongarch/t-crtstuff: Like wise.
815 * config/loongarch/t-loongarch: Like wise.
816 * config/loongarch/t-loongarch64: Like wise.
817 * config/loongarch/t-softfp-tf: Like wise.
818 * config.host: Add LoongArch tuples.
819 * configure.ac: Add LoongArch support.
820
d7f00da1
GA
8212022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
822
823 PR libgcc/86224
824 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
825 for __mulsi3.
826 (__udivsi3_internal, __divsi3_internal): Similarly.
827 (__umodsi3, __modsi3): Use the internal function names.
828
8cc4f9cd
GA
8292022-03-09 Tobias Burnus <tobias@codesourcery.com>
830
831 PR target/102215
832 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
833 a line up to non-arg-dependent value first.
834 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
835 __atomic_compare_exchange_{1,2}.
836
8d96e14c
GA
8372022-03-04 Iain Sandoe <iain@sandoe.co.uk>
838
839 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
840 * config/t-darwin-ehs: Add dependency on unwind.h.
841
756a6185
GA
8422022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
843
844 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
845 with 0 instead of NULL.
846
8472022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
848
849 PR target/104656
850 * configure.ac: --disable-gcov if targetting bpf-*.
851 * configure: Regenerate.
852
e0b8716f
GA
8532022-01-25 Florian Weimer <fweimer@redhat.com>
854
855 PR libgcc/104207
856 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
857
fc829782
GA
8582022-01-17 Martin Liska <mliska@suse.cz>
859
860 * libgcov-driver.c: Rename .c names to .cc.
861
9248ee41
GA
8622022-01-15 David <gccbugzilla@limegreensocks.com>
863
864 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
865 Remove inlined version, Windows 95 is no longer relevant.
866 * config/i386/gthr-win32.h
867 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
868
617db51d
GA
8692022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
870
871 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
872 DWARF_ALT_FRAME_RETURN_COLUMN macro.
873
7d11b64b
GA
8742022-01-04 Florian Weimer <fweimer@redhat.com>
875
876 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
877 if available.
878
5da23a13
GA
8792022-01-02 John David Anglin <danglin@gcc.gnu.org>
880
881 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
882 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
883 return is not equal _ASM_EFAULT.
884 (__kernel_cmpxchg2): Likewise.
885
2554e2da
GA
8862021-12-17 Iain Sandoe <iain@sandoe.co.uk>
887
888 * config.host: Add shim declaration header to powerpc*-darwin builds.
889 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
890 file.
891 * config/t-darwin-ehs: Add dependencies to the shared unwinder
892 objects.
893 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
894 the shared EH lib. Add all-multi to the dependencies for the
895 libgcc_s.1.dylib redirections.
896
7f1239cb
GA
8972021-12-13 Olivier Hainque <hainque@adacore.com>
898
899 * config.host (powerpc*-*-vxworks7*): Remove
900 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
901
9022021-12-13 Olivier Hainque <hainque@adacore.com>
903
904 * config.host (*vxworks*): Remove special case for
905 arm on the use of vxcrtstuff.
906
9072021-12-13 Fred Konrad <konrad@adacore.com>
908 Olivier Hainque <hainque@adacore.com>
909
910 * config/t-vxcrtstuffS: New Makefile fragment.
911 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
912 functions for INITFINI_ARRAY support in shared libs and guard
913 the definition of eh table registration functions on conditions
914 indicating they are needed.
915
9162021-12-13 Olivier Hainque <hainque@adacore.com>
917
918 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
919 ahead of the other files in tmake_files.
920 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
921 overriding it.
922
9232021-12-13 Olivier Hainque <hainque@adacore.com>
924
925 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
926 both VxWorks7 and earlier.
927 * config/t-vxworks7: Remove.
928 * config.host: Remove special case for vxworks7.
929
e8decbe7
GA
9302021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
931
932 * config/vxcrtstuff.c: Make constructor and destructor
933 functions static when possible.
934
9352021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
936
937 * config/vxcrtstuff.c: Remove constructor/destructor
938 declarations.
939
0bceef16
GA
9402021-12-10 Iain Sandoe <iain@sandoe.co.uk>
941
942 * config/t-darwin: Add libgcc_tm.h to the dependencies
943 for darwin10-unwind-find-enc-func.
944
9452021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
946
947 * config/rs6000/t-vxworks: New file.
948 * config.host (powerpc*-*-vxworks*): Use it instead of
949 t-ppccomm.
950
4b4839e3
GA
9512021-12-09 Fred Konrad <konrad@adacore.com>
952
953 * config.host (powerpc*-wrs-vxworks7*): Fix path to
954 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
955
9562021-12-09 Olivier Hainque <hainque@adacore.com>
957 Rasmus Villemoes <rv@rasmusvillemoes.dk>
958
959 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
960 $(LIBGCC2_INCLUDES).
961 * config/t-vxworks7: Likewise.
962
641ff219
GA
9632021-12-08 Iain Sandoe <iain@sandoe.co.uk>
964
965 * config.host (*-*-darwin*): Add logic to build a shared
966 unwinder library for Darwin8-10.
967 * config/i386/t-darwin: Build legacy libgcc_s.1.
968 * config/rs6000/t-darwin: Likewise.
969 * config/t-darwin: Reorganise the EH fragments to place
970 them for inclusion in a shared EH lib.
971 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
972 the supporting pieces (all FAT libs).
973 * config/t-darwin-noeh: Removed.
974 * config/darwin-unwind.ver: New file.
975 * config/rs6000/t-darwin-ehs: New file.
976 * config/t-darwin-ehs: New file.
977
3a580f96
GA
9782021-12-06 Nelson Chu <nelson.chu@sifive.com>
979
980 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
981 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
982 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
983 HIDDEN_DEF.
984
c177e806
GA
9852021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
986
987 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
988 ssize_t and vfork after including auto-host.h.
989
87cd82c8
GA
9902021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
991
992 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
993 crtend.o to extra_parts.
994
d62c8c74
GA
9952021-11-27 John David Anglin <danglin@gcc.gnu.org>
996
997 * config/pa/t-dimode (lib2difuncs): Fix typo.
998
091ccc06
GA
9992021-11-25 Florian Weimer <fweimer@redhat.com>
1000
1001 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1002 Remove func, ret.
1003 (find_fde_tail): New function. Split from
1004 _Unwind_IteratePhdrCallback. Move the result initialization
1005 from _Unwind_Find_FDE.
1006 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1007
06be28f6
GA
10082021-11-22 Florian Weimer <fweimer@redhat.com>
1009
1010 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1011 (struct unw_eh_callback_data): Make dbase member conditional.
1012 (unw_eh_callback_data_dbase): New function.
1013 (base_from_cb_data): Simplify for the non-dbase case.
1014 (_Unwind_IteratePhdrCallback): Adjust.
1015 (_Unwind_Find_FDE): Likewise.
1016
10172021-11-22 Florian Weimer <fweimer@redhat.com>
1018
1019 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1020 tbase member.
1021 (base_from_cb_data): Adjust.
1022 (_Unwind_IteratePhdrCallback): Likewise.
1023 (_Unwind_Find_FDE): Likewise.
1024
9c077398
GA
10252021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1026
1027 * config.host: Add weak emutls crt to the extra_parts.
1028 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1029 workaround.
1030 * config/libgcc-libsystem.ver: Add exclude list for the system-
1031 provided unwinder.
1032 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1033 * config/i386/libgcc-darwin.10.4.ver: Removed.
1034 * config/i386/libgcc-darwin.10.5.ver: Removed.
1035 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1036 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1037 * config/t-darwin-noeh: New file.
1038
10392021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1040
1041 * config/t-darwin: Build weak-defined emutls objects.
1042 * emutls.c (__emutls_get_address): Add optional attributes.
1043 (__emutls_register_common): Likewise.
1044 (EMUTLS_ATTR): New.
1045
b39265d4
GA
10462021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1047
1048 PR libgcc/103044
1049 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1050 called with a null argument or at the end of the backtrace and return.
1051 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1052
8d36a0d2
GA
10532021-11-10 Jakub Jelinek <jakub@redhat.com>
1054
1055 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1056 formatting fix.
1057
851dff04
GA
10582021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1059
1060 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1061 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1062
10632021-11-05 John David Anglin <danglin@gcc.gnu.org>
1064
1065 PR libgomp/96661
1066 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1067 (hppa*64*-*-hpux11*): Likewise.
1068 * config/pa/sfp-exceptions.c: New.
1069 * config/pa/sfp-machine.h: New.
1070 * config/pa/t-dimode: New.
1071 * config/pa/t-softfp-sfdftf: New.
1072
04a2cf3f
GA
10732021-10-27 John David Anglin <danglin@gcc.gnu.org>
1074
1075 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1076 tmake_file.
1077 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1078 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1079 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1080 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1081 (LIB1ASMFUNCS): Revise.
1082 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1083
c2bd5d8a
GA
10842021-10-22 Stafford Horne <shorne@gmail.com>
1085
1086 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1087 Change to 0.
1088
5d5885c9
GA
10892021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1090
1091 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1092 outside of get_regs() in order to use it in another function, this
1093 is done twice: for __powerpc64__ and for !__powerpc64__.
1094 (struct trace_arg): New struct.
1095 (struct layout): New struct.
1096 (ppc_backchain_fallback): New function.
1097 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1098 state and call MD_BACKCHAIN_FALLBACK.
1099
9eb28a0f
GA
11002021-10-13 Martin Liska <mliska@suse.cz>
1101
1102 PR gcov-profile/90364
1103 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1104 checksums.
1105 (write_one_data): Write also checksum.
1106 * libgcov-util.c (read_gcda_file): Read also checksum field.
1107 * libgcov.h (struct gcov_info): Add new field.
1108
ce6eec39
GA
11092021-10-08 Ian Lance Taylor <iant@golang.org>
1110
1111 * config/i386/morestack.S: Use .init_array for constructor if
1112 available.
1113 * config/rs6000/morestack.S: Likewise.
1114 * config/s390/morestack.S: Likewise.
1115
154fd089
GA
11162021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1117
1118 PR target/101104
1119 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1120 Use more correct values for native IBM 128-bit.
1121
fd133479
GA
11222021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1123
1124 * config/i386/libgcc-darwin.ver: Add Symbols for
1125 __cpu_model, __cpu_indicator_init.
1126
e4777439
GA
11272021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1128
1129 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1130 using __APPLE__.
1131
34fac9ef
GA
11322021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1133
1134 * config/t-slibgcc-darwin: Delete unused code.
1135
11362021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1137
1138 * config/i386/t-darwin: Add in a vers file for X86-specific
1139 symbols.
1140 * config/t-darwin: Add the generic symbol maps here...
1141 * config/t-slibgcc-darwin: ... removing from here.
1142 * config/i386/libgcc-darwin.ver: New file.
1143
11442021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1145
1146 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1147 and __mulhc3.
1148
11492021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1150
1151 * config.host: Use convenience library for Darwin10
1152 unwinder shim.
1153 * config/t-darwin: Build Darwin10 unwinder shim as a
1154 convenience library.
1155
07985c47
GA
11562021-09-13 Andrew Pinski <apinski@marvell.com>
1157
1158 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1159 * config/m32r/libgcc-glibc.ver: Removed.
1160 * config/m32r/t-linux: Removed.
1161
b6db7cd4
GA
11622021-09-08 liuhongt <hongtao.liu@intel.com>
1163
1164 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1165 libgcc_s.so.1.
1166
11672021-09-08 Jakub Jelinek <jakub@redhat.com>
1168 Iain Sandoe <iain@sandoe.co.uk>
1169
1170 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1171 and export *hf* and *hc* functions at GCC_12.0.0.
1172
9f99555f
GA
11732021-09-06 liuhongt <hongtao.liu@intel.com>
1174
1175 * Makefile.in: Adjust to support specific CFLAGS for each
1176 libgcc source file.
1177 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1178 related libgcc source files.
1179 * config/i386/t-softfp: Ditto.
1180 * config/i386/_divhc3.c: New file.
1181 * config/i386/_mulhc3.c: New file.
1182
7b739540
GA
11832021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1184
1185 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1186 alias_DFtype, alias_TFtype): New.
1187 (ALIAS_SELECTOR): New.
1188 (strong_alias): Use __typeof and a _Generic selector to
1189 provide the type to the synthesized function.
1190
9f7c2bad
GA
11912021-09-02 liuhongt <hongtao.liu@intel.com>
1192
1193 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1194 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1195 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1196 * config/i386/t-softfp: Add hf soft-fp.
1197 * config.host: Add i386/64/t-softfp.
1198 * config/i386/64/t-softfp: New file.
1199
12002021-09-02 liuhongt <hongtao.liu@intel.com>
1201
1202 * soft-fp/eqhf2.c: New file.
1203 * soft-fp/extendhfdf2.c: New file.
1204 * soft-fp/extendhfsf2.c: New file.
1205 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1206 * soft-fp/truncdfhf2.c: New file
1207 * soft-fp/truncsfhf2.c: New file
1208
e11c6046
GA
12092021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1210
1211 * unwind-arm-common.inc (abort): Remove.
1212
6d51ee43
GA
12132021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1214
1215 * config/aarch64/value-unwind.h: Add missing runtime exception
1216 paragraph.
1217 * config/frv/frv-abi.h: Likewise.
1218 * config/i386/value-unwind.h: Likewise.
1219 * config/pa/pa64-hpux-lib.h: Likewise.
1220
ccc19145
GA
12212021-08-26 David Edelsohn <dje.gcc@gmail.com>
1222
1223 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1224 __gcc_qadd.
1225 (__gcc_qadd): Call ldouble_qadd_internal.
1226 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1227 argument negated.
1228
12292021-08-26 Jonathan Yong <10walls@gmail.com>
1230
1231 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1232 and register_frame_dtor warnings.
1233
05ace294
GA
12342021-08-24 Richard Earnshaw <rearnsha@arm.com>
1235
1236 PR target/102035
1237 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1238 Add vlldm erratum work-around.
1239
4be4fa4e
GA
12402021-08-21 John David Anglin <danglin@gcc.gnu.org>
1241
1242 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1243
9d1d9fc8
GA
12442021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1245
1246 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1247 (gcov_type_unsigned): Likewise.
1248
7dd8f198
GA
12492021-08-14 Stafford Horne <shorne@gmail.com>
1250
1251 PR target/99783
1252 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1253 * config/or1k/t-crtstuff: New file.
1254
f92f4778
GA
12552021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1256
1257 * libgcov-driver.c (#include <stdint.h>): Remove.
1258 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1259
12602021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1261
1262 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1263 * gcov.h (gcov_info): Declare.
1264 (__gcov_info_to_gdca): Likewise.
1265 * libgcov.h (gcov_write_counter): Remove.
1266 (gcov_write_tag_length): Likewise.
1267 * libgcov-driver.c (#include <stdint.h>): New.
1268 (#include <string.h>): Remove.
1269 (NEED_L_GCOV): Conditionally define.
1270 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1271 (are_all_counters_zero): New.
1272 (gcov_dump_handler): Likewise.
1273 (gcov_allocate_handler): Likewise.
1274 (dump_unsigned): Likewise.
1275 (dump_counter): Likewise.
1276 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1277 Use dump_unsigned() and dump_counter().
1278 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1279 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1280 (__gcov_info_to_gcda): New.
1281
8ebf4fb5
GA
12822021-08-05 Jakub Jelinek <jakub@redhat.com>
1283
1284 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1285 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1286 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1287 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1288
2697f832
GA
12892021-08-04 Jakub Jelinek <jakub@redhat.com>
1290
1291 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1292
d97d71a1
GA
12932021-07-15 Alan Modra <amodra@gmail.com>
1294
1295 * config/rs6000/morestack.S (R2_SAVE): Define.
1296 (__morestack): Save and restore r2. Set up r2 for called
1297 functions.
1298
bea7c16a
GA
12992021-07-01 H.J. Lu <hjl.tools@gmail.com>
1300
1301 * soft-fp/extendhfxf2.c: New file.
1302 * soft-fp/truncxfhf2.c: Likewise.
1303
6bc18203
GA
13042021-06-29 Julian Brown <julian@codesourcery.com>
1305
1306 * config/gcn/lib2-bswapti2.c: New file.
1307 * config/gcn/lib2-divmod-di.c: New file.
1308 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1309 typedefs.
1310 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1311 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1312 lib2-bswapti2.c.
1313
13142021-06-29 Julian Brown <julian@codesourcery.com>
1315
1316 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1317 return types to USItype.
1318 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1319
fcf617f0
GA
13202021-06-23 Kewen Lin <linkw@linux.ibm.com>
1321
1322 * configure: Regenerate.
1323 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1324 typos among the name, CFLAGS and the test.
1325 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1326 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1327 Remove.
1328 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1329 macro FLOAT128_HW_INSNS_ISA3_1.
1330 (FP128_3_1_CFLAGS_HW): Fix option typo.
1331 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1332 FLOAT128_HW_INSNS_ISA3_1.
1333 (__floattikf_resolve): Likewise.
1334 (__floatuntikf_resolve): Likewise.
1335 (__fixkfti_resolve): Likewise.
1336 (__fixunskfti_resolve): Likewise.
1337 (__floattikf): Likewise.
1338 (__floatuntikf): Likewise.
1339 (__fixkfti): Likewise.
1340 (__fixunskfti): Likewise.
1341
f16f65f8
GA
13422021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1343
1344 PR target/99939
1345 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1346 macro.
1347 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1348 on passing -mcmse option.
1349
43c35d0d
GA
13502021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1351
1352 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1353 _ARCH_PPC64 .
1354
4f625f47
GA
13552021-06-09 Carl Love <cel@us.ibm.com>
1356
1357 * config.host: Add if test and set for
1358 libgcc_cv_powerpc_3_1_float128_hw.
1359 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1360 Change calls of __fixkfti to __fixkfti_sw.
1361 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1362 Change calls of __fixunskfti to __fixunskfti_sw.
1363 * config/rs6000/float128-p10.c (__floattikf_hw,
1364 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1365 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1366 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1367 __fixunskfti_resolve): Add resolve functions.
1368 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1369 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1370 __fixtfti, __fixunstfti): Add editor commands to change names.
1371 * config/rs6000/float128-sed-hw (__floattitf,
1372 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1373 change names.
1374 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1375 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1376 * config/rs6000/quad-float128.h (__floattikf_sw,
1377 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1378 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1379 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1380 * config/rs6000/t-float128 (floattikf, floatuntikf,
1381 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1382 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1383 file names to fp128_ppc_funcs.
1384 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1385 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1386 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1387 * config/rs6000/t-float128-p10-hw: New file.
1388 * configure: Update script for isa 3.1 128-bit float support.
1389 * configure.ac: Add check for 128-bit float hardware support.
1390 * config/rs6000/fixkfti-sw.c: New file.
1391 * config/rs6000/fixunskfti-sw.c: New file.
1392 * config/rs6000/floattikf-sw.c: New file.
1393 * config/rs6000/floatuntikf-sw.c: New file.
1394
f9af11c7
GA
13952021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1396
1397 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1398
4d0385df 13992021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1400
1401 * libgcov-driver.c: Fix GNU coding style.
1402
aa891c56
GA
14032021-05-10 Martin Liska <mliska@suse.cz>
1404
1405 * libgcov-driver.c (gcov_version): Use different name that does
1406 not clash with newly introduced macro.
1407
3c8e539d
GA
14082021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1409
1410 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1411 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1412 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1413
e4ff4ffb
GA
14142021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1415
1416 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1417 Define.
1418 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1419 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1420 Define.
1421 (__divkc3): Improve complex divide.
1422
05ec629f
GA
14232021-04-23 Michael Meissner <meissner@linux.ibm.com>
1424
1425 PR target/98952
1426 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1427 trampoline size comparison in 32-bit by reversing test and
1428 combining load immediate with compare.
1429 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1430 in 32-bit by reversing test and combining load immediate with
1431 compare.
1432
b1da9916
GA
14332021-04-05 Florian Weimer <fweimer@redhat.com>
1434 Michael Meissner <meissner@linux.ibm.com>
1435
1436 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1437 point functions for $(decimal_float) only.
1438
c0756c4e
GA
14392021-04-03 Jakub Jelinek <jakub@redhat.com>
1440
1441 PR target/97653
1442 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1443 $(objext) instead of $(object). Use _floatunditf instead of
1444 _floatunsditf. Add tf <-> ti conversion objects.
1445 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1446
65374af2
GA
14472021-03-29 Michael Meissner <meissner@linux.ibm.com>
1448
1449 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1450 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1451 (fp128_decstr_objs): Delete.
1452 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1453 _Float128 to a Decimal type. Call __strtoieee128 to do
1454 conversions from a Decimal type to _Float128.
1455 * config/rs6000/_sprintfkf.c: Delete file.
1456 * config/rs6000/_sprintfkf.h: Delete file.
1457 * config/rs6000/_strtokf.c: Delete file.
1458 * config/rs6000/_strtokf.h: Delete file.
1459
bf1f3168
GA
14602021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1461
1462 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1463 to __BYTE_ORDER__.
1464
0ad6a2e2
GA
14652021-03-06 Jakub Jelinek <jakub@redhat.com>
1466
1467 PR gcov-profile/99406
1468 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1469 defined, define these macros if not defined already.
1470
67f10d28
GA
14712021-03-04 Martin Liska <mliska@suse.cz>
1472
1473 PR gcov-profile/99105
1474 * libgcov-driver.c (write_top_counters): Rename to ...
1475 (write_topn_counters): ... this.
1476 (write_one_data): Pre-allocate buffer for number of items
1477 in the corresponding linked lists.
1478 * libgcov.h (malloc_mmap): New function.
1479 (allocate_gcov_kvp): Use it.
1480
14812021-03-04 Martin Liska <mliska@suse.cz>
1482
1483 PR gcov-profile/99385
1484 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1485
f3641ac7
GA
14862021-03-03 Martin Liska <mliska@suse.cz>
1487
1488 PR gcov-profile/97461
1489 * config.in: Regenerate.
1490 * configure: Likewise.
1491 * configure.ac: Check sys/mman.h header file
1492 * libgcov-driver.c (struct gcov_kvp): Remove static
1493 pre-allocated pool and use a dynamic one.
1494 * libgcov.h (MMAP_CHUNK_SIZE): New.
1495 (gcov_counter_add): Use mmap to allocate pool for struct
1496 gcov_kvp.
1497
d97a92dc
GA
14982021-03-02 Michael Meissner <meissner@linux.ibm.com>
1499
1500 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1501 the function.
1502 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1503
4028d01a
GA
15042021-02-24 Jakub Jelinek <jakub@redhat.com>
1505
1506 PR libgcc/99236
1507 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1508 negation of m in unsigned type.
1509
15102021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1511 Hau Hsu <hsuhau617@gmail.com>
1512
1513 PR target/99157
1514 * config/arm/t-arm: Fix cmse support detection.
1515
2f5765cf
GA
15162021-02-22 Michael Meissner <meissner@linux.ibm.com>
1517
1518 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1519
15202021-02-22 Michael Meissner <meissner@linux.ibm.com>
1521
1522 * config/rs6000/_dd_to_kf.c: New file.
1523 * config/rs6000/_kf_to_dd.c: New file.
1524 * config/rs6000/_kf_to_sd.c: New file.
1525 * config/rs6000/_kf_to_td.c: New file.
1526 * config/rs6000/_sd_to_kf.c: New file.
1527 * config/rs6000/_sprintfkf.c: New file.
1528 * config/rs6000/_sprintfkf.h: New file.
1529 * config/rs6000/_strtokf.h: New file.
1530 * config/rs6000/_strtokf.c: New file.
1531 * config/rs6000/_td_to_kf.c: New file.
1532 * config/rs6000/quad-float128.h: Add new declarations.
1533 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1534 (fp128_decstr_funcs): New macro.
1535 (ibm128_dec_funcs): New macro.
1536 (fp128_ppc_funcs): Add the new conversions.
1537 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1538 compiled with -mabi=ieeelongdouble.
1539 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1540 compiled with -mabi=ibmlongdouble.
1541 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1542 compiled with -mabi=ieeelongdouble.
1543 (FP128_CFLAGS_DECIMAL): New macro.
1544 (IBM128_CFLAGS_DECIMAL): New macro.
1545 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1546 (BFP_TO_DFP): Add PowerPC _Float128 support.
1547 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1548 IEEE 128-bit floating point.
1549 (DFP_TO_BFP): Add PowerPC _Float128 support.
1550 (BFP_TO_DFP): Add PowerPC _Float128 support.
1551 (BFP_SPRINTF): New macro.
1552
aa69f0a8
GA
15532021-01-27 Jakub Jelinek <jakub@redhat.com>
1554
1555 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1556 * config/i386/savms64f.h: Likewise.
1557 * config/i386/resms64.h: Likewise.
1558 * config/i386/resms64f.h: Likewise.
1559 * config/i386/resms64x.h: Likewise.
1560 * config/i386/resms64fx.h: Likewise.
1561
e62bb7f0
GA
15622021-01-26 Martin Liska <mliska@suse.cz>
1563
1564 PR gcov-profile/98739
1565 * libgcov.h (gcov_topn_add_value): Do not train when
1566 we have a merged profile with a negative number of total
1567 value.
1568
161e4c08
GA
15692021-01-25 Martin Liska <mliska@suse.cz>
1570
1571 PR gcov-profile/98739
1572 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1573 ends with a dropped counter.
1574 * libgcov.h (gcov_topn_add_value): Add return value.
1575
be0851b8
GA
15762021-01-13 Stafford Horne <shorne@gmail.com>
1577
1578 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1579 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1580 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1581 FP_EX_ALL): New constant macros.
1582 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1583 FP_HANDLE_EXCEPTIONS): New macros.
1584 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1585
15862021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1587
1588 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1589 posix siginfo case to struct handler_args. Detect between legacy
1590 and siginfo from the second parameter, which is a small sigcode in
1591 the legacy case, and a pointer in the siginfo case.
1592
108beb75
GA
15932020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1594
1595 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1596 functions.
1597 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1598 _bswapdi2.
1599
f6e8e279
GA
16002020-12-08 Ian Lance Taylor <iant@golang.org>
1601
1602 * generic-morestack-thread.c (free_segments): Block signals during
1603 thread exit.
1604
b8dd0ef7
GA
16052020-12-03 Michael Meissner <meissner@linux.ibm.com>
1606
1607 PR libgcc/97543
1608 PR libgcc/97643
1609 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1610 (IBM128_SHARED_OBJS): New make variable.
1611 (IBM128_OBJS): New make variable. Set all objects to use the
1612 explicit IBM format, and disable gnu attributes.
1613 (IBM128_CFLAGS): New make variable.
1614 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1615 modules.
1616
16172020-12-03 Alexandre Oliva <oliva@adacore.com>
1618
1619 * config/t-vxworks (LIB2ADD): Drop.
1620 * config/t-vxworks7 (LIB2ADD): Likewise.
1621 * config/vxcache.c: Remove.
1622
94358e47
GA
16232020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1624
1625 * libgcc2.c (bswapsi2): Make constants unsigned.
1626
360258da
GA
16272020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1628
1629 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1630 builtin_add_overflow.
1631 (absvsi2, absvDI2): Likewise.
1632
82e5048e
GA
16332020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1634
1635 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1636 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1637
25bb75f8
GA
16382020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1639
1640 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1641 (if MUL_32): Use mult64_hw for __muldi3.
1642 (if MUL_F5): Use mult64_hw for __muldi3.
1643 * config/msp430/lib2mul.c (__muldi3): New.
1644 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1645
29c5d9ce
GA
16462020-11-17 Alan Modra <amodra@gmail.com>
1647
1648 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1649 (LIB2_SIDITI_CONV_FUNCS): Define.
1650 * config/rs6000/ppc64-fp.c: Delete file.
1651
cba30651
GA
16522020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1653
1654 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1655 hwmult library functions.
1656
bb622641
GA
16572020-11-10 Jeff Law <law@redhat.com>
1658
1659 * libgcc2.c: Fix whitespace issues in most recent change.
1660
16612020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1662
1663 * libgcc2.c (__addvSI3): Use overflow builtins.
1664 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1665 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1666 (__negvsi2, __negvDI2): Likewise.
1667 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1668 generated code.
1669 * libgcc2.h (__ucmpdi2): Adjust prototype.
1670
fd2325ea
GA
16712020-11-03 Pat Bernardi <bernardi@adacore.com>
1672 Olivier Hainque <hainque@adacore.com>
1673
1674 * config.host (aarch64-vxworks7*, tmake_file): Add
1675 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1676
16772020-11-03 Martin Storsjö <martin@martin.st>
1678
1679 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1680 before calling the callback.
1681
88ce3d5f
GA
16822020-10-30 Olivier Hainque <hainque@adacore.com>
1683 Douglas Rupp <rupp@adacore.com>
1684 Pat Bernardi <bernardi@adacore.com>
1685
1686 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1687 to apply to VxWorks 7 as well.
1688
4f0606fe
GA
16892020-10-29 Olivier Hainque <hainque@adacore.com>
1690
1691 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1692 controlling the definition of VX_ENTER_TLS_DTOR and
1693 VX_LEAVE_TLS_DTOR based on a version major check.
1694
16952020-10-29 Olivier Hainque <hainque@adacore.com>
1696
1697 * config/gthr-vxworks-thread.c: Fix name of macro used
1698 to condition the inclusion of an actual implementation.
1699
89bb01e7
GA
17002020-10-27 Martin Liska <mliska@suse.cz>
1701
1702 PR gcov-profile/97461
1703 * libgcov.h (gcov_counter_add): Use first static counters
1704 as it should help to have malloc wrappers set up.
1705
efe71fcc
GA
17062020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1707
1708 * config/gthr-vxworks-thread.c: #include gthr.h before
1709 testing the guard defined there.
1710 * config/gthr-vxworks-cond.c: Likewise.
1711
56ddd5e2
GA
17122020-10-21 Douglas Rupp <rupp@adacore.com>
1713 Olivier Hainque <hainque@adacore.com>
1714
1715 * config.host (powerpc*-wrs-vxworks7*): New case.
1716 * configure.ac: Handle powerpc*-*-vxworks7* as
1717 powerpc*-*-linux* for ppc-fp_type.
1718 * configure: Regenerate.
1719
56e4eee9
GA
17202020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1721
1722 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1723 section on VxWorks >= 6.
1724 * config/gthr-vxworks-thread.c: Condition the entire
1725 implementation on __GTHREAD_CXX0X.
1726
17272020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1728
1729 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1730 section on VxWorks >= 6.
1731 * config/gthr-vxworks-cond.c: Condition the entire
1732 implementation on __GTHREAD_HAS_COND.
1733
17342020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1735
1736 * config/gthr-vxworks.c: #include <taskLib.h>.
1737
17382020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1739
1740 * config/gthr-vxworks.h: Rewrite remaining occurrence
1741 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1742
17432020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1744 Olivier Hainque <hainque@adacore.com>
1745
1746 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1747 except on VxWorks 6.
1748
17492020-10-16 Olivier Hainque <hainque@adacore.com>
1750
1751 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1752
b2698c21
GA
17532020-10-14 Alexandre Oliva <oliva@adacore.com>
1754
1755 * config/gthr-vxworks-thread.c: Include stdlib.h.
1756 (tls_delete_hook): Prototype it.
1757 (__gthread_cond_signal): Return early if no waiters. Consume
1758 signal in case the semaphore got full. Use semInfoGet instead
1759 of kernel-mode-only semInfo.
1760 (__gthread_cond_timedwait): Use semExchange. Always take the
1761 mutex again before returning.
1762 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1763
17642020-10-14 Olivier Hainque <hainque@adacore.com>
1765
1766 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1767 $(MULTISUBDIR) to the -I path for fixed headers, as we
1768 arrange to have different sets of such headers for different
1769 multilibs when they are activated.
1770 * config/t-vxworks7: Likewise.
1771
17722020-10-14 Olivier Hainque <hainque@adacore.com>
1773
1774 * config/t-vxworks: Add include-fixed to include search
1775 paths for libgcc on VxWorks.
1776 * config/t-vxworks7: Likewise.
1777
c74a0e82
GA
17782020-10-09 H.J. Lu <hjl.tools@gmail.com>
1779
1780 PR target/97148
1781 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1782 instead of <cetintrin.h>.
1783
6c2675fa
GA
17842020-10-01 Alan Modra <amodra@gmail.com>
1785
1786 * config/rs6000/morestack.S,
1787 * config/rs6000/tramp.S: Support __PCREL__ code.
1788
17892020-10-01 Alan Modra <amodra@gmail.com>
1790
1791 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1792
93bca37c
GA
17932020-09-29 Maciej W. Rozycki <macro@wdc.com>
1794
1795 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1796 variable.
1797
e84761c6
GA
17982020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1799
1800 * config/aarch64/libgcc-softfp.ver: New file.
1801 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1802
4383c595
GA
18032020-09-27 Clement Chigot <clement.chigot@atos.net>
1804
1805 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1806
521d2711
GA
18072020-09-22 Sergei Trofimovich <siarheit@google.com>
1808
1809 PR gcov-profile/96913
1810 * libgcov-driver.c (write_one_data): Avoid function pointer
1811 comparison in TOP streaming decision.
1812
2aad20c0
GA
18132020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1814 Christophe Lyon <christophe.lyon@linaro.org>
1815
1816 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1817 qualifier.
1818 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1819 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1820 missing prototypes.
1821
18222020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1823
1824 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1825 unused variable warning.
1826
ecde1b0a
GA
18272020-09-16 Jojo R <jiejie_rong@c-sky.com>
1828
1829 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1830
80f86e78
GA
18312020-09-09 Tom de Vries <tdevries@suse.de>
1832
1833 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1834 Wbuiltin-declaration-mismatch.
1835
57ea0894
GA
18362020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1837
1838 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1839 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1840 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1841
b3cb5606
GA
18422020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1843
1844 * config/nvptx/atomic.c: New.
1845 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1846
6a1ad710
GA
18472020-08-03 Ian Lance Taylor <iant@golang.org>
1848
1849 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1850
18512020-08-03 Jakub Jelinek <jakub@redhat.com>
1852
1853 PR target/96402
1854 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1855 of x(tmp0), x(tmp1) in STXP arguments.
1856
48cc2e46
GA
18572020-07-31 Maciej W. Rozycki <macro@wdc.com>
1858
1859 * config/riscv/save-restore.S [__riscv_xlen == 64]
1860 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1861 (__riscv_save_2): Replace negative immediates used for the final
1862 stack pointer adjustment with positive ones, right-shifted by 4.
1863
18642020-07-31 Martin Liska <mliska@suse.cz>
1865
1866 * libgcov-driver.c: Add __gcov_kvp_pool
1867 and __gcov_kvp_pool_index variables.
1868 * libgcov.h (allocate_gcov_kvp): New.
1869 (gcov_topn_add_value): Use it.
1870
53256ee3
GA
18712020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1872
1873 * config/aarch64/lse.S: Add PAC property note.
1874
9bb403dc
GA
18752020-07-23 Martin Liska <mliska@suse.cz>
1876
1877 PR gcov-profile/96035
1878 * libgcov-driver-system.c: Create gcov folders with 0777
1879 so that it respects a system umask.
1880
8ca07a30
GA
18812020-07-14 David Edelsohn <dje.gcc@gmail.com>
1882
1883 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1884
ea69fcf9
GA
18852020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1886
1887 PR target/94891
1888 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1889 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1890 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1891 (MD_DEMANGLE_RETURN_ADDR): This.
1892 (aarch64_post_extract_frame_addr): Rename to ...
1893 (aarch64_demangle_return_addr): This.
1894 (aarch64_post_frob_eh_handler_addr): Remove.
1895 * unwind-dw2.c (uw_update_context): Demangle return address.
1896 (uw_frob_return_addr): Remove.
1897
3f8ca9cb
GA
18982020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1899
1900 PR target/96001
1901 * config/aarch64/lse.S: Add BTI marking and related definitions,
1902 and add BTI c to function entries.
1903
19042020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1905
1906 * config/aarch64/lse.S: Add stack note.
1907
b5f24739
GA
19082020-07-02 Martin Liska <mliska@suse.cz>
1909
1910 PR gcov-profile/95348
1911 * libgcov-driver.c (merge_one_data): Merge only profiles
1912 that are not of non-zero type.
1913 (write_one_data): Write counters only if there's one non-zero
1914 value.
1915 * libgcov-util.c (tag_function): Change signature from unsigned
1916 to int.
1917 (tag_blocks): Likewise.
1918 (tag_arcs): Likewise.
1919 (tag_counters): Likewise.
1920 (tag_summary): Likewise.
1921 (tag_lines): Read only if COUNTERS is non-zero.
1922 (read_gcda_file): Handle negative length for COUNTERS type.
1923
d61ffe12
GA
19242020-06-25 Martin Liska <mliska@suse.cz>
1925
1926 * libgcov-driver.c (merge_summary): Remove function as its name
1927 is misleading and doing something different.
1928 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1929 in gcov-tool.
1930 * libgcov-util.c (curr_object_summary): Remove.
1931 (read_gcda_file): Remove unused curr_object_summary.
1932 (gcov_merge): Merge summaries.
1933 * libgcov.h: Add summary argument for gcov_info struct.
1934
2e546c26
GA
19352020-06-24 H.J. Lu <hjl.tools@gmail.com>
1936
1937 PR target/95259
1938 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1939 "common/config/i386/i386-cpuinfo.h" and
1940 "common/config/i386/cpuinfo.h".
1941 (__cpu_features2): Changed to array.
1942 (get_amd_cpu): Removed.
1943 (get_intel_cpu): Likewise.
1944 (get_available_features): Likewise.
1945 (__cpu_indicator_init): Call cpu_indicator_init.
1946 * config/i386/cpuinfo.h: Removed.
1947
4543acc8
GA
19482020-06-23 David Edelsohn <dje.gcc@gmail.com>
1949
1950 * Makefile.in: Remove uses of empty.mk. Use -include.
1951 * config/avr/t-avr: Use -include.
1952 * empty.mk: Delete.
1953
f86e11a2
GA
19542020-06-21 David Edelsohn <dje.gcc@gmail.com>
1955
1956 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1957 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1958 and 64 bit with -maix64.
1959 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1960 Build and install AIX-style FAT libraries.
1961
aff95ee7
GA
19622020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1963
1964 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1965 'i386/gnu-unwind.h'
1966 * config/i386/gnu-unwind.h: New file.
1967
19682020-06-17 Martin Liska <mliska@suse.cz>
1969
1970 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1971 (merge_wrapper): Add both counts and use them properly.
1972 (topn_to_memory_representation): New function.
1973 (gcov_merge): Covert on disk representation to in memory
1974 representation.
1975 * libgcov.h: Remove const operator.
1976
6fb94d67
GA
19772020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1978
1979 * configure: Regenerate.
1980 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1981 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1982
b952c2cf
GA
19832020-06-09 Martin Liska <mliska@suse.cz>
1984
1985 PR gcov-profile/95494
1986 * libgcov-driver.c (write_top_counters): Cast first to
1987 intptr_t as sizeof(*) != sizeof(gcov_type).
1988 * libgcov.h (gcov_counter_set_if_null): Remove.
1989 (gcov_topn_add_value): Cast first to intptr_t and update
1990 linked list directly.
1991
19922020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1993
1994 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1995 with uw_install_context_1.
1996
3add3425
GA
19972020-06-04 Andreas Schwab <schwab@suse.de>
1998
1999 PR target/59230
2000 PR libfortran/59227
2001 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2002 soft-fp/divtf3.c.
2003 (LIB2ADD): Add config/ia64/divtf3.c.
2004 * config/ia64/divtf3.c: New file.
2005
9a5b7438
GA
20062020-06-03 Martin Liska <mliska@suse.cz>
2007
2008 PR gcov-profile/95480
2009 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2010 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2011 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2012 (gcov_counter_set_if_null): Likewise.
2013
a9312a79
GA
20142020-06-02 Jim Wilson <jimw@sifive.com>
2015
2016 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2017 to bgtz.
2018
20192020-06-02 Martin Liska <mliska@suse.cz>
2020
2021 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2022 of xmalloc.
2023
20242020-06-02 Martin Liska <mliska@suse.cz>
2025
2026 * libgcov-driver.c (prune_topn_counter): Remove.
2027 (prune_counters): Likewise.
2028 (merge_one_data): Special case TOP N counters
2029 as they have variable length.
2030 (write_top_counters): New.
2031 (write_one_data): Special case TOP N.
2032 (dump_one_gcov): Do not prune TOP N counters.
2033 * libgcov-merge.c (merge_topn_values_set): Remove.
2034 (__gcov_merge_topn): Use gcov_topn_add_value.
2035 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2036 Likewise here.
2037 * libgcov.h (gcov_counter_add): New.
2038 (gcov_counter_set_if_null): Likewise.
2039 (gcov_topn_add_value): New.
2040
4a9aa9de
GA
20412020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2042
2043 * config/i386/sfp-exceptions.c (struct fenv):
2044 Add __attribute__ ((gcc_struct)).
2045
885ef72f
GA
20462020-05-29 H.J. Lu <hjl.tools@gmail.com>
2047
2048 PR bootstrap/95413
2049 * configure: Regenerated.
2050
53ffb43a
GA
20512020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2052
2053 PR gcov-profile/95332
2054 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2055 * libgcov.h (gcov_magic): Disable GCC poison.
2056
5855bdfa
L
20572020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 PR target/95212
2060 * config/i386/cpuinfo.h (processor_features): Move
2061 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2062
35b98036
L
20632020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2064
2065 PR target/91695
2066 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2067 check.
2068
45395445
L
20692020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2070
2071 PR target/95212
2072 PR target/95220
2073 * config/i386/cpuinfo.c (get_available_features): Fix
2074 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2075 * config/i386/cpuinfo.h (processor_features): Add
2076 FEATURE_AVX512VP2INTERSECT.
2077
4c1a5d8b
L
20782020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2079
2080 PR bootstrap/95147
2081 * configure: Regenerated.
2082
8d286dd1
L
20832020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2084
2085 * configure: Regenerated.
2086
39748a89
HPN
20872020-05-09 Hans-Peter Nilsson <hp@axis.com>
2088
2089 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2090 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2091
d3a1459c
UB
20922020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2093
2094 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2095 (__math_force_eval_div): New define.
2096 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2097 generic division to generate INVALID, DIVZERO and INEXACT
2098 exceptions.
2099
12667785
KT
21002020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2101
2102 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2103 instead of getauxval.
2104 (AT_HWCAP): Define.
2105 (HWCAP_ATOMICS): Define.
2106 Guard detection on __gnu_linux__.
2107
ef836167
MM
21082020-05-05 Michael Meissner <meissner@linux.ibm.com>
2109
2110 * config.host: Delete changes meant for a private branch.
2111 * config/rs6000/t-float128: Likewise.
2112 * configure.ac: Likewise.
2113 * configure: Likewise.
2114
811b7636
ML
21152020-05-05 Martin Liska <mliska@suse.cz>
2116
2117 PR gcov-profile/93623
2118 * Makefile.in: Remove __gcov_flush.
2119 * gcov.h (__gcov_flush): Remove.
2120 * libgcov-interface.c (__gcov_flush): Remove.
2121 (init_mx): Use renamed mutex.
2122 (__gcov_lock): Likewise.
2123 (__gcov_unlock): Likewise.
2124 (__gcov_fork): Likewise.
2125 (__gcov_flush): Remove.
2126
c0532db4
ML
21272020-05-05 Martin Liska <mliska@suse.cz>
2128
2129 PR gcov-profile/93623
2130 * libgcov-interface.c (__gcov_fork): Do not flush
2131 and reset only in child process.
2132 (__gcov_execl): Dump counters only and reset them
2133 only if exec* fails.
2134 (__gcov_execlp): Likewise.
2135 (__gcov_execle): Likewise.
2136 (__gcov_execv): Likewise.
2137 (__gcov_execvp): Likewise.
2138 (__gcov_execve): Likewise.
2139
d39f7dc8
ML
21402020-05-05 Martin Liska <mliska@suse.cz>
2141
2142 PR gcov-profile/93623
2143 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2144 * libgcov-interface.c (ALIAS_void_fn): Remove.
2145 (__gcov_lock): New.
2146 (__gcov_unlock): New.
2147 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2148 (__gcov_reset): Likewise.
2149 (__gcov_dump): Likewise.
2150 * libgcov.h (__gcov_lock): New declaration.
2151 (__gcov_unlock): Likewise.
2152
afb9b710
UB
21532020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2154
2155 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2156 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2157 generic division to generate INVALID and DIVZERO exceptions.
2158
66711279
SH
21592020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2160
2161 * config/rs6000/crtresfpr.S: Use .machine ppc.
2162 * config/rs6000/crtresxfpr.S: Likewise.
2163 * config/rs6000/crtsavfpr.S: Likewise.
2164
fb22faf4
SN
21652020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2166
2167 PR target/94514
2168 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2169 Update context->flags accroding to the frame state.
2170
df73e584
UB
21712020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2172
2173 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2174 Remove unneeded assignments to volatile memory.
2175
5b2f76e3
JJ
21762020-04-15 Jakub Jelinek <jakub@redhat.com>
2177
2178 PR target/93053
2179 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2180 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2181 is not defined, use just .arch armv8-a.
2182 (B, M, N, OPN): Define.
2183 (COMMENT): New .macro.
2184 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2185 defined. Otherwise, move the operands right after the glue? and
2186 comment out operands where the macros are used.
2187 * configure: Regenerated.
2188 * config.in: Regenerated.
2189
50c78532
ILT
21902020-04-07 Ian Lance Taylor <iant@golang.org>
2191
2192 PR libgcc/94513
2193 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2194 syscall instead.
2195
458ca332
ILT
21962020-04-04 Ian Lance Taylor <iant@golang.org>
2197
2198 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2199
710d54ed
ILT
22002020-04-03 Ian Lance Taylor <iant@golang.org>
2201
2202 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2203 than mmap/munmap, to avoid hooks.
2204
b749b5ec
JJ
22052020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2206
2207 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2208 (TPFRA_OFFSET): Macros removed.
2209 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2210 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2211 (PG3_SKIPPING_OFFSET): New macros.
2212 (__isPATrange): Use cinfc_fast for the check.
2213 (__isSkipResetAddr): New function.
2214 (s390_fallback_frame_state): Check for skip trace addresses. Use
2215 either ICST_CRET or ICST_SRET to calculate return address
2216 location.
2217 (__tpf_eh_return): Handle skip trace addresses.
2218
a9cd2d78
RE
22192020-03-26 Richard Earnshaw <rearnsha@arm.com>
2220
2221 PR target/94220
2222 * config/arm/lib1funcs.asm (COND): Use a single definition for
2223 unified syntax.
2224 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2225 (aeabi_idivmod): Likewise.
2226 (divsi3_skip_div0_test): Likewise.
2227
f582ca0f
MI
22282020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2229
2230 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2231
068fe0a9
AK
22322020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2233
2234 * config.host: Include the new makefile fragment.
2235 * config/s390/t-tpf: New file.
2236
6b9ce2b4
RE
22372020-03-03 Richard Earnshaw <rearnsha@arm.com>
2238
2239 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2240 syntax.
2241 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2242 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2243 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2244 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2245 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2246 syntax.
2247 (divsi3, modsi3): Likewise.
2248 (clzdi2, ctzsi2): Likewise.
2249 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2250 unified syntax.
2251 (UNWIND_WRAPPER): Likewise.
2252
8dd5d8f3
ML
22532020-03-02 Martin Liska <mliska@suse.cz>
2254
2255 * libgcov-interface.c: Remove duplicate
2256 declaration of __gcov_flush_mx.
2257
ea0b1252
ML
22582020-02-18 Martin Liska <mliska@suse.cz>
2259
2260 PR ipa/92924
2261 * libgcov-merge.c (merge_topn_values_set): Record
2262 when a TOP N counter becomes invalid. When merging
2263 remove a smallest value if the space is needed.
2264
02ce382c
SL
22652020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2266
2267 PR libstdc++/79193
2268 PR libstdc++/88999
2269
2270 * configure: Regenerated.
2271
7214fce3
JL
22722020-02-10 Jeff Law <law@redhat.com>
2273
2274 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2275 sections.
2276 * config/frv/frvend.c: Similarly.
2277
cf0f07ef
L
22782020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2279
2280 PR libgcc/85334
2281 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2282 New.
2283
5602b48b
CL
22842020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2285
2286 PR target/93615
2287 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2288 _Unwind_gnu_Find_got.
2289 * unwind-pe.h: Likewise.
2290
811a475e
JJ
22912020-02-07 Jakub Jelinek <jakub@redhat.com>
2292
2293 PR target/93615
2294 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2295 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2296 trailing :s in asm. Formatting fixes.
2297 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2298
2d33dcfe
SL
22992020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2300
2301 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2302
2303 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2304 * config/nios2-elf-lib.h: New.
2305 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2306 code for finding GOT base for nios2.
2307
3ae37f92
ML
23082020-01-27 Martin Liska <mliska@suse.cz>
2309
2310 PR gcov-profile/93403
2311 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2312 Call __gcov_indirect_call_profiler_body.
2313 (__gcov_indirect_call_profiler_body): New.
2314 (__gcov_indirect_call_profiler_v4_atomic): New.
2315 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2316 New declaration.
2317
2744b8b2
CZ
23182020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2319
2320 * config/arc/crti.S: Add RF16 object attribute.
2321 * config/arc/crtn.S: Likewise.
2322 * config/arc/crttls.S: Likewise.
2323 * config/arc/lib1funcs.S: Likewise.
2324 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2325 * config/arc/lib2funcs.c: New file.
2326 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2327
e8e66971
MR
23282020-01-24 Maciej W. Rozycki <macro@wdc.com>
2329
2330 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2331 * configure.ac: Handle `--with-toolexeclibdir='.
2332 * configure: Regenerate.
2333
54b3d52c
DM
23342020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2335
2336 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2337
a3c1e1f2
DM
23382020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2339
2340 * config/mips/gnustack.h: New file.
2341 * config/mips/crti.S: Include gnustack.h.
2342 * config/mips/crtn.S: Likewise.
2343 * config/mips/mips16.S: Likewise.
2344 * config/mips/vr4120-div.S: Likewise.
2345
e9ee848d
ML
23462020-01-23 Martin Liska <mliska@suse.cz>
2347
2348 * libgcov-driver.c (prune_topn_counter): Remove
2349 check for -1 as we only prune run-time counters
2350 that do not generate an invalid state.
2351
7491c17f
ML
23522020-01-22 Martin Liska <mliska@suse.cz>
2353
2354 PR tree-optimization/92924
2355 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2356 try to find an existing value, then find an empty slot
2357 if not found.
2358
5f32f9cf
ML
23592020-01-22 Martin Liska <mliska@suse.cz>
2360
2361 PR tree-optimization/92924
2362 * libgcov-driver.c (prune_topn_counter): New.
2363 (prune_counters): Likewise.
2364 (dump_one_gcov): Prune a run-time counter.
2365 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2366 For a known value, add GCOV_TOPN_VALUES to value.
2367 Otherwise, decrement all counters by one.
2368
463f6499
HPN
23692020-01-18 Hans-Peter Nilsson <hp@axis.com>
2370
2371 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2372
84479e3a
JDA
23732020-01-18 John David Anglin <danglin@gcc.gnu.org>
2374
2375 PR libgcc/92988
2376 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2377 DEFAULT_USE_CXA_ATEXIT is true.
2378
e953433f 23792020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 2380 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
2381
2382 * config/arm/t-arm: Check return value of gcc rather than lack of
2383 output.
2384
03e87724
GJL
23852020-01-14 Georg-Johann Lay <avr@gjlay.de>
2386
2387 * config/avr/lib1funcs.S (skip): Simplify.
2388
af9bd920
KCY
23892020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2390
2391 * config/gcn/atomic.c: Remove include of stdint.h.
2392 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2393 __UINTPTR_TYPE__.
2394
d6491d15
KCY
23952020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2396
2397 * config/gcn/atomic.c: New.
2398 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2399
f30dd607
GJL
24002020-01-08 Georg-Johann Lay <avr@gjlay.de>
2401
2402 Implement 64-bit double functions.
2403
2404 PR target/92055
2405 * config.host (tmake_file) [target=avr]: Add t-libf7,
2406 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2407 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2408 depending on sizeof (double) or sizeof (long double).
2409 * config/avr/libf7: New folder.
2410
5205a445
OH
24112020-01-05 Olivier Hainque <hainque@adacore.com>
2412
2413 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2414 by IN_LIBGCC2.
2415
8d9254fc
JJ
24162020-01-01 Jakub Jelinek <jakub@redhat.com>
2417
2418 Update copyright years.
2419
abb6c3ee
OH
24202019-12-30 Olivier Hainque <hainque@adacore.com>
2421
2422 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2423 * config/gthr-vxworks-tls.c: Likewise.
2424
d7f5094a
OH
24252019-12-30 Olivier Hainque <hainque@adacore.com>
2426
2427 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2428 standard zero-initializer syntax.
2429
49cfaa2a
OH
24302019-12-30 Olivier Hainque <hainque@adacore.com>
2431
2432 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2433 reference to the internal VX_GET_TLS_DATA interface.
2434
89b9a554
OH
24352019-12-30 Olivier Hainque <hainque@adacore.com>
2436
2437 * config/vxcrtstuff.c: Fix incorrect spelling of
2438 USE_INITFINI_ARRAY in guard.
2439
e8aa9f55
JL
24402019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2441
2442 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2443 Override default "extra_parts" variable.
2444 * configure: Regenerate.
2445 * configure.ac: Disable TM clone registry by default for
2446 msp430-elfbare.
2447
a9046e98
JL
24482019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2449
2450 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2451 "extra_parts".
2452 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2453
34a53788
JL
24542019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2455
2456 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2457 true.
2458
21a098f4
JL
24592019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2460
2461 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2462 defined instead of its value.
2463
ad8b7783
JL
24642019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2465
2466 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2467 if it will have contents.
2468
08d7ff78
GJL
24692019-12-05 Georg-Johann Lay <avr@gjlay.de>
2470
2471 PR target/92055
2472 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2473
3d3a96a2
SN
24742019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2475
34b4d99d 2476 PR libgcc/91737
3d3a96a2
SN
2477 * config.host: Add t-gthr-noweak on *-*-musl*.
2478 * config/t-gthr-noweak: New file.
2479
632b5e3d
JDA
24802019-11-17 John David Anglin <danglin@gcc.gnu.org>
2481
2482 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2483 volatile void *. Remove trap check.
2484 (__kernel_cmpxchg2): Likewise.
2485 (FETCH_AND_OP_2): Adjust operand types.
2486 (OP_AND_FETCH_2): Likewise.
2487 (FETCH_AND_OP_WORD): Likewise.
2488 (OP_AND_FETCH_WORD): Likewise.
2489 (COMPARE_AND_SWAP_2): Likewise.
2490 (__sync_val_compare_and_swap_4): Likewise.
2491 (__sync_bool_compare_and_swap_4): Likewise.
2492 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2493 (__sync_lock_test_and_set_4): Likewise.
2494 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2495 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2496 for release.
2497 (__sync_lock_release_8): Remove.
2498
838fd641
SN
24992019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2500
2501 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2502 of __sigset_t.
2503
27204060
JL
25042019-11-14 Jerome Lambourg <lambourg@adacore.com>
2505 Doug Rupp <rupp@adacore.com>
2506 Olivier Hainque <hainque@adacore.com>
2507
2508 * config.host: Collapse the arm-vxworks entries into
2509 a single arm-wrs-vxworks7* one.
2510 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2511 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2512 kernel modules, to be overriden by libstdc++ when we link with
2513 it. Rely on externally provided __exidx_start/end.
2514
3004f893
DR
25152019-11-14 Doug Rupp <rupp@adacore.com>
2516 Olivier Hainque <hainque@adacore.com>
2517
2518 * config.host: Handle aarch64*-wrs-vxworks7*.
2519
36e5f4d4
OH
25202019-11-12 Olivier Hainque <hainque@adacore.com>
2521
2522 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2523 sources except the cxx0x support to LIB2ADDEH. We don't support
2524 cxx0x on AE/653.
2525 * config/t-vxworksae: New file.
2526 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2527 Makefile fragment files at their expected position in the tmake_file
2528 list, in accordance with what is done for other VxWorks variants.
2529
806dd047
CG
25302019-11-12 Corentin Gay <gay@adacore.com>
2531 Jerome Lambourg <lambourg@adacore.com>
2532 Olivier Hainque <hainque@adacore.com>
2533
2534 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2535 sources to LIB2ADDEH.
2536 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2537 * config/t-vxworks7: Likewise.
2538
2539 * config.host: Append a block at the end of the file to add the
2540 t-gthr files to the tmake_file list for VxWorks after everything
2541 else.
2542
2543 * config/vxlib.c: Rename as gthr-vxworks.c.
2544 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2545
2546 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2547 API and a basic error checking API, both internal. Simplify the
2548 __gthread_once_t type definition and initializers. Add sections
2549 for condition variables support and for the C++0x thread support,
2550 conditioned against Vx653 for the latter.
2551
2552 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2553 implementation, leveraging the TAS internal API.
2554 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2555 API, leveraging the general availability of TLS services in VxWorks7
2556 post SR6xxx.
2557 (__gthread_setspecific, __gthread_setspecific): Use it.
2558 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2559 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2560 support based on VxWorks primitives.
2561 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2562 based on VxWorks primitives.
2563
78e49fb1
JL
25642019-11-06 Jerome Lambourg <lambourg@adacore.com>
2565 Olivier Hainque <hainque@adacore.com>
2566
2567 * config/vxcrtstuff.c: New file.
2568 * config/t-vxcrtstuff: New Makefile fragment.
2569 * config.host: Append t-vxcrtstuff to the tmake_file list
2570 on all VxWorks ports using dwarf for table based EH.
2571
29f3def3
GJL
25722019-11-07 Georg-Johann Lay <avr@gjlay.de>
2573
2574 Support 64-bit double and 64-bit long double configurations.
2575
2576 PR target/92055
2577 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2578 long double is a 32-bit type.
2579 * config/avr/t-avrlibc: Copy double64 and long-double64
2580 multilib(s) from the vanilla one.
2581 * config/avr/t-copy-libgcc: New Makefile snip.
2582
62ec242e
JL
25832019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2584
2585 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2586 the target output object format is not ELF.
2587 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2588
da5c1bbe
OE
25892019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2590
2591 PR libgcc/78804
2592 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2593 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2594 FLOAT_BIT_ORDER_MISMATCH.
2595 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2596
8dc56a22
JW
25972019-11-01 Jim Wilson <jimw@sifive.com>
2598
2599 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2600
91c64455
JL
26012019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2602
2603 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2604 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2605 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2606 Define symbols for 32-bit and f5series hardware multiply
2607 register addresses.
2608 Replace hard-coded register addresses with symbols.
2609 Fix "_mspabi*" typo.
2610 Fix whitespace.
2611 * config/msp430/lib2mul.c: Add comment.
2612
85093ac6
JDA
26132019-10-15 John David Anglin <danglin@gcc.gnu.org>
2614
2615 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2616 unsigned int. Adjust callers.
2617 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2618 unsigned int *. Load relocation offset before function pointer.
2619 Add barrier to ensure ordering.
2620
1aea083d
JDA
26212019-10-12 John David Anglin <danglin@gcc.gnu.org>
2622
2623 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2624 Load PIC register after branch target. Fix white space.
2625 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2626 implementations. Load PIC register after branch target. Don't
2627 clobber function pointer when it points to function descriptor.
2628 Use nullification instead of branch in LINUX implementation.
2629
c49af82c
JDA
26302019-10-03 John David Anglin <danglin@gcc.gnu.org>
2631
2632 * config/pa/fptr.c: Disable -Warray-bounds warning.
2633
88a51d68
RH
26342019-09-25 Richard Henderson <richard.henderson@linaro.org>
2635
9e46fd07
RH
2636 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2637 not the ubuntu modified 2.69.
2638
58d169ba
RH
2639 PR target/91833
2640 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2641 initialization if !HAVE_SYS_AUXV_H.
2642 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2643 * config.in, configure: Rebuild.
2644
88a51d68
RH
2645 PR target/91834
2646 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2647 overlap the inputs.
2648
761e6bb9
SZ
26492019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2650
2651 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2652 CTR_EL0.IDC and CTR_EL0.DIC.
2653
76c93295
CL
26542019-09-20 Christophe Lyon <christophe.lyon@st.com>
2655
2656 Revert:
2657 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2658 Mickaël Guêné <mickael.guene@st.com>
2659
2660 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2661 architecture.
2662
33befddc
RH
26632019-09-19 Richard Henderson <richard.henderson@linaro.org>
2664
2665 * config/aarch64/lse-init.c: New file.
2666 * config/aarch64/lse.S: New file.
2667 * config/aarch64/t-lse: New file.
2668 * config.host: Add t-lse to all aarch64 tuples.
2669
ae1152e5
CL
26702019-09-10 Christophe Lyon <christophe.lyon@st.com>
2671 Mickaël Guêné <mickael.guene@st.com>
2672
84818dbb
CL
2673 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2674 architecture.
2675
26762019-09-10 Christophe Lyon <christophe.lyon@st.com>
2677 Mickaël Guêné <mickael.guene@st.com>
2678
ae1152e5
CL
2679 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2680 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2681 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2682 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2683 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2684 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2685 (__gnu_personality_sigframe_fdpic): New.
2686 (get_eit_entry): Add FDPIC signal frame support.
2687
5d727a4b
CL
26882019-09-10 Christophe Lyon <christophe.lyon@st.com>
2689 Mickaël Guêné <mickael.guene@st.com>
2690
2691 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2692 (__kernel_dmb): Likewise.
2693 (__fdpic_cmpxchg): New function.
2694 (__fdpic_dmb): New function.
2695 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2696 (gnu_Unwind_Find_got): New function.
2697 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2698 * unwind-arm-common.inc (UCB_PR_GOT): New.
2699 (funcdesc_t): New struct.
2700 (get_eit_entry): Add FDPIC support.
2701 (unwind_phase2): Likewise.
2702 (unwind_phase2_forced): Likewise.
2703 (__gnu_Unwind_RaiseException): Likewise.
2704 (__gnu_Unwind_Resume): Likewise.
2705 (__gnu_Unwind_Backtrace): Likewise.
2706 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2707
b1e21e5a 27082019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2709 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2710
11189793
CL
2711 * libgcc/crtstuff.c: Add support for FDPIC.
2712
27132019-09-10 Christophe Lyon <christophe.lyon@st.com>
2714
2715 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2716
91dfef96
JM
27172019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2718
2719 * config.host: Set cpu_type for bpf-*-* targets.
2720 * config/bpf/t-bpf: Likewise.
2721 * config/bpf/crtn.S: Likewise.
2722 * config/bpf/crti.S: New file.
2723
2f4d8951
JW
27242019-09-06 Jim Wilson <jimw@sifive.com>
2725
2726 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2727 (riscv*-*-freebsd*): Likewise.
2728
2f2aeda9
UW
27292019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2730
2731 * config.host: Remove references to spu.
2732 * config/spu/: Remove directory.
2733
d16017da
JL
27342019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2735
2736 PR target/91306
2737 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2738 element type, instead of "sizeof" the element type.
2739 (__DTOR_LIST__): Likewise.
2740 (__TMC_LIST__): Likewise.
2741 (__do_global_dtors_aux_fini_array_entry): Likewise.
2742 (__frame_dummy_init_array_entry): Likewise.
2743 (__CTOR_END__): Likewise.
2744 (__DTOR_END__): Likweise.
2745 (__FRAME_END__): Likewise.
2746 (__TMC_END__): Likewise.
2747
a9fcfec3
HL
27482019-08-20 Lili Cui <lilicui@intel.com>
2749
2750 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2751 INTEL_COREI7_COOPERLAKE.
2752
428642b1
MT
27532019-07-31 Matt Thomas <matt@3am-software.com>
2754 Nick Hudson <nick@nthcliff.demon.co.uk>
2755 Matthew Green <mrg@eterna.com.au>
2756 Maya Rashish <coypu@sdf.org>
2757
2758 * config.host (hppa*-*-netbsd*): New case.
2759 * config/pa/t-netbsd: New file.
2760
f0efd925
JH
27612019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2762
2763 * config/arm/cmse.c (cmse_check_address_range): Add
2764 warn_unused_result attribute.
2765
a861990d
ML
27662019-07-22 Martin Liska <mliska@suse.cz>
2767
2768 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2769 * config/pa/t-stublib: Likewise.
2770
9c0dba7c
SH
27712019-07-22 Stafford Horne <shorne@gmail.com>
2772
2773 PR target/90362
2774 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2775 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2776 instructions are not available on every processor. Change a
2777 l.bnf to l.bf to fix logic issue.
2778
61afc8f8
IS
27792019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2780
2781 * config.host: Remove reference to t-darwin8.
2782
179c7ef5
IS
27832019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2784
2785 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2786 list.
2787 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2788 mmacosx-version-min for crts to run across all system versions.
2789 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2790 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2791 system versions >= 10.4.
2792
596341c7
ML
27932019-07-03 Martin Liska <mliska@suse.cz>
2794
2795 * Makefile.in: Use topn_values instead of one_value names.
2796 * libgcov-merge.c (__gcov_merge_single): Move to ...
2797 (__gcov_merge_topn): ... this.
2798 (merge_single_value_set): Move to ...
2799 (merge_topn_values_set): ... this.
2800 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2801 ...
2802 (__gcov_topn_values_profiler_body): ... this.
2803 (__gcov_one_value_profiler_v2): Move to ...
2804 (__gcov_topn_values_profiler): ... this.
2805 (__gcov_one_value_profiler_v2_atomic): Move to ...
2806 (__gcov_topn_values_profiler_atomic): ... this.
2807 (__gcov_indirect_call_profiler_v4): Remove.
2808 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2809 (__gcov_topn_counter_op): ... this.
2810 * libgcov.h (L_gcov_merge_single): Remove.
2811 (L_gcov_merge_topn): New.
2812 (__gcov_merge_single): Remove.
2813 (__gcov_merge_topn): New.
2814 (__gcov_one_value_profiler_v2): Move to ..
2815 (__gcov_topn_values_profiler): ... this.
2816 (__gcov_one_value_profiler_v2_atomic): Move to ...
2817 (__gcov_topn_values_profiler_atomic): ... this.
2818
1b309ca5
ML
28192019-07-03 Martin Liska <mliska@suse.cz>
2820
2821 * libgcov-merge.c (merge_single_value_set): Support N values.
2822 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2823
5a460280
ID
28242019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2825
2826 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2827 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2828 * configure.ac: Add --disable-tm-clone-registry option.
2829 * configure: Regenerate.
2830
45309d28
ML
28312019-06-27 Martin Liska <mliska@suse.cz>
2832
2833 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2834 dead assignments.
2835 * libgcov-util.c: Likewise.
2836
c2f7a665
ML
28372019-06-27 Martin Liska <mliska@suse.cz>
2838
2839 * libgcov-util.c (gcov_profile_merge): Release allocated
2840 memory.
2841 (calculate_overlap): Likewise.
2842
a8e55c61
IS
28432019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2844
2845 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2846 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2847 Build objects for the out of line save/restore register functions
2848 so that they can be used for any supported Darwin version.
2849 * config/t-darwin: Default the build Darwin version to Darwin8
2850 (MacOS 10.4).
2851
e5ce4cbc
ML
28522019-06-25 Martin Liska <mliska@suse.cz>
2853
2854 * libgcov-driver-system.c (replace_filename_variables): Do not
2855 call strlen with NULL argument.
2856
52a47d28
AS
28572019-06-25 Andrew Stubbs <ams@codesourcery.com>
2858
2859 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2860 * config/gcn/unwind-gcn.c: New file.
2861
76d46331
KCY
28622019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2863 Andrew Stubbs <ams@codesourcery.com>
2864
2865 * configure: Regenerate.
2866 * config/gcn/gthr-gcn.h: New.
2867
787783a0
TV
28682019-06-18 Tom de Vries <tdevries@suse.de>
2869
2870 * config/nvptx/crt0.c (__main): Declare.
2871
f32f7585
MG
28722019-06-17 Matthew Green <mrg@eterna.com.au>
2873 Maya Rashish <coypu@sdf.org>
2874
2875 * config.host (aarch64*-*-netbsd*): New case.
2876
0fcc78f7
JL
28772019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2878
2879 * config/msp430/slli.S (__mspabi_sllll): New library function for
2880 performing a logical left shift of a 64-bit value.
2881 * config/msp430/srai.S (__mspabi_srall): New library function for
2882 performing a arithmetic right shift of a 64-bit value.
2883 * config/msp430/srll.S (__mspabi_srlll): New library function for
2884 performing a logical right shift of a 64-bit value.
2885
b27c1082
MT
28862019-06-14 Matt Thomas <matt@3am-software.com>
2887 Matthew Green <mrg@eterna.com.au>
2888 Nick Hudson <skrll@netbsd.org>
2889 Maya Rashish <coypu@sdf.org>
2890
2891 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2892 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2893 functions to build.
2894 * config/arm/t-netbsd-eabi: New file.
2895
ae7deb4b
DD
28962019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2897
2898 * config.host: Add PRU target.
2899 * config/pru/asri.c: New file.
2900 * config/pru/eqd.c: New file.
2901 * config/pru/eqf.c: New file.
2902 * config/pru/ged.c: New file.
2903 * config/pru/gef.c: New file.
2904 * config/pru/gtd.c: New file.
2905 * config/pru/gtf.c: New file.
2906 * config/pru/led.c: New file.
2907 * config/pru/lef.c: New file.
2908 * config/pru/lib2bitcountHI.c: New file.
2909 * config/pru/lib2divHI.c: New file.
2910 * config/pru/lib2divQI.c: New file.
2911 * config/pru/lib2divSI.c: New file.
2912 * config/pru/libgcc-eabi.ver: New file.
2913 * config/pru/ltd.c: New file.
2914 * config/pru/ltf.c: New file.
2915 * config/pru/mpyll.S: New file.
2916 * config/pru/pru-abi.h: New file.
2917 * config/pru/pru-asm.h: New file.
2918 * config/pru/pru-divmod.h: New file.
2919 * config/pru/sfp-machine.h: New file.
2920 * config/pru/t-pru: New file.
2921
0d7b3e47
JJ
29222019-06-11 Jakub Jelinek <jakub@redhat.com>
2923
2924 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2925
54e2d83c
ML
29262019-06-10 Martin Liska <mliska@suse.cz>
2927
2928 PR bootstrap/90808
2929 * libgcov.h: Add ATTRIBUTE_UNUSED.
2930
92d41717
ML
29312019-06-10 Martin Liska <mliska@suse.cz>
2932
2933 * Makefile.in: Add __gcov_one_value_profiler_v2,
2934 __gcov_one_value_profiler_v2_atomic and
2935 __gcov_indirect_call_profiler_v4.
2936 * libgcov-merge.c (__gcov_merge_single): Change
2937 function signature.
2938 (merge_single_value_set): New.
2939 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2940 Update functionality.
2941 (__gcov_one_value_profiler): Remove.
2942 (__gcov_one_value_profiler_v2): ... this.
2943 (__gcov_one_value_profiler_atomic): Rename to ...
2944 (__gcov_one_value_profiler_v2_atomic): this.
2945 (__gcov_indirect_call_profiler_v3): Rename to ...
2946 (__gcov_indirect_call_profiler_v4): ... this.
2947 * libgcov.h (__gcov_one_value_profiler): Remove.
2948 (__gcov_one_value_profiler_atomic): Remove.
2949 (__gcov_one_value_profiler_v2_atomic): New.
2950 (__gcov_indirect_call_profiler_v3): Remove.
2951 (__gcov_one_value_profiler_v2): New.
2952 (__gcov_indirect_call_profiler_v4): New.
2953 (gcov_get_counter_ignore_scaling): New function.
2954
e37333ba
ML
29552019-06-07 Martin Liska <mliska@suse.cz>
2956
2957 * Makefile.in: Remove usage of
2958 _gcov_merge_icall_topn.
2959 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2960 (gcov_sort_icall_topn_counter): Likewise.
2961 (gcov_sort_topn_counter_arrays): Likewise.
2962 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2963 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2964 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2965 Likewise.
2966 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2967 (struct indirect_call_tuple): Remove.
2968 (__gcov_indirect_call_topn_profiler): Remove.
2969 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2970 * libgcov.h (gcov_sort_n_vals): Remove.
2971 (L_gcov_merge_icall_topn): Likewise.
2972 (__gcov_merge_icall_topn): Likewise.
2973 (__gcov_indirect_call_topn_profiler): Likewise.
2974
34a4a9c2
IS
29752019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2976
2977 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2978 altivec enabled.
2979
d1b2f85f
JL
29802019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2981
2982 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2983 section.
2984 (__mspabi_slli): Likewise.
2985 (__mspabi_slll_n): Likewise.
2986 (__mspabi_slll): Likewise.
2987 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2988 (__mspabi_srai): Likewise.
2989 (__mspabi_sral_n): Likewise.
2990 (__mspabi_sral): Likewise.
2991 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2992 (__mspabi_srli): Likewise.
2993 (__mspabi_srll_n): Likewise.
2994 (__mspabi_srll): Likewise.
2995
e69a13d1
YS
29962019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2997
2998 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2999 Add appropriate tm_file clause as well.
3000 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3001
b009eac1
JC
30022019-06-05 James Clarke <jrtc27@jrtc27.com>
3003
3004 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3005 rather than .data/.bss so it can be accessed via gp-relative
3006 addressing.
3007
781d39f2
DE
30082019-06-05 David Edelsohn <dje.gcc@gmail.com>
3009
3010 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3011 (CR2_REGNO): Rename to R_CR2.
3012 (XER_REGNO): Rename to R_XER.
3013 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3014 (VRSAVE_REGNO): Rename to R_VRSAVE.
3015 (VSCR_REGNO): R_VSCR.
3016
76aaa9cd
YS
30172019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3018
3019 * config.host (rx-*-linux*): Add new case.
3020 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3021
8fc16d72
ST
30222019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3023
3024 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3025 function.
3026 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3027 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3028 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3029 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3030 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3031 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3032 string.
3033 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3034 string.
3035 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3036
e54b1a92
RO
30372019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3038
3039 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3040 Remove Solaris 9 and 10 support.
3041 (sparc_is_sighandler): Likewise.
3042
abbb8307
JDA
30432019-05-26 John David Anglin <danglin@gcc.gnu.org>
3044
3045 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3046
2581344d
L
30472019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3050 4_FP_W_TYPEs are used for IEEE quad precision.
3051 * soft-fp/extendhftf2.c: Likewise.
3052 * soft-fp/extendsftf2.c: Likewise.
3053 * soft-fp/extendxftf2.c: Likewise.
3054 * soft-fp/trunctfdf2.c: Likewise.
3055 * soft-fp/trunctfhf2.c: Likewise.
3056 * soft-fp/trunctfsf2.c: Likewise.
3057 * soft-fp/trunctfxf2.c: Likewise.
3058 * config/rs6000/ibm-ldouble.c: Likewise.
3059
ccd1242e
RO
30602019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3061
3062 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3063 *-*-solaris2*.
3064 * configure.ac: Likewise.
3065 * configure: Regenerate.
3066
3067 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3068 Solaris 10 and Solaris 11 < snv_125 handling.
3069
ef5eb79d
IS
30702019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3071
3072 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3073
4f0e90fa
HL
30742019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3075
3076 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3077 * config/i386/cpuinfo.h (enum processor_features): Add
3078 FEATURE_AVX512BF16.
3079
48528842
RR
30802019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3081 Bernd Edlinger <bernd.edlinger@hotmail.de>
3082 Jakub Jelinek <jakub@redhat.com>
3083
3084 PR target/89093
3085 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3086 * config/arm/unwind-arm.c: Likewise.
3087 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3088 attribute for ARM.
3089
887e182f
MC
30902019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3091
3092 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3093 (RT_SIGRETURN): Update.
3094 (nds32_fallback_frame_state): Update.
3095
a90b0cdd
MS
30962019-02-21 Martin Sebor <msebor@redhat.com>
3097
3098 * libgcc2.h (__clear_cache): Correct signature.
3099 * libgcc2.c (__clear_cache): Same.
3100
1ed28eda
UB
31012019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3102
3103 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3104 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3105
fe95aee9
UB
31062019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3107
3108 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3109 regno instead of index to DWARF_ZERO_REG.
3110
bf7988f1
EB
31112019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3112
3113 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3114 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3115
ba2c1ca8
UB
31162019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3117
3118 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3119 to HOST_LIBGCC2_CFLAGS.
3120
6395ba73
L
31212019-01-23 Joseph Myers <joseph@codesourcery.com>
3122
3123 PR libgcc/88931
ba2c1ca8 3124 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3125
756721ba
ML
31262019-01-18 Martin Liska <mliska@suse.cz>
3127
3128 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3129 to ...
3130 (__gcov_indirect_call_profiler_v3): ... this.
3131 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3132 (__gcov_indirect_call_profiler_v3): Likewise.
3133 * Makefile.in: Bump function name.
3134
d273c40a
ML
31352019-01-18 Martin Liska <mliska@suse.cz>
3136
3137 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3138 (gcov_version): Use in gcov_error.
3139 (merge_one_data): Likewise.
3140 (dump_one_gcov): Likewise.
3141
be9d9fdb
ML
31422019-01-18 Martin Liska <mliska@suse.cz>
3143
3144 * libgcov-driver.c (gcov_version_string): New function.
3145 (gcov_version): Convert version integer into string.
3146
91d7b7fe
AS
31472019-01-17 Andrew Stubbs <ams@codesourcery.com>
3148 Kwok Cheung Yeung <kcy@codesourcery.com>
3149 Julian Brown <julian@codesourcery.com>
3150 Tom de Vries <tom@codesourcery.com>
3151
3152 * config.host: Recognize amdgcn*-*-amdhsa.
3153 * config/gcn/crt0.c: New file.
3154 * config/gcn/lib2-divmod-hi.c: New file.
3155 * config/gcn/lib2-divmod.c: New file.
3156 * config/gcn/lib2-gcn.h: New file.
3157 * config/gcn/sfp-machine.h: New file.
3158 * config/gcn/t-amdgcn: New file.
3159
67914693
SL
31602019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3161
3162 PR other/16615
3163
3164 * config/c6x/libunwind.S: Mechanically replace "can not" with
3165 "cannot".
3166 * config/tilepro/atomic.h: Likewise.
3167 * config/vxlib-tls.c: Likewise.
3168 * generic-morestack-thread.c: Likewise.
3169 * generic-morestack.c: Likewise.
3170 * mkmap-symver.awk: Likewise.
3171
a5544970
JJ
31722019-01-01 Jakub Jelinek <jakub@redhat.com>
3173
3174 Update copyright years.
3175
da77eace
L
31762018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3177
3178 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3179 to ignore -Waddress-of-packed-member.
3180
72e3a529
TP
31812018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3182
3183 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3184 parameter and corresponding code.
3185 (ARM_FUNC_START): Likewise in both definitions.
3186 Also update footer comment about condition that need to match with
3187 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3188 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3189 defined. Weakly define it in this case.
3190 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3191 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3192 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3193 comment to keep condition in sync with the one in
3194 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3195
5d54c798
WX
31962018-12-18 Wei Xiao <wei3.xiao@intel.com>
3197
3198 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3199 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3200
5a2580b6
RV
32012018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3202
3203 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3204 and .cfi_endproc directives for VxWorks targets.
3205
c0c5112b
PK
32062018-12-05 Paul Koning <ni1d@arrl.net>
3207
3208 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3209
1ea7ea18
AM
32102018-11-27 Alan Modra <amodra@gmail.com>
3211
3212 * config/rs6000/morestack.S (__stack_split_initialize),
3213 (__morestack_get_guard, __morestack_set_guard),
3214 (__morestack_make_guard): Provide CFI covering these functions.
3215 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3216
ff641ae1
XQ
32172018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3218
1ea7ea18 3219 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3220 (sc_pt_regs_lr): Update for kernel.
3221 (sc_pt_regs_tls): Update for kernel.
3222
28209372
XQ
32232018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3224
3225 * config/csky/linux-unwind.h: Fix coding style.
3226
b2a71af6
XQ
32272018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3228
3229 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3230 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3231 instructions to adapt to changes in the kernel
3232
d929e137
SH
32332018-11-09 Stafford Horne <shorne@gmail.com>
3234 Richard Henderson <rth@twiddle.net>
3235
3236 * config.host: Add OpenRISC support.
3237 * config/or1k/*: New.
3238
222cfefa
KC
32392018-11-08 Kito Cheng <kito@andestech.com>
3240
3241 * soft-fp/adddf3.c: Update from glibc.
3242 * soft-fp/addsf3.c: Likewise.
3243 * soft-fp/addtf3.c: Likewise.
3244 * soft-fp/divdf3.c: Likewise.
3245 * soft-fp/divsf3.c: Likewise.
3246 * soft-fp/divtf3.c: Likewise.
3247 * soft-fp/double.h: Likewise.
3248 * soft-fp/eqdf2.c: Likewise.
3249 * soft-fp/eqsf2.c: Likewise.
3250 * soft-fp/eqtf2.c: Likewise.
3251 * soft-fp/extenddftf2.c: Likewise.
3252 * soft-fp/extended.h: Likewise.
3253 * soft-fp/extendhftf2.c: Likewise.
3254 * soft-fp/extendsfdf2.c: Likewise.
3255 * soft-fp/extendsftf2.c: Likewise.
3256 * soft-fp/extendxftf2.c: Likewise.
3257 * soft-fp/fixdfdi.c: Likewise.
3258 * soft-fp/fixdfsi.c: Likewise.
3259 * soft-fp/fixdfti.c: Likewise.
3260 * soft-fp/fixhfti.c: Likewise.
3261 * soft-fp/fixsfdi.c: Likewise.
3262 * soft-fp/fixsfsi.c: Likewise.
3263 * soft-fp/fixsfti.c: Likewise.
3264 * soft-fp/fixtfdi.c: Likewise.
3265 * soft-fp/fixtfsi.c: Likewise.
3266 * soft-fp/fixtfti.c: Likewise.
3267 * soft-fp/fixunsdfdi.c: Likewise.
3268 * soft-fp/fixunsdfsi.c: Likewise.
3269 * soft-fp/fixunsdfti.c: Likewise.
3270 * soft-fp/fixunshfti.c: Likewise.
3271 * soft-fp/fixunssfdi.c: Likewise.
3272 * soft-fp/fixunssfsi.c: Likewise.
3273 * soft-fp/fixunssfti.c: Likewise.
3274 * soft-fp/fixunstfdi.c: Likewise.
3275 * soft-fp/fixunstfsi.c: Likewise.
3276 * soft-fp/fixunstfti.c: Likewise.
3277 * soft-fp/floatdidf.c: Likewise.
3278 * soft-fp/floatdisf.c: Likewise.
3279 * soft-fp/floatditf.c: Likewise.
3280 * soft-fp/floatsidf.c: Likewise.
3281 * soft-fp/floatsisf.c: Likewise.
3282 * soft-fp/floatsitf.c: Likewise.
3283 * soft-fp/floattidf.c: Likewise.
3284 * soft-fp/floattihf.c: Likewise.
3285 * soft-fp/floattisf.c: Likewise.
3286 * soft-fp/floattitf.c: Likewise.
3287 * soft-fp/floatundidf.c: Likewise.
3288 * soft-fp/floatundisf.c: Likewise.
3289 * soft-fp/floatunditf.c: Likewise.
3290 * soft-fp/floatunsidf.c: Likewise.
3291 * soft-fp/floatunsisf.c: Likewise.
3292 * soft-fp/floatunsitf.c: Likewise.
3293 * soft-fp/floatuntidf.c: Likewise.
3294 * soft-fp/floatuntihf.c: Likewise.
3295 * soft-fp/floatuntisf.c: Likewise.
3296 * soft-fp/floatuntitf.c: Likewise.
3297 * soft-fp/gedf2.c: Likewise.
3298 * soft-fp/gesf2.c: Likewise.
3299 * soft-fp/getf2.c: Likewise.
3300 * soft-fp/half.h: Likewise.
3301 * soft-fp/ledf2.c: Likewise.
3302 * soft-fp/lesf2.c: Likewise.
3303 * soft-fp/letf2.c: Likewise.
3304 * soft-fp/muldf3.c: Likewise.
3305 * soft-fp/mulsf3.c: Likewise.
3306 * soft-fp/multf3.c: Likewise.
3307 * soft-fp/negdf2.c: Likewise.
3308 * soft-fp/negsf2.c: Likewise.
3309 * soft-fp/negtf2.c: Likewise.
3310 * soft-fp/op-1.h: Likewise.
3311 * soft-fp/op-2.h: Likewise.
3312 * soft-fp/op-4.h: Likewise.
3313 * soft-fp/op-8.h: Likewise.
3314 * soft-fp/op-common.h: Likewise.
3315 * soft-fp/quad.h: Likewise.
3316 * soft-fp/single.h: Likewise.
3317 * soft-fp/soft-fp.h: Likewise.
3318 * soft-fp/subdf3.c: Likewise.
3319 * soft-fp/subsf3.c: Likewise.
3320 * soft-fp/subtf3.c: Likewise.
3321 * soft-fp/truncdfsf2.c: Likewise.
3322 * soft-fp/trunctfdf2.c: Likewise.
3323 * soft-fp/trunctfhf2.c: Likewise.
3324 * soft-fp/trunctfsf2.c: Likewise.
3325 * soft-fp/trunctfxf2.c: Likewise.
3326 * soft-fp/unorddf2.c: Likewise.
3327 * soft-fp/unordsf2.c: Likewise.
3328 * soft-fp/unordtf2.c: Likewise.
3329
2901f42f
VK
33302018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3331
3332 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3333 * config/i386/cpuinfo.h (processor_types): Add znver2.
3334
4310ca66
PK
33352018-11-01 Paul Koning <ni1d@arrl.net>
3336
3337 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3338 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3339
22e05272
JM
33402018-10-31 Joseph Myers <joseph@codesourcery.com>
3341
3342 PR bootstrap/82856
3343 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3344 * configure: Regenerate.
3345
8180cde0
CZ
33462018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3347
3348 * config/arc/lib1funcs.S (_muldi3): New function.
3349 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3350
be7b071e
RV
33512018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3352
3353 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3354
3239d726
ML
33552018-10-25 Martin Liska <mliska@suse.cz>
3356
3357 PR other/87735
3358 * libgcov-profiler.c: Revert.
3359
19b55958
ML
33602018-10-24 Martin Liska <mliska@suse.cz>
3361
3362 * libgcov-profiler.c: Start from 1 in order to distinguish
3363 functions which were seen and these that were not.
3364
a9a2fddb
PK
33652018-10-18 Paul Koning <ni1d@arrl.net>
3366
3367 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3368 standard.
3369 * divmod.c: Update references to __udivmodsi4.
3370 * udivmod.c: Ditto.
3371 * udivhi3.c: New file.
3372 * udivmodhi4.c: New file.
3373 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3374
fc8abc46
RV
33752018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3376
3377 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3378
87f918e3
OH
33792018-10-12 Olivier Hainque <hainque@adacore.com>
3380
3381 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3382 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3383
be86efa7
PK
33842018-10-08 Paul Koning <ni1d@arrl.net>
3385
3386 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3387
3edbcdbe
ML
33882018-10-04 Martin Liska <mliska@suse.cz>
3389
3390 PR gcov-profile/84107
3391 * libgcov-profiler.c (__gcov_indirect_call):
3392 Change type to indirect_call_tuple.
3393 (struct indirect_call_tuple): New struct.
3394 (__gcov_indirect_call_topn_profiler): Change type.
3395 (__gcov_indirect_call_profiler_v2): Use the new
3396 variables.
3397 * libgcov.h (struct indirect_call_tuple): New struct
3398 definition.
3399
af8096fc
UB
34002018-10-03 Uros Bizjak <ubizjak@gmail.com>
3401
3402 * libgcc2.c (isnan): Use __builtin_isnan.
3403 (isfinite): Use __builtin_isfinite.
3404 (isinf): Use __builtin_isinf.
3405
0a76bba4
UB
34062018-09-26 Uros Bizjak <ubizjak@gmail.com>
3407
3408 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3409
5244089f
OH
34102018-09-21 Alexandre Oliva <oliva@adacore.com>
3411
3412 * config/vxcache.c: New file. Provide __clear_cache, based on
3413 the cacheTextUpdate VxWorks service.
3414 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3415 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3416 * config/t-vxwoks7: Likewise.
3417
512cc015
ML
34182018-09-21 Martin Liska <mliska@suse.cz>
3419
3420 * libgcov-driver.c (crc32_unsigned): Remove.
3421 (gcov_histogram_insert): Likewise.
3422 (gcov_compute_histogram): Likewise.
3423 (compute_summary): Simplify rapidly.
3424 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3425 (merge_summary): Rapidly simplify.
3426 (dump_one_gcov): Ignore gcov_summary.
3427 (gcov_do_dump): Do not handle program summary, it's not
3428 used.
3429 * libgcov-util.c (tag_summary): Remove.
3430 (read_gcda_finalize): Fix coding style.
3431 (read_gcda_file): Initialize curr_object_summary.
3432 (compute_summary): Remove.
3433 (calculate_overlap): Remove settings of run_max.
3434
36ff254b
MC
34352018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3436
3437 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3438 ucontext_t type instead.
3439 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3440
229a033d
KC
34412018-09-21 Kito Cheng <kito.cheng@gmail.com>
3442
3443 * config/nds32/t-nds32-glibc: New file.
3444
53c6feb2
RO
34452018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3446
3447 * configure.ac (solaris_ld_v2_maps): New test.
3448 * configure: Regenerate.
3449 * Makefile.in (solaris_ld_v2_maps): New variable.
3450 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3451 if supported.
3452
ebdb6f23
RE
34532018-08-23 Richard Earnshaw <rearnsha@arm.com>
3454
3455 PR target/86951
3456 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3457 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3458 to build.
3459
a49c064e
IS
34602018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3461
1ea7ea18 3462 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3463 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3464 * config/darwin10-unwind-find-enc-func.c: … to here.
3465 * config/t-darwin: Build Darwin10 unwinder shim crt.
3466 * libgcc/config.host: Add the Darwin10 unwinder shim.
3467
9a5b8df7
RV
34682018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3469
3470 * config.host: Add crtbegin.o and crtend.o for
3471 powerpc-wrs-vxworks target.
3472
4cd0bc3b
J
34732018-08-17 Jojo <jijie_rong@c-sky.com>
3474 Huibin Wang <huibin_wang@c-sky.com>
3475 Sandra Loosemore <sandra@codesourcery.com>
3476 Chung-Lin Tang <cltang@codesourcery.com>
3477
3478 C-SKY port: libgcc
3479
3480 * config.host: Add C-SKY support.
3481 * config/csky/*: New.
3482
a4931745
CJW
34832018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3484
3485 * config/nds32/t-nds32-isr: Rearrange object dependency.
3486 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3487 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3488 and registers usage.
3489 * config/nds32/isr-library/excp_isr.S: Ditto.
3490 * config/nds32/isr-library/intr_isr.S: Ditto.
3491 * config/nds32/isr-library/reset.S: Ditto.
3492 * config/nds32/isr-library/restore_all.inc: Ditto.
3493 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3494 * config/nds32/isr-library/restore_partial.inc: Ditto.
3495 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3496 * config/nds32/isr-library/save_all.inc: Ditto.
3497 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3498 * config/nds32/isr-library/save_partial.inc: Ditto.
3499 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3500 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3501
2b1969f6
JDA
35022018-08-11 John David Anglin <danglin@gcc.gnu.org>
3503
3504 * config/pa/linux-atomic.c: Update comment.
3505 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3506 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3507 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3508 __ATOMIC_RELAXED for atomic loads.
3509 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3510 unordered store to release lock.
3511 (__sync_lock_release_8): Likewise.
3512 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3513
89fff9cc
NP
35142018-08-02 Nicolas Pitre <nico@fluxnic.net>
3515
3516 PR libgcc/86512
3517 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3518 exponent goes negative. Update my email address.
3519 * config/arm/ieee754-sf.S: Likewise.
3520
fd2e1dcd
ML
35212018-08-01 Martin Liska <mliska@suse.cz>
3522
3523 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3524 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3525
b7415975
CL
35262018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3527
3528 * config/arm/ieee754-df.S: Fix comment for code working on
3529 architectures >= 4.
3530 * config/arm/ieee754-sf.S: Likewise.
3531
b72e71a3
L
35322018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3533
3534 PR libgcc/85334
3535 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3536 Removed.
3537
1c686aa4
JC
35382018-07-05 James Clarke <jrtc27@jrtc27.com>
3539
3540 * configure: Regenerated.
3541
b61c9b99
RO
35422018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3543
3544 * Makefile.in (install_leaf): Use enable_gcov instead of
3545 enable_libgcov.
3546
1765b023
RV
35472018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3548
3549 * configure.ac: Add --disable-gcov option.
3550 * configure: Regenerate.
3551 * Makefile.in: Honour @enable_gcov@.
3552
9b2e34ef
CL
35532018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3554
3555 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3556 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3557 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3558 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3559 __ARM_ARCH__.
3560 * config/arm/ieee754-sf.S: Likewise.
3561 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3562
d1b0dd54
CL
35632018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3564
3565 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3566 longer supported.
3567 * config/arm/ieee754-sf.S: Likewise.
3568
1f3fa525
TM
35692018-06-20 Than McIntosh <thanm@google.com>
3570
3571 PR libgcc/86213
3572 * generic-morestack.c (allocate_segment): Move calls to getenv and
3573 getpagesize to __morestack_load_mmap.
3574 (__morestack_load_mmap) Initialize static_pagesize and
3575 use_guard_page here so as to avoid clobbering SSE regs during a
3576 __morestack call.
3577
6a8886e4
MM
35782018-06-18 Michael Meissner <meissner@linux.ibm.com>
3579
3580 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3581 support modules with -mno-gnu-attribute.
3582 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3583
fb997097
OH
35842018-06-07 Olivier Hainque <hainque@adacore.com>
3585
3586 * config/t-vxworks (LIBGCC_INCLUDES): Add
3587 -I$(MULTIBUILDTOP)../../gcc/include.
3588 * config/t-vxworks7: Likewise. Reformat a bit to match
3589 the t-vxworks layout.
3590
a548a5a1
OM
35912018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3592
3593 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3594
244aebfd
ML
35952018-06-07 Martin Liska <mliska@suse.cz>
3596
3597 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3598 all_prg.
244aebfd 3599
6c086e8c
ML
36002018-06-07 Martin Liska <mliska@suse.cz>
3601
92a285c1 3602 PR bootstrap/86057
6c086e8c 3603 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3604 memcpy instead of mempcpy.
6c086e8c 3605 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3606 prefix and set it.
6c086e8c 3607 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3608 here and properly copy content into it.
6c086e8c 3609 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3610 field, change prefix from size_t into char *.
6c086e8c
ML
3611 (compute_summary): Do not calculate longest filename.
3612 (gcov_do_dump): Release memory of gf.filename after each file.
3613 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3614 compute_summary.
6c086e8c
ML
3615 (calculate_overlap): Likewise.
3616
97a53d1d
ML
36172018-06-05 Martin Liska <mliska@suse.cz>
3618
3619 PR gcov-profile/47618
3620 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3621 function.
97a53d1d
ML
3622 (gcov_exit_open_gcda_file): Use it.
3623
7f3577f5
ML
36242018-06-05 Martin Liska <mliska@suse.cz>
3625
3626 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3627 of gcov_ctr_summary.
3628 (compute_summary): Do it just for a single summary.
3629 (merge_one_data): Likewise.
3630 (merge_summary): Simplify as we read just single summary.
3631 (dump_one_gcov): Pass proper argument.
3632 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3633 single summary.
3634 (gcov_info_count_all_cold): Likewise.
3635 (calculate_overlap): Likewise.
3636
cf3cd43d
CJW
36372018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3638 Monk Chiang <sh.chiang04@gmail.com>
3639
3640 * config.host (nds32*-linux*): New.
3641 * config/nds32/linux-atomic.c: New file.
3642 * config/nds32/linux-unwind.h: New file.
3643
8b8003ed
UB
36442018-05-31 Uros Bizjak <ubizjak@gmail.com>
3645
3646 PR target/85591
3647 * config/i386/cpuinfo.c (get_amd_cpu): Return
3648 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3649
bbdf026f
RV
36502018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3651
92a285c1 3652 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 3653
0e8f29da
ML
36542018-05-29 Martin Liska <mliska@suse.cz>
3655
92a285c1 3656 PR gcov-profile/85759
0e8f29da 3657 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 3658 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 3659 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 3660 overwrite a gcov file with a different timestamp.
0e8f29da 3661
54fd1590
K
36622018-05-23 Kalamatee <kalamatee@gmail.com>
3663
3664 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3665 path to Lf$finfty.
3666
09baee1a
KC
36672018-05-18 Kito Cheng <kito.cheng@gmail.com>
3668 Monk Chiang <sh.chiang04@gmail.com>
3669 Jim Wilson <jimw@sifive.com>
3670
3671 * config/riscv/save-restore.S: Add support for rv32e.
3672
c3f808d3
KT
36732018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3674
3675 * config/arm/libunwind.S: Update comment relating to armv5.
3676
fcf4f831
JL
36772018-05-17 Jerome Lambourg <lambourg@adacore.com>
3678
3679 * config/arm/cmse.c (cmse_check_address_range): Replace
3680 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3681
74b2bb19
OM
36822018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3683
3684 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3685 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3686
50e461df
OM
36872018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3688
3689 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3690 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3691
e5f1cdb1
AC
36922018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3693
3694 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3695
8f479d7a
AT
36962018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3697 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3698
3699 PR libgcc/84292
3700 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3701 op_and_fetch to return the right result.
3702
ae043291
AM
37032018-04-27 Alan Modra <amodra@gmail.com>
3704
3705 PR libgcc/85532
3706 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3707 -fno-asynchronous-unwind-tables.
3708
ba169b74
CJW
37092018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3710
3711 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3712 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3713
ffc2fc06
L
37142018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3715
3716 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3717 when including "config/i386/shadow-stack-unwind.h".
3718
7b47ecf2
L
37192018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3720
3721 * configure: Regenerated.
3722
661eb8f9
MM
37232018-04-20 Michael Meissner <meissner@linux.ibm.com>
3724
3725 PR target/85456
3726 * config/rs6000/_powikf2.c: New file. Add support for the
3727 __builtin_powil function when long double is IEEE 128-bit floating
3728 point.
3729 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3730 __powikf2 support.
3731 (__powikf2): Likewise.
3732 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3733 (__powikf2_hw): Likewise.
3734 (__powikf2): Likewise.
3735 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3736 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3737 (_powikf2-hw.c): Likewise.
3738
5707be3c
L
37392018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 PR libgcc/85334
3742 * unwind-generic.h (_Unwind_Frames_Increment): New.
3743 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3744 Likewise.
3745 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3746 count with _Unwind_Frames_Increment.
3747 (_Unwind_ForcedUnwind_Phase2): Likewise.
3748
5f9ca0b8
L
37492018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 PR libgcc/85379
3752 * config/i386/morestack.S (__stack_split_initialize): Add
3753 _CET_ENDBR.
3754
a0e1df88
JJ
37552018-04-19 Jakub Jelinek <jakub@redhat.com>
3756
3757 * configure: Regenerated.
3758
001ddaa8
DM
37592018-04-18 David Malcolm <dmalcolm@redhat.com>
3760
3761 PR jit/85384
3762 * configure: Regenerate.
3763
a57f99ba
JJ
37642018-04-16 Jakub Jelinek <jakub@redhat.com>
3765
3766 PR target/84945
3767 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3768 -Wdangling-else warnings. Mask shift counts to avoid
3769 -Wshift-count-negative and -Wshift-count-overflow false positives.
3770
4d47fe5a
RB
37712018-04-06 Ruslan Bukin <br@bsdpad.com>
3772
3773 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3774
059cc8ac
L
37752018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3776
3777 PR target/85100
3778 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3779 (XSTATE_FP): Likewise.
3780 (XSTATE_SSE): Likewise.
3781 (XSTATE_YMM): Likewise.
3782 (XSTATE_OPMASK): Likewise.
3783 (XSTATE_ZMM): Likewise.
3784 (XSTATE_HI_ZMM): Likewise.
3785 (XCR_AVX_ENABLED_MASK): Likewise.
3786 (XCR_AVX512F_ENABLED_MASK): Likewise.
3787 (get_available_features): Enable AVX and AVX512 features only
3788 if their states are supported by OSXSAVE.
3789
f2620385
IT
37902018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3791
3792 PR target/85025
3793 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3794 Fix a typo, tmp => 255.
3795
ae6dca8c
JJ
37962018-03-20 Jakub Jelinek <jakub@redhat.com>
3797
3798 PR target/84945
3799 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3800 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3801 ifndef SHARED only.
3802 (set_feature): Define.
3803 (get_available_features): Use set_feature macro. Set __cpu_features2
3804 to the second word of features ifndef SHARED.
3805
c36b04c1
JK
38062018-03-15 Julia Koval <julia.koval@intel.com>
3807
3808 * config/i386/cpuinfo.c (get_available_features): Add
3809 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3810 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3811 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3812 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3813 FEATURE_AVX512BITALG.
3814
79ab5364
JK
38152018-03-14 Julia Koval <julia.koval@intel.com>
3816
3817 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3818 icelake client and icelake server.
3819
66a00b11
JDA
38202018-03-06 John David Anglin <danglin@gcc.gnu.org>
3821
3822 * config/pa/fptr.c (_dl_read_access_allowed): New.
3823 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3824
ce579a4f
JJ
38252018-02-28 Jakub Jelinek <jakub@redhat.com>
3826
3827 PR debug/83917
3828 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3829 $asm_hidden_op if visibility ("hidden") attribute works.
3830 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3831 * config/i386/i386-asm.h: Don't include auto-host.h.
3832 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3833 PACKAGE_URL): Don't undefine.
3834 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3835 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3836 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3837 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3838 definition instead of hardcoded .hidden.
3839 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3840 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3841 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3842 (USE_GAS_CFI_DIRECTIVES): Don't define.
3843 * configure: Regenerated.
3844 * config.in: Likewise.
3845
e5868319
JJ
38462018-02-26 Jakub Jelinek <jakub@redhat.com>
3847
3848 PR debug/83917
3849 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3850 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3851 inclusion of auto-target.h and auto-host.h.
3852 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3853 __GCC_HAVE_DWARF2_CFI_ASM.
3854 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3855 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3856 cfi_pop): Define.
3857 * config/i386/cygwin.S: Don't include auto-host.h here, just
3858 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3859 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3860 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3861 * config/i386/resms64fx.h: Add cfi_* directives.
3862 * config/i386/resms64x.h: Likewise.
3863
faef260e
MF
38642018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3865
3866 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3867 .literal_position directive.
3868 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3869
14e335ed
IT
38702018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3871
3872 PR target/84148
3873 * configure: Regenerate.
3874
95df0433
IT
38752018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3876
3877 PR target/84239
3878 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3879 Include cetintrin.h not x86intrin.h.
3880
f8de876d
IT
38812018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3882
3883 PR target/84239
95df0433 3884 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3885 Use new _get_ssp and _inc_ssp intrinsics.
3886
02da1e9c
JK
38872018-02-02 Julia Koval <julia.koval@intel.com>
3888
3889 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3890
048c6a9a
CZ
38912018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3892
3893 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3894 option.
3895 (__divsi3): Use RF16 safe registers.
3896 (__modsi3): Likewise.
3897
0889f168
MF
38982018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3899
3900 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3901 (__divsf3): Make NaN return value quiet.
3902 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3903 (__divdf3): Make NaN return value quiet.
3904
bc8b0d04
SP
39052018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3906
3907 * config/rl78/anddi3.S: New assembly file.
3908 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3909
99cc06ea
SP
39102018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3911
3912 * config/rl78/umindi3.S: New assembly file.
3913 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3914
6e9007a0
SP
39152018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3916
3917 * config/rl78/smindi3.S: New assembly file.
3918 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3919
d975e494 39202018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3921
d975e494
SP
3922 * config/rl78/smaxdi3.S: New assembly file.
3923 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3924
6a18c146 39252018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3926
5dd16013
SP
3927 * config/rl78/umaxdi3.S: New assembly file.
3928 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3929
07baf4a5
JDA
39302018-01-21 John David Anglin <danglin@gcc.gnu.org>
3931
3932 PR lto/83452
3933 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3934 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3935
dbc3af4f
RS
39362018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3937
3938 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3939 (DWARF_LAZY_REGISTER_VALUE): Define.
3940 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3941 to provide a fallback register value.
3942
68df9882
MM
39432018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3944
3945 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3946 __ibm128, instead of trying to use long double.
3947 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3948 accomidate -mabi=ieeelongdouble multilibs.
3949 (CVT_IBM128_TO_FLOAT128): Likewise.
3950 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3951 the appropriate IBM extended double type.
3952 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3953 (__gcc_qsub): Likewise.
3954 (__gcc_qmul): Likewise.
3955 (__gcc_qdiv): Likewise.
3956 (pack_ldouble): Likewise.
3957 (__gcc_qneg): Likewise.
3958 (__gcc_qeq): Likewise.
3959 (__gcc_qne): Likewise.
3960 (__gcc_qge): Likewise.
3961 (__gcc_qle): Likewise.
3962 (__gcc_stoq): Likewise.
3963 (__gcc_dtoq): Likewise.
3964 (__gcc_itoq): Likewise.
3965 (__gcc_utoq): Likewise.
3966 (__gcc_qunord): Likewise.
3967 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3968 quad-float128.h for the definitions.
3969 (COPYSIGN): Use the f128 version instead of the q version.
3970 (INFINITY): Likewise.
3971 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3972 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3973 quad-float128.h for the definitions.
3974 (COPYSIGN): Use the f128 version instead of the q version.
3975 (INFINITY): Likewise.
3976 (FABS): Likewise.
3977 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3978 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3979 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3980
64b371b1
SH
39812018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3982
3983 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3984 configuration.
3985
85ec4feb
JJ
39862018-01-03 Jakub Jelinek <jakub@redhat.com>
3987
3988 Update copyright years.
3989
39902017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3991
3992 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3993 * config/riscv/multi3.c: New file.
3994 * config/riscv/multi3.S: Remove.
3995
3a4c600f
JW
39962017-12-08 Jim Wilson <jimw@sifive.com>
3997
3998 * config/riscv/div.S: Use FUNC_* macros.
3999 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4000 * config/riscv/save-restore.S: Likewise.
4001 * config/riscv/riscv-asm.h: New.
4002
75ad35b5
MM
40032017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4004
6ae3512c
MM
4005 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4006 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4007
75ad35b5
MM
4008 PR libgcc/83112
4009 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4010 correct type for all ifunc resolvers to silence -Wattribute-alias
4011 warnings. Eliminate the forward declaration of the resolver
4012 functions which is no longer needed.
4013 (__subkf3_resolve): Likewise.
4014 (__mulkf3_resolve): Likewise.
4015 (__divkf3_resolve): Likewise.
4016 (__negkf2_resolve): Likewise.
4017 (__eqkf2_resolve): Likewise.
4018 (__nekf2_resolve): Likewise.
4019 (__gekf2_resolve): Likewise.
4020 (__gtkf2_resolve): Likewise.
4021 (__lekf2_resolve): Likewise.
4022 (__ltkf2_resolve): Likewise.
4023 (__unordkf2_resolve): Likewise.
4024 (__extendsfkf2_resolve): Likewise.
4025 (__extenddfkf2_resolve): Likewise.
4026 (__trunckfsf2_resolve): Likewise.
4027 (__trunckfdf2_resolve): Likewise.
4028 (__fixkfsi_resolve): Likewise.
4029 (__fixkfdi_resolve): Likewise.
4030 (__fixunskfsi_resolve): Likewise.
4031 (__fixunskfdi_resolve): Likewise.
4032 (__floatsikf_resolve): Likewise.
4033 (__floatdikf_resolve): Likewise.
4034 (__floatunsikf_resolve): Likewise.
4035 (__floatundikf_resolve): Likewise.
4036 (__extendkftf2_resolve): Likewise.
4037 (__trunctfkf2_resolve): Likewise.
4038
4039 PR libgcc/83103
4040 * config/rs6000/quad-float128.h (TF): Don't define if long double
4041 is IEEE 128-bit floating point.
4042 (TCtype): Define as either TCmode or KCmode, depending on whether
4043 long double is IEEE 128-bit floating point.
4044 (__mulkc3_sw): Add declarations for software/hardware versions of
4045 complex multiply/divide.
4046 (__divkc3_sw): Likewise.
4047 (__mulkc3_hw): Likewise.
4048 (__divkc3_hw): Likewise.
4049 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4050 handlers to switch between using software emulation and hardware
4051 float128 instructions, build the complex multiply/divide functions
4052 for both software and hardware support.
4053 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4054 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4055 (__divkc3_resolve): Likewise.
4056 (__mulkc3): Likewise.
4057 (__divkc3): Likewise.
4058 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4059 (fp128_hw_src): Likewise.
4060 (fp128_hw_static_obj): Likewise.
4061 (fp128_hw_shared_obj): Likewise.
4062 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4063 _mulkc3.c and _divkc3.c, changing the function name.
4064 (_divkc3-hw.c): Likewise.
4065 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4066 and _divkc3-hw.c.
4067
c234d831
UB
40682017-11-26 Julia Koval <julia.koval@intel.com>
4069
4070 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4071 * config/i386/cpuinfo.h (processor_subtypes): Add
4072 INTEL_COREI7_CANNONLAKE.
4073
1ebafce0
IT
40742017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4075
4076 PR bootstrap/83015
4077 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4078 parameter.
4079 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4080 * config/ia64/unwind-ia64.c: Add frames parameter.
4081 * unwind-sjlj.c: Likewise.
4082
6a10fff4
IT
40832017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4084
4085 * config/i386/linux-unwind.h: Include
4086 config/i386/shadow-stack-unwind.h.
4087 * config/i386/shadow-stack-unwind.h: New file.
4088 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4089 pass it to _Unwind_Frames_Extra.
4090 * unwind-generic.h (_Unwind_Frames_Extra): New.
4091 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4092 parameter. Add local variable frames to count number of frames.
4093 (_Unwind_ForcedUnwind_Phase2): Likewise.
4094 (_Unwind_RaiseException): Add local variable frames to count
4095 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4096 uw_install_context.
4097 (_Unwind_ForcedUnwind): Likewise.
4098 (_Unwind_Resume): Likewise.
4099 (_Unwind_Resume_or_Rethrow): Likewise.
4100
1ecae1fc
IT
41012017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4102
4103 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4104 (CET_FLAGS): New.
4105 * config/i386/morestack.S: Include <cet.h>.
4106 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4107 * config/i386/resms64.h: Include <cet.h>.
4108 * config/i386/resms64f.h: Likewise.
4109 * config/i386/resms64fx.h: Likewise.
4110 * config/i386/resms64x.h: Likewise.
4111 * config/i386/savms64.h: Likewise.
4112 * config/i386/savms64f.h: Likewise.
4113 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4114 (CRTSTUFF_T_CFLAGS): Likewise.
4115 * configure.ac: Include ../config/cet.m4.
4116 Set and substitute CET_FLAGS.
4117 * configure: Regenerated.
4118
f021f1d3
RO
41192017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4120
4121 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4122 renaming.
4123 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4124 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4125 * configure: Regenerate.
4126
65f480c7
TV
41272017-11-07 Tom de Vries <tom@codesourcery.com>
4128
4129 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4130 after "do {} while (0)".
4131
2a321acb
TV
41322017-11-07 Tom de Vries <tom@codesourcery.com>
4133
4134 PR other/82784
4135 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4136 semicolon after "do {} while (0)".
4137 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4138 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4139 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4140 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4141
59fcf6c3
AT
41422017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4143
4144 PR libgcc/82635
4145 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4146 sysctl to determine whether we're in a trampoline.
4147 Keep the pattern matching method for systems without
4148 KERN_PROC_SIGTRAMP sysctl.
4149
b0c7ddf8
CM
41502017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4151 Vineet Gupta <vgupta@synopsys.com>
4152
4153 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4154 * config/arc/linux-unwind-reg.def: New file.
4155 * config/arc/linux-unwind-reg.h: Likewise.
4156
5feee954
SP
41572017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4158
4159 * config/rl78/subdi3.S: New assembly file.
4160 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4161
a0bf6cf7
SP
41622017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4163
4164 * config/rl78/adddi3.S: New assembly file.
4165 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4166
e7176f75
JJ
41672017-10-13 Jakub Jelinek <jakub@redhat.com>
4168
4169 PR target/82274
4170 * libgcc2.c (__mulvDI3): If both operands have
4171 the same highpart of -1 and the topmost bit of lowpart is 0,
4172 multiplication overflows even if both lowparts are 0.
4173
db6601d2
JB
41742017-09-28 James Bowman <james.bowman@ftdichip.com>
4175
4176 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4177
938b6f1e
JM
41782017-09-26 Joseph Myers <joseph@codesourcery.com>
4179
4180 * config/microblaze/crti.S, config/microblaze/crtn.S,
4181 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4182 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4183 config/microblaze/mulsi3.S,
4184 config/microblaze/stack_overflow_exit.S,
4185 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4186 config/pa/milli64.S: Add .note.GNU-stack section.
4187
89762a83
DS
41882017-09-23 Daniel Santos <daniel.santos@pobox.com>
4189
4190 * configure.ac: Add Check for HAVE_AS_AVX.
4191 * config.in: Regenerate.
4192 * configure: Likewise.
4193 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4194 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4195 Correct out-of-date comments.
4196
cace2309
SP
41972017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4198
4199 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4200 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4201
3cb626e4
DS
42022017-09-17 Daniel Santos <daniel.santos@pobox.com>
4203
cace2309 4204 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4205 (ASMNAME): Modify to use PASTE2.
4206 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4207 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4208 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4209 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4210 * config/i386/resms64f.S: Likewise.
4211 * config/i386/resms64fx.S: Likewise.
4212 * config/i386/resms64x.S: Likewise.
4213 * config/i386/savms64.S: Likewise.
4214 * config/i386/savms64f.S: Likewise.
4215 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4216 includes it's corresponding header file.
cace2309
SP
4217 * config/i386/avx_resms64f.S: Likewise.
4218 * config/i386/avx_resms64fx.S: Likewise.
4219 * config/i386/avx_resms64x.S: Likewise.
4220 * config/i386/avx_savms64.S: Likewise.
4221 * config/i386/avx_savms64f.S: Likewise.
4222 * config/i386/sse_resms64.S: Likewise.
4223 * config/i386/sse_resms64f.S: Likewise.
4224 * config/i386/sse_resms64fx.S: Likewise.
4225 * config/i386/sse_resms64x.S: Likewise.
4226 * config/i386/sse_savms64.S: Likewise.
4227 * config/i386/sse_savms64f.S: Likewise.
4228 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4229
2f19c491 42302017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4231 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4232
611e7036
OH
42332017-08-31 Olivier Hainque <hainque@adacore.com>
4234
4235 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4236 match as powerpc-wrs-vxworks*.
4237
c8f34527
JY
42382017-08-07 Jonathan Yong <10walls@gmail.com>
4239
4240 * config.host (*-cygwin): Include file from mingw
4241 config/i386/enable-execute-stack-mingw32.c
4242
0b458d2b 42432017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
4244 Doug Rupp <rupp@adacore.com>
4245 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
4246
4247 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4248 as well as arm-wrs-vxworks.
4249 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4250 LIB2ADDEH.
4251 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4252 __exidx_start and __exidx_end for downloadable modules.
4253
4df612fa
OH
42542017-08-01 Olivier Hainque <hainque@adacore.com>
4255
4256 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4257 * config/t-vxworks7: Likewise.
4258
5560e8c0
OH
42592017-08-01 Olivier Hainque <hainque@adacore.com>
4260
4261 * config/t-vxworks: Instead of redefining LIB2ADD,
4262 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4263
16bab95a
SH
42642017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4265
4266 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4267
9cbc07cc
DS
42682017-07-24 Daniel Santos <daniel.santos@pobox.com>
4269
4270 PR testsuite/80759
4271 * config.host: include i386/t-msabi for darwin and solaris.
4272 * config/i386/i386-asm.h
4273 (ELFFN): Rename to FN_TYPE.
4274 (FN_SIZE): New macro.
4275 (FN_HIDDEN): Likewise.
4276 (ASMNAME): Likewise.
4277 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4278 .globl.
4279 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4280 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4281 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4282 .macro.
4283 * config/i386/resms64f.S: Likewise.
4284 * config/i386/resms64fx.S: Likewise.
4285 * config/i386/resms64x.S: Likewise.
4286 * config/i386/savms64.S: Likewise.
4287 * config/i386/savms64f.S: Likewise.
4288
de742204
JM
42892017-07-19 John Marino <gnugcc@marino.st>
4290
4291 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4292
3787ee47
MM
42932017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4294
4295 PR target/81193
4296 * configure.ac (PowerPC float128 hardware support): Test whether
4297 we can use __builtin_cpu_supports before enabling the ifunc
4298 handler.
4299 * configure: Regenerate.
4300
b1938888
VG
43012017-07-10 Vineet Gupta <vgupta@synopsys.com>
4302
4303 * config.host: Remove uclibc from arc target spec.
4304
bec75e53
KW
43052017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4306
4307 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4308
d4391a62
PB
43092017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4310
4311 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4312 (have_ieee_hw_p): Delete function.
4313 (SW_OR_HW) Use __builtin_cpu_supports().
4314
9296dd9b
TP
43152017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4316
4317 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4318
b85a969e
OH
43192017-07-03 Olivier Hainque <hainque@adacore.com>
4320
d4391a62 4321 * config/t-vxworks7: New file, really.
b85a969e 4322
883312dc
JM
43232017-06-28 Joseph Myers <joseph@codesourcery.com>
4324
4325 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4326 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4327 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4328 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4329 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4330 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4331 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4332 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4333 config/sh/linux-unwind.h (sh_fallback_frame_state),
4334 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4335 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4336 ucontext_t instead of struct ucontext.
4337
50567938
JL
43382017-06-27 Jerome Lambourg <lambourg@adacore.com>
4339
4340 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4341 (x86_64-wrs-vxworks7): Likewise.
4342
e4b0df93
OH
43432017-06-27 Olivier Hainque <hainque@adacore.com>
4344
4345 * config/t-vxworks7: New file.
4346 * config.host (*-*-vxworks7): Use it.
4347
60edf8bb
MT
43482017-06-22 Matt Turner <mattst88@gmail.com>
4349
4350 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4351 skylake case.
4352
a51a76e5
RB
43532017-06-21 Richard Biener <rguenther@suse.de>
4354
4355 PR gcov-profile/81080
4356 * configure.ac: Add AC_SYS_LARGEFILE.
4357 * libgcov.h: Include auto-target.h before tsystem.h to pick
4358 up _FILE_OFFSET_BITS which might differ for multilibs.
4359 * config.in: Regenerate.
4360 * configure: Likewise.
4361
f0cd49c5
RE
43622017-06-16 Richard Earnshaw <rearnsha@arm.com>
4363
4364 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4365
4f751c54
ML
43662017-06-09 Martin Liska <mliska@suse.cz>
4367
4368 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4369 Reset __gcov_indirect_call_callee to NULL.
4370
1ac644c8
OH
43712017-06-08 Olivier Hainque <hainque@adacore.com>
4372
4373 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4374 the set of -I options, support for direct inclusions of net/uio.h
4375 by VxWorks header files via ioLib.h.
4376
d8b9cd27
TR
43772017-06-07 Tony Reix <tony.reix@atos.net>
4378 Matthieu Sarter <matthieu.sarter.external@atos.net>
4379 David Edelsohn <dje.gcc@gmail.com>
4380
92a285c1
ML
4381 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4382 unconditionally.
4383 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4384 AIX 7.2 support.
d8b9cd27 4385
38a75ccc
OH
43862017-06-02 Olivier Hainque <hainque@adacore.com>
4387
4388 * config/vxlib.c (__gthread_once): Add missing value to
4389 return statement.
4390
5b2edf53
OH
43912017-05-30 Olivier Hainque <hainque@adacore.com>
4392
4393 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4394 dollar sign before $(MULTIDIR).
4395
7d66e265
RH
43962017-05-26 Richard Henderson <rth@redhat.com>
4397
4398 PR libgcc/80037
4399 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4400
78eca309
AT
44012017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4402
4403 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4404 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4405 * config/arm/unwind-arm.c: Implement the above.
4406
c39d309a
AZ
44072017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4408
4409 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4410 section for a non-executable stack.
4411
eac8c9f2
KW
44122017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4413
4414 PR target/80600
4415 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4416
d6d4d770
DS
44172017-05-14 Daniel Santos <daniel.santos@pobox.com>
4418
4419 * config.host: Add i386/t-msabi to i386/t-linux file list.
4420 * config/i386/i386-asm.h: New file.
4421 * config/i386/resms64.S: New file.
4422 * config/i386/resms64f.S: New file.
4423 * config/i386/resms64fx.S: New file.
4424 * config/i386/resms64x.S: New file.
4425 * config/i386/savms64.S: New file.
4426 * config/i386/savms64f.S: New file.
4427 * config/i386/t-msabi: New file.
4428
8ef2b9a7
AT
44292017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4430
4431 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4432 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4433
7ab8766a
JC
44342017-05-05 Joshua Conner <joshconner@google.com>
4435
4436 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4437 pc-relative indirect handling for fuchsia.
4438 * config/t-slibgcc-fuchsia: New file.
4439 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4440 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4441
46928a8f
ML
44422017-04-19 Martin Liska <mliska@suse.cz>
4443
4444 PR gcov-profile/80435
4445 * Makefile.in: Install gcov.h.
4446 * gcov.h: New file.
4447 * libgcov.h: Use the header and make __gcov_flush publicly
4448 visible.
4449
63971184
ML
44502017-04-18 Martin Liska <mliska@suse.cz>
4451
4452 PR gcov-profile/78783
4453 * libgcov-driver.c (gcov_get_filename): New function.
4454
29d8aae6
JL
44552017-04-07 Jeff Law <law@redhat.com>
4456
4457 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4458 target makefile fragment.
4459 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4460
2bdf7fc6
AM
44612017-04-07 Alan Modra <amodra@gmail.com>
4462
4463 PR target/45053
4464 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4465
5764ee3c
JW
44662017-04-03 Jonathan Wakely <jwakely@redhat.com>
4467
4468 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4469
c4192ad7
CZ
44702017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4471
4472 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4473
4ccfdb28
JM
44742017-03-10 John Marino <gnugcc@marino.st>
4475
4476 * config/aarch64/freebsd-unwind.h: New file.
4477 * config.host: Add aarch64-*-freebsd unwinder.
4478
4144e4e3
SB
44792017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4480
4481 * config/rs6000/crtrestvr.s: Use .machine altivec.
4482 * config/rs6000/crtsavevr.s: Ditto.
4483
7502c597
SB
44842017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4485
4486 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4487 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4488 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4489 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4490 * configure: Regenerate.
4491 * config.in: Regenerate.
4492
db9f7f65
JY
44932017-03-02 Jonathan Yong <10walls@gmail.com>
4494
4495 * config/i386/gthr-win32.h: Define NOGDI before
4496 windows.h include to prevent w32api CC_NONE macro
4497 clash with libgfortran.
4498
126437c5
JY
44992017-03-02 Jonathan Yong <10walls@gmail.com>
4500
4501 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4502
31927af6
AP
45032017-02-16 Andrew Pinski <apinski@cavium.com>
4504
4505 * config/aarch64/value-unwind.h: New file.
4506 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4507 to tm_file.
4508
0bd99911
PD
45092017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4510
4511 * config.host: Add RISC-V tuples.
4512 * config/riscv/atomic.c: New file.
4513 * config/riscv/crti.S: Likewise.
4514 * config/riscv/crtn.S: Likewise.
4515 * config/riscv/div.S: Likewise.
4516 * config/riscv/linux-unwind.h: Likewise.
4517 * config/riscv/muldi3.S: Likewise.
4518 * config/riscv/multi3.S: Likewise.
4519 * config/riscv/save-restore.S: Likewise.
4520 * config/riscv/sfp-machine.h: Likewise.
4521 * config/riscv/t-elf: Likewise.
4522 * config/riscv/t-elf32: Likewise.
4523 * config/riscv/t-elf64: Likewise.
4524 * config/riscv/t-softfp32: Likewise.
4525 * config/riscv/t-softfp64: Likewise.
4526
a8c9ef2a
JJ
45272017-01-24 Jakub Jelinek <jakub@redhat.com>
4528
4529 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4530 /* FALLTHRU */ comments.
4531
c6c82710
GP
45322017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4533
4534 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4535
a876231c
JW
45362017-01-20 Jiong Wang <jiong.wang@arm.com>
4537
4538 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4539 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4540 DW_CFA_GNU_window_save for AArch64 and LP64.
4541
aa348be2
JW
45422017-01-20 Jiong Wang <jiong.wang@arm.com>
4543
4544 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4545
5636faf2
JW
45462017-01-19 Jiong Wang <jiong.wang@arm.com>
4547
4548 * config/aarch64/aarch64-unwind.h: New file.
4549 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4550 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4551 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4552 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4553 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4554 (aarch64_post_extract_frame_addr): New function.
4555 (aarch64_post_frob_eh_handler_addr): New function.
4556 (aarch64_frob_update_context): New function.
4557 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4558 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4559 aarch64*-*-freebsd*):
4560 Initialize md_unwind_header to include aarch64-unwind.h.
4561 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4562 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4563 __aarch64__.
4564 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4565 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4566 (uw_frob_return_addr): New function.
4567 (uw_install_context): Use uw_frob_return_addr.
4568
3c36aa6b
JJ
45692017-01-17 Jakub Jelinek <jakub@redhat.com>
4570
4571 PR other/79046
4572 * configure.ac: Add GCC_BASE_VER.
4573 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4574 version from BASE-VER file.
4575 * configure: Regenerated.
4576
829afb8f
JS
45772017-01-13 Joe Seymour <joe.s@somniumtech.com>
4578
4579 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4580 libmul_f5.a): Filter archived prerequisites.
4581
79fc8ffe
AS
45822017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4583
4584 * config/i386/cpuinfo.h (processor_features): Add
4585 FEATURE_AVX512VPOPCNTDQ.
4586 * config/i386/cpuinfo.c (get_available_features): Habdle new
4587 feature.
4588
fec5f4e0
JM
45892017-01-04 Joseph Myers <joseph@codesourcery.com>
4590
4591 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4592 payload if [__mips_nan2008].
4593
8f56cb51
AM
45942017-01-04 Alan Modra <amodra@gmail.com>
4595
4596 * Makefile.in (configure_deps): Update.
4597 * configure: Regenerate.
4598
cbe34bb5
JJ
45992017-01-01 Jakub Jelinek <jakub@redhat.com>
4600
4601 Update copyright years.
4602
ab955692
KW
46032016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4604
4605 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4606 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4607 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4608
de34320f
MK
46092016-12-17 Matthias Klose <doko@ubuntu.com>
4610
4611 * config/arc/gmon: Remove empty directory.
4612
e04ea1da
CZ
46132016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4614
4615 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4616 crtgend.
4617 (arc*-*-elf*): Likewise.
4618 * config/arc/t-arc: Remove old gmon lib targets.
4619 * config/arc/crtg.S: Remove.
4620 * config/arc/crtgend.S: Likewise.
4621 * config/arc/gmon/atomic.h: Likewise.
4622 * config/arc/gmon/auxreg.h: Likewise.
4623 * config/arc/gmon/dcache_linesz.S: Likewise.
4624 * config/arc/gmon/gmon.c: Likewise.
4625 * config/arc/gmon/machine-gmon.h: Likewise.
4626 * config/arc/gmon/mcount.c: Likewise.
4627 * config/arc/gmon/prof-freq-stub.S: Likewise.
4628 * config/arc/gmon/prof-freq.c: Likewise.
4629 * config/arc/gmon/profil.S: Likewise.
4630 * config/arc/gmon/sys/gmon.h: Likewise.
4631 * config/arc/gmon/sys/gmon_out.h: Likewise.
4632 * config/arc/t-arc-newlib: Likewise.
4633 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4634
8ae1c2c1
GS
46352016-12-12 George Spelvin <linux@sciencehorizons.net>
4636
4637 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4638
a5b947fa
GS
46392016-12-12 George Spelvin <linux@sciencehorizons.net>
4640
4641 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4642 R16 instead of push + pop.
4643 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4644
d6574dd1
KW
46452016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4646
4647 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4648 tmake_file.
4649
62440b4f
CM
46502016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4651
4652 * config.host (arc*-*-linux-uclibc*): Use default extra
4653 objects. Include linux-android header.
4654 * config/arc/crti.S (_init): Declare symbol as function.
4655 (_fini): Likewise.
4656
31cfd832
TK
46572016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4658
4659 PR fortran/78379
4660 * config/i386/cpuinfo.c: Move denums for processor vendors,
4661 processor type, processor subtypes and declaration of
4662 struct __processor_model into
4663 * config/i386/cpuinfo.h: New header file.
4664
c92e08e3
AV
46652016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4666 Thomas Preud'homme <thomas.preudhomme@arm.com>
4667
4668 * config/arm/cmse_nonsecure_call.S: New.
4669 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4670
de7b5723
AV
46712016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4672 Thomas Preud'homme <thomas.preudhomme@arm.com>
4673
4674 * config/arm/t-arm (HAVE_CMSE): New.
4675 * config/arm/cmse.c: New.
4676
7a0d2bce
TP
46772016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4678
b3a5bff4
TP
4679 PR gcc/74748
4680 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4681 use generic linker version information on Blackfin.
4682
7a0d2bce
TP
4683 PR gcc/74748
4684 * libgcc/mkmap-symver.awk: add support for skip_underscore
4685
b410cf1d
IS
46862016-11-27 Iain Sandoe <iain@codesourcery.com>
4687 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4688
4689 PR target/67710
4690 * config/t-darwin: Default builds to 10.5 codegen.
4691
2e5f8203
JG
46922016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4693
4694 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4695 (_FP_NANSIGN_H): Likewise.
4696 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4697 (softfp_truncations): Add tfhf.
4698 (softfp_extras): Add required conversion functions.
4699
bea64ca3
JG
47002016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4701 Matthew Wahab <matthew.wahab@arm.com>
4702
4703 * config/arm/fp16.c (binary64): New.
4704 (__gnu_d2h_internal): New.
4705 (__gnu_d2h_ieee): New.
4706 (__gnu_d2h_alternative): New.
4707
8630cadb
JG
47082016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4709 Matthew Wahab <matthew.wahab@arm.com>
4710
4711 * config/arm/fp16.c (struct format): New.
4712 (binary32): New.
4713 (__gnu_float2h_internal): New. Body moved from
4714 __gnu_f2h_internal and generalize.
4715 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4716 Call it with binary32.
4717
5823ef23
JG
47182016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4719
4720 * soft-fp/extendhftf2.c: Update from glibc.
4721 * soft-fp/fixhfti.c: Likewise.
4722 * soft-fp/fixunshfti.c: Likewise.
4723 * soft-fp/floattihf.c: Likewise.
4724 * soft-fp/floatuntihf.c: Likewise.
4725 * soft-fp/half.h: Likewise.
4726 * soft-fp/trunctfhf2.c: Likewise.
4727
62a7df9f
MG
47282016-11-20 Marc Glisse <marc.glisse@inria.fr>
4729
4730 PR libgcc/77813
4731 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4732 __TMC_END__ behind a passthrough asm.
4733
7a384912
WL
47342016-11-18 Walter Lee <walt@tilera.com>
4735
62a7df9f 4736 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4737
9775c1a5
L
47382016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4739
4740 * config/i386/cpuinfo.c (processor_features): Add
4741 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4742
48c842ab
CZ
47432016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4744
4745 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4746 (__ARC_NORM__): Use instead ARC_OPTFPE.
4747 * config/arc/fp-hack.h: Likewise.
4748 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4749 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4750
5012919d
AM
47512016-11-16 Alexander Monakov <amonakov@ispras.ru>
4752
4753 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4754 * config/nvptx/mgomp.c: New file.
4755 * config/nvptx/t-nvptx: Add mgomp.c
4756
00178b98
WB
47572016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4758
4759 PR libgcc/68468
4760 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4761
d64af69f
CZ
47622016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4763
4764 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4765 of checking for cpus.
4766 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4767 (__modsi3, __clzsi2): Likewise.
4768
9d8f95de
SN
47692016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4770
4771 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4772 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4773 * config/i386/t-cpuinfo-static: New.
4774
7d29f8e3
ML
47752016-11-03 Martin Liska <mliska@suse.cz>
4776
4777 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4778 (__gcov_time_profiler_atomic): Likewise.
4779
5de3e2d8
BE
47802016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4781
4782 PR libgcc/78067
4783 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4784 count_leading_zeros.
4785
18362447
UB
47862016-11-02 Uros Bizjak <ubizjak@gmail.com>
4787
4788 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4789 * libgcc2.c (__divmoddi4): New function.
4790 * libgcc2.h (__divmoddi4): Declare.
4791 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4792 and __PFX_divmodti4.
4793
33107571
FW
47942016-10-24 Florian Weimer <fweimer@redhat.com>
4795
4796 PR libgcc/78064
4797 * unwind-c.c: Include auto-target.h.
4798
4c6d7494
JDA
47992016-10-19 John David Anglin <danglin@gcc.gnu.org>
4800
18362447 4801 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4802 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4803 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4804 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4805 hppa*64*-*-hpux11*.
4806
2a26adf1
MF
48072016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4808
4809 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4810 definition.
4811 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4812 definition.
4813 * config/xtensa/t-windowed (LIB2ADDEH): Use
4814 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4815 or xtensa/t-linux.
4816
66192aa1
DKC
48172016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4818
4819 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4820 __ieee754_sqrt): New functions.
4821 (__divdf3): Add implementation with new FPU instructions under
4822 #if XCHAL_HAVE_DFP_DIV.
4823 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4824 __ieee754_sqrtf): New functions.
4825 (__divsf3): Add implementation with new FPU instructions under
4826 #if XCHAL_HAVE_FP_DIV.
4827 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4828 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4829
4d0cdd0c
TP
48302016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4831
4832 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4833 equivalent.
4834 * config/tilepro/atomic.c: Likewise and stop casting model to
4835 enum memmodel.
4836
73f01cca
JM
48372016-10-10 Joseph Myers <joseph@codesourcery.com>
4838
4839 PR target/77586
4840 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4841 soft-fp.
4842
b20e7532
AT
48432016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4844
4845 * config.host: Add support for aarch64-*-freebsd*.
4846
a786cec4
AS
48472016-10-05 Andreas Schwab <schwab@suse.de>
4848
4849 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4850 (.section .init_array): Don't call __do_jv_register_classes.
4851 (.section .init): Likewise.
4852
5a79befb
JJ
48532016-10-04 Jakub Jelinek <jakub@redhat.com>
4854
4855 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4856 (__JCR_LIST__): Remove.
4857 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4858 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4859 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4860 * config/ia64/crtend.S (__JCR_END__): Remove.
4861 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4862 conditionals.
4863 (__JCR_LIST__, __JCR_END__): Remove.
4864 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4865 (__do_global_ctors_1): Likewise.
4866
e0ab3753
UB
48672015-09-28 Uros Bizjak <ubizjak@gmail.com>
4868
4869 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4870 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4871
8c9434c2
ML
48722016-09-27 Martin Liska <mliska@suse.cz>
4873
4874 PR gcov-profile/7970
4875 PR gcov-profile/16855
4876 PR gcov-profile/44779
4877 * libgcov-driver.c (__gcov_init): Do not register a atexit
4878 handler.
4879 (__gcov_exit): Rename from gcov_exit.
4880 * libgcov.h (__gcov_exit): Declare.
4881
56b653f1
ML
48822016-09-27 Martin Liska <mliska@suse.cz>
4883
4884 PR bootstrap/77749
4885 * Makefile.in: Remove _gcov_merge_delta.
4886 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4887 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4888 * libgcov.h: Remove declaration of __gcov_merge_delta.
4889
7e02fd1b
EB
48902016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4891
4892 * configure.ac: Do not create links, only substitute the filenames.
4893 * configure: Regenerate.
4894 * Makefile.in: Assign the substitution results to variables.
4895 (LIBGCC_LINKS): Define.
4896 (enable-execute-stack.c): New rule.
4897 (unwind.h): Likewise.
4898 (md-unwind-support.h): Likewise.
4899 (sfp-machine.h): Likewise.
4900 (gthr-default.h): Likewise.
4901 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4902 unwind.h as prerequisite of install-unwind_h-forbuild.
4903
29991048
JJ
49042016-09-16 Jakub Jelinek <jakub@redhat.com>
4905
4906 PR libgcc/71744
4907 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4908 is not the primary registry and atomics are available.
4909 (any_objects_registered): New variable.
4910 (__register_frame_info_bases, __register_frame_info_table_bases):
4911 Atomically store 1 to any_objects_registered after registering first
4912 unwind info.
4913 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4914
0abcd6cc
JG
49152016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4916
4917 PR target/63250
4918 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4919 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4920 (HFtype): Likewise.
4921 (HCtype): Likewise.
4922 (__divhc3): Likewise.
4923 (__mulhc3): Likewise.
4924 * libgcc2.c: Support _mulhc3 and _divhc3.
4925
d758aeb5
JM
49262016-09-07 Joseph Myers <joseph@codesourcery.com>
4927
4928 PR libgcc/77519
4929 * libgcc2.c (NOTRUNC): Invert settings.
4930
7fe76f6a
ML
49312016-09-06 Martin Liska <mliska@suse.cz>
4932
4933 PR gcov-profile/77378
4934 PR gcov-profile/77466
4935 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4936 conditionaly enable/disable *_atomic functions.
4937
21184026
JM
49382016-08-26 Joseph Myers <joseph@codesourcery.com>
4939
4940 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4941 where not already enabled.
4942
726f49c3
SN
49432016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4944
4945 * config/mips/linux-unwind.h: Use sys/syscall.h.
4946
feeb6268
JM
49472016-08-16 Joseph Myers <joseph@codesourcery.com>
4948
4949 PR libgcc/77265
4950 * soft-fp/adddf3.c: Update from glibc.
4951 * soft-fp/addsf3.c: Likewise.
4952 * soft-fp/addtf3.c: Likewise.
4953 * soft-fp/divdf3.c: Likewise.
4954 * soft-fp/divsf3.c: Likewise.
4955 * soft-fp/divtf3.c: Likewise.
4956 * soft-fp/double.h: Likewise.
4957 * soft-fp/eqdf2.c: Likewise.
4958 * soft-fp/eqsf2.c: Likewise.
4959 * soft-fp/eqtf2.c: Likewise.
4960 * soft-fp/extenddftf2.c: Likewise.
4961 * soft-fp/extended.h: Likewise.
4962 * soft-fp/extendsfdf2.c: Likewise.
4963 * soft-fp/extendsftf2.c: Likewise.
4964 * soft-fp/extendxftf2.c: Likewise.
4965 * soft-fp/fixdfdi.c: Likewise.
4966 * soft-fp/fixdfsi.c: Likewise.
4967 * soft-fp/fixdfti.c: Likewise.
4968 * soft-fp/fixsfdi.c: Likewise.
4969 * soft-fp/fixsfsi.c: Likewise.
4970 * soft-fp/fixsfti.c: Likewise.
4971 * soft-fp/fixtfdi.c: Likewise.
4972 * soft-fp/fixtfsi.c: Likewise.
4973 * soft-fp/fixtfti.c: Likewise.
4974 * soft-fp/fixunsdfdi.c: Likewise.
4975 * soft-fp/fixunsdfsi.c: Likewise.
4976 * soft-fp/fixunsdfti.c: Likewise.
4977 * soft-fp/fixunssfdi.c: Likewise.
4978 * soft-fp/fixunssfsi.c: Likewise.
4979 * soft-fp/fixunssfti.c: Likewise.
4980 * soft-fp/fixunstfdi.c: Likewise.
4981 * soft-fp/fixunstfsi.c: Likewise.
4982 * soft-fp/fixunstfti.c: Likewise.
4983 * soft-fp/floatdidf.c: Likewise.
4984 * soft-fp/floatdisf.c: Likewise.
4985 * soft-fp/floatditf.c: Likewise.
4986 * soft-fp/floatsidf.c: Likewise.
4987 * soft-fp/floatsisf.c: Likewise.
4988 * soft-fp/floatsitf.c: Likewise.
4989 * soft-fp/floattidf.c: Likewise.
4990 * soft-fp/floattisf.c: Likewise.
4991 * soft-fp/floattitf.c: Likewise.
4992 * soft-fp/floatundidf.c: Likewise.
4993 * soft-fp/floatundisf.c: Likewise.
4994 * soft-fp/floatunditf.c: Likewise.
4995 * soft-fp/floatunsidf.c: Likewise.
4996 * soft-fp/floatunsisf.c: Likewise.
4997 * soft-fp/floatunsitf.c: Likewise.
4998 * soft-fp/floatuntidf.c: Likewise.
4999 * soft-fp/floatuntisf.c: Likewise.
5000 * soft-fp/floatuntitf.c: Likewise.
5001 * soft-fp/gedf2.c: Likewise.
5002 * soft-fp/gesf2.c: Likewise.
5003 * soft-fp/getf2.c: Likewise.
5004 * soft-fp/ledf2.c: Likewise.
5005 * soft-fp/lesf2.c: Likewise.
5006 * soft-fp/letf2.c: Likewise.
5007 * soft-fp/muldf3.c: Likewise.
5008 * soft-fp/mulsf3.c: Likewise.
5009 * soft-fp/multf3.c: Likewise.
5010 * soft-fp/negdf2.c: Likewise.
5011 * soft-fp/negsf2.c: Likewise.
5012 * soft-fp/negtf2.c: Likewise.
5013 * soft-fp/op-1.h: Likewise.
5014 * soft-fp/op-2.h: Likewise.
5015 * soft-fp/op-4.h: Likewise.
5016 * soft-fp/op-8.h: Likewise.
5017 * soft-fp/op-common.h: Likewise.
5018 * soft-fp/quad.h: Likewise.
5019 * soft-fp/single.h: Likewise.
5020 * soft-fp/soft-fp.h: Likewise.
5021 * soft-fp/subdf3.c: Likewise.
5022 * soft-fp/subsf3.c: Likewise.
5023 * soft-fp/subtf3.c: Likewise.
5024 * soft-fp/truncdfsf2.c: Likewise.
5025 * soft-fp/trunctfdf2.c: Likewise.
5026 * soft-fp/trunctfsf2.c: Likewise.
5027 * soft-fp/trunctfxf2.c: Likewise.
5028 * soft-fp/unorddf2.c: Likewise.
5029 * soft-fp/unordsf2.c: Likewise.
5030 * soft-fp/unordtf2.c: Likewise.
5031
2e6fc1ac
GG
50322016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5033
5034 PR gcov-profile/67097
5035 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5036
a266236e
ML
50372016-08-10 Martin Liska <mliska@suse.cz>
5038
5039 PR gcov-profile/58306
5040 * Makefile.in: New functions (modules) are added.
5041 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5042 function.
5043 (__gcov_pow2_profiler_atomic): New function.
5044 (__gcov_one_value_profiler_body): New argument is instroduced.
5045 (__gcov_one_value_profiler): Call with the new argument.
5046 (__gcov_one_value_profiler_atomic): Likewise.
5047 (__gcov_indirect_call_profiler_v2): Likewise.
5048 (__gcov_time_profiler_atomic): New function.
5049 (__gcov_average_profiler_atomic): Likewise.
5050 (__gcov_ior_profiler_atomic): Likewise.
5051 * libgcov.h: Declare the aforementioned functions.
5052
e0c8eebf
ML
50532016-08-09 Martin Liska <mliska@suse.cz>
5054
5055 * libgcov-util.c: Fix typo and GNU coding style.
5056
6dce6418
ML
50572016-08-09 Martin Liska <mliska@suse.cz>
5058
5059 * Makefile.in: Remove __gcov_indirect_call_profiler.
5060 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5061 function.
5062 * libgcov.h: And the declaration of the function.
5063
dcb1e137
ML
50642016-08-09 Martin Liska <mliska@suse.cz>
5065
5066 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5067 power of two.
5068
d6e69705
BS
50692016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5070
5071 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5072 * config/rs6000/_mulkc3.c: Likewise.
5073
96aa1f95
GJL
50742016-07-29 Georg-Johann Lay <avr@gjlay.de>
5075
5076 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5077 zero_reg as previous call to __umulhisi3 already cleared it.
5078
a1b01d34
AJ
50792016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5080
5081 PR target/59833
5082 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5083
985a47b2
NC
50842016-07-19 Nick Clifton <nickc@redhat.com>
5085
5086 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5087 Add crtinit.o and crtfini.o to extra_parts.
5088
f906f5ed
BS
50892016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5090
5091 * config/rs6000/_divkc3.c: New.
5092 * config/rs6000/_mulkc3.c: New.
5093 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5094 and _divkc3.
5095 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5096 fp128_ppc_funcs.
5097
82742404
HW
50982016-07-11 Hale Wang <hale.wang@arm.com>
5099 Andre Vieira <andre.simoesdiasvieira@arm.com>
5100
5101 * config/arm/lib1funcs.S: Add new wrapper.
5102
05a437c1
TP
51032016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5104
5105 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5106
3d16d9ec
TP
51072016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5108
5109 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5110 and ARMv5t* rather than for a fixed list of architectures.
5111
6f493951
TP
51122016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5113
5114 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5115 implementation suitable for.
5116 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5117 for all Thumb-1 only targets.
5118 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5119 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5120 __ARM_ARCH_6M__.
5121 (EQUIV): Likewise.
5122 (ARM_FUNC_ALIAS): Likewise.
5123 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5124 version.
5125 (modsi3): Likewise.
5126 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5127 (clzdi2): Likewise.
5128 (ctzsi2): Likewise.
5129 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5130 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5131 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5132 __ARM_ARCH_6M__ and add comment to indicate the connection between
5133 this condition and the one in gcc/config/arm/elf.h.
5134 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5135 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5136 * config/arm/t-softfp: Likewise.
5137
1770511a
TS
51382016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5139
5140 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5141 CTOR_LISTS_DEFINED_EXTERNALLY.
5142
ba6be749
WL
51432016-06-28 Walter Lee <walt@tilera.com>
5144
5145 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5146 asm/unistd.h.
5147 (SPR_CMPEXCH_VALUE): Define for tilegx.
5148 (__NR_FAST_cmpxchg): Define for tilepro.
5149 (__NR_FAST_atomic_update): Define for tilepro.
5150 (__NR_FAST_cmpxchg64): Define for tilepro.
5151
a34c0db5
JS
51522016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5153
18362447 5154 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5155
0609abda
TS
51562016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5157
5158 * config.host: Remove support for mep-*.
5159 * config/mep/lib1funcs.S: Remove.
5160 * config/mep/lib2funcs.c: Remove.
5161 * config/mep/t-mep: Remove.
5162 * config/mep/tramp.c: Remove.
5163
3e326935
TS
51642016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5165
5166 * config.host: Remove support for avr-rtems.
5167 * config/avr/t-rtems: Remove.
5168
914b155c
TS
51692016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5170
5171 * config.host: Remove m32r-rtems support.
5172
5ebf89bd
TS
51732016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5174
5175 * config.host: Remove h8300-rtems support.
5176
8466af06
TS
51772016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5178
5179 * config.host: Remove support for knetbsd.
5180
d980e738
TS
51812016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5182
5183 * config.host: Remove support for openbsd 2 and 3.
5184
ee2499b4
TS
51852016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5186
5187 * config.host: Remove interix support.
5188 * config/i386/t-interix: Remove.
5189
9f92937b
JDA
51902016-06-18 John David Anglin <danglin@gcc.gnu.org>
5191
5192 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5193 least-significant bit in function pointer for fixup.
5194
0a0ec53d
AC
51952016-06-05 Aaron Conole <aconole@redhat.com>
5196 Nathan Sidwell <nathan@acm.org>
5197
5198 PR libgcc/71400
5199 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5200 (get_gcov_error_file): Check __gcov_error_file before trying to
5201 initialize it.
5202 (gcov_error): Always use get_gcov_error_file.
5203
8aa5bdd6
AC
52042016-06-02 Aaron Conole <aconole@redhat.com>
5205
5206 * libgcov-driver-system.c (__gcov_error_file): New.
5207 (get_gcov_error_file): New.
5208 (gcov_error): Use and set __gcov_error_file.
5209 (gcov_error_exit): New.
5210 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5211
40774faf
NS
52122016-05-26 Nathan Sidwell <nathan@acm.org>
5213
5214 * config/nvptx/free.asm: Delete.
5215 * config/nvptx/malloc.asm: Delete.
5216 * config/nvptx/realloc.c: Delete.
5217 * t-nvptx: Update.
5218
69a6d5ad
NS
52192016-05-25 Nathan Sidwell <nathan@acm.org>
5220
5221 * config/nvptx/crt0.s: Delete.
5222 * config/nvptx/crt0.c: New.
5223 * t-nvptx: Update.
5224
6befaff6
SL
52252016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5226
385c7747 5227 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5228 dw2/seh configuration.
5229 [x86_64-*-mingw*]: Likewise.
5230
ad251dfd
JS
52312016-05-10 Joel Sherrill <joel@rtems.org>
5232
5233 PR libgcc/70720
5234 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5235 targets so the same extra_parts are built. Also have tmake_file add
5236 on to its value rather than override.
5237
bc6d9014
OE
52382016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5239
5240 * config.host: Remove SH5 support.
5241 * configure: Likewise.
5242
9129c8cf
OE
52432016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5244
5245 * config/sh/crt1.S: Remove SH5 support.
5246 * config/sh/crti.S: Likewise.
5247 * config/sh/crtn.S: Likewise.
5248 * config/sh/lib1funcs-4-300.S: Likewise.
5249 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5250 * config/sh/lib1funcs.S: Likewise.
5251 * config/sh/linux-unwind.h: Likewise.
5252 * config/sh/t-sh64: Delete.
5253
39d50464
CZ
52542016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5255
5256 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5257
8b48923b
CZ
52582016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5259 Joern Rennecke <joern.rennecke@embecosm.com>
5260
5261 * config/arc/crttls.S: New file.
5262 * config/arc/t-arc: New rule.
5263 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5264
2de1cf8c
NC
52652016-04-25 Nick Clifton <nickc@redhat.com>
5266
5267 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5268 (__mspabi_cmpd): Likewise.
5269 * config/msp430/floathidf.c (__floathidf): Likewise.
5270 * config/msp430/floathisf.c (__floathisf): Likewise
5271 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5272 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5273 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5274 second parameter.
5275 (__ashrsi3): Likewise.
5276
b8ce3fe2
WB
52772016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5278
5279 * config/m68k/linux-atomic.c: Do not include unistd.h
5280
4986f823
MG
52812016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5282
5283 * config/arm/ieee754-df.S: Fix typos in comments.
5284
35fbda43
MM
52852016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5286
5287 PR target/70381
5288 * configure.ac (powerpc*-*-linux*): Rework tests to build
5289 __float128 emulation routines to not depend on using #pragma GCC
5290 target to enable -mfloat128.
5291 * configure: Regnerate.
5292
72d1a48d
EB
52932016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5294
5295 PR target/67172
5296 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5297 __MINGW32__ is defined.
5298
dc2e8995
JB
52992016-03-28 James Bowman <james.bowman@ftdichip.com>
5300
385c7747 5301 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 5302
104cdaf1
MM
53032016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5304
5305 PR libgcc/70363
5306 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5307 built with an assembler that does not support ISA 3.0
5308 instructions, rename __extendkftf2_sw to __extendkftf2.
5309
a5046f48
RO
53102016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5311
5312 PR target/38239
5313 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5314 call-clobbered registers.
5315 (internal_mcount): Remove __i386__ handling.
5316
df674f74
JS
53172016-02-26 Joel Sherrill <joel@rtems.org>
5318
5319 * config.host: Add x86_64-*-rtems*.
5320
7cb065d6
JS
53212016-02-26 Joel Sherrill <joel@rtems.org>
5322
5323 * libgcc/config.host: Add aarch64-*-rtems*.
5324
47dfdc53
PM
53252016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5326 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5327
5328 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5329 union of u64 and double.
5330 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5331 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5332 value.
5333 (FP_ROUNDMODE): Update the usage of _fpscr.
5334
e6861a99
IV
53352016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5336
5337 PR driver/68463
5338 * Makefile.in (crtoffloadtable$(objext)): New rule.
5339 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5340 enable_offload_targets is not empty.
5341 * configure: Regenerate.
5342 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5343 crtoffloadtable.
5344
9bfcbdee
MF
53452016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5346
5347 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5348 .literal_position before the function.
5349 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5350 Likewise.
5351
4cb4721f
MK
53522016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5353
5354 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5355 * config/s390/morestack.S: New file.
5356 * config/s390/t-stack-s390: New file.
5357 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5358
b29d9a29
WL
53592016-02-12 Walter Lee <walt@tilera.com>
5360
5361 * config.host (tilegx*-*-linux*): remove ti from
5362 softfp_int_modes for 32-bit configs.
5363
03a0ae7d
ILT
53642016-02-10 Ian Lance Taylor <iant@google.com>
5365
5366 PR go/68562
5367 * config/i386/morestack.S (__stack_split_initialize): Align
5368 stack.
5369
68750bce
AT
53702016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5371
5372 PR bootstrap/69611
5373 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5374 __FLOAT128__ to compile only for __float128 capable targets.
5375
7d296953
JJ
53762016-01-25 Jakub Jelinek <jakub@redhat.com>
5377
5378 PR target/69444
5379 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5380 instead of ___NO_FPRS__.
5381
a71c0334 53822016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5383 Steven Munroe <munroesj@linux.vnet.ibm.com>
5384 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
5385
5386 * config/rs6000/float128-sed: New files to convert TF names to KF
5387 names for PowerPC IEEE 128-bit floating point support.
5388 * config/rs6000/float128-sed-hw: Likewise.
5389
5390 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5391 floating point hardware support.
5392
5393 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5394 128-bit floating point software emulation or use ISA 3.0 hardware
5395 support if it is available.
5396
5397 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5398 floating point.
5399
5400 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5401 floating point to IBM extended double.
5402
5403 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5404 double to IEEE 128-bit floating point.
5405
5406 * config/rs6000/t-float128: New Makefile fragments to enable
5407 building __float128 emulation support.
5408 * config/rs6000/t-float128-hw: Likewise.
5409
5410 * config/rs6000/sfp-exceptions.c: New file to provide exception
5411 support for IEEE 128-bit floating point.
5412
5413 * config/rs6000/floattikf.c: New files for converting between IEEE
5414 128-bit floating point and signed/unsigned 128-bit integers.
5415 * config/rs6000/fixunskfti.c: Likewise.
5416 * config/rs6000/fixkfti.c: Likewise.
5417 * config/rs6000/floatuntikf.c: Likewise.
5418
5419 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5420 when building on 64-bit systems, or when VSX is enabled.
5421 (_FP_W_TYPE): Likewise.
5422 (_FP_WS_TYPE): Likewise.
5423 (_FP_I_TYPE): Likewise.
5424 (TItype): Define on 64-bit systems.
5425 (UTItype): Likewise.
5426 (TI_BITS): Likewise.
5427 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5428 (_FP_MUL_MEAT_Q): Likewise.
5429 (_FP_DIV_MEAT_D): Likewise.
5430 (_FP_DIV_MEAT_Q): Likewise.
5431 (_FP_NANFRAC_D): Likewise.
5432 (_FP_NANFRAC_Q): Likewise.
5433 (ISA_BIT): Add exception support if we are being compiled on a
5434 machine with hardware floating point support to build the IEEE
5435 128-bit emulation functions.
5436 (FP_EX_INVALID): Likewise.
5437 (FP_EX_OVERFLOW): Likewise.
5438 (FP_EX_UNDERFLOW): Likewise.
5439 (FP_EX_DIVZERO): Likewise.
5440 (FP_EX_INEXACT): Likewise.
5441 (FP_EX_ALL): Likewise.
5442 (__sfp_handle_exceptions): Likewise.
5443 (FP_HANDLE_EXCEPTIONS): Likewise.
5444 (FP_RND_NEAREST): Likewise.
5445 (FP_RND_ZERO): Likewise.
5446 (FP_RND_PINF): Likewise.
5447 (FP_RND_MINF): Likewise.
5448 (FP_RND_MASK): Likewise.
5449 (_FP_DECL_EX): Likewise.
5450 (FP_INIT_ROUNDMODE): Likewise.
5451 (FP_ROUNDMODE): Likewise.
5452
5453 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5454 VSX code, enable IEEE 128-bit floating point. If the compiler can
5455 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5456 floating point hardware instructions and it supports declaring
5457 functions with the ifunc attribute, enable ifunc functions to
5458 switch between software and hardware support.
5459 * configure.ac (powerpc*-*-linux*): Likewise.
5460 * configure: Regenerate.
5461
bdc27e50
NC
54622016-01-15 Nick Clifton <nickc@redhat.com>
5463
5464 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5465 dependency as the source file to be compiled.
5466 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5467 (lib2hw_mul_f5.o): Likewise.
5468
006df05d
MM
54692016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5470
5471 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5472 * libgcc/config/rs6000/fixkfti.c: Likewise.
5473 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5474 * libgcc/config/rs6000/float128-hw.c: Likewise.
5475 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5476 * libgcc/config/rs6000/float128-sed: Likewise.
5477 * libgcc/config/rs6000/floattikf.c: Likewise.
5478 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5479 * libgcc/config/rs6000/quad-float128.h: Likewise.
5480 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5481 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5482 * libgcc/config/rs6000/t-float128: Likewise.
5483 * libgcc/config/rs6000/t-float128-hw: Likewise.
5484 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5485 * libgcc/config.host: Likewise.
5486 * libgcc/configure: Likewise.
5487 * libgcc/configure.ac: Likewise.
5488
29176d57 54892016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5490 Steven Munroe <munroesj@linux.vnet.ibm.com>
5491 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5492
5493 * config/rs6000/sfp-exceptions.c: New file to provide exception
5494 support for IEEE 128-bit floating point.
5495
5496 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5497 floating point hardware support.
5498
5499 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5500 point conversions.
5501 * config/rs6000/fixunskfti.c: Likewise.
5502 * config/rs6000/fixkfti.c: Likewise.
5503 * config/rs6000/floatuntikf.c: Likewise.
5504 * config/rs6000/extendkftf2-sw.c: Likewise.
5505 * config/rs6000/trunctfkf2-sw.c: Likewise.
5506
5507 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5508 128-bit floating point software emulation or use ISA 3.0 hardware
5509 support if it is available.
5510
5511 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5512 floating point.
5513
5514 * config/rs6000/t-float128: New Makefile fragments to enable
5515 building __float128 emulation support.
5516 * config/rs6000/t-float128-hw: Likewise.
5517
5518 * config/rs6000/float128-sed: New file to convert TF names to KF
5519 names for PowerPC IEEE 128-bit floating point support.
5520
5521 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5522 when building on 64-bit systems, or when VSX is enabled.
5523 (_FP_W_TYPE): Likewise.
5524 (_FP_WS_TYPE): Likewise.
5525 (_FP_I_TYPE): Likewise.
5526 (TItype): Define on 64-bit systems.
5527 (UTItype): Likewise.
5528 (TI_BITS): Likewise.
5529 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5530 (_FP_MUL_MEAT_Q): Likewise.
5531 (_FP_DIV_MEAT_D): Likewise.
5532 (_FP_DIV_MEAT_Q): Likewise.
5533 (_FP_NANFRAC_D): Likewise.
5534 (_FP_NANFRAC_Q): Likewise.
5535 (ISA_BIT): Add exception support if we are being compiled on a
5536 machine with hardware floating point support to build the IEEE
5537 128-bit emulation functions.
5538 (FP_EX_INVALID): Likewise.
5539 (FP_EX_OVERFLOW): Likewise.
5540 (FP_EX_UNDERFLOW): Likewise.
5541 (FP_EX_DIVZERO): Likewise.
5542 (FP_EX_INEXACT): Likewise.
5543 (FP_EX_ALL): Likewise.
5544 (__sfp_handle_exceptions): Likewise.
5545 (FP_HANDLE_EXCEPTIONS): Likewise.
5546 (FP_RND_NEAREST): Likewise.
5547 (FP_RND_ZERO): Likewise.
5548 (FP_RND_PINF): Likewise.
5549 (FP_RND_MINF): Likewise.
5550 (FP_RND_MASK): Likewise.
5551 (_FP_DECL_EX): Likewise.
5552 (FP_INIT_ROUNDMODE): Likewise.
5553 (FP_ROUNDMODE): Likewise.
5554
5555 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5556 compiler can do __float128.
5557 * configure: Regenerate.
5558
5559 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5560 VSX code, enable IEEE 128-bit floating point.
5561
a2218983
OH
55622016-01-05 Olivier Hainque <hainque@adacore.com>
5563
5564 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5565 specificities.
a2218983 5566
818ab71a
JJ
55672016-01-04 Jakub Jelinek <jakub@redhat.com>
5568
5569 Update copyright years.
5570
5a6c8ffa
AP
55712015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5572
5573 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5574 soft-fp targets.
5a6c8ffa 5575
077067a5
BE
55762015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5577
5578 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5579 instead of abort to avoid dependency on stdlib.h.
5580
787c1027
JDA
55812015-12-09 John David Anglin <danglin@gcc.gnu.org>
5582
5583 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5584 to initialize call to __dl_fixup once.
5585
04a9ae28
NC
55862015-12-04 Nick Clifton <nickc@redhat.com>
5587
5588 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5589 Allow for the second argument being negative.
5590 * config.host (extra_parts): Define for MSP430. Create separate
5591 libraries for each of the hardware multiply formats.
5592 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5593 that are needed.
5594 * config/msp430/lib2mul.c: Likewise.
5595 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5596 Add rules to build hardware multiply libraries.
5597 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5598 __mspabi_divul function.
5599 (__mspabi_divllu): New stub function.
5600
9a32d437
JDA
56012015-12-01 John David Anglin <danglin@gcc.gnu.org>
5602
5603 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5604 fixup values if saved GOT address doesn't match runtime address.
5605 (fixup_branch_offset): Reorder list.
5606
e5ef217c
RO
56072015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5608
5609 * Makefile.in (VTV_CFLAGS): New variable.
5610 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5611 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5612 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5613 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5614 to extra_parts if $enable_vtable_verify = yes.
5615
78cc43a2
SN
56162015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5617
5618 PR target/68059
5619 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5620 (write): ...this and fix the return type.
5621
9afebea2
DD
56222015-11-19 DJ Delorie <dj@redhat.com>
5623
5624 * config/msp430/lib2hw_mul.S: Fix alignment.
5625
33f47f42
NS
56262015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5627
5628 * config/nvptx/reduction.c: New.
5629 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5630
d9adb476
DE
56312015-11-15 David Edelsohn <dje.gcc@gmail.com>
5632
5633 * config/rs6000/on_exit.c: New file.
5634 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5635 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5636
c0ab1970
CZ
56372015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5638
5639 * config/arc/dp-hack.h: Add support for ARCHS.
5640 * config/arc/ieee-754/divdf3.S: Likewise.
5641 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5642 * config/arc/ieee-754/muldf3.S: Likewise.
5643 * config/arc/ieee-754/mulsf3.S: Likewise
5644 * config/arc/lib1funcs.S: Likewise
5645 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5646 for ARCv2 cores.
5647 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5648 for ARCv2 cores.
5649 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5650 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5651 cores.
5652
e6b6bf09
RO
56532015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5654
5655 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5656 value.
5657 * config/ia64/crtend.S: Likewise.
5658
a153644f
TS
56592015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5660
5661 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5662 __CHAR_BIT__ instead of BITS_PER_UNIT.
5663 * fixed-bit.h: Likewise.
5664 * fp-bit.h: Likewise.
5665 * libgcc2.c (__popcountSI2): Likewise.
5666 (__popcountDI2): Likewise.
5667 * libgcc2.h: Likewise.
5668 * libgcov.h: Likewise.
5669
3dee689d
DE
56702015-11-07 David Edelsohn <dje.gcc@gmail.com>
5671
5672 * config/rs6000/atexit.c: New file.
5673 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5674 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5675 * config/rs6000/cxa_finalize.c
5676 (catomic_compare_and_exchange_bool_acq): Negate return value.
5677
2ef543e4
VK
56782015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5679
5680 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5681 (processor_subtypes): Add znver1.
5682 (get_amd_cpu): Detect znver1.
5683
1300f017
CL
56842015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5685
5686 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5687 Include crtfastmath.o.
5688
3e5bb7ee
JR
56892015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5690
5691 PR libgcc/66883
5692 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5693
793aa938
KP
56942015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5695
5696 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5697 * config/rl78/divmodsi.S: Update return register to r8.
5698 * config/rl78/divmodhi.S: Update return register to r8,r9.
5699 Branch to main_loop_done_himode to pop registers before return.
5700
7d296953 57012015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5702
5703 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5704 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5705
6a192b5a
KY
57062015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5707
5708 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5709
4a0a9457
MF
57102015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5711
5712 * config.host (xtensa*-*-uclinux*): New configuration.
5713
ab91c076
KY
57142015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5715
385c7747 5716 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5717 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5718
30954527
JM
57192015-09-28 Joseph Myers <joseph@codesourcery.com>
5720
5721 * soft-fp/adddf3.c: Update from glibc.
5722 * soft-fp/addsf3.c: Likewise.
5723 * soft-fp/addtf3.c: Likewise.
5724 * soft-fp/divdf3.c: Likewise.
5725 * soft-fp/divsf3.c: Likewise.
5726 * soft-fp/divtf3.c: Likewise.
5727 * soft-fp/double.h: Likewise.
5728 * soft-fp/eqdf2.c: Likewise.
5729 * soft-fp/eqsf2.c: Likewise.
5730 * soft-fp/eqtf2.c: Likewise.
5731 * soft-fp/extenddftf2.c: Likewise.
5732 * soft-fp/extended.h: Likewise.
5733 * soft-fp/extendsfdf2.c: Likewise.
5734 * soft-fp/extendsftf2.c: Likewise.
5735 * soft-fp/extendxftf2.c: Likewise.
5736 * soft-fp/fixdfdi.c: Likewise.
5737 * soft-fp/fixdfsi.c: Likewise.
5738 * soft-fp/fixdfti.c: Likewise.
5739 * soft-fp/fixsfdi.c: Likewise.
5740 * soft-fp/fixsfsi.c: Likewise.
5741 * soft-fp/fixsfti.c: Likewise.
5742 * soft-fp/fixtfdi.c: Likewise.
5743 * soft-fp/fixtfsi.c: Likewise.
5744 * soft-fp/fixtfti.c: Likewise.
5745 * soft-fp/fixunsdfdi.c: Likewise.
5746 * soft-fp/fixunsdfsi.c: Likewise.
5747 * soft-fp/fixunsdfti.c: Likewise.
5748 * soft-fp/fixunssfdi.c: Likewise.
5749 * soft-fp/fixunssfsi.c: Likewise.
5750 * soft-fp/fixunssfti.c: Likewise.
5751 * soft-fp/fixunstfdi.c: Likewise.
5752 * soft-fp/fixunstfsi.c: Likewise.
5753 * soft-fp/fixunstfti.c: Likewise.
5754 * soft-fp/floatdidf.c: Likewise.
5755 * soft-fp/floatdisf.c: Likewise.
5756 * soft-fp/floatditf.c: Likewise.
5757 * soft-fp/floatsidf.c: Likewise.
5758 * soft-fp/floatsisf.c: Likewise.
5759 * soft-fp/floatsitf.c: Likewise.
5760 * soft-fp/floattidf.c: Likewise.
5761 * soft-fp/floattisf.c: Likewise.
5762 * soft-fp/floattitf.c: Likewise.
5763 * soft-fp/floatundidf.c: Likewise.
5764 * soft-fp/floatundisf.c: Likewise.
5765 * soft-fp/floatunditf.c: Likewise.
5766 * soft-fp/floatunsidf.c: Likewise.
5767 * soft-fp/floatunsisf.c: Likewise.
5768 * soft-fp/floatunsitf.c: Likewise.
5769 * soft-fp/floatuntidf.c: Likewise.
5770 * soft-fp/floatuntisf.c: Likewise.
5771 * soft-fp/floatuntitf.c: Likewise.
5772 * soft-fp/gedf2.c: Likewise.
5773 * soft-fp/gesf2.c: Likewise.
5774 * soft-fp/getf2.c: Likewise.
5775 * soft-fp/ledf2.c: Likewise.
5776 * soft-fp/lesf2.c: Likewise.
5777 * soft-fp/letf2.c: Likewise.
5778 * soft-fp/muldf3.c: Likewise.
5779 * soft-fp/mulsf3.c: Likewise.
5780 * soft-fp/multf3.c: Likewise.
5781 * soft-fp/negdf2.c: Likewise.
5782 * soft-fp/negsf2.c: Likewise.
5783 * soft-fp/negtf2.c: Likewise.
5784 * soft-fp/op-1.h: Likewise.
5785 * soft-fp/op-2.h: Likewise.
5786 * soft-fp/op-4.h: Likewise.
5787 * soft-fp/op-8.h: Likewise.
5788 * soft-fp/op-common.h: Likewise.
5789 * soft-fp/quad.h: Likewise.
5790 * soft-fp/single.h: Likewise.
5791 * soft-fp/soft-fp.h: Likewise.
5792 * soft-fp/subdf3.c: Likewise.
5793 * soft-fp/subsf3.c: Likewise.
5794 * soft-fp/subtf3.c: Likewise.
5795 * soft-fp/truncdfsf2.c: Likewise.
5796 * soft-fp/trunctfdf2.c: Likewise.
5797 * soft-fp/trunctfsf2.c: Likewise.
5798 * soft-fp/trunctfxf2.c: Likewise.
5799 * soft-fp/unorddf2.c: Likewise.
5800 * soft-fp/unordsf2.c: Likewise.
5801 * soft-fp/unordtf2.c: Likewise.
5802
4dfe21ac
RE
58032015-09-24 Richard Earnshaw <rearnsha@arm.com>
5804
5805 PR libgcc/67624
5806 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5807
df2a1cc4
RO
58082015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5809
5810 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5811 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5812 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5813 messages.
5814 (internal_mcount): Likewise.
5815 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5816 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5817
2d110442
RO
58182015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5819
5820 * configure.ac (libgcc_cv_solaris_crts): New test.
5821 * configure: Regenerate.
5822 * config.in: Regenerate.
5823 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5824 * config/gmon-sol2.c: Rename to ...
5825 * config/sol2/gmon.c: ... this.
5826 Include auto-target.h.
5827 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5828 * config/t-sol2: Rename to ...
5829 * config/sol2/t-sol2: ... this.
5830 (gmon.o): Reflect renaming.
5831 (crtp.o, crtpg.o): New rules.
5832 * config.host (*-*-solaris2*): Reflect renaming.
5833 Use system CRTs if present.
5834 Remove default CRT case.
5835
d572e439
JDA
58362015-09-23 John David Anglin <danglin@gcc.gnu.org>
5837
5838 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5839 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5840 __kernel_cmpxchg2.
5841 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5842 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5843 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5844 (__sync_lock_test_and_set_##WIDTH): Likewise.
5845 (__sync_lock_release_##WIDTH): Likewise.
5846 (__sync_fetch_and_##OP##_4): Change result to match type of
5847 __kernel_cmpxchg.
5848 (__sync_##OP##_and_fetch_4): Likewise.
5849 (__sync_val_compare_and_swap_4): Likewise.
5850 (__sync_bool_compare_and_swap_4): likewise.
5851 (__sync_lock_test_and_set_4): Likewise.
5852 (__sync_lock_release_4): Likewise.
5853 (FETCH_AND_OP_2): Add long long variants.
5854 (OP_AND_FETCH_2): Likewise.
5855 (COMPARE_AND_SWAP_2 ): Likewise.
5856 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5857 (SYNC_LOCK_RELEASE_2): Likewise.
5858 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5859
7d296953 58602015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5861
5862 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5863 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5864 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5865 (get_available_features): Habdle new features.
5866
131314e1
JB
58672015-09-21 James Bowman <james.bowman@ftdichip.com>
5868
5869 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5870 memory layout. Deal correctly with BSS region larger than 32K.
5871 Handle a watchdog reset like a power-on reset. Clean up unused
5872 code.
5873
04218b35
AD
58742015-09-18 Andrew Dixie <andrewd@gentrack.com>
5875 David Edelsohn <dje.gcc@gmail.com>
5876
5877 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5878 * config/rs6000/crtdbase.S: New file.
5879 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5880
c8338173
MF
58812015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5882
5883 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5884 Add support for call0 ABI.
5885
7a84bf71
JDA
58862015-09-13 John David Anglin <danglin@gcc.gnu.org>
5887
5888 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5889
4efab402
SH
58902015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5891
5892 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5893 (__GTHREAD_HAS_COND): Likewise.
5894 (__gthread_t): Likewise.
5895 (__gthread_cond_t): Likewise.
5896 (__gthread_time_t): Likewise.
5897 (__GTHREAD_MUTEX_INIT): Likewise.
5898 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5899 (__GTHREAD_COND_INIT): Likewise.
5900 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5901 (__GTHREAD_TIME_INIT): Likewise.
5902 (__gthread_create): Likewise.
5903 (__gthread_join): Likewise.
5904 (__gthread_detach): Likewise.
5905 (__gthread_equal): Likewise.
5906 (__gthread_self): Likewise.
5907 (__gthread_yield): Likewise.
5908 (__gthread_cond_broadcast): Likewise.
5909 (__gthread_cond_signal): Likewise.
5910 (__gthread_cond_wait): Likewise.
5911 (__gthread_cond_timedwait): Likewise.
5912 (__gthread_cond_wait_recursive): Likewise.
5913 (__gthread_cond_destroy): Likewise.
5914 (rtems_gxx_once): Delete.
5915 (rtems_gxx_key_create): Likewise.
5916 (rtems_gxx_key_delete): Likewise.
5917 (rtems_gxx_getspecific): Likewise.
5918 (rtems_gxx_setspecific): Likewise.
5919 (rtems_gxx_mutex_init): Likewise.
5920 (rtems_gxx_mutex_destroy): Likewise.
5921 (rtems_gxx_mutex_lock): Likewise.
5922 (rtems_gxx_mutex_trylock): Likewise.
5923 (rtems_gxx_mutex_unlock): Likewise.
5924 (rtems_gxx_recursive_mutex_init): Likewise.
5925 (rtems_gxx_recursive_mutex_lock): Likewise.
5926 (rtems_gxx_recursive_mutex_trylock): Likewise.
5927 (rtems_gxx_recursive_mutex_unlock): Likewise.
5928 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5929 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5930 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5931 (__gthread_once): Likewise.
5932 (__gthread_key_create): Likewise.
5933 (__gthread_key_delete): Likewise.
5934 (__gthread_getspecific): Likewise.
5935 (__gthread_setspecific): Likewise.
5936 (__gthread_key_t): Use <pthread.h> type.
5937 (__gthread_once_t): Likewise
5938 (__gthread_mutex_t): Use <sys/lock.h> type.
5939 (__gthread_recursive_mutex_t): Likewise
5940 (__gthread_mutex_lock): Use <sys/lock.h> function.
5941 (__gthread_mutex_trylock): Likewise.
5942 (__gthread_mutex_timedlock): Likewise.
5943 (__gthread_mutex_unlock): Likewise.
5944 (__gthread_mutex_destroy): Likewise.
5945 (__gthread_recursive_mutex_lock): Likewise.
5946 (__gthread_recursive_mutex_trylock): Likewise.
5947 (__gthread_recursive_mutex_timedlock): Likewise.
5948 (__gthread_recursive_mutex_unlock): Likewise.
5949 (__gthread_recursive_mutex_destroy): Likewise.
5950
991995c4
MF
59512015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5952
5953 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5954 context->sp instead of context->cfa.
5955
0e19db59
MF
59562015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5957
5958 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5959 with unwind-dw2-fde-dip.
5960
b6ac5f62
MF
59612015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5962
5963 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5964 CALL12 followed by series of ENTRY to spill windowed registers.
5965 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5966 instead of making linux spill syscall.
5967
3e0f3349
YR
59682015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5969
5970 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5971 (get_intel_cpu): Likewise.
5972
51c728b1
L
59732015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5974
5975 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5976 (get_intel_cpu): Add Knights Landing support.
5977
aff4eeac
UB
59782015-08-11 Uros Bizjak <ubizjak@gmail.com>
5979
5980 PR target/66954
5981 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5982 (get_available_features): Handle FEATURE_PCLMUL.
5983
736e56da
L
59842015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5985
5986 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5987 Broadwell.
5988
54d22142
UB
59892015-07-22 Uros Bizjak <ubizjak@gmail.com>
5990
5991 PR target/66954
5992 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5993 (get_available_features): Handle FEATURE_AES.
5994
20ca17e4
CLT
59952015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5996
5997 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5998 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5999
ebe4a560
NS
60002015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6001
6002 * offloadstuff.c: Constify host data.
6003
180744c0
JB
60042015-07-17 Jan Beulich <jbeulich@suse.com>
6005
6006 * config/t-softfp: Split up "else ifneq".
6007
a03c6ae3
SL
60082015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6009 Cesar Philippidis <cesar@codesourcery.com>
6010 Chung-Lin Tang <cltang@codesourcery.com>
6011
6012 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6013 for __nios2_arch__ level.
6014
73358db5
JM
60152015-07-13 John Marino <gnugcc@marino.st>
6016
6017 * config/i386/t-dragonfly: New.
6018
f9a12f7b
JDA
60192015-07-01 John David Anglin <danglin@gcc.gnu.org>
6020
6021 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6022 better match light-weight syscall argument order.
6023 (__kernel_cmpxchg2): Likewise.
6024 Adjust callers.
6025
cb78b51c
L
60262015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6027
6028 * config.host: Support i[34567]86-*-elfiamcu target.
6029 * config/t-softfp-sfdftf: New file.
6030 * config/i386/32/t-iamcu: Likewise.
6031 * configure: Regenerated.
6032
4fa0f9ea
JL
60332015-06-23 James Lemke <jwlemke@codesourcery.com>
6034
6035 libgcc/config/arm/
6036 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6037
428b3812
L
60382015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6039
6040 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6041
7d296953 60422015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6043
6044 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6045 md_unwind_header
6046 * config/i386/freebsd-unwind.h: New.
6047
9b789cc1
UB
60482015-05-22 Uros Bizjak <ubizjak@gmail.com>
6049
6050 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6051 i386/t-crtfm to tmake_file.
6052 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6053 (set_fast_math): Use set_fast_math_sse for SSE targets.
6054 * config/i386/t-crtfm: Remove.
6055
3dafb220
AM
60562015-05-21 Alan Modra <amodra@gmail.com>
6057
6058 PR libgcc/66225
6059 * config/rs6000/morestack.S: Remove ".abiversion 1".
6060
0f0fd745
AM
60612015-05-20 Alan Modra <amodra@gmail.com>
6062
6063 * config/rs6000/morestack.S: New.
6064 * config/rs6000/t-stack-rs6000: New.
6065 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6066 to tmake_file.
6067 * generic-morestack.c: Don't build for powerpc 32-bit.
6068
515ae71b
EB
60692015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6070
6071 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6072 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6073
36805406
JL
60742015-05-16 James Bowman <james.bowman@ftdichip.com>
6075
6076 * config.host: FT32 target added.
6077 * config/ft32/*: New files for FT32 target.
6078
ff935d0c
MG
60792015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6080
385c7747
UB
6081 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6082 New macros.
6083 * config/arm/ieee754-df.S: Add CFI directives.
6084 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6085
9b92a9f3
EB
60862015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6087
6088 * configure.ac: Include config/sjlj.m4.
6089 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6090 * config.in: Regenerate.
6091 * configure: Likewise.
6092 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6093
98b5dc61
UB
60942015-05-12 Uros Bizjak <ubizjak@gmail.com>
6095
6096 * libgcov-util.c: Add space between string literal and macro name.
6097
5a0ff57c
SL
60982015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6099 Chris Jones <chrisj@nvidia.com>
6100 Joshua Conner <jconner@nvidia.com>
6101
6102 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6103 (arm*-*-uclinux*): Likewise.
6104 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6105 * config/arm/crtfastmath.c: New file.
6106
d28ad5d4
BS
61072014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6108
6109 * Makefile.in (real_host_noncanonical): New variable.
6110 (libsubdir): Use it.
6111 * configure.ac (real_host_noncanonical): Compute. Remove special
6112 case for intelmicemul.
6113 * configure: Regenerate.
6114
cc86234f
UB
61152015-04-28 Uros Bizjak <ubizjak@gmail.com>
6116
6117 * config/frv/elf-lib.h: New file.
6118 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6119 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6120 to tm_file.
6121
61222015-04-28 Uros Bizjak <ubizjak@gmail.com>
6123
6124 * config/frv/frvbengin.c: Do not include defaults.h
6125 * config/frv/frvend.c: Ditto.
6126
2f6bd6eb
YS
61272015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6128
6129 * config.host: Add h8300-*-linux
6130 * config/h8300/t-linux: New file.
6131 * config/h8300/lib1funs.s: Change symbol prefix.
6132 * config/h8300/sfp-machine.h: 64bit double support.
6133
15aa7b44
GR
61342015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6135 Szabolcs Nagy <szabolcs.nagy@arm.com>
6136
6137 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6138 Linux if target provides dl_iterate_phdr.
6139
abd0cdc9
L
61402015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6141
6142 PR target/65612
6143 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6144 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6145 (__cpu_indicator_init@GCC_4.8.0): New.
6146 (__cpu_model@GCC_4.8.0): Likewise.
6147 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6148 -DUSE_ELF_SYMVER.
6149
72ed1126
NC
61502015-04-16 Nick Clifton <nickc@redhat.com>
6151
6152 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6153 and __modhi3 functions.
6154 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6155 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6156
d26b2237
CG
61572015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6158
6159 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6160 do-while loop as macro body to avoid warnings.
6161
cacf1f59
JJ
61622015-04-10 Jakub Jelinek <jakub@redhat.com>
6163 Iain Sandoe <iain@codesourcery.com>
6164
6165 PR target/65351
6166 * configure: Regenerate.
6167
e8a4ed3b
JJ
61682015-04-07 Jakub Jelinek <jakub@redhat.com>
6169 Iain Sandoe <iain@codesourcery.com>
6170
6171 PR target/65351
6172 * configure: Regenerate.
6173
0341335e
CLT
61742015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6175
6176 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6177
590e2636 61782015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6179
590e2636
MF
6180 Implement call0 ABI for xtensa
6181 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6182 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6183 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6184 use ret in call0 ABI.
6185 * config/xtensa/t-windowed: New file.
6186 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6187 * libgcc/configure: Regenerated.
6188 * libgcc/configure.ac: Check if xtensa target is configured for
6189 windowed ABI and thus needs to use custom unwind code.
6190
7727f8f2
JW
61912015-02-12 Jonathan Wakely <jwakely@redhat.com>
6192
6193 PR libgcc/64885
6194 * gthr-single.h: Use __unused__ attribute instead of unused.
6195 * config/gthr-vxworks.h: Likewise.
6196 * config/i386/gthr-win32.h: Likewise.
6197
0e4a0def
KT
61982015-02-27 Kai Tietz <ktietz@redhat.com>
6199
6200 PR target/65038
6201 * config.in: Regenerated.
6202 * configure: Likewise.
6203 * configure.ac (AC_HEADER_STDC): Added explicit.
6204 (AC_CHECK_HEADERS): Check for default headers plus
6205 for ftw.h header.
6206 * libgcov-util.c (gcov_read_profile_dir): Disable use
6207 of ftw-function, if header is not found.
6208 (ftw_read_file): Likewise.
6209
b6530d0a
TS
62102015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6211
6212 PR target/65181
6213 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6214 -Dinhibit_libc.
6215
53cfb467
SL
62162015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6217
6218 * config/arm/bpabi.S (test_div_by_zero): Make label names
6219 consistent between thumb2 and arm mode cases. Separate the
6220 signed comparison on the high word of the numerator from the
6221 unsigned comparison on the low word.
6222 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6223 signed comparison.
6224
77d10a1b
JM
62252015-02-17 Joseph Myers <joseph@codesourcery.com>
6226
6227 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6228 and <string.h>.
6229 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6230
98174188
RE
62312015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6232
6233 PR gcov-profile/61889
471274de 6234 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6235
771bef14
NC
62362015-02-02 Nick Clifton <nickc@redhat.com>
6237
6238 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6239 rounding up the fraction.
6240
40702893
JDA
62412015-01-31 John David Anglin <danglin@gcc.gnu.org>
6242
6243 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6244 oldval and newval to const void *. Fix typo.
6245 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6246 (FETCH_AND_OP_WORD): Likewise.
6247 (OP_AND_FETCH_WORD): Likewise.
6248 (COMPARE_AND_SWAP_2): Likewise.
6249 (__sync_val_compare_and_swap_4): Likewise.
6250 (__sync_lock_test_and_set_4): Likewise.
6251 (SYNC_LOCK_RELEASE_2): Likewise.
6252 Remove support for long long atomic operations.
6253
f7f049fa
CT
62542015-01-27 Caroline Tice <cmtice@google.com>
6255
6256 Committing VTV Cywin/Ming patch for Patrick Wollgast
6257 * Makefile.in: Move rules to build vtv_*.o out of the check
6258 for CUSTOM_CRTSTUFF.
6259 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6260 i[34567]86-*-mingw*)
3d3b561f 6261 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
6262 enable_vtable_verify.
6263
8410904a
NC
62642015-01-27 Nick Clifton <nickc@redhat.com>
6265
6266 * config/rl78/cmpsi2.S: Use function start and end macros.
6267 (__gcc_bcmp): New function.
6268 * config/rl78/lshrsi3.S: Use function start and end macros.
6269 * config/rl78/mulsi3.S: Add support for G10.
6270 (__mulqi3): New function for G10.
6271 * config/rl78/signbit.S: Use function start and end macros.
6272 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6273 fpmath-sf.S.
6274 (LIB2FUNCS_EXCLUDE): Define.
6275 (LIB2FUNCS_ST): Define.
6276 * config/rl78/trampoline.S: Use function start and end macros.
6277 * config/rl78/vregs.h (START_FUNC): New macro.
6278 (START_ANOTHER_FUNC): New macro.
6279 (END_FUNC): New macro.
6280 (END_ANOTHER_FUNC): New macro.
6281 * config/rl78/bit-count.S: New file. Contains assembler
6282 implementations of the bit counting functions: ___clzhi2,
6283 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6284 __paritysi2, __popcounthi2 and __popcountsi2.
6285 * config/rl78/fpbit-sf.S: New file. Contains assembler
6286 implementationas of the math functions: __negsf2, __cmpsf2,
6287 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6288 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6289 * config/rl78/fpmath-sf.S: New file. Contains assembler
6290 implementations of the math functions: __subsf3, __addsf3,
6291 __mulsf3 and __divsf3
6292
f962fbf1
RO
62932015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6294
6295 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6296 Add i386/elf-lib.h to tm_file.
6297 * config/i386/elf-lib.h: Fix comment.
6298 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6299 && __sun__ && __svr4__]: Remove workaround.
6300
939911c5
ASJ
63012015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6302
6303 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6304 FEATURE_BMI2.
6305 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6306
c8f2dff2
L
63072015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6308
6309 * config/i386/cpuinfo.c (processor_subtypes): Add
6310 INTEL_COREI7_BROADWELL.
6311 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6312 model numbers.
6313
7bbf9734
UB
63142015-01-23 Uros Bizjak <ubizjak@gmail.com>
6315
6316 * config/i386/elf-lib.h: New file.
6317 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6318 Wrap definition in #ifdef __i386__.
6319 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6320 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6321 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6322 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6323 to tm_file.
6324
324820f1
CG
63252015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6326
6327 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6328 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6329
a9ce4e4a
CLT
63302015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6331
6332 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6333 Update rt_sigframe format and address for current Nios II
6334 Linux conventions.
6335
82a19768
AT
63362015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6337
6338 * config.host (arm*-*-freebsd*): Add new configuration for
6339 arm*-*-freebsd*.
6340 * config/arm/freebsd-atomic.c: New file.
6341 * config/arm/t-freebsd: Likewise.
6342 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6343 'PC-relative indirect' OS's.
6344
0969ec7d
EB
63452015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6346
6347 * config.host: Add Visium support.
6348 * config/visium: New directory.
6349
5624e564
JJ
63502015-01-05 Jakub Jelinek <jakub@redhat.com>
6351
6352 Update copyright years.
6353
82f84ecb
MF
63542014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6355
6356 * config.host: Support mipsisa32r6 and mipsisa64r6.
6357 * config/mips/mips16.S: Do not build for R6.
6358
69044fa9
OE
63592014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6360
6361 * config/sh/crt.h: New.
6362 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6363 symbols.
6364 * config/sh/crt1.S: Likewise.
6365
2405e0ea
UB
63662014-12-15 Uros Bizjak <ubizjak@gmail.com>
6367
6368 PR libgcc/63832
6369 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6370 func_ptr *dtor_list temporary variable to avoid "array subscript
6371 is above array bounds" warnings.
6372
7d296953 63732014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
6374
6375 * Makefile.in (with_aix_soname): Define.
6376 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6377 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6378 * configure: Recreate.
6379
a66272f6
OH
63802014-12-05 Olivier Hainque <hainque@adacore.com>
6381
6382 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6383 now provided by defaults.h.
6384
6342b2c5
OE
63852014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6386
7d0ee249 6387 PR target/55351
6342b2c5
OE
6388 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6389 whether it's defined.
6390
c17eac85
IT
63912014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6392
6393 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6394 * config/i386/cpuinfo.c (get_available_features): Detect it.
6395
1025cb6c
TW
63962014-11-27 Tony Wang <tony.wang@arm.com>
6397
6398 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6399 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6400 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6401
d19f2e38
SB
64022014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6403
6404 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6405
17f6e9a3
JDA
64062014-11-24 John David Anglin <danglin@gcc.gnu.org>
6407
6408 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6409 instead.
6410
0cd7c672
GM
64112014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6412 John David Anglin <danglin@gcc.gnu.org>
6413
6414 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6415 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6416 (OP_AND_FETCH_2): Likewise.
6417 (COMPARE_AND_SWAP_2): Likewise.
6418 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6419 (SYNC_LOCK_RELEASE_2): Likewise.
6420 (SUBWORD_SYNC_OP): Remove.
6421 (SUBWORD_VAL_CAS): Likewise.
6422 (SUBWORD_BOOL_CAS): Likewise.
6423 (FETCH_AND_OP_WORD): Update.
6424 Consistently use signed types.
cc86234f 6425
85c64bbe
BS
64262014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6427 Thomas Schwinge <thomas@codesourcery.com>
6428 Ilya Verbin <ilya.verbin@intel.com>
6429 Andrey Turetskiy <andrey.turetskiy@intel.com>
6430
6431 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6432 (crtoffloadend$(objext)): Likewise.
6433 * configure: Regenerate.
6434 * configure.ac (accel_dir_suffix): Compute new variable.
6435 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6436 if enable_offload_targets is not empty.
6437 * offloadstuff.c: New file.
6438
52a1ff8b
NC
64392014-11-13 Nick Clifton <nickc@redhat.com>
6440
6441 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6442 Use START_FUNC and END_FUNC macros to enable linker garbage
6443 collection.
6444 * config/rl78/divmodqi.S: Likewise.
6445 * config/rl78/divmodsi.S: Likewise.
6446 * config/rl78/mulsi3.S: Likewise.
6447 * config/rl78/lib2div.c: Remove G10 functions.
6448 * config/rl78/lib2muls.c: Likewise.
6449 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6450 * config/rl78/vregs.h (START_FUNC): New macro.
6451 (END_FUNC): New macro.
6452
050af144
MF
64532014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6454
6455 * config/mips/mips16.S: Set .module when supported. Update O32
6456 FP64 calling convention and use for FPXX when possible. Add FPXX
6457 calling convention fallback case.
6458
738f2522
BS
64592014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6460
6461 * config.host: Handle nvptx-*-*.
6462 * shared-object.mk (as-flags-$o): Define.
6463 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6464 -xassembler-with-cpp.
6465 * static-object.mk: Identical changes.
6466 * config/nvptx/t-nvptx: New file.
6467 * config/nvptx/crt0.s: New file.
6468 * config/nvptx/free.asm: New file.
6469 * config/nvptx/malloc.asm: New file.
6470 * config/nvptx/realloc.c: New file.
6471
e610393c
JM
64722014-10-30 Joseph Myers <joseph@codesourcery.com>
6473
6474 * Makefile.in (libgcc.map.in): New target.
6475 (libgcc.map): Use libgcc.map.in.
6476 * config/t-softfp (softfp_compat): New variable to be set by
6477 users.
6478 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6479 variables.
6480 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6481 directory.
6482 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6483 that use compat symbols and disable all code unless [SHARED].
6484 * config/t-softfp-compat: New file.
6485 * find-symver.awk: New file.
6486 * configure.ac (--with-glibc-version): New configure option.
6487 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6488 * configure: Regenerate.
6489 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6490 soft-float and e500.
6491
bc1b3a88
JM
64922014-10-29 Joseph Myers <joseph@codesourcery.com>
6493
6494 * config/t-hardfp (hardfp_exclusions): Document new variable for
6495 user to define.
6496 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6497 * config/t-softfp (softfp_extras): Document new variable for user
6498 to define.
6499 (softfp_func_list): Add functions from $(softfp_extras).
6500 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6501 * config.host (powerpc*-*-linux*): For e500v1, use
6502 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6503 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6504 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6505
ef2810c1
JDA
65062014-10-26 John David Anglin <danglin@gcc.gnu.org>
6507
6508 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6509 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6510 memory read accesses are ok.
6511
d80c2bea
JM
65122014-10-25 Joseph Myers <joseph@codesourcery.com>
6513
6514 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6515 * configure: Regenerate.
6516 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6517 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6518 of soft-fp for 32-bit classic hard float. Do not use
6519 t-softfp-excl for soft float.
6520
693b297b
JM
65212014-10-22 Joseph Myers <joseph@codesourcery.com>
6522
6523 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6524 configurations.
6525 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6526 Remove variables.
6527
18a3415e
GJL
65282014-10-22 Georg-Johann Lay <avr@gjlay.de>
6529
6530 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6531 introduced with 2014-10-21 trunk r216525.
6532
c1dd9790 65332014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6534 Vidya Praveen <vidya.praveen@atmel.com>
6535 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6536 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6537 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6538
6539 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6540 order.
6541
6542 Updated library functions for AVRTINY arch.
6543 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6544 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6545 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6546 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6547 wsubi/wadi macors.
6548 (__mulsi3_helper): Update stack, preserve callee saved regs and
6549 argument from stack. Restore callee save registers.
6550 (__mulpsi3): Likewise.
6551 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6552 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6553 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6554 AVRTINY.
6555 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6556 (__do_copy_data): Added new definition for AVRTINY.
6557 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6558 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6559 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6560 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6561 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6562 macors.
18a3415e 6563 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6564 AVRTINY.
6565
18a3415e 6566 Fix broken long multiplication on tiny arch.
c1dd9790 6567
5f606431
JM
65682014-10-09 Joseph Myers <joseph@codesourcery.com>
6569
6570 * soft-fp/double.h: Update from glibc.
6571 * soft-fp/eqdf2.c: Likewise.
6572 * soft-fp/eqsf2.c: Likewise.
6573 * soft-fp/eqtf2.c: Likewise.
6574 * soft-fp/extenddftf2.c: Likewise.
6575 * soft-fp/extended.h: Likewise.
6576 * soft-fp/extendsfdf2.c: Likewise.
6577 * soft-fp/extendsftf2.c: Likewise.
6578 * soft-fp/extendxftf2.c: Likewise.
6579 * soft-fp/gedf2.c: Likewise.
6580 * soft-fp/gesf2.c: Likewise.
6581 * soft-fp/getf2.c: Likewise.
6582 * soft-fp/ledf2.c: Likewise.
6583 * soft-fp/lesf2.c: Likewise.
6584 * soft-fp/letf2.c: Likewise.
6585 * soft-fp/op-1.h: Likewise.
6586 * soft-fp/op-2.h: Likewise.
6587 * soft-fp/op-4.h: Likewise.
6588 * soft-fp/op-8.h: Likewise.
6589 * soft-fp/op-common.h: Likewise.
6590 * soft-fp/quad.h: Likewise.
6591 * soft-fp/single.h: Likewise.
6592 * soft-fp/soft-fp.h: Likewise.
6593 * soft-fp/unorddf2.c: Likewise.
6594 * soft-fp/unordsf2.c: Likewise.
6595 * soft-fp/unordtf2.c: Likewise.
6596 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6597 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6598 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6599 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6600 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6601 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6602 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6603 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6604 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6605 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6606
9b84e7a8
RX
66072014-10-08 Rong Xu <xur@google.com>
6608
6609 * libgcov-util.c (read_gcda_file): Fix format.
6610 (find_match_gcov_info): Ditto.
6611 (calculate_2_entries): New.
6612 (compute_one_gcov): Ditto.
6613 (gcov_info_count_all_cold): Ditto.
6614 (gcov_info_count_all_zero): Ditto.
6615 (extract_file_basename): Ditto.
6616 (get_file_basename): Ditto.
6617 (set_flag): Ditto.
6618 (matched_gcov_info): Ditto.
6619 (calculate_overlap): Ditto.
6620 (gcov_profile_overlap): Ditto.
6621 * libgcov-driver.c (compute_summary): Make
6622 it avavilable for external calls.
6623
fe1090c1
RX
66242014-10-06 Rong Xu <xur@google.com>
6625
6626 * Makefile.in: Ditto.
6627 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6628 (gcov_sort_icall_topn_counter): Ditto.
6629 (gcov_sort_topn_counter_arrays): Ditto.
6630 (dump_one_gcov): Sort indirect_call topn counters.
6631 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6632 function.
6633 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6634 utility function.
6635 (__gcov_indirect_call_topn_profiler): New profiler function.
6636 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6637 * libgcov.h: New decls.
6638
3daa7bbf
TS
66392014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6640
6641 * config.host: Remove support for score-*.
6642
9a79452d
JM
66432014-09-22 Joseph Myers <joseph@codesourcery.com>
6644
6645 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6646 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6647 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6648 __LIBGCC_XF_MANT_DIG__.
6649 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6650 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6651 __LIBGCC_TF_MANT_DIG__.
6652 * libgcc2.c (NOTRUNC): Define in terms of
6653 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6654 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6655
1a849e50
JM
66562014-09-22 Joseph Myers <joseph@codesourcery.com>
6657
6658 PR target/63312
6659 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6660 New macros.
6661
598a1586
HPN
66622014-09-22 Hans-Peter Nilsson <hp@axis.com>
6663
6664 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6665 override USE_PT_GNU_EH_FRAME.
6666 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6667 check USE_EH_FRAME_REGISTRY_ALWAYS against
6668 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6669 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6670 variable for substituted force_explicit_eh_registry.
6671 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6672 * configure.ac (explicit-exception-frame-registration):
6673 New AC_ARG_ENABLE.
6674 * configure: Regenerate.
6675
3a8fe7c6
OH
66762014-09-19 Olivier Hainque <hainque@adacore.com>
6677
6678 * config.host (powerpc-wrs-vxworksmils): New configuration,
6679 same as vxworksae.
6680
dd69f047
JM
66812014-09-18 Joseph Myers <joseph@codesourcery.com>
6682
6683 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6684
e770bfd9
JM
66852014-09-18 Joseph Myers <joseph@codesourcery.com>
6686
6687 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6688 bits not set bits as indicating trapping exceptions.
6689
cadb2b96
NS
66902014-09-17 Nathan sidwell <nathan@acm.org>
6691
6692 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6693 (LIBGCOV_DRIVER): ... here.
6694 * libgcov-driver.c (gcov_master): New.
6695 (gcov_exit): Remove from master chain.
6696 (__gcov_init): Add to master chain if version compatible. Don't
6697 clear the version.
6698 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6699 (gcov_reset_int): Clear master chain, if compatible.
6700 (gcov_dump_int): New internal interface. Dump master chain, if
6701 compatible.
6702 (gcov_dump): Alias for gcov_dump_int.
6703 * libgcov.h (struct gcov_root): Add next and prev fields.
6704 (struct gcov_master): New struct.
6705 (__gcov_master): New.
6706 (gcov_dump_int): Declare.
6707
580d22a3
OH
67082014-09-17 Olivier Hainque <hainque@adacore.com>
6709
6710 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6711 and crtbegin.o + crtend.o to extra_parts.
6712
8cc4b7a2
JM
67132014-09-12 Joseph Myers <joseph@codesourcery.com>
6714
6715 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6716 __LIBGCC_HAS_SF_MODE__.
6717 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6718 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6719 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6720 * config/libbid/bid_gcc_intrinsics.h
6721 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6722 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6723 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6724 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6725 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6726 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6727
ea3f2b24
GJL
67282014-09-11 Georg-Johann Lay <avr@gjlay.de>
6729
6730 PR target/63223
6731 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6732 and R24 as needed. Make work for all devices and .text locations.
6733 (__do_global_ctors, __do_global_dtors): Use word addresses.
6734 (__tablejump__, __tablejump_elpm__): Remove functions.
6735 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6736 Add _tablejump2.
6737 (XICALL, XIJMP): New macros.
6738
b677236a
MS
67392014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6740 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6741
6742 * config.host (aarch64*): Include crtfastmath.o and
6743 t-crtfm.
6744 * config/aarch64/crtfastmath.c: New file.
6745
157e859f
TS
67462014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6747
6748 * config.host: Remove picochip support.
6749 * config/picochip/adddi3.S: Remove.
6750 * config/picochip/ashlsi3.S: Remove.
6751 * config/picochip/ashlsi3.c: Remove.
6752 * config/picochip/ashrsi3.S: Remove.
6753 * config/picochip/ashrsi3.c: Remove.
6754 * config/picochip/clzsi2.S: Remove.
6755 * config/picochip/cmpsi2.S: Remove.
6756 * config/picochip/divmod15.S: Remove.
6757 * config/picochip/divmodhi4.S: Remove.
6758 * config/picochip/divmodsi4.S: Remove.
6759 * config/picochip/lib1funcs.S: Remove.
6760 * config/picochip/longjmp.S: Remove.
6761 * config/picochip/lshrsi3.S: Remove.
6762 * config/picochip/lshrsi3.c: Remove.
6763 * config/picochip/parityhi2.S: Remove.
6764 * config/picochip/popcounthi2.S: Remove.
6765 * config/picochip/setjmp.S: Remove.
6766 * config/picochip/subdi3.S: Remove.
6767 * config/picochip/t-picochip: Remove.
6768 * config/picochip/ucmpsi2.S: Remove.
6769 * config/picochip/udivmodhi4.S: Remove.
6770 * config/picochip/udivmodsi4.S: Remove.
6771
66bb34c0
JM
67722014-09-08 Joseph Myers <joseph@codesourcery.com>
6773
6774 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6775 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6776 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6777 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6778 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6779 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6780 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6781 defined and LIBGCC2_HAS_DF_MODE is defined.
6782 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6783 defined and LIBGCC2_HAS_XF_MODE is defined.
6784 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6785 defined and LIBGCC2_HAS_TF_MODE is defined.
6786
9686a2e6
JM
67872014-09-08 Joseph Myers <joseph@codesourcery.com>
6788
6789 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6790 and ROUND_TOWARDS_ZERO conditionals.
6791
71c3e2ef
NS
67922014-09-07 Nathan sidwell <nathan@acm.org>
6793
6794 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6795 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6796
53d68b9f
JM
67972014-09-05 Joseph Myers <joseph@codesourcery.com>
6798
6799 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6800 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6801 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6802 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6803 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6804 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6805 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6806 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6807 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6808 (DWARF_FRAME_REGISTERS): Change all uses to
6809 __LIBGCC_DWARF_FRAME_REGISTERS__.
6810 (EH_RETURN_STACKADJ_RTX): Change all uses to
6811 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6812 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6813 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6814 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6815 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6816 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6817 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6818 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6819 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6820 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6821 __LIBGCC_STACK_POINTER_REGNUM__.
6822 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6823 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6824 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6825 to __LIBGCC_STACK_POINTER_REGNUM__.
6826 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6827 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6828 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6829 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6830 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6831 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6832 (STACK_POINTER_REGNUM): Change all uses to
6833 __LIBGCC_STACK_POINTER_REGNUM__.
6834 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6835 use to __LIBGCC_STACK_POINTER_REGNUM__.
6836 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6837 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6838 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6839 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6840 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6841 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6842 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6843 to __LIBGCC_STACK_POINTER_REGNUM__.
6844 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6845 Remove conditional definition.
6846 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6847 __LIBGCC_TEXT_SECTION_ASM_OP__.
6848 (EH_FRAME_SECTION_NAME): Change all uses to
6849 __LIBGCC_EH_FRAME_SECTION_NAME__.
6850 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6851 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6852 (CTORS_SECTION_ASM_OP): Change all uses to
6853 __LIBGCC_CTORS_SECTION_ASM_OP__.
6854 (DTORS_SECTION_ASM_OP): Change all uses to
6855 __LIBGCC_DTORS_SECTION_ASM_OP__.
6856 (JCR_SECTION_NAME): Change all uses to
6857 __LIBGCC_JCR_SECTION_NAME__.
6858 (INIT_SECTION_ASM_OP): Change all uses to
6859 __LIBGCC_INIT_SECTION_ASM_OP__.
6860 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6861 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6862 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6863 __LIBGCC_STACK_GROWS_DOWNWARD__.
6864 * libgcc2.c (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 (EH_FRAME_SECTION_NAME): Change all uses to
6869 __LIBGCC_EH_FRAME_SECTION_NAME__.
6870 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6871 definitions. Change all uses to
6872 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6873 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6874 __LIBGCC_STACK_GROWS_DOWNWARD__.
6875 (DWARF_FRAME_REGISTERS): Change all uses to
6876 __LIBGCC_DWARF_FRAME_REGISTERS__.
6877 (EH_RETURN_STACKADJ_RTX): Change all uses to
6878 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6879 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6880 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6881 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6882 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6883 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6884
b20ee094
NS
68852014-09-02 Nathan sidwell <nathan@acm.org>
6886
6887 * libgcov-interface.c (STRONG_ALIAS): New.
6888 (__gcov_flush): Call __gcov_reset_int.
6889 (__gcov_reset): Strong alias for ...
6890 (__gcov_reset_ing): ... this renamed hidden version.
6891 * libgcov.h (__gcov_reset_int): New declaration.
6892
1ac83976
YS
68932014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6894
25efdb9f
YS
6895 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6896 call from here...
6897 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6898 (__dso_handle): Define on Cygwin.
6899 * config/i386/t-cygming (crtbeginS.o): New rule.
6900 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6901
1ac83976
YS
6902 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6903 declaration syntax.
6904
c6f9ea3b
SE
69052014-08-13 Steve Ellcey <sellcey@mips.com>
6906
6907 * crtstuff.c: Undef caddr_t.
6908
5b1ea7c5
SE
69092014-08-12 Steve Ellcey <sellcey@mips.com>
6910
6911 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6912
4303c581
NS
69132014-08-07 Nathan Sidwell <nathan@acm.org>
6914
6915 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6916 (LIBGCOV_DRIVER): ... to here.
6917 * libgcov.h (gcov_do_dump): New #define.
6918 (struct gcov_root): New.
6919 (__gcov_root): New declaration.
6920 (__gcov_dump_one): Declare.
6921 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6922 run_accounted): Delete.
6923 (gcov_compute_histogram): Add LIST argument, adjust.
6924 (compute_summary): Adjust gcov_compute_histogram call.
6925 (gcov_do_dump): Not hidden, static in libgcov.
6926 (gcov_clear): Move to interface.c.
6927 (__gcov_dump_one): New, broken out of ...
6928 (gcov_exit): ... here. Make static.
6929 (__gcov_root): New.
6930 (__gcov_init): Adjust.
6931 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6932 declarations.
6933 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6934 (gcov_clear): Moved from driver.c. Add LIST argument.
6935 (__gcov_reset): Adjust for changed interfaces.
6936 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6937
23742a9e
RAR
69382014-08-04 Rohit <rohitarulraj@freescale.com>
6939
6940 PR target/60102
6941 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6942 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6943
b98a872b
NS
69442014-08-01 Nathan Sidwell <nathan@acm.org>
6945
6946 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6947 LIBGCOV_INTERFACE): Reformat.
6948 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6949 IN_GCOV_TOOL.
6950 * libgcov-interface.c: Reformat some comments.
6951 (__gcov_flush_mx): Add declaration. Tidy up definition.
6952
6adaaa1d
AM
69532014-07-31 Alan Modra <amodra@gmail.com>
6954 Peter Bergner <bergner@vnet.ibm.com>
6955
6956 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6957 (pack_ldouble): New function.
6958 (__gcc_qadd): Use it.
6959 (__gcc_qmul): Likewise.
6960 (__gcc_qdiv): Likewise.
6961 (__gcc_qneg): Likewise.
6962 (__gcc_stoq): Likewise.
6963 (__gcc_dtoq): Likewise.
6964
87cb0c0c
UW
69652014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6966
6967 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6968 (__tpf_eh_return): Add original return address as second parameter.
6969 Handle cases where unwinder routines were called directly, instead
6970 of from within the C++ library.
6971
19926161
NS
69722014-07-29 Nathan Sidwell <nathan@acm.org>
6973
6974 * libgcov.h: Move renaming of entry points to lib gcov specific
6975 portion.
6976 (gcov_do_dump): New rename.
6977 (gcov_rewrite): Remove inline, make HIDDEN.
6978 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6979 (gcov_exit_compute_summary): Rename to ...
6980 (compute_summary): ... here. Add LIST argument.
6981 (gcov_exit_merge_gcda): Rename to ...
6982 (merge_one_data): ... here.
6983 (gcov_exit_write_gcda): Rename to ...
6984 (write_one_data): ... here.
6985 (gcov_exit_merge_summary): Rename to ...
6986 (merge_summary): Add RUN_COUNTED argument.
6987 (gcov_exit_dump_gcov): Rename to ...
6988 (dump_one_gcov): Add RUN_COUNTED argument.
6989 (gcov_do_dump): New function, broken out of ...
6990 (gcov_exit): ... here. Call it.
6991
17522262
AG
69922014-07-27 Anthony Green <green@moxielogic.com>
6993
6994 * config.host: Add moxiebox configuration suppport.
6995
6dc33097
NS
69962014-07-27 Nathan Sidwell <nathan@acm.org>
6997
6998 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6999 (struct gcov_filename): ... here. Include buffer and max length
7000 fields.
7001 (gcov_max_filename): Remove.
7002 (gi_filename): Remove.
7003 (gcov_exit_compute_summary): Compute max filename here.
7004 (gcov_exit_merge_gcda): Add filename parm, adjust.
7005 (gcov_exit_merge_summary): Likewise.
7006 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7007 (gcov_exit): Likewise.
7008 (__gcov_init): Don't calculate max length here.
7009 * libgcov_util.c (max_filename_len): Remove.
7010 (read_gcda_file): Don't calculate max length here.
7011 (gcov_read_profile_dir): Don't propagate here.
7012 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7013 struct gcov_filename changes.
7014 (gcov_exit_open_gcda_file): Likewise.
7015
770f687d
NS
70162014-07-25 Nathan Sidwell <nathan@acm.org>
7017
7018 * libgcov-driver.c (set_gcov_dump_complete,
7019 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7020 functions polluting user's namespace.
7021 (gcov_exit): Set variable directly.
7022 (gcov_clear): Reset variable directly.
7023 * libgcov-interface.c (get_gcov_dymp_complete,
7024 reset_gov_dump_complete): Remove declarations.
7025 (__gcov_reset, __gcov_dump): Don't call them.
7026
fabf71ba
DD
70272014-07-24 DJ Delorie <dj@redhat.com>
7028
7029 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7030 (__gcc_deregister_frame): Move logic to detect deregister function
7031 to ...
7032 (__gcc_register_frame): here, so it's consistent with the register
7033 logic.
fabf71ba 7034
d10ee722
NS
70352014-07-23 Nathan Sidwell <nathan@acm.org>
7036
7037 * libgcov-driver.c (set_gcov_list): Remove.
7038 (gcov_list): Make non-static in GCOV_TOOL.
7039 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7040
a4137090
JDA
70412014-07-17 John David Anglin <danglin@gcc.gnu.org>
7042
7043 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7044 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7045 Don't use SYNC_LOCK_RELEASE for int type.
7046
72602c6c
RB
70472014-07-14 Richard Biener <rguenther@suse.de>
7048
7049 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7050
d5313205
RX
70512014-07-11 Rong Xu <xur@google.com>
7052
7053 * libgcov-util.c (gcov_max_filename): Fix declartion.
7054
c77556a5
RX
70552014-07-10 Rong Xu <xur@google.com>
7056
7057 Add gcov-tool: an offline gcda profile processing tool
7058 Support.
7059 * libgcov-driver.c (gcov_max_filename): Make available
7060 to gcov-tool.
7061 * libgcov-merge.c (__gcov_merge_add): Replace
7062 gcov_read_counter() with a Macro.
7063 (__gcov_merge_ior): Ditto.
7064 (__gcov_merge_time_profile): Ditto.
7065 (__gcov_merge_single): Ditto.
7066 (__gcov_merge_delta): Ditto.
7067 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7068 in the utility functions.
7069 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7070 gcov_list object link lists.
7071 (tag_function): Ditto.
7072 (tag_blocks): Ditto.
7073 (tag_arcs): Ditto.
7074 (tag_lines): Ditto.
7075 (tag_counters): Ditto.
7076 (tag_summary): Ditto.
7077 (read_gcda_finalize): Ditto.
7078 (read_gcda_file): Ditto.
7079 (ftw_read_file): Ditto.
7080 (read_profile_dir_init): Ditto.
7081 (gcov_read_profile_dir): Ditto.
7082 (gcov_read_counter_mem): Ditto.
7083 (gcov_get_merge_weight): Ditto.
7084 (merge_wrapper): A wrapper function that calls merging handler.
7085 (gcov_merge): Merge two gcov_info objects with weights.
7086 (find_match_gcov_info): Find the matched gcov_info in the list.
7087 (gcov_profile_merge): Merge two gcov_info object lists.
7088 (__gcov_add_counter_op): Process edge profile counter values.
7089 (__gcov_ior_counter_op): Process IOR profile counter values.
7090 (__gcov_delta_counter_op): Process delta profile counter values.
7091 (__gcov_single_counter_op): Process single profile counter values.
7092 (fp_scale): Callback function for float-point scaling.
cc86234f 7093 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7094 (gcov_profile_scale): Scaling profile counters.
7095 (gcov_profile_normalize): Normalize profile counters.
7096 * libgcov.h: Add headers and functions for gcov-tool use.
7097 (gcov_get_counter): New.
7098 (gcov_get_counter_target): Ditto.
7099 (struct gcov_info): Make the functions field mutable in gcov-tool
7100 compilation.
7101
5c7dac8a
KT
71022014-06-23 Kai Tietz <ktietz@redhat.com>
7103
7104 PR libgcc/61585
7105 * unwind-seh.c (_Unwind_GetGR): Check for proper
7106 index range.
7107 (_Unwind_SetGR): Likewise.
7108
161c9312
NC
71092014-05-22 Nick Clifton <nickc@redhat.com>
7110
7111 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7112 -mhwmult=none.
7113
e3f0315f
TJ
71142014-05-22 Teresa Johnson <tejohnson@google.com>
7115
7116 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7117 include.
7118
dbed5a9b
JM
71192014-05-20 John Marino <gnugcc@marino.st>
7120
7121 * config.host (*-*-dragonfly*): New target.
7122 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7123 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7124 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7125 * config/i386/dragonfly-unwind.h: New.
7126
1ec380e5
MR
71272014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7128
7129 PR libgcc/60166
7130 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7131 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7132
54fde020
BE
71332014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7134
7135 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7136 implementation.
7137
999db125
GJL
71382014-05-12 Georg-Johann Lay <avr@gjlay.de>
7139
7140 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7141
cceaf54a
RO
71422014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7143
7144 PR libgcc/61097
7145 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7146 if --enable-shared.
7147
e3fe9b5b
BE
71482014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7149
7150 Work around for current cygwin32 build problems.
7151 * config/i386/cygming-crtbegin.c (__register_frame_info,
7152 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7153 functions only for 64-bit systems.
7154
54cf37e9
RO
71552014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7156
7157 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7158 (sigill_caught, sigill_hdlr): Remove.
7159
d9f069ab
RO
71602014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7161
7162 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7163 check.
7164 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7165 Solaris 9 single-threaded support.
7166 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7167 Solaris 9 single-threaded support. Add call_user_handler code
7168 sequences.
7169 (sparc_is_sighandler): Likewise.
7170
59976ef8
AK
71712014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7172
7173 * config.host: Append t-floattodi to tmake_file depending on
7174 host_address.
7175
d02bbcf3
JS
71762014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7177
31466bc0 7178 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7179
c2e7e597
UB
71802014-03-10 Uros Bizjak <ubizjak@gmail.com>
7181
7182 PR libgcc/60472
7183 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7184 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7185 Use __builtin_expect when checking *jcr_list for NULL.
7186
227a7dc8
RO
71872014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7188
7189 PR libgcc/59339
7190 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7191 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7192 vtv_*.o to extra_parts if enable_vtable_verify.
7193
df2b279c
NC
71942014-03-06 Nick Clifton <nickc@redhat.com>
7195
7196 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7197 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7198
dc11d79b
JY
71992014-02-28 Joey Ye <joey.ye@arm.com>
7200
7201 PR libgcc/60166
7202 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7203 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7204 Set to zero.
7205
341c653c
WL
72062014-02-24 Walter Lee <walt@tilera.com>
7207
7208 * config.host: Support "tilegx*" and "tilepro*" triplets.
7209 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7210 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7211
95ce7613
CLT
72122014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7213 Chung-Lin Tang <cltang@codesourcery.com>
7214
7215 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7216 * config/nios2/crti.S: Remove .file directive.
7217 * config/nios2/crtn.S: Likewise.
7218
0bb4fc05
KT
72192014-02-18 Kai Tietz <ktietz@redhat.com>
7220 Jonathan Schleifer <js@webkeks.org>
7221
7222 PR objc/56870
7223 * unwind-seh.c (_GCC_specific_handler): Pass proper
7224 value to unwind-handler.
7225
9acf28f1
JM
72262014-02-12 Joseph Myers <joseph@codesourcery.com>
7227
7228 * soft-fp/adddf3.c: Update from glibc.
7229 * soft-fp/addsf3.c: Likewise.
7230 * soft-fp/addtf3.c: Likewise.
7231 * soft-fp/divdf3.c: Likewise.
7232 * soft-fp/divsf3.c: Likewise.
7233 * soft-fp/divtf3.c: Likewise.
7234 * soft-fp/double.h: Likewise.
7235 * soft-fp/eqdf2.c: Likewise.
7236 * soft-fp/eqsf2.c: Likewise.
7237 * soft-fp/eqtf2.c: Likewise.
7238 * soft-fp/extenddftf2.c: Likewise.
7239 * soft-fp/extended.h: Likewise.
7240 * soft-fp/extendsfdf2.c: Likewise.
7241 * soft-fp/extendsftf2.c: Likewise.
7242 * soft-fp/extendxftf2.c: Likewise.
7243 * soft-fp/fixdfdi.c: Likewise.
7244 * soft-fp/fixdfsi.c: Likewise.
7245 * soft-fp/fixdfti.c: Likewise.
7246 * soft-fp/fixsfdi.c: Likewise.
7247 * soft-fp/fixsfsi.c: Likewise.
7248 * soft-fp/fixsfti.c: Likewise.
7249 * soft-fp/fixtfdi.c: Likewise.
7250 * soft-fp/fixtfsi.c: Likewise.
7251 * soft-fp/fixtfti.c: Likewise.
7252 * soft-fp/fixunsdfdi.c: Likewise.
7253 * soft-fp/fixunsdfsi.c: Likewise.
7254 * soft-fp/fixunsdfti.c: Likewise.
7255 * soft-fp/fixunssfdi.c: Likewise.
7256 * soft-fp/fixunssfsi.c: Likewise.
7257 * soft-fp/fixunssfti.c: Likewise.
7258 * soft-fp/fixunstfdi.c: Likewise.
7259 * soft-fp/fixunstfsi.c: Likewise.
7260 * soft-fp/fixunstfti.c: Likewise.
7261 * soft-fp/floatdidf.c: Likewise.
7262 * soft-fp/floatdisf.c: Likewise.
7263 * soft-fp/floatditf.c: Likewise.
7264 * soft-fp/floatsidf.c: Likewise.
7265 * soft-fp/floatsisf.c: Likewise.
7266 * soft-fp/floatsitf.c: Likewise.
7267 * soft-fp/floattidf.c: Likewise.
7268 * soft-fp/floattisf.c: Likewise.
7269 * soft-fp/floattitf.c: Likewise.
7270 * soft-fp/floatundidf.c: Likewise.
7271 * soft-fp/floatundisf.c: Likewise.
7272 * soft-fp/floatunditf.c: Likewise.
7273 * soft-fp/floatunsidf.c: Likewise.
7274 * soft-fp/floatunsisf.c: Likewise.
7275 * soft-fp/floatunsitf.c: Likewise.
7276 * soft-fp/floatuntidf.c: Likewise.
7277 * soft-fp/floatuntisf.c: Likewise.
7278 * soft-fp/floatuntitf.c: Likewise.
7279 * soft-fp/gedf2.c: Likewise.
7280 * soft-fp/gesf2.c: Likewise.
7281 * soft-fp/getf2.c: Likewise.
7282 * soft-fp/ledf2.c: Likewise.
7283 * soft-fp/lesf2.c: Likewise.
7284 * soft-fp/letf2.c: Likewise.
7285 * soft-fp/muldf3.c: Likewise.
7286 * soft-fp/mulsf3.c: Likewise.
7287 * soft-fp/multf3.c: Likewise.
7288 * soft-fp/negdf2.c: Likewise.
7289 * soft-fp/negsf2.c: Likewise.
7290 * soft-fp/negtf2.c: Likewise.
7291 * soft-fp/op-1.h: Likewise.
7292 * soft-fp/op-2.h: Likewise.
7293 * soft-fp/op-4.h: Likewise.
7294 * soft-fp/op-8.h: Likewise.
7295 * soft-fp/op-common.h: Likewise.
7296 * soft-fp/quad.h: Likewise.
7297 * soft-fp/single.h: Likewise.
7298 * soft-fp/soft-fp.h: Likewise.
7299 * soft-fp/subdf3.c: Likewise.
7300 * soft-fp/subsf3.c: Likewise.
7301 * soft-fp/subtf3.c: Likewise.
7302 * soft-fp/truncdfsf2.c: Likewise.
7303 * soft-fp/trunctfdf2.c: Likewise.
7304 * soft-fp/trunctfsf2.c: Likewise.
7305 * soft-fp/trunctfxf2.c: Likewise.
7306 * soft-fp/unorddf2.c: Likewise.
7307 * soft-fp/unordsf2.c: Likewise.
7308 * soft-fp/unordtf2.c: Likewise.
7309 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7310 macro.
7311 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7312 Likewise.
7313 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7314 Likewise.
7315 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7316 Likewise.
7317 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7318 Likewise.
7319 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7320 Likewise.
7321 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7322 Likewise.
7323 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7324 Likewise.
7325 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7326 Likewise.
7327 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7328 Likewise.
7329 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7330 Likewise.
7331 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7332 Likewise.
7333 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7334 Likewise.
7335 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7336 Likewise.
7337 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7338 Likewise.
7339 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7340 Likewise.
7341
ce245ec6
AK
73422014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7343
7344 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7345 cannot be represented.
7346 * config/s390/32/_fixsfdi.c: Likewise.
7347 * config/s390/32/_fixtfdi.c: Likewise.
7348 * config/s390/32/_fixunsdfdi.c: Likewise.
7349 * config/s390/32/_fixunssfdi.c: Likewise.
7350 * config/s390/32/_fixunstfdi.c: Likewise.
7351
1c51d688
RS
73522014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7353
7354 * configure.ac (libgcc_cv_mips_hard_float): New.
7355 * configure: Regenerate.
7356 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7357 t-softfp-sfdf for hard-float targets.
7358 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7359 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7360 (softfp_truncations, softfp_exclude_libgcc2): New.
7361 * config/t-hardfp: New file.
7362 * config/t-hardfp-sfdf: Likewise.
7363 * config/hardfp.c: Likewise.
7364
bbf391db
AK
73652014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7366
7367 * config.host: Include t-floattodi also for s390x.
7368 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7369 * config/s390/32/_fixsfdi.c: Likewise.
7370 * config/s390/32/_fixtfdi.c: Likewise.
7371 * config/s390/32/_fixunsdfdi.c: Likewise.
7372 * config/s390/32/_fixunssfdi.c: Likewise.
7373 * config/s390/32/_fixunstfdi.c: Likewise.
7374
91da0481
RO
73752014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7376
7377 PR target/59788
7378 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7379 (install-libgcc-unwind-map-forbuild): New target.
7380 (all): Depend on install-libgcc-unwind-map-forbuild.
7381 (install-libgcc-unwind-map): New target.
7382 (install): Depend on install-libgcc-unwind-map.
7383
02b67731
SL
73842014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7385
7386 * config/nios2/crti.S (_init): Initialize GOT pointer from
7387 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7388
1ea0a651
RS
73892014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7390
7391 * configure.ac: Check __mips64 when setting host_address.
7392 * configure: Regenerate.
7393 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7394 mips/t-mips64 and t-softfp.
7395 (mips*-*-linux*): Don't add mips/t-tpbit.
7396 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7397 (DPBIT, DPBIT_CFLAGS): Delete.
7398 * config/mips/sfp-machine.h: New file.
7399 * config/mips/t-mips64: Likewise.
7400 * config/mips/t-softfp-tf: Likewise.
7401 * config/mips/t-tpbit: Delete.
7402
f32b0061
MS
74032014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7404
7405 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7406 as long long.
7407
a5420aa4
WL
74082014-01-25 Walter Lee <walt@tilera.com>
7409
7410 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7411 config.h or system.h.
7412 (bool) Define.
7413
24534912
WL
74142014-01-25 Walter Lee <walt@tilera.com>
7415
7416 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7417 (post_atomic_barrier): Ditto.
7418 (__fetch_and_do): New macro.
7419 (__atomic_fetch_and_do): Use __fetch_and_do.
7420 (__sync_fetch_and_do): New macro.
7421 (__sync_fetch_and_add_4): New function.
7422 (__sync_fetch_and_sub_4): New function.
7423 (__sync_fetch_and_or_4): New function.
7424 (__sync_fetch_and_and_4): New function.
7425 (__sync_fetch_and_xor_4): New function.
7426 (__sync_fetch_and_nand_4): New function.
7427 (__sync_fetch_and_add_8): New function.
7428 (__sync_fetch_and_sub_8): New function.
7429 (__sync_fetch_and_or_8): New function.
7430 (__sync_fetch_and_and_8): New function.
7431 (__sync_fetch_and_xor_8): New function.
7432 (__sync_fetch_and_nand_8): New function.
7433 (__do_and_fetch): New macro.
7434 (__atomic_do_and_fetch): Use __do_and_fetch.
7435 (__sync_do_and_fetch): New macro.
7436 (__sync_add_and_fetch_4): New function.
7437 (__sync_sub_and_fetch_4): New function.
7438 (__sync_or_and_fetch_4): New function.
7439 (__sync_and_and_fetch_4): New function.
7440 (__sync_xor_and_fetch_4): New function.
7441 (__sync_nand_and_fetch_4): New function.
7442 (__sync_add_and_fetch_8): New function.
7443 (__sync_sub_and_fetch_8): New function.
7444 (__sync_or_and_fetch_8): New function.
7445 (__sync_and_and_fetch_8): New function.
7446 (__sync_xor_and_fetch_8): New function.
7447 (__sync_nand_and_fetch_8): New function.
7448 (__sync_exchange_methods): New macro.
7449 (__sync_val_compare_and_swap_4): New function.
7450 (__sync_bool_compare_and_swap_4): New function.
7451 (__sync_lock_test_and_test_4): New function.
7452 (__sync_val_compare_and_swap_8): New function.
7453 (__sync_bool_compare_and_swap_8): New function.
7454 (__sync_lock_test_and_test_8): New function.
7455 (__subword_cmpxchg_body): New macro.
7456 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7457 (__atomic_compare_exchange_2): Ditto.
7458 (__sync_subword_cmpxchg): New macro.
7459 (__sync_val_compare_and_swap_1): New function.
7460 (__sync_bool_compare_and_swap_1): New function.
7461 (__sync_val_compare_and_swap_2): New function.
7462 (__sync_bool_compare_and_swap_2): New function.
7463 (__atomic_subword): Rename to ...
7464 (__subword): ... New name.
7465 (__atomic_subword_fetch): Use __subword.
7466 (__sync_subword_fetch): New macro.
7467 (__sync_fetch_and_add_1): New function.
7468 (__sync_fetch_and_sub_1): New function.
7469 (__sync_fetch_and_or_1): New function.
7470 (__sync_fetch_and_and_1): New function.
7471 (__sync_fetch_and_xor_1): New function.
7472 (__sync_fetch_and_nand_1): New function.
7473 (__sync_fetch_and_add_2): New function.
7474 (__sync_fetch_and_sub_2): New function.
7475 (__sync_fetch_and_or_2): New function.
7476 (__sync_fetch_and_and_2): New function.
7477 (__sync_fetch_and_xor_2): New function.
7478 (__sync_fetch_and_nand_2): New function.
7479 (__sync_add_and_fetch_1): New function.
7480 (__sync_sub_and_fetch_1): New function.
7481 (__sync_or_and_fetch_1): New function.
7482 (__sync_and_and_fetch_1): New function.
7483 (__sync_xor_and_fetch_1): New function.
7484 (__sync_nand_and_fetch_1): New function.
7485 (__sync_add_and_fetch_2): New function.
7486 (__sync_sub_and_fetch_2): New function.
7487 (__sync_or_and_fetch_2): New function.
7488 (__sync_and_and_fetch_2): New function.
7489 (__sync_xor_and_fetch_2): New function.
7490 (__sync_nand_and_fetch_2): New function.
7491 (__atomic_subword_lock): Use __subword.
7492 (__sync_subword_lock): New macro.
7493 (__sync_lock_test_and_set_1): New function.
7494 (__sync_lock_test_and_set_2): New function.
7495
4d6d3bc5
WL
74962014-01-25 Walter Lee <walt@tilera.com>
7497
7498 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7499 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7500 (__atomic_subword): Ditto.
7501
cbd9890e
WL
75022014-01-25 Walter Lee <walt@tilera.com>
7503
7504 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7505 a prefix op argument.
7506 (__atomic_nand_fetch_4): Add prefix op.
7507 (__atomic_nand_fetch_8): Ditto.
7508
7d296953 75092014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7510
7511 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7512
46dd1242
L
75132014-01-09 Rong Xu <xur@google.com>
7514
7515 * libgcov-driver.c (this_prg): make it local to save
7516 bss space.
7517 (gcov_exit_compute_summary): Ditto.
7518 (gcov_exit_merge_gcda): Ditto.
7519 (gcov_exit_merge_summary): Ditto.
7520 (gcov_exit_dump_gcov): Ditto.
7521
cc86234f 75222014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7523
7524 * libgcov-driver.c: Use libgcov.h.
7525 (buffer_fn_data): Use xmalloc instead of malloc.
7526 (gcov_exit_merge_gcda): Ditto.
7527 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7528 * libgcov.h: New common header files for libgcov-*.h.
7529 * libgcov-interface.c: Use libgcov.h
7530 * libgcov-merge.c: Ditto.
7531 * libgcov-profiler.c: Ditto.
7532 * Makefile.in: Add dependence to libgcov.h
7533
a02e7bdd
JM
75342014-01-02 Joseph Myers <joseph@codesourcery.com>
7535
7536 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7537 case of small numerator and finite nonzero result.
7538
ac1dca3c
RS
75392014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7540
7541 Update copyright years
7542
f9030485
RS
75432014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7544
7545 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7546 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7547 config/arc/dp-hack.h, config/arc/fp-hack.h,
7548 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7549 config/arc/ieee-754/arc600-dsp/divdf3.S,
7550 config/arc/ieee-754/arc600-dsp/divsf3.S,
7551 config/arc/ieee-754/arc600-dsp/muldf3.S,
7552 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7553 config/arc/ieee-754/arc600-mul64/divdf3.S,
7554 config/arc/ieee-754/arc600-mul64/divsf3.S,
7555 config/arc/ieee-754/arc600-mul64/muldf3.S,
7556 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7557 config/arc/ieee-754/arc600/divsf3.S,
7558 config/arc/ieee-754/arc600/mulsf3.S,
7559 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7560 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7561 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7562 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7563 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7564 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7565 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7566 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7567 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7568 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7569 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7570 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7571 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7572 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7573 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7574 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7575 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7576 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7577 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7578 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7579 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7580 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7581 vtv_start_preinit.c: Use the standard form for the copyright notice.
7582
e430824f
CLT
75832013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7584 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 7585 Based on patches from Altera Corporation
e430824f
CLT
7586
7587 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7588 * config/nios2/lib2-nios2.h: New file.
7589 * config/nios2/lib2-divmod-hi.c: New file.
7590 * config/nios2/linux-unwind.h: New file.
7591 * config/nios2/lib2-divmod.c: New file.
7592 * config/nios2/linux-atomic.c: New file.
7593 * config/nios2/t-nios2: New file.
7594 * config/nios2/crti.asm: New file.
7595 * config/nios2/t-linux: New file.
7596 * config/nios2/lib2-divtable.c: New file.
7597 * config/nios2/lib2-mul.c: New file.
7598 * config/nios2/tramp.c: New file.
7599 * config/nios2/crtn.asm: New file.
7600
1879e97f
UB
76012013-12-26 Uros Bizjak <ubizjak@gmail.com>
7602
7603 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7604 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7605 from cpuid.h to check vendor signatures.
7606
f4a4bdbb
GG
76072013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7608
c2e7e597 7609 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7610 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7611 (get_amd_cpu): Likewise.
7612
8d2ae544
L
76132013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7614
7615 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7616 Haswell.
7617
74924838
ASJ
76182013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7619 H.J. Lu <hongjiu.lu@intel.com>
7620
0bb52f25
L
7621 PR target/59422
7622 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7623 and AMD_JAGUAR.
7624 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7625 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7626 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7627 FEATURE_XOP and FEATURE_FMA.
7628 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7629 AMDFAM15H_BDVER3.
7630 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 7631 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
7632 FEATURE_FMA4 and FEATURE_XOP.
7633
d3c11974
L
76342013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7635
7636 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7637 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7638 (get_intel_cpu): Updated.
7639
064c4ff2
ZC
76402013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7641
7642 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7643
8b02e720
UB
76442013-12-09 Uros Bizjak <ubizjak@gmail.com>
7645
7646 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 7647 instructions when __SSE_MATH__ is defined.
8b02e720 7648
3fa2ccb4
RC
76492013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7650
7651 * config.host (microblaze-*-rtems*): New.
7652
ecd78fc9
KV
76532013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7654
7655 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7656 architectures that do not have hardware divide instruction.
7657 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7658
b21fbbd2
RS
76592013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7660
7661 * longlong.h: Delete (moved to include/).
7662
b03fb8c9
AZ
76632013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7664
7665 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7666 of normal number and qNaN to not raise an inexact exception.
7667
3c716922
UB
76682013-11-28 Uros Bizjak <ubizjak@gmail.com>
7669
7670 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7671
76722013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
7673
7674 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7675 for correct opcodes on BE.
7676
a3458d22
UB
76772013-11-27 Uros Bizjak <ubizjak@gmail.com>
7678
7679 * soft-fp/op-4.h: Update from glibc.
7680
30b8f78b
KV
76812013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7682
7683 * libgcc2.c (__udivmoddi4): Define new implementation when
7684 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7685 divide instructions.
7686
82552a29
OE
76872013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7688
7689 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7690
80e87457
RO
76912013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7692
7693 * config/t-softfp (soft-fp-objects-base): New variable.
7694 (soft-fp-objects): Use it.
7695
44178879
DE
76962013-11-23 David Edelson <dje.gcc@gmail.com>
7697 Andrew Dixie <andrewd@gentrack.com>
7698
7699 PR target/33704
7700 * config/rs6000/aixinitfini.c: New file.
7701 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7702 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7703 symbols.
7704
e5287671
YR
77052013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7706
a3458d22 7707 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7708
867c8b03
JH
77092013-11-18 Jan Hubicka <jh@suse.cz>
7710
7f369373
JH
7711 * libgcov-driver.c (run_accounted): Make global level static.
7712 (gcov_exit_merge_summary): Silence warning; do not clear
7713 run_accounted here.
7714 (gcov_exit): Clear it here.
7715
1d0b3334
JH
7716 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7717 run_accounted.
7718
867c8b03
JH
7719 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7720 (all_prg, crc32): Remove static vars.
7721 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7722 all_prg.
7723 (gcov_exit_merge_gcda): Add crc32 parameter.
7724 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7725 do not account run if it was already accounted.
7726 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7727 (gcov_exit): Initialize all_prg; update.
7728
66204992
AS
77292013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7730
7731 * configure: Regenerate.
7732
b54214fe
UW
77332013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7734 Alan Modra <amodra@gmail.com>
7735
7736 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7737 (frob_update_context): Use it.
7738
77392013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7740 Alan Modra <amodra@gmail.com>
7741
7742 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7743 (trampoline_initial): Provide ELFv2 variant.
7744 (__trampoline_setup): Likewise.
7745
7746 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7747 check for AIX indirect function call sequence if _CALL_ELF == 2.
7748
77492013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7750 Alan Modra <amodra@gmail.com>
7751
7752 * config/rs6000/linux-unwind.h (get_regs): Do not support
7753 old kernel versions if _CALL_ELF == 2.
7754 (frob_update_context): Do not support PLT stub variants only
7755 generated by old linkers if _CALL_ELF == 2.
7756
13e0981a
UW
77572013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7758 Alan Modra <amodra@gmail.com>
7759
7760 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7761 location of CR save area for 64-bit little-endian systems.
7762
1a80085d
EB
77632013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7764
7765 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7766 in tmake_file.
7767 * config/arm/t-vxworks: Delete.
7768
cabeea52
KT
77692013-11-10 Kai Tietz <ktietz@redhat.com>
7770
7771 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7772 Increment load-count on use of LIBGCC_SONAME DLL.
7773 (hmod_libgcc): New static variable to hold handle of
7774 LIBGCC_SONAME DLL.
7775 (__gcc_deregister_frame): Decrement load-count of
7776 LIBGCC_SONAME DLL.
7777
ac088ba1
BRF
77782013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7779
7780 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7781 availability.
7782 * configure: Regenerate
7783
d59a8fcc
UB
77842013-11-07 Uros Bizjak <ubizjak@gmail.com>
7785
7786 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7787 FP_EX_DENORM. Store result to volatile location after SSE division
7788 to close interrupt window. Remove unneeded fwait after x87
7789 division since interrupt window will be closed by emitted fstp.
9de84e84 7790 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7791
9954c743
JM
77922013-11-06 Joseph Myers <joseph@codesourcery.com>
7793
7794 * soft-fp/README: Update.
7795 * soft-fp/adddf3.c: Update from glibc.
7796 * soft-fp/addsf3.c: Likewise.
7797 * soft-fp/addtf3.c: Likewise.
7798 * soft-fp/divdf3.c: Likewise.
7799 * soft-fp/divsf3.c: Likewise.
7800 * soft-fp/divtf3.c: Likewise.
7801 * soft-fp/double.h: Likewise.
7802 * soft-fp/eqdf2.c: Likewise.
7803 * soft-fp/eqsf2.c: Likewise.
7804 * soft-fp/eqtf2.c: Likewise.
7805 * soft-fp/extenddftf2.c: Likewise.
7806 * soft-fp/extended.h: Likewise.
7807 * soft-fp/extendsfdf2.c: Likewise.
7808 * soft-fp/extendsftf2.c: Likewise.
7809 * soft-fp/extendxftf2.c: Likewise.
7810 * soft-fp/fixdfdi.c: Likewise.
7811 * soft-fp/fixdfsi.c: Likewise.
7812 * soft-fp/fixdfti.c: Likewise.
7813 * soft-fp/fixsfdi.c: Likewise.
7814 * soft-fp/fixsfsi.c: Likewise.
7815 * soft-fp/fixsfti.c: Likewise.
7816 * soft-fp/fixtfdi.c: Likewise.
7817 * soft-fp/fixtfsi.c: Likewise.
7818 * soft-fp/fixtfti.c: Likewise.
7819 * soft-fp/fixunsdfdi.c: Likewise.
7820 * soft-fp/fixunsdfsi.c: Likewise.
7821 * soft-fp/fixunsdfti.c: Likewise.
7822 * soft-fp/fixunssfdi.c: Likewise.
7823 * soft-fp/fixunssfsi.c: Likewise.
7824 * soft-fp/fixunssfti.c: Likewise.
7825 * soft-fp/fixunstfdi.c: Likewise.
7826 * soft-fp/fixunstfsi.c: Likewise.
7827 * soft-fp/fixunstfti.c: Likewise.
7828 * soft-fp/floatdidf.c: Likewise.
7829 * soft-fp/floatdisf.c: Likewise.
7830 * soft-fp/floatditf.c: Likewise.
7831 * soft-fp/floatsidf.c: Likewise.
7832 * soft-fp/floatsisf.c: Likewise.
7833 * soft-fp/floatsitf.c: Likewise.
7834 * soft-fp/floattidf.c: Likewise.
7835 * soft-fp/floattisf.c: Likewise.
7836 * soft-fp/floattitf.c: Likewise.
7837 * soft-fp/floatundidf.c: Likewise.
7838 * soft-fp/floatundisf.c: Likewise.
7839 * soft-fp/floatunditf.c: Likewise.
7840 * soft-fp/floatunsidf.c: Likewise.
7841 * soft-fp/floatunsisf.c: Likewise.
7842 * soft-fp/floatunsitf.c: Likewise.
7843 * soft-fp/floatuntidf.c: Likewise.
7844 * soft-fp/floatuntisf.c: Likewise.
7845 * soft-fp/floatuntitf.c: Likewise.
7846 * soft-fp/gedf2.c: Likewise.
7847 * soft-fp/gesf2.c: Likewise.
7848 * soft-fp/getf2.c: Likewise.
7849 * soft-fp/ledf2.c: Likewise.
7850 * soft-fp/lesf2.c: Likewise.
7851 * soft-fp/letf2.c: Likewise.
7852 * soft-fp/muldf3.c: Likewise.
7853 * soft-fp/mulsf3.c: Likewise.
7854 * soft-fp/multf3.c: Likewise.
7855 * soft-fp/negdf2.c: Likewise.
7856 * soft-fp/negsf2.c: Likewise.
7857 * soft-fp/negtf2.c: Likewise.
7858 * soft-fp/op-1.h: Likewise.
7859 * soft-fp/op-2.h: Likewise.
7860 * soft-fp/op-4.h: Likewise.
7861 * soft-fp/op-8.h: Likewise.
7862 * soft-fp/op-common.h: Likewise.
7863 * soft-fp/quad.h: Likewise.
7864 * soft-fp/single.h: Likewise.
7865 * soft-fp/soft-fp.h: Likewise.
7866 * soft-fp/subdf3.c: Likewise.
7867 * soft-fp/subsf3.c: Likewise.
7868 * soft-fp/subtf3.c: Likewise.
7869 * soft-fp/truncdfsf2.c: Likewise.
7870 * soft-fp/trunctfdf2.c: Likewise.
7871 * soft-fp/trunctfsf2.c: Likewise.
7872 * soft-fp/trunctfxf2.c: Likewise.
7873 * soft-fp/unorddf2.c: Likewise.
7874 * soft-fp/unordsf2.c: Likewise.
7875 * soft-fp/unordtf2.c: Likewise.
7876
02ac9503
UB
78772013-11-05 Uros Bizjak <ubizjak@gmail.com>
7878
7879 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7880 (_FP_MUL_MEAT_D): Ditto.
7881 (_FP_DIV_MEAT_S): Ditto.
7882 (_FP_DIV_MEAT_D): Ditto.
7883 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7884 t-softfp-sfdf and t-softfp to tmake_file.
7885
61221141
UB
78862013-11-03 Uros Bizjak <ubizjak@gmail.com>
7887
7888 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7889 * config/i386/crtprec.c: Ditto.
7890
9304f876
CJW
78912013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7892 Shiva Chen <shiva0217@gmail.com>
7893
7894 * config.host (nds32*-elf*): Add nds32 target.
7895 * config/nds32 : New directory and files.
7896
0e499e75
HPN
78972013-10-16 Hans-Peter Nilsson <hp@axis.com>
7898
7899 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7900 * config.host (cpu_type) <Setting default>: Add entry for
7901 crisv32-*-*.
7902 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7903 <crisv32-*-linux*>: Adjust.
7904 * longlong.h: Wrap the whole CRIS section in a single
7905 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7906 and sub_ddmmss.
7907 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7908 defined.
7909 [__CRIS__] (__umulsidi3): Define.
7910 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7911 * config/cris/sfp-machine.h: New file.
7912 * config/cris/umulsidi3.S: New file.
7913 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7914 * config/cris/arit.c (SIGNMULT): New macro.
7915 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7916 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7917 saving 3 out of originally 33 cycles from the fastest
7918 path, 3 out of 54 from the medium path and one from the longest
7919 path. Improve comments.
7920
16022041
RS
79212013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7922
7923 * sync.c: Remove static aliases and define each function directly
7924 under its real name.
7925
69778659
JDA
79262013-10-02 John David Anglin <danglin@gcc.gnu.org>
7927
7928 * config.host (hppa*64*-*-linux*): Define extra_parts.
7929 (hppa*-*-linux*): Likewise.
7930
2deaf8b0
JR
79312013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7932
7933 * config/arc/crtgend.S: Add 2013 to Copyright years.
7934 * config/arc/gmon/atomic.h: Likewise.
7935 * config/arc/gmon/auxreg.h: Likewise.
7936 * config/arc/gmon/sys/gmon_out.h: Likewise.
7937 * config/arc/gmon/sys/gmon.h: Likewise.
7938 * config/arc/gmon/prof-freq.c: Likewise.
7939 * config/arc/gmon/mcount.c: Likewise.
7940 * config/arc/gmon/prof-freq-stub.S: Likewise.
7941 * config/arc/gmon/gmon.c: Likewise.
7942 * config/arc/gmon/machine-gmon.h: Likewise.
7943 * config/arc/gmon/profil.S: Likewise.
7944 * config/arc/gmon/dcache_linesz.S: Likewise.
7945 * config/arc/crtg.S: Likewise.
7946 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7947 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7948 * config/arc/ieee-754/adddf3.S: Likewise.
7949 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7950 * config/arc/ieee-754/fixsfsi.S: Likewise.
7951 * config/arc/ieee-754/gtsf2.S: Likewise.
7952 * config/arc/ieee-754/floatsisf.S: Likewise.
7953 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7954 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7955 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7956 * config/arc/ieee-754/fixdfsi.S: Likewise.
7957 * config/arc/ieee-754/addsf3.S: Likewise.
7958 * config/arc/ieee-754/gesf2.S: Likewise.
7959 * config/arc/ieee-754/floatsidf.S: Likewise.
7960 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7961 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7962 * config/arc/ieee-754/gtdf2.S: Likewise.
7963 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7964 * config/arc/ieee-754/uneqdf2.S: Likewise.
7965 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7966 * config/arc/ieee-754/uneqsf2.S: Likewise.
7967 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7968 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7969 * config/arc/ieee-754/eqdf2.S: Likewise.
7970 * config/arc/ieee-754/ordsf2.S: Likewise.
7971 * config/arc/ieee-754/divsf3.S: Likewise.
7972 * config/arc/ieee-754/divdf3.S: Likewise.
7973 * config/arc/ieee-754/floatunsidf.S: Likewise.
7974 * config/arc/ieee-754/orddf2.S: Likewise.
7975 * config/arc/ieee-754/eqsf2.S: Likewise.
7976 * config/arc/ieee-754/gedf2.S: Likewise.
7977 * config/arc/crtn.S: Likewise.
7978 * config/arc/crti.S: Likewise.
7979 * config/arc/t-arc700-uClibc: Likewise.
7980 * config/arc/asm.h: Likewise.
7981 * config/arc/libgcc-excl.ver: Likewise.
7982 * config/arc/t-arc-newlib: Likewise.
7983 * config/arc/divtab-arc700.c: Likewise.
7984 * config/arc/initfini.c: Likewise.
7985 * config/arc/fp-hack.h: Likewise.
7986
c8e318b0
JR
79872013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7988 Diego Novillo <dnovillo@google.com>
7989
7990 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7991 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7992 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7993 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7994
d38a64b4
JR
79952013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7996 Brendan Kehoe <brendan@zen.org>
7997 Simon Cook <simon.cook@embecosm.com>
7998
7999 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8000 * config/arc: New directory.
8001 * longlong.h [__arc__] (umul_ppmm): Remove.
8002 [__arc__] (__umulsidi3): Define.
8003 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8004 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8005
dff717d2
JC
80062013-09-17 Jacek Caban <jacek@codeweavers.com>
8007
8008 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8009 CreateSemaphoreA.
8010 * config/i386/gthr-win32.h: Likewise.
8011
5c0029de
DD
80122013-09-16 DJ Delorie <dj@redhat.com>
8013
844ad6c6 8014 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
8015 * config/rl78/lib2mul.c: Enable for RL78/G10.
8016 * config/rl78/lib2div.c: Likewise.
8017 * config/rl78/lshrsi3.S: Use vregs.h.
8018 * config/rl78/cmpsi2.S: Likewise.
8019 * config/rl78/trampoline.S: Likewise.
8020 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8021
ceb2fc49
DD
80222013-09-14 DJ Delorie <dj@redhat.com>
8023 Nick Clifton <nickc@redhat.com>
8024
8025 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8026 * config/rl78/vregs.h: New.
8027 * config/rl78/signbit.S: New file. Implements signbit function.
8028 * config/rl78/divmodsi.S: New.
8029 * config/rl78/divmodhi.S: New.
8030 * config/rl78/divmodqi.S: New.
8031 * config/rl78/t-rl78: Build them here...
8032 * config/rl78/lib2div.c: ...but not here.
8033
f6a83b4a
DD
80342013-09-12 DJ Delorie <dj@redhat.com>
8035
8036 * config.host (msp*-*-elf): New.
8037 * config/msp430/: New port.
8038
9107b096
IS
80392013-08-18 Iain Sandoe <iain@codesourcery.com>
8040
8041 PR gcov-profile/58127
8042 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8043 __thread var for emulated TLS.
8044 (__gcov_indirect_call_counters): Likewise.
8045
0f9bde1f 80462013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8047 Catherine Moore <clm@codesourcery.com>
7d296953 8048 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8049
8050 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8051 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8052 (CALL_STUB_NO_RET): Likewise.
8053 (CALL_STUB_RET): Likewise.
8054 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8055 __mips16_ret call/return stub symbols.
8056 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8057 to tmake_file.
8058
2dc14aac
MR
80592013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8060
8061 * config.host <mips*-*-linux*>: Remove a stray comment.
8062
748d71f3
JH
80632013-08-10 Jan Hubicka <jh@suse.cz>
8064
8065 Work around binutils PR14342
8066 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8067 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8068 (L_gcov_indirect_call_profiler_v2): New.
8069
2fa3d31b
JH
80702013-08-06 Jan Hubicka <jh@suse.cz>
8071
8072 * libgcov.c (__gcov_indirect_call_callee,
8073 __gcov_indirect_call_counters): New global vars.
8074 (__gcov_indirect_call_profiler): replace by ...
8075 (__gcov_indirect_call_profiler_v2) ... this one.
8076
2077db1b
CT
80772013-08-06 Caroline Tice <cmtice@google.com>
8078
d0595b65 8079 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8080 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8081 * configure.ac: Add code to check/set enable_vtable_verify.
8082 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8083 true.
d0595b65
CT
8084 * vtv_start_preinit.c: New file.
8085 * vtv_end_preinit.c: New file.
8086 * vtv_start.c: New file.
8087 * vtv_end.c: New file.
8088 * configure: Regenerated.
2077db1b 8089
46549c20
MK
80902013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8091
8092 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8093 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8094 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8095 GPL-3.0-with-GCC-exception.
8096
72be589b
MR
80972013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8098
8099 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8100 ISA and up.
8101
902a3faf
AK
81022013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8103
8104 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8105 mapping for FPRs when creating the fallback framestate.
8106
02371798
GJL
81072013-07-19 Georg-Johann Lay <avr@gjlay.de>
8108
8109 PR target/57516
8110 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8111 (__round_s2_const, __round_u2_const)
8112 (__round_s4_const, __round_u4_const, __round_x8):
8113 Saturate result if addition result cannot be represented.
8114
ab0e8379
MK
81152013-07-15 Matthias Klose <doko@ubuntu.com>
8116
8117 * libgcc2.c: Don't include <limits.h>.
8118
7da38058
JJ
81192013-07-09 Janis Johnson <janisjo@codesourcery.com>
8120
8121 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8122
1f6eac90
JJ
81232013-07-06 Jakub Jelinek <jakub@redhat.com>
8124
8125 PR target/29776
8126 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8127
4ea3d774
JJ
81282013-06-28 Jakub Jelinek <jakub@redhat.com>
8129
8130 PR middle-end/36041
8131 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8132 Define.
8133 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8134 instead of table lookups.
8135 (__popcountDI2): Likewise.
8136
9d2cdf25
CJW
81372013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8138
8139 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8140 correctly.
8141
fa1e55b0
JM
81422013-06-21 Joseph Myers <joseph@codesourcery.com>
8143
8144 PR other/53317
8145 * soft-fp/adddf3.c: Update from glibc.
8146 * soft-fp/addsf3.c: Likewise.
8147 * soft-fp/addtf3.c: Likewise.
8148 * soft-fp/divdf3.c: Likewise.
8149 * soft-fp/divsf3.c: Likewise.
8150 * soft-fp/divtf3.c: Likewise.
8151 * soft-fp/double.h: Likewise.
8152 * soft-fp/eqdf2.c: Likewise.
8153 * soft-fp/eqsf2.c: Likewise.
8154 * soft-fp/eqtf2.c: Likewise.
8155 * soft-fp/extenddftf2.c: Likewise.
8156 * soft-fp/extended.h: Likewise.
8157 * soft-fp/extendsfdf2.c: Likewise.
8158 * soft-fp/extendsftf2.c: Likewise.
8159 * soft-fp/fixdfdi.c: Likewise.
8160 * soft-fp/fixdfsi.c: Likewise.
8161 * soft-fp/fixsfdi.c: Likewise.
8162 * soft-fp/fixsfsi.c: Likewise.
8163 * soft-fp/fixtfdi.c: Likewise.
8164 * soft-fp/fixtfsi.c: Likewise.
8165 * soft-fp/fixunsdfdi.c: Likewise.
8166 * soft-fp/fixunsdfsi.c: Likewise.
8167 * soft-fp/fixunssfdi.c: Likewise.
8168 * soft-fp/fixunssfsi.c: Likewise.
8169 * soft-fp/fixunstfdi.c: Likewise.
8170 * soft-fp/fixunstfsi.c: Likewise.
8171 * soft-fp/floatdidf.c: Likewise.
8172 * soft-fp/floatdisf.c: Likewise.
8173 * soft-fp/floatditf.c: Likewise.
8174 * soft-fp/floatsidf.c: Likewise.
8175 * soft-fp/floatsisf.c: Likewise.
8176 * soft-fp/floatsitf.c: Likewise.
8177 * soft-fp/floatundidf.c: Likewise.
8178 * soft-fp/floatundisf.c: Likewise.
8179 * soft-fp/floatunditf.c: Likewise.
8180 * soft-fp/floatunsidf.c: Likewise.
8181 * soft-fp/floatunsisf.c: Likewise.
8182 * soft-fp/floatunsitf.c: Likewise.
8183 * soft-fp/gedf2.c: Likewise.
8184 * soft-fp/gesf2.c: Likewise.
8185 * soft-fp/getf2.c: Likewise.
8186 * soft-fp/ledf2.c: Likewise.
8187 * soft-fp/lesf2.c: Likewise.
8188 * soft-fp/letf2.c: Likewise.
8189 * soft-fp/muldf3.c: Likewise.
8190 * soft-fp/mulsf3.c: Likewise.
8191 * soft-fp/multf3.c: Likewise.
8192 * soft-fp/negdf2.c: Likewise.
8193 * soft-fp/negsf2.c: Likewise.
8194 * soft-fp/negtf2.c: Likewise.
8195 * soft-fp/op-1.h: Likewise.
8196 * soft-fp/op-2.h: Likewise.
8197 * soft-fp/op-4.h: Likewise.
8198 * soft-fp/op-8.h: Likewise.
8199 * soft-fp/op-common.h: Likewise.
8200 * soft-fp/quad.h: Likewise.
8201 * soft-fp/single.h: Likewise.
8202 * soft-fp/soft-fp.h: Likewise.
8203 * soft-fp/subdf3.c: Likewise.
8204 * soft-fp/subsf3.c: Likewise.
8205 * soft-fp/subtf3.c: Likewise.
8206 * soft-fp/truncdfsf2.c: Likewise.
8207 * soft-fp/trunctfdf2.c: Likewise.
8208 * soft-fp/trunctfsf2.c: Likewise.
8209 * soft-fp/unorddf2.c: Likewise.
8210 * soft-fp/unordsf2.c: Likewise.
8211 * soft-fp/unordtf2.c: Likewise.
8212 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8213 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8214 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8215 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8216 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8217 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8218 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8219 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8220 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8221 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8222 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8223 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8224
0de86a92
JU
82252013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8226
8227 * config/mips/lib2funcs.c: New file.
8228 * config/mips/t-mips (LIB2ADD_ST): Add it.
8229
0d008882
OE
82302013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8231
8232 PR target/6526
8233 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8234 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8235
776434d1
WL
82362013-06-08 Walter Lee <walt@tilera.com>
8237
8238 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8239 Replace int64_t with long long. Add __extension__ where
8240 appropriate.
8241 * config/tilepro/atomic.c: Include config.h.
8242
6ab3ebb4
DR
82432013-06-06 Douglas B Rupp <rupp@adacore.com>
8244
8245 * config.host (arm-wrs-vxworks): Configure with other soft float.
8246
107eea2c
JU
82472013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8248
8249 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8250 (mips64r5900el-*-elf*): New configurations.
8251
5cc19c62
AM
82522013-06-04 Alan Modra <amodra@gmail.com>
8253
8254 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8255
0f1d3965
YR
82562013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8257
8258 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8259
0ba045df
EB
82602013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8261
8262 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8263 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8264 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8265
49dcafd4
EB
82662013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8267
8268 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8269 (powerpc-wrs-vxworks): Likewise.
8270
4fcb5d87
EB
82712013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8272
8273 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8274 signal frames as well.
8275 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8276 STACK_BIAS to the CFA offset.
8277
0ec33224
RH
82782013-05-17 Richard Henderson <rth@redhat.com>
8279
8280 PR target/49146
8281 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8282 (execute_cfa_program): Use it when storing to fs->regs.
8283
492a8029
KT
82842013-05-08 Kai Tietz <ktietz@redhat.com>
8285
8286 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8287 (__deregister_frame_info): Likewise.
8288
701e2f0a
TS
82892013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8290
e5123d08
TS
8291 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8292 NaN's payload.
8293
701e2f0a
TS
8294 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8295
b9a7eb5d
AM
82962013-04-25 Alan Modra <amodra@gmail.com>
8297
8298 * config.host: Match little-endian powerpc-linux.
8299
dfe192f5
YZ
83002013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8301
8302 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8303 as 'unsigned long long' instead of 'unsigned long'.
8304 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8305 'signed long'.
8306
b6b9af2f
JB
83072013-04-10 Julian Brown <julian@codesourcery.com>
8308
8309 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8310 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8311 unsigned char/unsigned short.
8312 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8313
ecabdd00
JDA
83142013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8315
8316 PR other/55274
8317 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8318
34652576
MI
83192013-04-04 Meador Inge <meadori@codesourcery.com>
8320
8321 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8322 computing the location of the link register.
8323 (aeabi_uldivmod): Ditto.
8324
e9fd8c19
KT
83252013-03-27 Kai Tietz <ktietz@redhat.com>
8326
8327 * config.host: Add support for cygwin x64 target.
8328 * configure: Regenerated.
8329
a6406324
WL
83302013-03-26 Walter Lee <walt@tilera.com>
8331
8332 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8333 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8334
55446c7e
KT
83352013-03-25 Kai Tietz <ktietz@redhat.com>
8336
8337 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8338
d2ae19d9
RM
83392013-03-20 Robert Mason <rbmj@verizon.net>
8340
8341 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8342 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8343 (__gthread_leave_tsd_dtor_context): Add prototypes.
8344 (tls_delete_hook): Update.
8345
22c4c869
CM
83462013-03-20 Catherine Moore <clm@codesourcery.com>
8347 Joseph Myers <joseph@codesourcery.com>
8348 Chao-ying Fu <fu@mips.com>
8349
8350 * config/mips/mips16.S: Don't build for microMIPS.
8351 * config/mips/linux-unwind.h: Handle microMIPS frame.
8352 * config/mips/crtn.S (fini, init): New labels.
8353
fbd28bc3
JJ
83542013-03-14 Jakub Jelinek <jakub@redhat.com>
8355
8356 PR tree-optimization/53265
8357 * unwind-dw2.c (execute_cfa_program): Avoid
8358 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8359 on targets with DWARF_FRAME_REGISTERS < 32.
8360
decc676e
OE
83612013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8362
8363 PR target/49880
8364 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8365 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8366
84ea618a
ST
83672013-03-07 Sriraman Tallam <tmsriram@google.com>
8368
8369 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8370 sandybridge processors.
8371
8f6d1c86
OE
83722013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8373
8374 PR target/56529
8375 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8376 inclusion list.
8377
ecdbd01a 83782013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
8379
8380 * config/microblaze/crti.S: Setup stack protection at entry
8381
0b4ce21b
GJL
83822013-03-04 Georg-Johann Lay <avr@gjlay.de>
8383
8384 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8385 (__rotldi3): Shift bytewise if applicable.
8386
b7c3f1ca
JG
83872013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8388
8389 * config/aarch64/sync-cache.c
8390 (__aarch64_sync_cache_range): Silence warnings.
8391
6d65e8f1
CM
83922013-02-25 Catherine Moore <clm@codesourcery.com>
8393
8394 Revert:
8395 2013-02-24 Catherine Moore <clm@codesourcery.com>
8396 Joseph Myers <joseph@codesourcery.com>
8397 Chao-ying Fu <fu@mips.com>
8398
8399 * config/mips/mips16.S: Don't build for microMIPS.
8400 * config/mips/linux-unwind.h: Handle microMIPS frame.
8401 * config/mips/crtn.S (fini, init): New labels.
8402
6941b508
CM
84032013-02-24 Catherine Moore <clm@codesourcery.com>
8404 Joseph Myers <joseph@codesourcery.com>
8405 Chao-ying Fu <fu@mips.com>
8406
8407 * config/mips/mips16.S: Don't build for microMIPS.
8408 * config/mips/linux-unwind.h: Handle microMIPS frame.
8409 * config/mips/crtn.S (fini, init): New labels.
8410
7c422dbb 84112012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8412 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8413 as dividend.
8414
110207ad
AM
84152013-02-16 Alan Modra <amodra@gmail.com>
8416
8417 PR target/55431
8418 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8419 (ppc_fallback_frame_state): Always set up save locations for fp
8420 and altivec. Don't bother with non-callee-saved regs, r0-r13
8421 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8422
e68a4ef6
GJL
84232013-02-12 Georg-Johann Lay <avr@gjlay.de>
8424
8425 PR target/54222
8426 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8427 _ssmulHA, _ssmulSA.
8428 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8429 _ssmulha3, _usmulusa3, _ssmulsa3.
8430 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8431 (__muldi3): XCALL __muldi3_6 instead of rcall.
8432 (__umulsidi3, __mulsidi3): New functions.
8433 (do_prologue_saves, do_epilogue_restores): New .macros.
8434 (__divdi3_moddi3): Use them.
8435 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8436 (__usmulusa3, __ssmulsa3): New functions.
8437
6c59ffd1
IS
84382013-02-11 Iain Sandoe <iain@codesourcery.com>
8439 Jack Howarth <howarth@bromo.med.uc.edu>
8440 Patrick Marlier <patrick.marlier@gmail.com>
8441
8442 PR libitm/55693
8443 * config/darwin-crt-tm.c: Remove dummy functions hack.
8444
85d768f3
GJL
84452013-02-08 Georg-Johann Lay <avr@gjlay.de>
8446
8447 PR target/54222
8448 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8449 * config/avr/lib2-object.mk: New iterator to build objects from it.
8450 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8451 lib2funcs.c.
8452 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8453 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8454 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8455 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8456 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8457 * config/avr/lib1funcs-fixed.S: Implement them.
8458
5d5bf775
RS
84592013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8460
8461 Update copyright years.
8462
99113dff
DE
84632013-02-01 David Edelsohn <dje.gcc@gmail.com>
8464
8465 PR target/54601
8466 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8467 Add crtcxa to extra_parts.
8468 * config/rs6000/exit.h: New file.
8469 * config/rs6000/cxa_atexit.c: New file.
8470 * config/rs6000/cxa_finalize.c: New file.
8471 * config/rs6000/crtcxa.c: New file.
8472 * config/rs6000/t-aix-cxa: New file.
8473 * config/rs6000/libgcc-aix-cxa.ver: New file.
8474
dbdbd982
NC
84752013-01-31 Nick Clifton <nickc@redhat.com>
8476
8477 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8478 variant.
8479
5893f158
GJL
84802013-01-29 Georg-Johann Lay <avr@gjlay.de>
8481
8482 PR target/54222
8483 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8484 _mulQQ, _mulHQ, _mulHA, _mulSA,
8485 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8486 _divQQ, _divHQ, _divHA, _divSA,
8487 _divUQQ, _divUHQ, _divUHA, _divUSA.
8488
ecdbd01a 84892013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8490
dbdbd982 8491 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8492 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8493 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8494 to exclude functions from being built with libgcc.c and use
8495 the microblaze assembly.
8496
ecdbd01a 84972013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8498
8499 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8500 extra_parts.
8501
922c57d1
YZ
85022013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8503
8504 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8505 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8506 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8507 alignment operation.
8508
e0f8b6a0
SN
85092013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8510
8511 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8512 loop start address for cache clearing.
8513
00892272
GJL
85142013-01-14 Georg-Johann Lay <avr@gjlay.de>
8515
8516 * config/avr/lib1funcs.S: Remove trailing blanks.
8517 * config/avr/lib1funcs-fixed.S: Ditto.
8518
e59ec5fd
GJL
85192013-01-14 Georg-Johann Lay <avr@gjlay.de>
8520
8521 * config/avr/avr-lib.h: Add GPL copyright notice.
8522
3ffc1958
GJL
85232013-01-14 Georg-Johann Lay <avr@gjlay.de>
8524
8525 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8526 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8527 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8528 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8529
25c210f9
MK
85302013-01-07 Mark Kettenis <kettenis@openbsd.org>
8531
8532 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8533 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8534
db59befb
NC
85352013-01-04 Nick Clifton <nickc@redhat.com>
8536
8537 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8538 the CALLT instruction is supported.
8539
5aa12dbf
JW
85402012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8541
8542 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8543 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8544
65f14117
JT
85452012-12-13 John Tytgat <John@bass-software.com>
8546
8547 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8548 is 25.
8549
ee3ae4f7
JJ
85502012-12-12 Jakub Jelinek <jakub@redhat.com>
8551
8552 PR libgcc/55451
8553 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8554 undefined signed overflows.
8555
2fcfba3d
UB
85562012-12-09 Uros Bizjak <ubizjak@gmail.com>
8557
8558 PR target/55344
8559 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8560
4f2b3dc2
UB
85612012-12-06 Uros Bizjak <ubizjak@gmail.com>
8562
8563 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8564 (FP_TRAPPING_EXCEPTIONS): Define.
8565 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8566 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8567
066161a2
RH
85682012-12-04 Richard Henderson <rth@redhat.com>
8569
8570 PR bootstrap/55571
8571 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8572
7d296953 85732012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8574
4f2b3dc2 8575 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8576 (FP_EX_SHIFT): Define.
8577 (FP_TRAPPING_EXCEPTIONS): Define.
8578
7d296953 85792012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8580
8581 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8582 (FP_ROUNDMODE): Use FP_RND_MASK.
8583 * config/aarch64/sfp-exceptions.c: New.
8584 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8585 Use __sfp_handle_exceptions.
8586
5005fe22
RE
85872012-12-04 Richard Earnshaw <rearnsha@arm.com>
8588
8589 * config.host: (arm*-*-freebsd*): Remove.
8590 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8591 (arm*-*-elf*): Remove.
8592 (arm*-*-wince-pe*): Remove.
8593 * arm/unwind-arm.c (struct fpa_reg): Delete.
8594 (struct fpa_regs): Delete.
8595 (phase1_vrs): Remove fpa element.
8596 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8597 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8598 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8599 * ieee754-sf.S (floatundisf): Remove FPA support.
8600 (floatdisf): Likewise.
8601 * ieee75f-df.S (floatundidf): Likewise.
8602 (floatdidf): Likewise.
8603
e5a81c8e
KT
86042012-11-29 Kai Tietz <ktietz@redhat.com>
8605
8606 PR target/55445
8607 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8608 * unwind-generic.h: Likewise.
8609 * unwind-seh.c: Likewise.
8610
f4919e4a
RH
86112012-11-28 Richard Henderson <rth@redhat.com>
8612
8613 PR libgcc/48076
8614 * emutls.c (__emutls_get_address): Avoid race condition between
8615 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8616
e13d9d5a
GJL
86172012-11-22 Georg-Johann Lay <avr@gjlay.de>
8618
8619 Adjust decimal point of signed accum mode to GCC default.
8620
8621 PR target/54222
8622 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8623 _divqq_helper.
8624 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8625 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8626 (__mulha3, __mulsa3)
8627 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8628 decimal point of signed accum types.
8629
e13d9d5a
GJL
8630 (__mulusa3_round): New function.
8631 (__mulusa3): Use it.
8632 (__divqq_helper): New function.
8633 (__udivuqq3): Use it.
8634
1b845c6e
JJ
86352012-11-20 Jakub Jelinek <jakub@redhat.com>
8636
8637 PR bootstrap/55370
8638 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8639
822a258a
TJ
86402012-11-18 Teresa Johnson <tejohnson@google.com>
8641
8642 PR bootstrap/55051
8643 * libgcov.c (gcov_exit): Remove merged program summary
8644 comparison unless !GCOV_LOCKED.
8645
7d296953 86462012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
8647
8648 * soft-fp: Updated from glibc upstream.
8649
e808687a
ILT
86502012-11-06 Ian Lance Taylor <iant@google.com>
8651
8652 * generic-morestack.c (__generic_morestack): Align the returned
8653 stack pointer to a 32 byte boundary.
8654 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8655 increment the return address until we have decided that we don't
8656 have a varargs function.
8657 (__morestack) [32-bit]: Align stack correctly when calling C
8658 functions.
8659 (__morestack) [64-bit]: Likewise.
8660
460277e0
TS
86612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8662
8663 * configure: Regenerate.
8664
73edb277
UB
86652012-11-02 Uros Bizjak <ubizjak@gmail.com>
8666
8667 PR target/55175
8668 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8669 * config/i386/sfp-machine.h: Guard exception handling
8670 code with _SOFT_FLOAT.
8671 * config/i386/32/sfp-machine.h: Guard rounding handling
8672 code with _SOFT_FLOAT.
8673 * config/i386/64/sfp-machine.h: Ditto.
8674
c1d4fa04
JS
86752012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8676
8677 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8678 as extra_parts.
8679
eff6ca85
UB
86802012-10-26 Uros Bizjak <ubizjak@gmail.com>
8681
8682 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8683 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8684 when appropriate. Correct structure element types.
8685 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8686 -minline-all-stringops from compile flags.
8687
7d296953 86882012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8689
8690 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8691
7d296953 86922012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8693
eff6ca85 8694 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8695
6f288860
SH
86962012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8697
8698 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8699 tmake_file.
8700
1e3d5096
IB
87012012-10-23 Ian Bolton <ian.bolton@arm.com>
8702 Jim MacArthur <jim.macarthur@arm.com>
8703 Marcus Shawcroft <marcus.shawcroft@arm.com>
8704 Nigel Stephens <nigel.stephens@arm.com>
8705 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8706 Richard Earnshaw <rearnsha@arm.com>
8707 Sofiane Naci <sofiane.naci@arm.com>
8708 Stephen Thomas <stephen.thomas@arm.com>
8709 Tejas Belagod <tejas.belagod@arm.com>
8710 Yufeng Zhang <yufeng.zhang@arm.com>
8711
8712 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8713 * config/aarch64/crti.S: New file.
8714 * config/aarch64/crtn.S: New file.
8715 * config/aarch64/linux-unwind.h: New file.
8716 * config/aarch64/sfp-machine.h: New file.
8717 * config/aarch64/sync-cache.c: New file.
8718 * config/aarch64/t-aarch64: New file.
8719 * config/aarch64/t-softfp: New file.
8720
8a740f07
HPN
87212012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8722
8723 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8724 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8725 no-longer-needed LDBU insns.
8726
7d296953 87272012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8728
8729 * config.host
8730 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8731 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8732
595fefee
MGD
87332012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8734
8735 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8736
9945a876
MK
87372012-10-15 Matthias Klose <doko@ubuntu.com>
8738
8739 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8740
1183dc2c
PC
87412012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8742
8743 * configure: Regenerate.
8744 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8745
945a9c1f
UB
87462012-10-10 Uros Bizjak <ubizjak@gmail.com>
8747
8748 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8749 instructions for 64bit targets only.
8750
fb8bf47a
UB
87512012-10-10 Uros Bizjak <ubizjak@gmail.com>
8752
8753 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8754 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8755 * config/i386/32/sfp-machine.h: ... here.
8756 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8757 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8758 New defines.
8759
acb72498
MK
87602012-10-07 Matthias Klose <doko@ubuntu.com>
8761
8762 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8763 as unused.
8764 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8765
8eaee0f0
MK
87662012-10-06 Mark Kettenis <kettenis@openbsd.org>
8767
8768 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8769 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8770 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8771 (ElfW): Likewise.
8772
5e3e4fe8
JW
87732012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8774
8775 PR other/53889
8776 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8777 Fix parameter names.
8778
86086376
OE
87792012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8780
8781 PR target/33135
8782 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8783 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8784 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8785
9597375a
OE
87862012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8787
8788 PR target/50457
8789 * config/sh/linux-atomic.S: Delete.
8790 * config/sh/linux-atomic.c: New.
8791 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8792 linux-atomic.c. Add cflags to disable warnings.
8793
1504e3e1
JW
87942012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8795
8796 PR other/53889
8797 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8798 function.
8799 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8800 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8801 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8802 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8803 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8804 Likewise.
1504e3e1
JW
8805 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8806 Likewise.
8807 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8808 Likewise.
8809 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8810 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8811
17f293b0
MK
88122012-09-19 Mark Kettenis <kettenis@openbsd.org>
8813
9597375a
OE
8814 * config.host (hppa-*-openbsd*): New target.
8815 * config/pa/t-openbsd: New file.
17f293b0 8816
51526856
GJL
88172012-09-15 Georg-Johann Lay <avr@gjlay.de>
8818
8819 PR target/54222
8820 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8821 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8822 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8823 (__divsa3): Use __negsi2 to negate r_quoL.
8824 * config/avr/lib1funcs.S (FALIAS): New macro.
8825 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8826 (__negsi2): ...this new function.
8827 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8828 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8829 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8830 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8831 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8832 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8833
aadb5b43
OE
88342012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8835
8836 PR target/54089
8837 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8838 (lshrsi3): Reimplement as lshrsi3_r0.
8839
d5d66749
AS
88402012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8841
8842 PR target/46191
8843 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8844 of libgcc.a.
8845
c6c36e73
TJ
88462012-09-07 Teresa Johnson <tejohnson@google.com>
8847
9597375a 8848 PR gcov-profile/54487
c6c36e73 8849 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8850 differences.
c6c36e73 8851
b588ae30
GJL
88522012-09-05 Georg-Johann Lay <avr@gjlay.de>
8853
8854 PR target/54461
8855 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8856 not configured --with-avrlibc=no.
8857 * config/avr/t-avrlibc: New file.
8858 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8859 (DPBIT_FUNCS): Ditto.
8860 (TPBIT_FUNCS): Ditto.
8861
abd16fb1
TJ
88622012-09-04 Teresa Johnson <tejohnson@google.com>
8863
8864 * libgcov.c (struct gcov_summary_buffer): New structure.
8865 (gcov_histogram_insert): New function.
8866 (gcov_compute_histogram): Ditto.
8867 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8868 histograms during summary merging.
8869
613061fd
MK
88702012-09-01 Mark Kettenis <kettenis@openbsd.org>
8871
8872 * config.host (x86_64-*-openbsd*): New target.
73edb277 8873
867a8345
CLT
88742012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8875
8876 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8877 attribute.
8878
4aeaaca3
GJL
88792012-08-24 Georg-Johann Lay <avr@gjlay.de>
8880
8881 PR target/54222
8882 * config/avr/t-avr (conv_X): Rename to func_X.
8883
e55e4056
GJL
88842012-08-24 Georg-Johann Lay <avr@gjlay.de>
8885
8886 PR target/54222
8887 * config/avr/lib1funcs-fixed.S: New file.
8888 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8889 after they are used.
8890 (neg2, neg4): New macros.
8891 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8892 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8893 (__umulhisi3): Speed up MUL variant if there is enough flash.
8894 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8895 avr-modes.def.
8896 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8897 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8898 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8899 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8900 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8901 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8902 (LIB2FUNCS_EXCLUDE): Add supported functions.
8903
a147b6d2
GJL
89042012-08-22 Georg-Johann Lay <avr@gjlay.de>
8905
8906 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8907 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8908 libgcc-s-objects.
8909 * fixed-obj.mk: Only expand dependency if $o is not in
8910 LIB2FUNCS_EXCLUDE.
8911
c637141a
L
89122012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8913
8914 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8915
130e00bd
JM
89162012-08-22 Joseph Myers <joseph@codesourcery.com>
8917
8918 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8919 depend on --enable-shared.
8920 ($(lib1asmfuncs-o)): Use %.vis files independent of
8921 --enable-shared.
8922 * static-object.mk ($(base)$(objext), $(base).vis)
8923 ($(base)_s$(objext)): Use same rules for visibility handling as in
8924 shared-object.mk.
8925
4b1b3788
ILT
89262012-08-21 Ian Lance Taylor <iant@google.com>
8927
8928 * config/i386/morestack.S (__morestack_non_split): Increase amount
8929 of space allocated for non-split code stack.
8930
d2468141
JM
89312012-08-19 Joseph Myers <joseph@codesourcery.com>
8932
8933 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8934 even if inhibit_libc.
8935
a508e1a8
JB
89362012-08-17 Julian Brown <julian@codesourcery.com>
8937
8938 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8939 -fexceptions -fnon-call-exceptions if not defined.
8940 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8941 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8942
5615a07d
AS
89432012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8944
8945 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8946 type.
8947
138f5acd
DE
89482012-08-16 David Edelsohn <dje.gcc@gmail.com>
8949
8950 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8951 rs6000/t-slibgcc-aix.
8952
18efc0dd
SB
89532012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8954
8955 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8956
6b39bc38
SB
89572012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8958
8959 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8960
cd25dea0
L
89612012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8962
8963 PR driver/54171
8964 * Makefile.in (version): Replace top_srcdir with srcdir.
8965
a3dda30b
JY
89662012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8967
8968 * Makefile.in (version): set to BASE-VER file from gcc directory.
8969
d04aacfc
NC
89702012-08-01 Nick Clifton <nickc@redhat.com>
8971
8972 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8973 Implements __clrsb for an HImode argument.
8974
0d13c974
NC
89752012-07-31 Nick Clifton <nickc@redhat.com>
8976
8977 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8978 Implements __clrsb for an HImode argument.
8979 * config/stormy16/clrsbhi2.c: New file:
8980 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8981
efbb59b2
SB
89822012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8983
8984 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8985
bf1431e3
TG
89862012-07-19 Tristan Gingold <gingold@adacore.com>
8987 Richard Henderson <rth@redhat.com>
8988
8989 * unwind-seh.c: New file.
8990 * unwind-generic.h: Include windows.h for SEH.
8991 (_Unwind_Exception): Use 6 private fields for SEH.
8992 (_GCC_specific_handler): Declare.
8993 * unwind-c.c (__gcc_personality_seh0): New function.
8994 Adjust for SEH.
8995 * config/i386/libgcc-cygming.ver: New file.
8996 * config/i386/t-seh-eh: New file.
8997 * config.host (x86_64-*-mingw*): Default to seh.
8998
659140c8
SB
89992012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9000
9001 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9002
a20d08fd
UB
90032012-06-17 Uros Bizjak <ubizjak@gmail.com>
9004
9005 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9006 __builtin_expect when checking for exceptions.
9007 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9008
79261115
UB
90092012-06-13 Uros Bizjak <ubizjak@gmail.com>
9010
4a172156
UB
9011 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9012 function declaration.
9013 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9014 (FP_RND_MASK): New.
9015 * config/ia64/sfp-exceptions.c: New.
9016 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 9017
bb5c97d4
UB
90182012-06-13 Uros Bizjak <ubizjak@gmail.com>
9019
9020 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9021 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9022 * config/i386/64/sfp-machine: ... (delete here) ...
9023 * config/i386/sfp-machine.h: ... to here.
9024 (FP_EX_MASK): Remove.
9025 (FP_RND_MASK): New.
9026 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9027
91fe5efb
ST
90282012-06-11 Sriraman Tallam <tmsriram@google.com>
9029
9030 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9031 * config/i386/libgcc-sol2.ver: Ditto.
9032 * config/i386/libgcc-glibc.ver: Ditto.
9033
67a218c5
RM
90342012-06-11 Roland McGrath <mcgrathr@google.com>
9035
9036 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9037 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9038 pthread_cancel.
9039
492fbea1
UB
90402012-06-09 Uros Bizjak <ubizjak@gmail.com>
9041
9042 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9043 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9044 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9045 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9046 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9047 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9048 * config/i386/64/sfp-machine: ... (delete here) ...
9049 * config/i386/sfp-machine.h: ... to here.
9050 (FP_EX_MASK): New.
9051 (__sfp_handle_exceptions): New function declaration.
9052 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9053 * config/i386/sfp-exceptions.c: New.
9054 * config/i386/t-softfp: New.
9055 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9056 i386/t-softfp to tmake_file.
9057
7b4cf266
DM
90582012-06-03 David S. Miller <davem@davemloft.net>
9059
9060 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9061 change.
9062
0de0d5c6
DM
90632012-05-31 David S. Miller <davem@davemloft.net>
9064
9065 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9066 multiply and divide instructions on 32-bit when V9.
9067 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9068
d8c9d391
JM
90692012-05-29 Joseph Myers <joseph@codesourcery.com>
9070
9071 * config/arm/ieee754-df.S: Fix typos.
9072 * config/arm/ieee754-sf.S: Fix typos.
9073 * config/c6x/libunwind.S: Fix typos.
9074 * config/epiphany/udivsi3-float.c: Fix typos.
9075 * config/microblaze/muldi3_hard.S: Fix typos.
9076 * config/picochip/adddi3.S: Fix typos.
9077 * config/picochip/ashlsi3.S: Fix typos.
9078 * config/picochip/ashrsi3.S: Fix typos.
9079 * config/picochip/clzsi2.S: Fix typos.
9080 * config/picochip/cmpsi2.S: Fix typos.
9081 * config/picochip/divmod15.S: Fix typos.
9082 * config/picochip/divmodhi4.S: Fix typos.
9083 * config/picochip/divmodsi4.S: Fix typos.
9084 * config/picochip/longjmp.S: Fix typos.
9085 * config/picochip/lshrsi3.S: Fix typos.
9086 * config/picochip/parityhi2.S: Fix typos.
9087 * config/picochip/popcounthi2.S: Fix typos.
9088 * config/picochip/setjmp.S: Fix typos.
9089 * config/picochip/subdi3.S: Fix typos.
9090 * config/picochip/ucmpsi2.S: Fix typos.
9091 * config/picochip/udivmodhi4.S: Fix typos.
9092 * config/picochip/udivmodsi4.S: Fix typos.
9093 * config/spu/divv2df3.c: Fix typos.
9094 * config/spu/mfc_multi_tag_release.c: Fix typos.
9095 * config/spu/mfc_tag_release.c: Fix typos.
9096 * configure.ac: Fix typos.
9097 * configure: Regenerate.
9098
31a18a7e
ILT
90992012-05-25 Ian Lance Taylor <iant@google.com>
9100
9101 * config/i386/morestack.S (__morestack_non_split): Check whether
9102 caller is varargs and needs %bp to hold the stack frame on return.
9103
c5768510
OH
91042012-05-25 Olivier Hainque <hainque@adacore.com>
9105
9106 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9107 sequence in the non pic case on VxWorks.
9108
7c7c339b
OH
91092012-05-24 Olivier Hainque <hainque@adacore.com>
9110
73fb7630 9111 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9112 "install-leaf" to "install".
9113
fdc1b7d3
OH
91142012-05-24 Olivier Hainque <hainque@adacore.com>
9115
9116 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9117 Use a separate command for stamp removals.
9118
07ba94b9
AP
91192012-05-21 Andrew Pinski <apinski@cavium.com>
9120
9121 PR bootstrap/53183
9122 * configure.ac: Define the default includes to being none.
9123 * configure: Regenerate.
9124
4677d2eb
OH
91252012-05-16 Olivier Hainque <hainque@adacore.com>
9126
9127 * Makefile.in (install-unwind_h): Rename into ...
9128 (install-unwind_h-forbuild): New target.
9129 (all): Use it instead of the former install-unwind_h.
9130 (install-unwind_h): Reinstate, copy to user install destination
9131 for include files, not to the internal gcc object directory one.
9132 (install-leaf): Depend on it.
9133
7d67c380
OH
91342012-05-15 Olivier Hainque <hainque@adacore.com>
9135
9136 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9137 register numbers. LR_REGNO replaces R_LR.
9138 (ucontext_for): New, helper for ...
9139 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9140 and 5.3 of ...
9141 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9142
aca06c90
RO
91432012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9144
9145 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9146 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9147 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9148 i386/t-cpuinfo ...
9149 (i[34567]86-*-*, x86_64-*-*): ... here.
9150
9151 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9152 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9153
9154 * config/i386/i386-cpuinfo.c: Rename to ...
9155 * config/i386/cpuinfo.c: ... this.
9156 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9157
9158 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9159 (libgcc_cv_init_priority): New test.
9160 * configure: Regenerate.
9161 * config.in: New file.
9162 * Makefile.in (clean): Rename config.h to auto-target.h.
9163 (config.h): Likewise.
9164 (stamp-h): Likewise.
9165
9166 * config/i386/cpuinfo.c (auto-target.h): Include.
9167 (CONSTRUCTOR_PRIORITY): Define.
9168 (__cpu_indicator_init): Use it.
9169
0d03ac1b
L
91702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 * longlong.h: Use a URL instead of an FSF postal address.
9173 Replace spaces with tab.
9174
4a172156 91752012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9176
9177 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9178 (__gcov_dump): Ditto.
9179 (gcov_dump_complete): New global variable.
9180 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9181 (__gcov_flush): Outline functionality now in gcov_clear.
9182 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9183
e4bb767e
AJ
91842012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9185
31a18a7e
ILT
9186 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9187 (mips*-*-linux*): Include mips/t-tpbit when long double is
9188 16 bytes long.
e4bb767e 9189
5ddecff9
ST
91902012-04-25 Sriraman Tallam <tmsriram@google.com>
9191
9192 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9193 (get_available_features): New argument. Check for AVX2.
9194 (__cpu_indicator_init): Modify call to get_available_features.
9195
b427dd7a
AM
91962012-04-25 Alan Modra <amodra@gmail.com>
9197
9198 * config/rs6000/crtsavevr.S: New file.
9199 * config/rs6000/crtrestvr.S: New file.
9200 * config/rs6000/t-savresfgpr: Build the above.
9201 * config/rs6000/t-netbsd: Likewise.
9202
ad491329
ST
92032012-04-24 Sriraman Tallam <tmsriram@google.com>
9204
9205 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9206
792317cc
ST
92072012-04-24 Sriraman Tallam <tmsriram@google.com>
9208
9209 * libgcc/config/i386/i386-cpuinfo.c: New file.
9210 * libgcc/config/i386/t-cpuinfo: New file.
9211 * libgcc/config.host: Include t-cpuinfo.
9212 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9213
e1be98a4
CF
92142012-04-24 Chao-ying Fu <fu@mips.com>
9215
9216 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9217
1bde7dab
TS
92182012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9219
9220 struct siginfo vs. siginfo_t
9221
9222 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9223 siginfo_t instead of struct siginfo.
9224 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9225 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9226 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9227 (ia64_handle_unwabi): Likewise.
9228 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9229 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9230 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9231 (sh_fallback_frame_state): Likewise.
9232 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9233 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9234
24590f66
L
92352012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9236
9237 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9238 system call number.
9239
9a9dcce8
EB
92402012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9241
9242 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9243 if it hasn't been previously saved.
9244
6401aaf5
L
92452012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9246
9247 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9248 only for glibc.
9249
7fd6378e
GJL
92502012-03-28 Georg-Johann Lay <avr@gjlay.de>
9251
9252 PR target/52737
9253 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9254 instead of __AVR_HAVE_8BIT_SP__.
9255
9e916de7
TG
92562012-03-26 Tristan Gingold <gingold@adacore.com>
9257
9258 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9259 (unw_table_entry): Use unw_word instead of unsigned long.
9260 (_Unwind_FindTableEntry): Likewise.
9261 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9262 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9263 (_Unwind_FindTableEntry): Likewise.
9264 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9265 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9266 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9267 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9268 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9269 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9270 (uw_init_context_1, uw_install_context): Likewise.
9271 (unw_word): Move to unwind-ia64.h
9272
4b12e93d
TG
92732012-03-26 Tristan Gingold <gingold@adacore.com>
9274
9275 * config/vms/vms-ucrt0.c: Update copyright years.
9276 Add a sanity check.
9277 (___gcc_main_flags): Declare.
9278 (__main): Check flags to remap argv and exit code.
9279 * config.host (*-*-*vms*): Adjust extra_parts.
9280 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9281 (crt0.o): Add.
9282
06ea7371
RE
92832012-03-22 Richard Earnshaw <rearnsha@arm.com>
9284
9285 * arm/lib1funcs.asm (ctzsi2): New function.
9286 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9287 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9288 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9289 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9290 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9291 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9292
d82ad50d
AT
92932012-03-21 Andreas Tobler <andreast@fgznet.ch>
9294
9295 * config.host: Add bits to support powerpc64-*-freebsd*.
9296 * config/rs6000/freebsd-unwind.h: New file.
9297 * config/rs6000/t-freebsd64: New file.
9298
b260a8c0
RG
92992012-03-20 Richard Guenther <rguenther@suse.de>
9300
9301 PR gcov-profile/52627
9302 * libgcov.c (init_mx): Fix mutex name.
9303
86286a8a
TG
93042012-03-16 Tristan Gingold <gingold@adacore.com>
9305
9306 * config/ia64/vms-unwind.h: Remove ulong (and replace
9307 it by unw_reg where used). Define unw_reg with __int64.
9308
7888f266
RO
93092012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9310
9311 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9312 Solaris 8 handling.
9313 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9314 Solaris 8 handling.
9315 (sparc_is_sighandler): Likewise.
9316
f155bc64
L
93172012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9318
9319 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9320 <= saved reg size.
9321
d47657bd
RO
93222012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9323
9324 * config/arm/crtn.S: Fix typo.
9325
5bef73a1
RG
93262012-03-13 Richard Guenther <rguenther@suse.de>
9327
9328 * libgcov.c: Remove stdio.h include and NULL un-define.
9329
9c4271f3
RG
93302012-03-13 Richard Guenther <rguenther@suse.de>
9331
9332 PR target/52569
9333 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9334
c6d10e7c
RG
93352012-03-13 Richard Guenther <rguenther@suse.de>
9336
9337 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9338
074a385f
RG
93392012-03-13 Richard Guenther <rguenther@suse.de>
9340
9341 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9342 and __gthread_mutex_init_function definitions.
9343
c4bc5c25
RO
93442012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9345
9346 * config.host (mips*-*-openbsd*): Remove.
9347
5c30094f
RO
93482012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9349
9350 * config.host: Remove alpha*-dec-osf5.1* handling.
9351 * config/alpha/gthr-posix.c: Remove.
9352 * config/alpha/libgcc-osf5.ver: Remove.
9353 * config/alpha/osf5-unwind.h: Remove.
9354 * config/alpha/t-osf-pthread: Remove.
9355 * config/alpha/t-slibgcc-osf: Remove.
9356 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9357 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9358 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9359 * mkmap-flat.awk: Remove osf_export handling.
9360
33e3e24d
RG
93612012-03-12 Richard Guenther <rguenther@suse.de>
9362
9363 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9364 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9365 (__gthread_mutex_init_function): New function.
9366 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9367
9368 PR gcov/49484
9369 * libgcov.c: Include gthr.h.
9370 (__gcov_flush_mx): New global variable.
9371 (init_mx, init_mx_once): New functions.
9372 (__gcov_flush): Protect self with a mutex.
9373 (__gcov_fork): Re-initialize mutex after forking.
9374 * unwind-dw2-fde.c: Change condition under which to use
9375 __GTHREAD_MUTEX_INIT_FUNCTION.
9376
d8aba32a
TG
93772012-03-12 Tristan Gingold <gingold@adacore.com>
9378
9379 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9380 * config/ia64/t-vms: Likewise.
9381
75ffafdc
MH
93822012-03-11 Michael Hope <michael.hope@linaro.org>
9383
4a172156
UB
9384 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9385 for Thumb-2.
75ffafdc 9386
ef6c2c53
WL
93872012-03-07 Walter Lee <walt@tilera.com>
9388
9389 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9390 "arch_atomic_".
9391 (atomic_xor): Rename and move definition to
9392 config/tilepro/atomic.h.
9393 (atomic_nand): Ditto.
9394 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9395 "arch_atomic_".
9396 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9397 (arch_atomic_nand): Ditto.
9398
4e30d980
GJL
93992012-03-07 Georg-Johann Lay <avr@gjlay.de>
9400
9401 PR target/52507
9402 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9403
61108225
GJL
94042012-03-07 Georg-Johann Lay <avr@gjlay.de>
9405
9406 PR target/52505
9407 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9408 from RAM.
9409
b30e10ab
GJL
94102012-03-07 Georg-Johann Lay <avr@gjlay.de>
9411
9412 PR target/52461
9413 PR target/52508
9414 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9415 if RAMPZ affects reading from RAM.
9416 (__tablejump_elpm__): Ditto.
9417 (.xload): Ditto.
9418 (__movmemx_hi): Ditto.
9419 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9420 (__do_global_dtors): Ditto.
9421 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9422 (__movmemx_hi): Ditto.
9423
8993fde4
RH
94242012-03-05 Richard Henderson <rth@redhat.com>
9425
9426 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9427 [ARM] (count_trailing_zeros): Use the builtin.
9428
b7633ee3
KT
94292012-03-01 Kai Tietz <ktietz@redhat.com>
9430
9431 * soft-fp: Imported from glibc upstream.
9432
fbd3340c
KT
94332012-02-28 Kai Tietz <ktietz@redhat.com>
9434
9435 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9436 for mingw-targets as attribute gcc_struct.
9437
e9e053eb
ILT
94382012-02-28 Ian Lance Taylor <iant@google.com>
9439
9440 * generic-morestack.c (__splitstack_releasecontext): Correct call
9441 to __morestack_release_segments.
9442
d80c632e
ST
94432012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9444
9445 PR target/52390
9446 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9447 for __linux__ when removing signals from __morestack_fullmask.
9448
0253a8b1
GJL
94492012-02-23 Georg-Johann Lay <avr@gjlay.de>
9450
9451 PR target/52261
9452 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9453
e10e461e
UW
94542012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9455
9456 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9457 instead of HAVE_INITFINI_ARRAY.
9458 * config/ia64/crtend.S: Likewise.
9459
0c0c6398
KT
94602012-02-20 Kai Tietz <ktietz@redhat.com>
9461
d7470374
KT
9462 PR libstdc++/52300
9463 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9464
0c0c6398
KT
9465 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9466 to w32-unwind.h header.
9467
78c27266
RS
94682012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9469
9470 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9471 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9472 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9473 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9474
5adeb246
RS
94752012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9476
9477 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9478
672ed313
IS
94792012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9480
9481 PR libitm/52220
9482 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9483
e948a1fb
IS
94842012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9485 Patrick Marlier <patrick.marlier@gmail.com>
9486
9487 PR libitm/52220
9488 * config/darwin-crt-tm.c: Generate dummy functions.
9489
6017aed3
IS
94902012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9491 Patrick Marlier <patrick.marlier@gmail.com>
9492
9493 PR libitm/52042
9494 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9495 (__doTMRegistrations): Call it.
e9e053eb 9496 (__doTMdeRegistrations): Likewise.
6017aed3 9497
2da8c1ad 94982012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9499 Anatoly Sokolov <aesok@post.ru>
9500 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9501
9502 PR target/52261
9503 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9504 (__epilogue_restores__): Ditto.
9505
0f952eb4
EB
95062012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9507
9508 PR target/51921
9509 PR target/52205
9510 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9511 Solaris 11 and slightly reformat.
9512 (sparc_is_sighandler): Likewise.
9513
dd552284
WL
95142012-02-14 Walter Lee <walt@tilera.com>
9515
9516 * config.host: Handle tilegx and tilepro.
9517 * config/tilegx/sfp-machine.h: New file.
9518 * config/tilegx/sfp-machine32.h: New file.
9519 * config/tilegx/sfp-machine64.h: New file.
9520 * config/tilegx/t-crtstuff: New file.
9521 * config/tilegx/t-softfp: New file.
9522 * config/tilegx/t-tilegx: New file.
9523 * config/tilepro/atomic.c: New file.
9524 * config/tilepro/atomic.h: New file.
9525 * config/tilepro/linux-unwind.h: New file.
9526 * config/tilepro/sfp-machine.h: New file.
9527 * config/tilepro/softdivide.c: New file.
9528 * config/tilepro/softmpy.S: New file.
9529 * config/tilepro/t-crtstuff: New file.
9530 * config/tilepro/t-tilepro: New file.
9531
b59cbd50
JW
95322012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9533
9534 PR libstdc++/51296
9535 PR libstdc++/51906
9536 * gthr-posix.h: Allow static initializer macros to be disabled.
9537 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9538
6caf807f
CLT
95392012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9540
9541 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9542 Add t-slibgcc-libgcc to tmake_file.
9543 * config/mips/libgcc-mips16.ver: Revert previous patch.
9544 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9545
7d296953
JJ
95462012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9547 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9548
9549 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9550 * config/cr16/crti.S: New file.
9551 * config/cr16/crtlibid.S: New file.
9552 * config/cr16/crtn.S: New file.
9553 * config/cr16/lib1funcs.S: New file.
9554 * config/cr16/t-cr16: New file.
9555 * config/cr16/t-crtlibid: New file.
9556 * config/cr16/unwind-dw2.h: New file.
9557 * config/cr16/unwind-cr16.c: New file.
9558 * config/cr16/divmodhi3.c: New file.
9559
8ef03aa7
AM
95602012-01-25 Alan Modra <amodra@gmail.com>
9561
9562 * config/rs6000/t-linux64: Delete. Move..
9563 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9564 * config/rs6000/t-linux: ..and libgcc flags to here.
9565
daecebc8
DR
95662012-01-22 Douglas B Rupp <rupp@gnat.com>
9567
9568 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9569 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9570 * configure: Regenerate.
9571
ddaf8125
RS
95722012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9573 Richard Sandiford <rdsandiford@googlemail.com>
9574
9575 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9576 * config/mips/mips16.S (__mips16_rdhwr): New function.
9577 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9578
2cd8b32c
NS
95792012-01-11 Nathan Sidwell <nathan@acm.org>
9580
9581 * libgcov.c (__gcov_init): Ignore objects with no functions.
9582
cba300dd
GJL
95832012-01-10 Georg-Johann Lay <avr@gjlay.de>
9584
9585 PR target/49868
9586 Extend __pgmx semantics to linearize memory.
9587 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9588 * config/avr/lib1funcs.S (__xload_1): New function.
9589 (__movmemx_qi, __movmemx_hi): New functions.
9590 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9591 semantics.
9ffaf4bc 9592
3d137660
EB
95932012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9594
9595 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9596 purported sigacthandler address isn't null before dereferencing it.
9597 (sparc_is_sighandler): Likewise.
9598
bf4db96c
EB
95992012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9600
9601 PR ada/41929
9602 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9603 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9604 (sparc_is_sighandler): Likewise.
9605 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9606
1ab3568b
TG
96072012-01-06 Tristan Gingold <gingold@adacore.com>
9608
9609 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9610 compatibility thunks...
9611 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9612 (crtbeginS.o, crtendS.o): ... and these to ...
9613 * config/ia64/t-ia64-elf: ... this new file.
9614 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9615 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9616
925b0ed8
AK
96172012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9618
9619 * configure: Regenerate.
9620 * config/s390/t-crtstuff: Remove -fPIC.
9621
a99ad737
JW
96222012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9623
9624 PR bootstrap/51006
9625 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9626 for NetBSD.
9627
884f56d1
GJL
96282012-01-02 Georg-Johann Lay <avr@gjlay.de>
9629
9630 PR target/51345
9631 * config/avr/lib1funcs.S: Remove FIXME comments.
9632 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9633
8c57e547
GJL
96342012-01-02 Georg-Johann Lay <avr@gjlay.de>
9635
9636 Implement light-weight DImode support.
9637 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9638 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9639 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9640 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9641
04dbc287
NS
96422011-12-30 Nathan Sidwell <nathan@acm.org>
9643
9644 * libgcov.c (gcov_crc32): Remove global var.
9645 (free_fn_data): New function.
9646 (buffer_fn_data): Pass in filename, more robust error recovery.
9647 (crc32_unsigned): New function.
9648 (gcov_exit): More robust detection of new program. More robust
9649 error recovery.
9650 (__gcov_init): Do not update program's crc here.
9651
8e1d97d4
TG
96522011-12-21 Tristan Gingold <gingold@adacore.com>
9653
9654 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9655
9ffaf4bc
ILT
96562011-12-21 Ian Lance Taylor <iant@google.com>
9657
9658 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9659
a0c8d0c1
ILT
96602011-12-20 Ian Lance Taylor <iant@google.com>
9661
9662 * config/i386/morestack.S (__morestack_non_split): If there is
9663 enough stack space already, don't split. Ask for more stack space
9664 than we required.
9665
69048898
SDJ
96662011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9667
9668 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9669 `sys/sdt.h'.
9670 (_Unwind_DebugHook): New function.
9671 (uw_restore_core_regs): New define.
9672 (unwind_phase2): Use uw_restore_core_regs instead of
9673 restore_core_regs.
9674 (unwind_phase2_forced): Likewise.
9675 (__gnu_Unwind_Resume): Likewise.
9676
1bb4b6a3
UB
96772011-12-20 Uros Bizjak <ubizjak@gmail.com>
9678
9679 * config/alpha/linux-unwind.h: Update copyright years.
9680 (MD_FROB_UPDATE_CONTEXT): New define.
9681 (alpha_frob_update_context): New function.
9682
eb028768
RS
96832011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9684
9685 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9686 tmake_file rather replacing it.
9687
6a2045bf
IS
96882011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9689
9690 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9691 function is not used for PPC64.
6a2045bf
IS
9692 (save_world): Amend comments. Update the VRsave mask to reflect the
9693 saved regs.
9694 (rest_world): Update comments, do not clobber r10, do not use r8.
9695 (eh_rest_world_r10): Amend comments, do not use r8.
9696 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9697 no longer used, move restore of CR and target address to the end of
9698 the routine.
9699
a13780a6
L
97002011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9701
9702 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9703 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9704
d7288dfb
GJL
97052011-12-14 Georg-Johann Lay <avr@gjlay.de>
9706
9707 PR target/49313
9708 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9709 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9710
8d2c862d
EB
97112011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9712
9713 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9714
3447cae6
GJL
97152011-12-09 Georg-Johann Lay <avr@gjlay.de>
9716
9717 PR target/49313
9718 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9719 * config/avr/lib1funcs.S (__muldi3): New function.
9720
806fc6aa
AP
97212011-12-06 Andrew Pinski <apinski@cavium.com>
9722
9723 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9724 size of func_ptr.
9725 (__frame_dummy_init_array_entry): Likewise.
9726
28c5e6b5
GJL
97272011-12-06 Georg-Johann Lay <avr@gjlay.de>
9728
9729 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9730
9731 PR target/51345
9732 PR target/51002
9733 * config/avr/lib1funcs.S (__prologue_saves__,
9734 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9735 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9736
8f90394a
IS
97372011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9738
9739 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9740
06dd33ac
JDA
97412011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9742
9743 PR other/51272
9744 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9745 (_ITM_deregisterTMCloneTable): Likewise.
9746 (__register_frame_info): Fix unused warning.
9747 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9748 pthread_default_stacksize_np): Likewise.
9749 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9750
85b8555e
DD
97512011-11-29 DJ Delorie <dj@redhat.com>
9752
9753 * config.host (rl78-*-elf): New case.
9754 * config/rl78: New directory for the Renesas RL78.
9755
4d5ae4ea
BS
97562011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9757
9758 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9759 formatting.
9760
f9c55897
RO
97612011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9762
9763 PR other/51022
9764 * config/rs6000/t-savresfgpr: New file.
9765 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9766 $(srcdir)/config/rs6000/eabi.S.
9767 * config/rs6000/t-ppccomm-ldbl: Remove.
9768 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9769 tmake_file.
9770 (powerpc-*-eabispe*): Likewise.
9771 (powerpc-*-eabi*): Likewise.
9772 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9773 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9774 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9775 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9776 tmake_file.
9777 (powerpc-*-eabisim*): Likewise.
9778 (powerpc-*-elf*): Likewise.
9779 (powerpc-*-eabialtivec*): Likewise.
9780 (powerpc-xilinx-eabi*): Likewise.
9781 (powerpc-*-rtems*): Likewise.
9782 (powerpcle-*-elf*): Likewise.
9783 (powerpcle-*-eabisim*): Likewise.
9784 (powerpcle-*-eabi*): Likewise.
9785
a01207c4
ILT
97862011-11-27 Ian Lance Taylor <iant@google.com>
9787
9788 * generic-morestack.c (__splitstack_find): Check for NULL old
9789 stack value.
9790 (__splitstack_resetcontext): New function.
9791 (__splitstack_releasecontext): New function.
9792 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9793
2b0b8ab2
IS
97942011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9795
9796 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9797
c1d8101c
IS
97982011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9799
9800 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9801
8b281334
RH
98022011-11-26 Richard Henderson <rth@redhat.com>
9803
9804 * config/m68k/linux-atomic.c: New file.
9805 * config/m68k/t-linux: New file.
9806 * config.host (m68k-uclinux, m68k-linux): Use it.
9807
7546aa9d
RH
98082011-11-26 Richard Henderson <rth@redhat.com>
9809
9810 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9811 (__TMC_END__): Only declare if hidden is available; in the definition,
9812 if hidden is unavailable add a null record.
9813 (deregister_tm_clones, register_tm_clones): New.
9814 (__do_global_dtors_aux, frame_dummy): Use them.
9815 (__do_global_dtors, __do_global_ctors_1): Likewise.
9816
e2362f5d
IS
98172011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9818
9819 * config/darwin-crt-tm.c: New file.
9820 * config.host (darwin): Build crttms.o crttme.o to provide
9821 startup and shutdown for tm clones.
9822 * config/t-darwin (crttms.o): New build rule.
9823 (crttme.o): Likewise.
9824
6685dd96
HPN
98252011-11-21 Hans-Peter Nilsson <hp@axis.com>
9826
9827 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9828 et al.
9829
b0dc7e4c
RH
98302011-11-21 Richard Henderson <rth@redhat.com>
9831
9832 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9833 (__TMC_LIST__, __TMC_END__): New.
9834 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9835 (__do_global_dtors): Likewise.
9836 (frame_dummy): Call _ITM_registerTMCloneTable.
9837 (__do_global_ctors_1): Likewise.
9838
d4b4b542
RO
98392011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9840
9841 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9842 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9843 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9844 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9845 * config/i386/t-darwin64: Remove.
9846 * config/sh/t-netbsd (LIB2ADD): Remove.
9847
989bdb74
GJL
98482011-11-21 Georg-Johann Lay <avr@gjlay.de>
9849
9850 PR target/49313
9851 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9852 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9853 * config/avr/lib1funcs.S (wmov): New assembler macro.
9854 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9855 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9856 (__udivmod64): New function.
9857 (__negdi2): New function.
9858
515a0cfc
GP
98592011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9860
9861 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9862 *-*-freebsd*aout*): Remove.
9863
0115d17f
HPN
98642011-11-20 Hans-Peter Nilsson <hp@axis.com>
9865
9866 * static-object.mk (c_flags-$o): Save c_flags.
9867 ($(base)$(objext)): Use it.
9868
93aeb62b
SE
98692011-11-18 Steve Ellcey <sje@cup.hp.com>
9870
9871 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9872
7bc6df2c
GJL
98732011-11-18 Georg-Johann Lay <avr@gjlay.de>
9874
9875 PR target/49868
9876 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9877 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9878 New functions.
9879
425d737b
MGD
98802011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9881
9882 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9883 functions.
1bb4b6a3 9884 (aeabi_uidivmod): Likewise.
425d737b
MGD
9885 (umodsi3): Likewise.
9886 (divsi3): Likewise.
9887 (aeabi_idivmod): Likewise.
9888 (modsi3): Likewise.
9889
f2a176dc
TG
98902011-11-16 Tristan Gingold <gingold@adacore.com>
9891
9892 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9893
7c209481
GJL
98942011-11-15 Georg-Johann Lay <avr@gjlay.de>
9895
9896 PR target/49868
9897 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9898 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9899
9dfd5832
JDA
99002011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9901
9902 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9903 tmake_file list.
9904 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9905 * config/pa/t-stublib64: Delete.
9906
f77dca5d
RH
99072011-11-12 Richard Henderson <rth@redhat.com>
9908
9909 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9910 cast the pointer argument to _Unwind_SetGRPtr.
9911
902828f0
RO
99122011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9913
9914 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9915
e14304ef
ILT
99162011-11-09 Ian Lance Taylor <iant@google.com>
9917
9918 * generic-morestack.c: Include <string.h>.
9919 (uintptr_type): Define.
9920 (struct initial_sp): Add dont_block_signals field. Reduce size of
9921 extra array by 1.
9922 (allocate_segment): Set prev field to NULL. Don't set
9923 __morestack_current_segment or __morestack_segments.
9924 (__generic_morestack): Update current->prev and *pp after calling
9925 allocate_segment.
9926 (__morestack_block_signals): Don't do anything if
9927 dont_block_signals is set.
9928 (__morestack_unblock_signals): Likewise.
9929 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9930 uintptr_type.
9931 (__splitstack_block_signals): New function.
9932 (enum __splitstack_content_offsets): Define.
9933 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9934 (__splitstack_makecontext): New function.
9935 (__splitstack_block_signals_context): New function.
9936 (__splitstack_find_context): New function.
9937 * config/i386/morestack.S (__morestack_get_guard): New function.
9938 (__morestack_set_guard, __morestack_make_guard): New functions.
9939 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9940
e3d871e4
RO
99412011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9942
9943 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9944 (i[34567]86-*-mingw*): ... here.
9945 (x86_64-*-mingw*): ... here.
9946
e55cef40
RO
99472011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9948
9949 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9950
5366b186
NS
99512011-11-07 Nathan Sidwell <nathan@acm.org>
9952
9953 * libgcov.c (struct gcov_fn_buffer): New struct.
9954 (buffer_fn_data): New helper.
9955 (gcov_exit): Rework for new gcov data structures.
9956
74155a6f
GJL
99572011-11-07 Georg-Johann Lay <avr@gjlay.de>
9958
9959 PR target/49313
9960 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9961
200feb07
RO
99622011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9963
9964 * config.host (tmake_file): Correct comment.
9965 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9966 t-libgcc-pic.
9967 (bfin*-uclinux*): Likewise.
9968 (bfin*-linux-uclibc*): Likewise.
9969 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9970
9971 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9972 assigning.
9973 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9974 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9975 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9976 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9977 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9978 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9979 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9980 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9981 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9982 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9983 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9984 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9985 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9986
9987 * config/bfin/t-elf: Remove.
9988 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9989
c9cd1a07
RO
99902011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9991
9992 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9993 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9994 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9995 (lm32-*-elf*): ... this.
9996 (lm32-*-rtems*): ... and this.
9997 Add to tmake_file.
9998 (m32r-*-rtems*): Add to tmake_file.
9999 (moxie-*-rtems*): Likewise.
10000 (sparc-*-rtems*): Likewise.
10001 Remove t-rtems from tmake_file.
10002 (sparc64-*-rtems*): Likewise.
10003 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10004 instead.
10005
9fbcc75d
RO
100062011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10007
10008 PR bootstrap/50982
10009 * config/gthr-posix.h: Move ...
10010 * gthr-posix.h: ... here.
10011 * config/gthr-lynx.h: Reflect this.
10012 * config/gthr-vxworks.h: Likewise.
10013 * config/rs6000/gthr-aix.h: Likewise.
10014 * configure.ac (target_thread_file): Likewise.
10015 * configure: Regenerate.
10016
76644b68
SH
100172011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10018
10019 * config.host (arm*-*-rtemseabi*): New target.
10020
5e490f2a
JDA
100212011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10022
10023 PR other/50991
10024 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10025 extra-parts.
10026
feeeff5c
JR
100272011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10028
10029 * config.host (epiphany-*-elf*): New configuration.
10030 * config/epiphany: New Directory.
10031
d618bb2c
RC
100322011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10033
10034 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10035 * config/avr/t-rtems: New.
10036 Filter out _exit from LIB1ASMFUNCS.
10037
1bb6f778
DM
100382011-11-04 David S. Miller <davem@davemloft.net>
10039
10040 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10041 * configure: Rebuild.
10042
9a7f7422
AK
100432011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10044
10045 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10046 variable.
10047
e4fe948a
GJL
100482011-11-04 Georg-Johann Lay <avr@gjlay.de>
10049
10050 PR target/50931
10051 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10052 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10053
7084e037
JS
100542011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10055
10056 PR target/50989
10057 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10058
1a032034
RO
100592011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10060
10061 * config/c6x/t-elf (LIB2ADDEH): Set.
10062 * config/c6x/t-c6x-elf: Remove.
10063
d385f772
RO
100642011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10065
10066 * config/i386/sol2-ci.S: Rename to ...
10067 * config/i386/crti.S: ... this.
10068 * config/i386/sol2-cn.S: Rename to ...
10069 * config/i386/crtn.S: ... this.
10070 * config/sparc/sol2-ci.S: Rename to ...
10071 * config/sparc/crti.S: ... this.
10072 * config/sparc/sol2-cn.S: Rename to ...
10073 * config/sparc/crtn.S: ... this.
10074 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10075 (crti.o, crtn.o): Remove.
10076
1ba878a9
TG
100772011-11-04 Tristan Gingold <gingold@adacore.com>
10078
10079 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10080
02750c15
KK
100812011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10082
10083 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10084
bf86b067
HPN
100852011-11-03 Hans-Peter Nilsson <hp@axis.com>
10086
10087 * config.host (crisv32-*-none, cris-*-none): Remove.
10088 (crisv32-*-elf): Append to tmake_file, don't just set it.
10089 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10090
d0bc53bd
RO
100912011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10092
10093 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10094 (ecrtn$(objext)): Likewise.
10095 (ncrti$(objext)): Likewise.
10096 (ncrtn$(objext)): Likewise.
10097
036da830
AS
100982011-11-03 Andreas Schwab <schwab@redhat.com>
10099
10100 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10101
d2a7d041
DM
101022011-11-02 David S. Miller <davem@davemloft.net>
10103
10104 * configure.ac: Set host_address on sparc too.
10105 * configure: Regenerate.
10106 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10107 based upon host_address.
10108 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10109
af8ed618
JM
101102011-11-02 Jason Merrill <jason@redhat.com>
10111
10112 * config/rs6000/t-ppccomm: Add missing \.
10113
5d1c8e77
RO
101142011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10115
10116 * gthr-single.h, gthr.h: New files.
10117 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10118 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10119 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10120 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10121 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10122 * configure.ac (thread_header): New variable.
10123 Set it depending on target_thread_file.
10124 (gthr-default.h): Link from $thread_header.
10125 * configure: Regenerate.
10126 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10127
852b75ed
RO
101282011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10129
10130 * configure.ac (tm_file_): New variable.
10131 Determine from tm_file.
10132 (tm_file, tm_defines): Substitute.
10133 * configure: Regenerate.
10134 * mkheader.sh: New file.
10135 * Makefile.in (clean): Remove libgcc_tm.h.
10136 ($(objects)): Depend on libgcc_tm.h.
10137 (libgcc_tm_defines, libgcc_tm_file): New variables.
10138 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10139 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10140 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10141 ($(extra-parts)): Depend on libgcc_tm.h.
10142 * config.host (tm_defines, tm_file): New variable.
10143 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10144 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10145 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10146 (avr-*-rtems*): Likewise.
10147 (avr-*-*): Likewise.
10148 (frv-*-elf): Likewise.
10149 (frv-*-*linux*): Likewise.
10150 (h8300-*-rtems*): Likewise.
10151 (h8300-*-elf*): Likewise.
10152 (i[34567]86-*-darwin*): Likewise.
10153 (x86_64-*-darwin*): Likewise.
10154 (rx-*-elf): Likewise.
10155 (tic6x-*-uclinux): Likewise.
10156 (tic6x-*-elf): Likewise.
10157 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10158 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10159 * config/i386/cygming-crtbegin.c: Likewise.
10160 * config/i386/cygming-crtend.c: Likewise.
10161 * config/ia64/fde-vms.c: Likewise.
10162 * config/ia64/unwind-ia64.c: Likewise.
10163 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10164 * config/rs6000/darwin-fallback.c: Likewise.
10165 * config/stormy16/lib2funcs.c: Likewise.
10166 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10167 * crtstuff.c: Likewise.
10168 * dfp-bit.h: Likewise.
10169 * emutls.c: Likewise.
10170 * fixed-bit.c: Likewise.
10171 * fp-bit.c: Likewise.
10172 * generic-morestack-thread.c: Likewise.
10173 * generic-morestack.c: Likewise.
10174 * libgcc2.c: Likewise.
10175 * libgcov.c: Likewise.
10176 * unwind-dw2-fde-dip.c: Likewise.
10177 * unwind-dw2-fde.c: Likewise.
10178 * unwind-dw2.c: Likewise.
10179 * unwind-sjlj.c: Likewise.
10180
f9989b51
RO
101812011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10182
10183 * configure.ac: Include ../config/picflag.m4.
10184 (GCC_PICFLAG): Call it.
10185 Substitute.
10186 * configure: Regenerate.
10187 * Makefile.in (gcc_srcdir): Remove.
10188 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10189 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10190 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10191 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10192 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10193 Use $<.
10194 Remove comment.
10195 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10196 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10197 to refer to libgcc2.c.
10198 Use $<.
10199 * config/darwin-64.c: New file.
10200 * config/darwin-crt3.c: Remove comment.
10201 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10202 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10203 config/udivmodsi4.c: New files.
10204 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10205 config/memset.c: New files.
10206 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10207 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10208 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10209 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10210 * config/t-openbsd-thread: New file.
10211 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10212 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10213 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10214 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10215 qrnnd.S.
10216 Adapt filename.
10217 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10218 to refer to gthr-posix.c.
10219 * config/alpha/t-vms (LIB2ADD): Set.
10220 * config/alpha/vms-gcc_shell_handler.c: New file.
10221 * config/arm/bpabi.c, config/arm/fp16.c,
10222 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10223 config/arm/unaligned-funcs.c: New files.
10224 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10225 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10226 * config/arm/t-linux: Likewise.
10227 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10228 * config/arm/t-netbsd: New file.
10229 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10230 * config/arm/t-symbian (LIB2ADD_ST): Set.
10231 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10232 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10233 * config/bfin/t-elf: New file.
10234 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10235 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10236 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10237 config/c6x/ltf.c: New files.
10238 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10239 (HOST_LIBGCC2_CFLAGS): Set.
10240 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10241 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10242 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10243 New files.
10244 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10245 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10246 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10247 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10248 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10249 files.
10250 * config/frv/t-frv (LIB2ADD): Set.
10251 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10252 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10253 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10254 config/h8300/popcounthi2.c: New files.
10255 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10256 * config/i386/gthr-win32.c: New file.
10257 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10258 * config/i386/t-cygwin: Likewise.
10259 * config/i386/t-darwin, config/i386/t-darwin64,
10260 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10261 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10262 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10263 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10264 * config/ia64/quadlib.c: New file.
10265 * config/ia64/t-hpux (LIB2ADD): Set.
10266 * config/ia64/t-ia64: Add comment.
10267 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10268 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10269 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10270 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10271 * config/m32c/t-m32c (LIB2ADD): Set.
10272 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10273 * config/m32r/t-m32r: Likewise.
10274 * config/m68k/fpgnulib.c: New file.
10275 * config/m68k/t-floatlib (LIB2ADD): Set.
10276 (xfgnulib.c): New target.
10277 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10278 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10279 * config/mep/t-mep (LIB2ADD): Set.
10280 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10281 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10282 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10283 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10284 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10285 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10286 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10287 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10288 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10289 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10290 New files.
10291 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10292 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10293 * config/pa/fptr.c, config/pa/lib2funcs.S,
10294 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10295 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10296 (LIB2ADD, LIB2ADD_ST): Set.
10297 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10298 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10299 Set.
10300 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10301 * config/pdp11/t-pdp11: New file.
10302 * config/picochip/libgccExtras/adddi3.S,
10303 config/picochip/libgccExtras/ashlsi3.S,
10304 config/picochip/libgccExtras/ashrsi3.S,
10305 config/picochip/libgccExtras/clzsi2.S,
10306 config/picochip/libgccExtras/cmpsi2.S,
10307 config/picochip/libgccExtras/divmod15.S,
10308 config/picochip/libgccExtras/divmodhi4.S,
10309 config/picochip/libgccExtras/divmodsi4.S,
10310 config/picochip/libgccExtras/lshrsi3.S,
10311 config/picochip/libgccExtras/parityhi2.S,
10312 config/picochip/libgccExtras/popcounthi2.S,
10313 config/picochip/libgccExtras/subdi3.S,
10314 config/picochip/libgccExtras/ucmpsi2.S,
10315 config/picochip/libgccExtras/udivmodhi4.S,
10316 config/picochip/libgccExtras/udivmodsi4.S: New files.
10317 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10318 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10319 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10320 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10321 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10322 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10323 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10324 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10325 files.
10326 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10327 (HOST_LIBGCC2_CFLAGS): Set.
10328 * config/rs6000/t-darwin64: New file.
10329 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10330 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10331 * config/rs6000/t-ppccomm (LIB2ADD): Add
10332 $(srcdir)/config/rs6000/tramp.S.
10333 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10334 Add $(srcdir)/config/rs6000/eabi.S.
10335 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10336 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10337 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10338 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10339 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10340 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10341 * config/rs6000/tramp.S: New file.
10342 * config/s390/t-tpf: Remove.
10343 * config/sh/linux-atomic.S: New file.
10344 * config/sh/t-linux (LIB2ADD): Set.
10345 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10346 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10347 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10348 to unwind-dw2.c.
10349 (HOST_LIBGCC2_CFLAGS): Set.
10350 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10351 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10352 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10353 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10354 config/spu/mfc_multi_tag_release.c,
10355 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10356 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10357 config/spu/multi3.c: New files.
10358 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10359 (HOST_LIBGCC2_CFLAGS): Set.
10360 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10361 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10362 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10363 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10364 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10365 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10366 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10367 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10368 config/stormy16/umodsi3.c: New files.
10369 * config/xtensa/lib2funcs.S: New file.
10370 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10371 * config/xtensa/t-xtensa (LIB2ADD): Set.
10372 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10373 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10374 Add t-freebsd-thread to tmake_file for posix threads.
10375 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10376 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10377 (*-*-lynxos*): Likewise.
10378 (*-*-netbsd*): Likewise.
10379 (*-*-openbsd*): Likewise.
10380 Add t-openbsd-thread to tmake_file for posix threads.
10381 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10382 (*-*-vxworks*): Set tmake_file.
10383 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10384 (alpha*-*-freebsd*): Likewise.
10385 (alpha*-*-netbsd*): Likewise.
10386 (alpha*-*-openbsd*): Likewise.
10387 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10388 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10389 (alpha*-dec-*vms*): Likewise.
10390 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10391 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10392 (bfin*-uclinux*): Likewise.
10393 (bfin*-linux-uclibc*): Likewise.
10394 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10395 (crisv32-*-none): Likewise.
10396 (cris-*-elf): Likewise.
10397 (cris-*-none): Likewise.
10398 (cris-*-linux*, crisv32-*-linux*): Likewise.
10399 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10400 tmake_file.
10401 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10402 tmake_file.
10403 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10404 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10405 (x86_64-*-elf*): Likewise.
10406 (i[34567]86-*-nto-qnx*): Likewise.
10407 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10408 win32 threads.
10409 (x86_64-*-mingw*): Likewise.
10410 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10411 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10412 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10413 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10414 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10415 tmake_file.
10416 (mipsisa64sr71k-*-elf*): Likewise.
10417 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10418 (mips-*-elf*, mipsel-*-elf*): Likewise.
10419 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10420 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10421 (mips*-*-rtems*): Likewise.
10422 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10423 to tmake_file.
10424 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10425 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10426 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10427 (spu-*-elf*): Likewise.
10428 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10429
45b86625
RO
104302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10431
10432 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10433 $(srcdir) to refer to $(LIB1ASMSRC).
10434 Use $<.
10435 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10436 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10437 config/arm/lib1funcs.S: New files.
10438 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10439 * config/arm/t-arm: New file.
10440 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10441 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10442 config/arm/t-strongarm-elf: New files.
10443 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10444 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10445 * config/avr/lib1funcs.S: New file.
10446 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10447 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10448 * config/c6x/lib1funcs.S: New file.
10449 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10450 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10451 * config/frv/lib1funcs.S: New file.
10452 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10453 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10454 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10455 * config/ia64/__divxf3.asm: Rename to ...
10456 * config/ia64/__divxf3.S: ... this.
10457 Adapt lib1funcs.asm filename.
10458 * config/ia64/_fixtfdi.asm: Rename to ...
10459 * config/ia64/_fixtfdi.S: ... this.
10460 Adapt lib1funcs.asm filename.
10461 * config/ia64/_fixunstfdi.asm: Rename to ...
10462 * config/ia64/_fixunstfdi.S: ... this.
10463 Adapt lib1funcs.asm filename.
10464 * config/ia64/_floatditf.asm: Rename to ...
10465 * config/ia64/_floatditf.S: ... this.
10466 Adapt lib1funcs.asm filename.
10467 * config/ia64/lib1funcs.S: New file.
10468 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10469 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10470 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10471 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10472 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10473 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10474 * config/mep/lib1funcs.S: New file.
10475 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10476 * config/mips/mips16.S: New file.
10477 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10478 * config/pa/milli64.S: New file.
10479 * config/pa/t-linux, config/pa/t-linux64: New files.
10480 * config/picochip/lib1funcs.S: New file.
10481 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10482 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10483 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10484 * config/sh/t-netbsd: New file.
10485 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10486 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10487 * config/sh/t-sh64: New file.
10488 * config/sparc/lb1spc.S: New file.
10489 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10490 filename.
10491 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10492 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10493 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10494 config/xtensa/lib1funcs.S: New files.
10495 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10496 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10497 tmake_file.
10498 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10499 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10500 (arm*-*-linux*): Likewise.
10501 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10502 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10503 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10504 (arm*-*-ecos-elf): Likewise.
10505 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10506 (arm*-*-rtems*): Likewise.
10507 (arm*-*-elf): Likewise.
10508 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10509 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10510 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10511 (bfin*-uclinux*): Likewise.
10512 (bfin*-linux-uclibc*): Likewise.
10513 (bfin*-rtems*): Likewise.
10514 (bfin*-*): Likewise.
10515 (fido-*-elf): Merge into m68k-*-elf*.
10516 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10517 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10518 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10519 (h8300-*-elf*): Likewise.
10520 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10521 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10522 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10523 (i[34567]86-*-mingw*): Likewise.
10524 (x86_64-*-mingw*): Likewise.
10525 (i[34567]86-*-interix3*): Likewise.
10526 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10527 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10528 (m68k-*-elf*): Also handle fido-*-elf.
10529 Add m68k/t-floatlib to tmake_file.
10530 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10531 (m68k-*-linux*): Likewise.
10532 (m68k-*-rtems*): Likewise.
10533 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10534 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10535 sh64*-*-*.
10536 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10537 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10538 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10539 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10540 sh/t-netbsd to tmake_file.
10541 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10542 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10543 (sh-wrs-vxworks): Likewise.
10544 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10545 *-leon[3-9]*.
10546 (v850*-*-*): Add v850/t-v850 to tmake_file.
10547 (vax-*-linux*): Add vax/t-linux to tmake_file.
10548 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10549
5f73c6cc
RO
105502011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10551
10552 * crtstuff.c: New file.
10553 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10554 (CRTSTUFF_T_CFLAGS): Define.
10555 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10556 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10557 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10558 crtstuff.c.
10559 Use $<.
10560 (crtbeginT.o): Use $(objext).
10561 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10562 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10563 (gcc-extra-parts): Remove.
10564 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10565 Set extra_parts.
10566 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10567 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10568 Add t-crtstuff-pic to tmake_file.
10569 (*-*-lynxos*): New case.
10570 Set tmake_file, extra_parts.
10571 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10572 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10573 *-*-netbsdelf[2-9]*.
10574 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10575 (*-*-rtems*): Set extra_parts.
10576 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10577 (*-*-uclinux*): New case.
10578 Set extra_parts.
10579 (*-*-vms*): New case.
10580 Set tmake_file, extra_parts.
10581 (*-*-elf): Set extra_parts.
10582 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10583 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10584 vms/t-vms64.
10585 Set extra_parts.
10586 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10587 Set extra_parts.
10588 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10589 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10590 (arm-wrs-vxworks): Append to tmake_file.
10591 Set extra_parts.
10592 (arm*-*-uclinux*): Set extra_parts.
10593 (arm*-*-ecos-elf): Likewise.
10594 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10595 arm*-*-eabi*.
10596 (arm*-*-rtems*): Set extra_parts.
10597 (arm*-*-elf): Likewise.
10598 (avr-*-rtems*): Clear extra_parts.
10599 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10600 Set extra_parts.
10601 (bfin*-uclinux*): Likewise.
10602 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10603 (bfin*-rtems*): Append to tmake_file.
10604 Set extra_parts.
10605 (bfin*-*): Likewise.
10606 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10607 (crisv32-*-elf): ... this.
10608 (crisv32-*-none): ... this.
10609 (cris-*-elf, cris-*-none): New cases.
10610 Add cris/t-elfmulti to tmake_file.
10611 (fr30-*-elf): Append to tmake_file.
10612 Set extra_parts.
10613 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10614 Set extra_parts.
10615 (h8300-*-rtems*): Append to tmake_file.
10616 Set extra_parts.
10617 (h8300-*-elf*): Likewise.
10618 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10619 Set extra_parts.
10620 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10621 Set extra_parts.
10622 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10623 (x86_64-*-elf*): Likewise.
10624 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10625 (x86_64-*-freebsd*): Likewise.
10626 (x86_64-*-netbsd*): Likewise.
10627 (i[34567]86-*-linux*): Likewise.
10628 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10629 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10630 (x86_64-*-linux*): Likewise.
10631 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10632 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10633 tmake_file.
10634 Set extra_parts.
10635 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10636 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10637 Append to extra_parts, remove crtbegin.o, crtend.o.
10638 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10639 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10640 crtend.o, crtbeginS.o, crtendS.o.
10641 (ia64*-*-linux*): Comment extra_parts.
10642 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10643 Set extra_parts.
10644 (iq2000*-*-elf*): Clear extra_parts.
10645 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10646 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10647 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10648 (m32r-*-rtems*): ... this.
10649 Add m32r/t-m32r to tmake_file.
10650 (m68k-*-elf*): Add t-crtin to tmake_file.
10651 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10652 (mcore-*-elf): Likewise.
10653 (microblaze*-*-*): Set extra_parts.
10654 (mips*-sde-elf*): New case.
10655 Set tmake_file, extra_parts.
10656 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10657 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10658 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10659 tmake_file.
10660 Set extra_parts.
10661 (mipsisa64sr71k-*-elf*): Likewise.
10662 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10663 (mips-*-elf*, mipsel-*-elf*): Likewise.
10664 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10665 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10666 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10667 (mips*-*-rtems*): Likewise.
10668 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10669 (moxie-*-*): Split into ...
10670 (moxie-*-elf, moxie-*-uclinux*): ... this.
10671 Add to extra_parts, remove crtbegin.o, crtend.o.
10672 (moxie-*-rtems*): New case.
10673 Set tmake_file.
10674 Clear extra_parts.
10675 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10676 Set extra_parts.
10677 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10678 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10679 tmake_file.
10680 Set extra_parts.
10681 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10682 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10683 Set extra_parts.
10684 (powerpc-*-eabisim*): Likewise.
10685 (powerpc-*-elf*): Likewise.
10686 (powerpc-*-eabialtivec*): Likewise.
10687 (powerpc-xilinx-eabi*): Likewise.
10688 (powerpc-*-eabi*): Likewise.
10689 (powerpc-*-rtems*): Likewise.
10690 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10691 tmake_file.
10692 Set extra_parts.
10693 (powerpc-*-lynxos*): Add to tmake_file.
10694 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10695 rs6000/t-crtstuff, t-crtstuff-pic.
10696 Set extra_parts.
10697 (powerpcle-*-eabisim*): Likewise.
10698 (powerpcle-*-eabi*): Likewise.
10699 (rx-*-elf): Remove extra_parts.
10700 (s390x-ibm-tpf*): Set extra_parts.
10701 (score-*-elf): Set extra_parts.
10702 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10703 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10704 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10705 (sh64l*-*-netbsd*): Split into ...
10706 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10707 Add t-crtstuff-pic to tmake_file.
10708 Set extra_parts.
10709 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10710 Set extra_parts.
10711 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10712 (sparc-*-elf*): Remove t-crtin from tmake_file.
10713 Add to extra_parts, remove crtbegin.o, crtend.o.
10714 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10715 (sparc64-*-linux*): Likewise.
10716 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10717 Add to extra_parts, remove crtbegin.o, crtend.o.
10718 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10719 Add to extra_parts, remove crtbegin.o, crtend.o.
10720 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10721 Add to extra_parts, remove crtbegin.o, crtend.o.
10722 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10723 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10724 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10725 Set extra_parts.
10726 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10727 Set extra_parts.
10728 (tic6x-*-*): Change to ...
10729 (tic6x-*-elf): ... this.
10730 Set extra_parts.
10731 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10732 Set extra_parts.
10733 (am33_2.0-*-linux*): Add comment.
10734 (mep*-*-*): Add mep/t-mep to tmake_file.
10735 Set extra_parts.
10736 * config/alpha/t-vms: New file.
10737 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10738 * config/arm/crti.S, config/arm/crtn.S: New files.
10739 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10740 * config/bfin/crtlibid.S: New file.
10741 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10742 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10743 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10744 (crti.o, crtin.o): New rules.
10745 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10746 * config/c6x/t-uclinux: New file.
10747 * config/cris/t-elfmulti: New file.
10748 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10749 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10750 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10751 * config/frv/t-frv: New file.
10752 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10753 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10754 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10755 New files.
10756 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10757 refer to cygming-crtbegin.c, cygming-crtend.c.
10758 Use $<.
10759 * config/i386/t-nto: New file.
10760 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10761 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10762 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10763 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10764 Use .S extension.
10765 Use $<.
10766 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10767 (crtinitS.o): New rule.
10768 * config/ia64/vms-crtinit.S: New file.
10769 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10770 * config/m32r/initfini.c: New file.
10771 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10772 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10773 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10774 * config/mep/t-mep: New file.
10775 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10776 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10777 * config/mips/crti.S, config/mips/crtn.S: New files.
10778 * config/mips/t-crtstuff: New file.
10779 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10780 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10781 (CUSTOM_CRTIN): Set.
10782 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10783 dependencies.
10784 Use $(srcdir) to refer to crti.S, crtn.S.
10785 Use .S extension, $<.
10786 * config/moxie/crti.asm: Rename to ...
10787 * config/moxie/crti.S: ... this.
10788 * config/moxie/crtn.asm: Rename to ...
10789 * config/moxie/crtn.S: ... this.
10790 * config/moxie/t-moxie: Remove.
10791 * config/pa/stublib.c: New file.
10792 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10793 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10794 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10795 * config/rs6000/t-crtstuff: New file.
10796 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10797 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10798 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10799 Make output file explicit.
10800 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10801 Make output file explicit.
10802 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10803 Make output file explicit.
10804 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10805 Make output file explicit.
10806 * config/score/crti.S, config/score/crtn.S: New files.
10807 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10808 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10809 files.
10810 * config/sh/t-sh, config/sh/t-superh: New files.
10811 * config/sparc/t-linux64: New file.
10812 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10813 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10814 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10815 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10816 * config/t-crtin: Remove.
10817 * config/t-crtstuff-pic: New file.
10818 * config/t-sol2 (CUSTOM_CRTIN): Set.
10819 (crti.o, crtn.o): New rules.
10820 * config/vms/t-vms: New file.
10821 * config/vms/vms-ucrt0.c: New file.
10822 * config/xtensa/t-elf: New file.
10823
b040f2be
RO
108242011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10825
10826 * Makefile.in (SHLIB_NM_FLAGS): Set.
10827 * mkmap-flat.awk, mkmap-symver.awk: New files.
10828 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10829 exceptions.
10830 * configure: Regenerate.
10831 * config/libgcc-glibc.ver: New file.
10832 * config/libgcc-libsystem.ver: New file.
10833 * config/t-libunwind (SHLIB_LC): Set.
10834 * config/t-linux: New file.
10835 * config/t-slibgcc (INSTALL_SHLIB): New.
10836 (SHLIB_INSTALL): Use it.
10837 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10838 to mkmap-symver.awk.
10839 (SHLIB_MAPFILES): Don't append, adapt pathname.
10840 (SHLIB_VERPFX): Set.
10841 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10842 to mkmap-symver.awk.
10843 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10844 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10845 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10846 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10847 to mkmap-flat.awk.
10848 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10849 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10850 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10851 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10852 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10853 * config/i386/libgcc-darwin.10.4.ver,
10854 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10855 New files.
10856 * config/i386/t-darwin: Remove.
10857 * config/i386/t-darwin64: Likewise.
10858 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10859 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10860 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10861 * config/i386/t-linux: New file.
10862 * config/i386/t-mingw32: New file.
10863 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10864 * config/ia64/t-glibc: Rename to ...
10865 * config/ia64/t-linux: ... this.
10866 (SHLIB_MAPFILES): Set.
10867 * config/ia64/t-glibc-libunwind: Rename to ...
10868 * config/ia64/t-linux-libunwind: ... this.
10869 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10870 * config/ia64/t-slibgcc-hpux: New file.
10871 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10872 * config/m68k/t-slibgcc-elf-ver: New file.
10873 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10874 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10875 to mkmap-flat.awk.
10876 * config/pa/t-slibgcc-hpux: New file.
10877 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10878 files.
10879 * config/rs6000/libgcc-darwin.10.4.ver,
10880 config/rs6000/libgcc-darwin.10.5.ver: New files.
10881 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10882 config/rs6000/libgcc-glibc.ver.
10883 * config/rs6000/libgcc-ppc64.ver: Rename to
10884 config/rs6000/libgcc-ibm-ldouble.ver.
10885 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10886 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10887 * config/rs6000/t-ldbl128: Rename to ...
10888 * config/rs6000/t-linux: ... this.
10889 (SHLIB_MAPFILES): Adapt filename.
10890 * config/rs6000/t-slibgcc-aix: New file.
10891 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10892 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10893 libgcc-excl.ver, libgcc-glibc.ver.
10894 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10895 * config/sparc/libgcc-glibc.ver: New file.
10896 * config/sparc/t-linux: New file.
10897 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10898 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10899 t-slibgcc-elf-ver to tmake_file.
10900 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10901 *-*-freebsd[34].
10902 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10903 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10904 t-slibgcc-elf-ver, t-linux to tmake_file.
10905 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10906 tmake_file.
10907 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10908 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10909 (alpha*-dec-*vms*): Likewise.
10910 (arm*-*-freebsd*): Append to tmake_file.
10911 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10912 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10913 arm*-*-linux-*eabi.
10914 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10915 tmake_file for arm*-*-symbianelf*.
10916 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10917 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10918 cris/t-linux.
10919 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10920 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10921 pa/t-slibgcc-dwarf-ver to tmake_file.
10922 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10923 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10924 (hppa*64*-*-hpux11*): Likewise.
10925 (hppa[12]*-*-hpux11*): Likewise.
10926 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10927 i386/t-crtpc, i386/t-crtfm.
10928 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10929 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10930 to tmake_file.
10931 Add i386/t-cygwin to tmake_file.
10932 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10933 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10934 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10935 to tmake_file.
10936 Add i386/t-mingw32 to tmake_file.
10937 (x86_64-*-mingw*): Likewise.
10938 (ia64*-*-freebsd*): Append to tmake_file.
10939 (ia64*-*-linux*): Append to tmake_file.
10940 Replace ia64/t-glibc by ia64/t-linux.
10941 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10942 system libunwind.
10943 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10944 t-slibgcc-hpux to tmake_file.
10945 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10946 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10947 (m32rle-*-linux*): Likewise.
10948 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10949 sjlj exceptions.
10950 (microblaze*-linux*): New case.
10951 Append to tmake_file, add t-slibgcc-nolc-override.
10952 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10953 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10954 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10955 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10956 rs6000/t-slibgcc-aix to tmake_file.
10957 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10958 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10959 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10960 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10961 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10962 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10963 sh*-*-linux*.
10964 (sparc-*-linux*): Append to tmake_file for *-leon*.
10965 Add sparc/t-linux to tmake_file for non-Leon targets.
10966 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10967 (tic6x-*-uclinux): New case.
10968 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10969 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10970 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10971 (am33_2.0-*-linux*): Append to tmake_file.
10972 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10973 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10974 x86_64-*-kfreebsd*-gnu.
10975 Add i386/t-linux to tmake_file.
10976
18b4bd7b
ILT
109772011-10-28 Ian Lance Taylor <iant@google.com>
10978
10979 * config/i386/morestack.S: Correct CFI information to do proper
10980 returns throughout function. In 32-bit mode, save %ebx so that it
10981 is restored on unwind.
10982
5b2d9d90
BS
109832011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10984
10985 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10986 case where B3 isn't the return register.
10987
0d53e346
BS
10988 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10989 logic for doubleword pops.
10990
cbffbd59
AT
109912011-10-25 Andreas Tobler <andreast@fgznet.ch>
10992
10993 * config/rs6000/t-freebsd: Add wildcard.
10994
56dc349e
PB
109952011-10-21 Paul Brook <paul@codesourcery.com>
10996
10997 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10998
1e06b07d
UB
109992011-10-16 Uros Bizjak <ubizjak@gmail.com>
11000 Eric Botcazou <ebotcazou@adacore.com>
11001
11002 PR target/50737
11003 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11004 fs->signal_frame to 1.
11005
b5204884
ILT
110062011-10-07 Ian Lance Taylor <iant@google.com>
11007
11008 * generic-morestack-thread.c: #include <errno.h>.
11009
91a639a1
ILT
110102011-10-07 Ian Lance Taylor <iant@google.com>
11011
11012 PR target/46093
11013 * generic-morestack.c (__generic_morestack): Make sure the segment
11014 is large enough for both the stack frame and the copied
11015 parameters.
11016
cc49116d
RO
110172011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11018
11019 PR bootstrap/49804
11020 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11021 extra_parts.
11022
2996d8c3
NC
110232011-09-28 Nick Clifton <nickc@redhat.com>
11024
11025 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11026 64-bit doubles are not enabled.
11027 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11028 and floatunsisf functions.
11029
1e874273 110302011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11031
1e874273
PB
11032 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11033 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11034 * unwind-arm-common.inc: New file.
11035 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11036 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11037 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11038 * config/c6x/libunwind.S: New file.
11039 * config/c6x/pr-support.c: New file.
11040 * config/c6x/unwind-c6x.c: New file.
11041 * config/c6x/unwind-c6x.h: New file.
11042 * config/c6x/t-c6x-elf: New file.
11043
f70c879a
UB
110442011-08-23 Uros Bizjak <ubizjak@gmail.com>
11045
11046 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11047 (ASM_DIVZERO): Ditto.
11048 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11049
c55b374b
RS
110502011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11051
11052 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11053
1e138510
RS
110542011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11055
11056 PR target/50090
11057 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11058 instead of an assembly one.
11059
1563503d
PB
110602011-08-12 Paolo Bonzini <bonzini@gnu.org>
11061
11062 PR bootstrap/50047
11063 * Makefile.in (install-unwind_h): Create
11064 $(gcc_objdir)/include/unwind.h atomically.
11065
3627ac1a
RO
110662011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11067
11068 * Makefile.in (install-unwind_h): Remove destination file first.
11069
c6412d86
RO
110702011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11071
11072 * sync.c: New file.
11073 * config/mips/t-mips16: New file.
11074 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11075 (mips*-*-linux*): Likewise.
11076 (mips*-sde-elf*): Likewise.
11077 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11078 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11079 Add mips/t-mips16 to tmake_file.
11080 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11081 (mips-*-elf*): Likewise.
11082 (mips64-*-elf*): Likewise.
11083 (mips64orion-*-elf*): Likewise.
11084 (mips*-*-rtems*): Likewise.
11085 (mipstx39-*-elf*): Likewise.
11086 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11087 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11088 LIBGCC_SYNC_CFLAGS.
11089 Use $(srcdir) to refer to sync.c.
11090 Use $<.
11091 ($(libgcc-sync-funcs-o)): Likewise.
11092 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11093 ($(libgcc-sync-funcs-s-o)): Likewise.
11094
3cb6e5bd
AS
110952011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11096
11097 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11098 t-libunwind.
11099
cca2207a
L
111002011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11101
11102 PR other/48007
11103 * config/i386/value-unwind.h: New.
11104
ed39fbad
RS
111052011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11106
11107 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11108 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11109 Add to tmake_file rather than overriding it.
11110
aca0b0b3
RO
111112011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11112
11113 * config/t-softfp: Remove.
11114 * soft-fp: Moved from ../gcc/config.
11115 * soft-fp/README: Remove t-softfp reference.
11116 * soft-fp/t-softfp: Move to config/t-softfp.
11117 (softfp_machine_header): Remove.
11118 (softfp_file_list): Remove config subdir.
11119 (soft-fp-objects): New variable.
11120 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11121 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11122 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11123 * config/t-softfp-excl: New file.
11124 * config/t-softfp-sfdf: New file.
11125 * config/t-softfp-tf: New file.
11126 * config/no-sfp-machine.h: New file.
11127 * config/arm/sfp-machine.h: New file.
11128 * config/arm/t-softfp: New file.
11129 * config/c6x/sfp-machine.h: New file.
11130 * config/i386/32/t-fprules-softfp: Rename to ...
11131 * config/i386/32/t-softfp: ... this.
11132 (tifunctions, LIB2ADD): Remove.
11133 (softfp_int_modes): Override.
11134 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11135 subdir.
11136 * config/i386/64/eqtf2.c: Likewise.
11137 * config/i386/64/getf2.c: Likewise.
11138 * config/i386/64/letf2.c: Likewise.
11139 * config/ia64/sft-machine.h: New file.
11140 * config/ia64/t-fprules-softfp: Rename to ...
11141 * config/ia64/t-softfp: ... this.
11142 * config/lm32/sfp-machine.h: New file.
11143 * config/moxie/t-moxie-softfp: Remove.
11144 * config/rs6000/ibm-ldouble-format: New file.
11145 * config/rs6000/ibm-ldouble.c: New file.
11146 * config/rs6000/libgcc-ppc-glibc.ver: New file
11147 * config/rs6000/libgcc-ppc64.ver: New file
11148 * config/rs6000/sfp-machine.h: New file.
11149 * config/rs6000/t-freebsd: New file.
11150 * config/rs6000/t-ibm-ldouble: New file.
11151 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11152 libgcc-ppc-glibc.ver.
11153 * config/rs6000/t-linux64: New file.
11154 * config/rs6000/t-ppccomm (LIB2ADD): Add
11155 $(srcdir)/config/rs6000/ibm-ldouble.c.
11156 * config/rs6000/t-ppccomm-ldbl: New file.
11157 * config/score/sfp-machine.h: New file.
11158 * config.host (sfp_machine_header): Explain.
11159 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11160 t-softfp to tmake_file.
11161 (arm*-*-uclinux*): Likewise.
11162 (arm*-*-ecos-elf): Likewise.
11163 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11164 (arm*-*-rtems*): Likewise.
11165 (arm*-*-elf): Likewise.
11166 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11167 in tmake_file.
11168 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11169 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11170 (lm32-*-uclinux*): Likewise.
11171 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11172 t-softfp-excl, t-softfp.
11173 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11174 (powerpc64-*-darwin*): Likewise.
11175 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11176 to tmake_file.
11177 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11178 tmake_file.
11179 (powerpc-*-eabisim*): Likewise.
11180 (powerpc-*-elf*): Likewise.
11181 (powerpc-*-eabialtivec*): Likewise.
11182 (powerpc-xilinx-eabi*): Likewise.
11183 (powerpc-*-rtems*): Likewise.
11184 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11185 t-softfp-excl, t-softfp to tmake_file.
11186 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11187 rs6000/t-ppccomm-ldbl to tmake_file.
11188 (powerpcle-*-elf*): Likewise.
11189 (powerpcle-*-eabisim*): Likewise.
11190 (powerpcle-*-eabi*): Likewise.
11191 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11192 rs6000/t-ibm-ldouble to tmake_file.
11193 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11194 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11195 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11196 (tic6x-*-*): Likewise.
11197 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11198 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11199 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11200 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11201 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11202 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11203 t-softfp to tmake_file.
11204 * configure.ac (sfp_machine_header): Provide default if unset.
11205 Substitute.
11206 Link sfp-machine.h to config/$sfp_machine_header.
11207 * configure: Regenerate.
11208
569dc494
RO
112092011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11210
11211 * Makefile.in (double_type_size, long_double_type_size): Set.
11212 Remove $(fpbit-in-libgcc) support.
11213 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11214 (fpbit-src): New variable.
11215 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11216 Compile with -DFLOAT $(FPBIT_CFLAGS).
11217 Use $<.
11218 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11219 Compile with $(FPBIT_CFLAGS).
11220 Use $<.
11221 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11222 Compile with -DFLOAT $(TPBIT_CFLAGS).
11223 Use $<.
11224 * configure.ac (double_type_size, long_double_type_size):
11225 Determine and substitute.
11226 * configure: Regenerate.
11227 * fp-bit.c, fp-bit.h: New files.
11228 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11229 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11230 * config/mips/t-mips: New file.
11231 * config/mips/t-sdemtk: New file.
11232 * config/rs6000/ppc64-fp.c: New file.
11233 * config/rs6000/t-darwin (LIB2ADD): Add
11234 $(srcdir)/config/rs6000/ppc64-fp.c.
11235 * config/rs6000/t-ppc64-fp: New file.
11236 * config/rx/rx-lib.h: New file.
11237 * config/rx/t-rx (FPBIT): Set to true.
11238 ($(gcc_objdir)/fp-bit.c): Remove.
11239 (DPBIT): Set to true only with -m64bit-doubles.
11240 ($(gcc_objdir)/dp-bit.c): Remove.
11241 * config/sparc/t-softfp: Remove.
11242 * config/spu/t-elf: New file.
11243 * config/t-fdpbit, config/t-fpbit: New files.
11244 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11245 (mips*-*-*): Likewise.
11246 (arm-wrs-vxworks): Likewise.
11247 (arm*-*-freebsd*): Likewise.
11248 (avr-*-rtems*): Add t-fpbit to tmake_file.
11249 (avr-*-*): Likewise.
11250 (bfin*-elf*): Add t-fdpbit to tmake_file.
11251 (bfin*-uclinux*): Likewise.
11252 (bfin*-linux-uclibc*): Likewise.
11253 (bfin*-rtems*): New case.
11254 Add t-fdpbit to tmake_file.
11255 (bfin*-*): Add t-fdpbit to tmake_file.
11256 (crisv32-*-elf): Likewise.
11257 (cris-*-linux*): Likewise.
11258 (fr30-*-elf): Likewise.
11259 (frv-*-elf, frv-*-*linux*): Likewise.
11260 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11261 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11262 (m32r-*-elf*): Likewise.
11263 (m32rle-*-elf*): Likewise.
11264 (m32r-*-linux*): Likewise.
11265 (m32rle-*-linux*): Likewise.
11266 (mcore-*-elf): Add t-fdpbit to tmake_file.
11267 (microblaze*-*-*): Likewise.
11268 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11269 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11270 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11271 Fix typo.
11272 Add mips/t-tpbit to tmake-file.
11273 (mips*-*-linux*): Fix typo.
11274 (mips*-sde-elf*): New case
11275 Add mips/t-sdemtk unless using newlib.
11276 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11277 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11278 (mn10300-*-*): Likewise.
11279 (pdp11-*-*): Likewise.
11280 (picochip-*-*): Add t-fpbit to tmake_file.
11281 (powerpc-*-eabisimaltivec*): Likewise.
11282 (powerpc-*-eabisim*): Likewise.
11283 (powerpc-*-elf*): Likewise.
11284 (powerpc-*-eabialtivec*): Likewise.
11285 (powerpc-xilinx-eabi*): New case.
11286 Add t-fdpbit to tmake_file.
11287 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11288 (powerpc-*-rtems*): Likewise.
11289 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11290 tmake_file.
11291 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11292 tmake_file.
11293 (powerpc-*-lynxos*): Likewise.
11294 (powerpcle-*-elf*): Likewise.
11295 (powerpcle-*-eabisim*): Likewise.
11296 (powerpcle-*-eabi*): Likewise.
11297 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11298 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11299 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11300 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11301 (rx-*-elf): Add t-fdpbit to tmake_file.
11302 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11303 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11304 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11305 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11306 sh*-*-netbsd*.
11307 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11308 (sh-wrs-vxworks): Likewise.
11309 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11310 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11311 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11312 (sparc64-*-rtems*): ... new case.
11313 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11314 (spu-*-elf*): Likewise.
11315 Add spu/t-elf to tmake_file.
11316 (v850*-*-*): Add t-fdpbit to tmake_file.
11317 (xstormy16-*-elf): Likewise.
11318 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11319 (mep*-*-*): Likewise.
11320
201cdb74
RO
113212011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11322
11323 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11324 variables.
11325 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11326 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11327 (install-unwind_h): New target.
11328 (all): Depend on it.
11329 * config.host (unwind_header): New variable.
11330 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11331 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11332 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11333 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11334 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11335 Set unwind_header.
11336 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11337 Set unwind_header.
11338 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11339 arm*-*-eabi*.
11340 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11341 Set unwind_header.
11342 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11343 (ia64*-*-freebsd*): Likewise.
11344 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11345 tmake_file.
11346 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11347 $with_system_libunwind.
11348 (ia64*-*-hpux*): Set tmake_file.
11349 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11350 (picochip-*-*): Set tmake_file.
11351 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11352 md_unwind_header.
11353 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11354 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11355 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11356 (xtensa*-*-elf*): Set tmake_file.
11357 (xtensa*-*-linux*): Likewise.
11358 * configure.ac: Include ../config/unwind_ipinfo.m4.
11359 Call GCC_CHECK_UNWIND_GETIPINFO.
11360 Link unwind.h to $unwind_header.
11361 * configure: Regenerate.
11362 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11363 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11364 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11365 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11366 * config/unwind-dw2-fde-darwin.c: New file.
11367 * config/arm/libunwind.S, config/arm/pr-support.c,
11368 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11369 config/arm/unwind-arm.h,: New files.
11370 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11371 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11372 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11373 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11374 config/ia64/unwind-ia64.h: New files.
11375 * config/picochip/t-picochip: New file.
11376 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11377 files.
11378 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11379 * config/s390/t-tpf (LIB2ADDEH): Remove.
11380 * config/t-darwin (LIB2ADDEH): Set.
11381 * config/t-eh-dw2-dip: New file.
11382 * config/t-libunwind, config/t-libunwind-elf: New files.
11383 * config/t-sol2 (LIB2ADDEH): Remove.
11384 * config/xtensa/t-xtensa: New file.
11385
40f2f11f
L
113862011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11387
11388 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11389 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11390 long long to check rt_sigreturn syscall.
11391
bd15e32c
AM
113922011-08-02 Alan Modra <amodra@gmail.com>
11393
11394 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11395 Restore for indirect call bcrtl from correct stack slot, and only
11396 if cfa+40 isn't valid.
11397
655b30bf
JB
113982011-08-01 Julian Brown <julian@codesourcery.com>
11399
11400 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11401 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11402 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11403
247eb06f
JB
114042011-08-01 Julian Brown <julian@codesourcery.com>
11405
11406 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11407 (libgcc-std.ver.in): Use above.
11408 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11409 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11410 throughout file.
11411 * config/t-fixedpoint-gnu-prefix: New file.
11412 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11413 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11414 instead of __PFX__.
11415
02a8fe00
L
114162011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11417
11418 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11419 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11420 for x86-64. Properly check __x86_64__ and __LP64__.
11421
5fce9126
L
114222010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11423
11424 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11425 version.
11426 (_FP_WS_TYPE): Likewise.
11427 (_FP_I_TYPE): Likewise.
11428
2374a88a
AM
114292011-07-28 Alan Modra <amodra@gmail.com>
11430
11431 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11432 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11433 in a plt call stub. Do restore r2 if stopped on bctrl.
11434
e44dbbe1
RO
114352011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11436
11437 * config.host (i[3456x]86-*-netware*): Remove.
11438 * config/i386/netware-crt0.c, config/i386/t-nwld,
11439 config/i386/t-slibgcc-nwld: Remove.
11440
bcead286
BS
114412011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11442
11443 * config.host: Handle tic6x-*-*.
11444 * config/c6x/c6x-abi.h: New file.
11445
b3fe1584
RO
114462011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11447
11448 * config/i386/crtprec.c: New file.
11449 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11450 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11451 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11452 (x86_64-*-darwin*): Likewise.
11453 (i[34567]86-*-solaris2*: Likewise.
11454
35d8090d
RO
114552011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11456
11457 * config/alpha/crtfastmath.c: New file.
11458 * config/i386/crtfastmath.c: New file.
11459 * config/ia64/crtfastmath.c: New file.
11460 * config/mips/crtfastmath.c: New file.
11461 * config/sparc/crtfastmath.c: New file.
11462
11463 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11464 crtfastmath.c.
11465 Add -frandom-seed=gcc-crtfastmath.
11466 * config/alpha/t-crtfm: Remove.
11467 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11468 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11469
11470 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11471 (alpha*-dec-osf5.1*): Likewise.
11472 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11473 Add crtfastmath.o to extra_parts.
11474 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11475 Add crtfastmath.o to extra_parts.
11476 (x86_64-*-darwin*): Likewise.
11477 (x86_64-*-mingw*): Likewise.
11478 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11479 (ia64*-*-freebsd*): Likewise.
11480 (ia64*-*-linux*): Likewise.
11481 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11482 Add crtfastmath.o to extra_parts.
11483
e141542e
RO
114842011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11485
11486 * config/darwin-crt3.o: New file.
11487 * config/rs6000/darwin-crt2.c: New file.
11488 * config/t-darwin: New file.
11489 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11490 (crt2.o): New rule.
11491 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11492 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11493 (powerpc64-*-darwin*): Likewise.
11494
2d1efe2d
RO
114952011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11496
11497 * config/i386/netware-crt0.c: New file.
11498 * config/i386/t-nwld: Rename to ...
11499 * config/i386/t-slibgcc-nwld: ... this.
11500 * config/i386/t-nwld: New file.
11501 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11502 tmake_file.
11503 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11504 extra_parts.
11505
4a8bb046
RO
115062011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11507
11508 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11509 i386/t-crtstuff.
11510 * configure: Regenerate.
11511
2d8d5935
RO
115122011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11513
11514 * dfp-bit.c, dfp-bit.h: New files.
11515 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11516 variables.
11517 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11518 ($(d64pbit-o)): Likewise.
11519 ($(d128pbit-o)): Likewise.
11520 * config/t-dfprules: New file.
11521 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11522 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11523 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11524 (x86_64-*-linux*): Likewise.
11525 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11526 (i[34567]86-*-cygwin*): Likewise.
11527 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11528 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11529
2c50b2c3
RO
115302011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11531
11532 * Makfile.in (LIBGCOV): New variable.
11533 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11534 * libgcov.c: New file.
11535
a039d7c2
RO
115362011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11537
11538 * fixed-bit.c, fixed-bit.h: New files.
11539 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11540 refer to fixed-bit.c.
11541
1e4b2746
JM
115422011-07-07 Joseph Myers <joseph@codesourcery.com>
11543
11544 * config.host (*local*): Remove.
11545
fbdd5d87
RO
115462011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11547
11548 PR target/39150
11549 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11550 like i?86-*-solaris2.1[0-9]*.
11551 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11552 * configure.ac (i?86-*-solaris2*): Likewise.
11553 * configure: Regenerate.
11554
9e7714f4
TS
115552011-07-06 Thomas Schwinge <thomas@schwinge.name>
11556
11557 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11558 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11559 md_unwind_header by splitting out of...
11560 (i[34567]86-*-linux*): ... this.
11561 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11562 Remove md_unwind_header by splitting out of...
11563 (x86_64-*-linux*): ... this.
11564
6dab9931
GJL
115652011-07-04 Georg-Johann Lay <avr@gjlay.de>
11566
11567 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11568
4be46d19
NC
115692011-06-28 Nick Clifton <nickc@redhat.com>
11570
11571 * config.host: Recognize all V850 variants.
11572
1da9434b
UB
115732011-06-22 Uros Bizjak <ubizjak@gmail.com>
11574
11575 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11576
e4d48a4d
RO
115772011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11578
11579 * shared-object.mk (c_flags-$o): Save c_flags.
11580 ($(base)$(objext)): Use it.
11581 ($(base)_s$(objext)): Likewise.
11582
3801c801
BS
115832011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11584
11585 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11586 * libgcc-std.ver.in (GCC_4.7.0): New section.
11587
0ad8bb3b 115882011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11589
0ad8bb3b
GJL
11590 PR target/49313
11591 PR target/29524
11592 * config/avr/t-avr: Fix line endings.
11593 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11594 _parityXX2.
11595
ea963999
OH
115962011-06-14 Olivier Hainque <hainque@adacore.com>
11597 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11598
11599 * config/mips/irix6-unwind.h: New file.
11600 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11601
b11b0904
EB
116022011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11603
11604 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11605 (sparc64_fallback_frame_state): Use it.
11606 (sparc64_frob_update_context): Further adjust context.
11607 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11608 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11609 * config/sparc/sol2-cn.S: Likewise.
11610
10e48e39
RO
116112011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11612
11613 * enable-execute-stack-empty.c: New file.
11614 * enable-execute-stack-mprotect.c: New file.
11615 * config/i386/enable-execute-stack-mingw32.c: New file.
11616 * config.host (enable_execute_stack): New variable.
11617 Select appropriate variants.
11618 * configure.ac: Link enable-execute-stack.c to
11619 $enable_execute_stack.
11620 * configure: Regenerate.
11621 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11622 (lib2funcs): Remove _enable_execute_stack.
11623
10c4cabc
DM
116242011-06-09 David S. Miller <davem@davemloft.net>
11625 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11626
11627 * config.host (sparc-*-linux*): Correct md_unwind_header
11628 filename.
11629 (s390x-ibm-tpf*): Fix typo.
11630
aa4203e7
RO
116312011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11632
11633 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11634 Add crtfastmath.o to extra_parts.
11635 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11636 mips/t-crtfm.
11637 * config/mips/t-crtfm: Remove.
11638
0defd786
JDA
116392011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11640
11641 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11642
82f247af
KK
116432011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11644
11645 * config.host (sh*-*-linux*): Fix typo.
11646
58cd1d70
RO
116472011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11648
11649 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11650 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11651 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11652 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11653 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11654 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11655 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11656 Wrap in !__MINGW64__.
11657 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11658 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11659 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11660 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11661 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11662 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11663 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11664 Wrap in !__LP64__.
11665 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11666 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11667 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11668 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11669 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11670 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11671 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11672 * config/no-unwind.h: New file.
11673 * config.host (md_unwind_header): Document.
11674 Define.
11675 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11676 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11677 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11678 hppa[12]*-*-hpux11*): Set md_unwind_header.
11679 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11680 Set md_unwind_header.
11681 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11682 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11683 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11684 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11685 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11686 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11687 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11688 md_unwind_header.
11689 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11690 * configure: Regenerate.
11691
737346fa
RO
116922011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11693
11694 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11695 Set tmake_file, extra_parts.
11696 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11697 Remove O32 support.
11698 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11699 Remove O32 support.
11700 * config/mips/t-irix6: New file.
11701 * config/mips/t-slibgcc-irix: New file.
11702
c192cee6
RO
117032011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11704
11705 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11706 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11707
ee33b5f0
RO
117082011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11709
11710 * configure.ac (target_thread_file): Determine thread model.
11711 * configure: Regenerate.
11712 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11713 * config/alpha/t-alpha: New file.
11714 * config/alpha/t-crtfm: Use $<.
11715 * config/alpha/t-ieee: New file.
11716 * config/alpha/t-osf-pthread: New file.
11717 * config/alpha/t-slibgcc-osf: New file.
11718 * config/alpha/libgcc-osf5.ver: New file.
11719
0699e415
RO
117202011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11721
11722 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11723 tmake_file.
11724 Add crtfastmath.o to extra_parts.
11725
a3fab9c2
RO
117262011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11727
11728 * config/gmon-sol2.c: Reindent.
11729 Cleanup comments.
11730 Remove, correct casts.
11731 Use STDERR_FILENO, NULL.
11732 (BASEADDRESS): Remove.
11733 (minbrk): Remove.
11734 (errno, sbrk): Remove declarations.
11735 (monstartup) [hp300]: Remove.
11736 (mcount): Remove.
11737
ca24c5ad
RO
117382011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11739
11740 * Makefile.in (cpu_type): Define.
11741 * config.host (i[34567]86-*-rtems*): Handle it.
11742 (i[34567]86-*-solaris2*): Move body ...
11743 (*-*-solaris2*): ... here.
11744 New case, generalize.
11745 (sparc-*-elf*): Handle it.
11746 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11747 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11748 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11749 Fold into ...
11750 (sparc*-*-solaris2*): ... this.
11751 New case.
11752 (sparc64-*-elf*): Handle it.
11753 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11754 Merge ../gcc/config/i386/gmon-sol2.c.
11755 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11756 Use C comments.
11757 Merge ../gcc/config/i386/sol2-gc1.asm.
11758 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11759 Use C comments.
11760 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11761 Use C comments.
11762 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11763 * config/i386/t-crtstuff: New file.
11764 * config/i386/t-softfp: New file.
11765 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11766 $(T)crti.o, $(T)crtn.o): Remove.
11767 (gcrt1.o): New rule.
11768 (TARGET_LIBGCC2_CFLAGS): Remove.
11769 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11770 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11771 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11772 * config/sparc/t-sol2: New file.
11773 * config/sparc/t-crtfm: Move to ...
11774 * config/t-crtfm: ... this.
11775 Use $(cpu_type), $<.
11776 * config/t-crtin: New file.
11777 * config/sparc/t-softfp: New file.
11778 * config/sparc/t-softmul: New file.
11779 * config/t-rtems: New file.
11780 * config/t-slibgcc: New file.
11781 * config/t-slibgcc-elf-ver: New file.
11782 * config/t-slibgcc-gld: New file.
11783 * config/t-slibgcc-sld: New file.
11784 * config/t-sol2: New file.
11785 * configure.ac: Include ../config/lib-ld.m4.
11786 Call AC_LIB_PROG_LD_GNU.
11787 Substitute cpu_type.
11788 * configure: Regenerate.
11789
ad5f3d7b
BS
117902011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11791
11792 PR bootstrap/49173
11793 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11794 libgcc-std.ver in the build directory.
11795 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11796 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11797
cdbf4541
BS
117982011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11799
11800 * libgcc-std.ver.in: New file.
11801 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11802 variables.
11803 (libgcc-std.ver): New rule.
11804 * config/t-gnu-prefix: New file.
11805
c8028650
RO
118062011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11807
11808 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11809
4a68b4ca
JM
118102011-05-10 Joseph Myers <joseph@codesourcery.com>
11811
11812 * config/i386/darwin-lib.h: New file.
11813
80cf2e08
JM
118142011-05-10 Joseph Myers <joseph@codesourcery.com>
11815
11816 * config/arm/symbian-lib.h: New.
11817
a3330c9d
CD
118182011-05-04 Chris Demetriou <cgd@google.com>
11819
11820 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11821 (__x86.get_pc_thunk.bx): ...this.
11822 (__morestack): Adjust for rename, remove undef of __i686.
11823
6ace0756
CD
118242011-05-03 Chris Demetriou <cgd@google.com>
11825
11826 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11827
ebb9f8b0
JM
118282011-03-22 Joseph Myers <joseph@codesourcery.com>
11829
11830 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11831 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11832 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11833 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11834 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11835 Remove cases.
11836
9cfa1499
AT
118372011-03-14 Andreas Tobler <andreast@fgznet.ch>
11838
11839 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11840 Adjust copyright year.
11841
457186f6
ILT
118422011-03-07 Ian Lance Taylor <iant@google.com>
11843
11844 * generic-morestack.c (__splitstack_find): Adjust returned stack
11845 pointer to include all registers pushed by __morestack.
11846
58c741a6
DK
118472011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11848
11849 PR target/40125
11850 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11851 (toolexecdir): Calculate and AC_SUBST.
11852 (toolexeclibdir): Likewise.
11853 * Makefile.in (target_noncanonical): Import.
11854 (toolexecdir): Likewise.
11855 (toolexeclibdir): Likewise.
11856 * configure: Regenerate.
11857
26716c44
NF
118582010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11859
11860 PR target/46040
11861 * config/arm/bpabi.h: Rename to...
11862 * config/arm/bpabi-lib.h: ...this.
11863
b595b1a1
RO
118642010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11865
11866 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11867 appropriate.
11868 * configure: Regenerate.
11869
a3abe41c
NF
118702010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11871
11872 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11873 __FLOAT_WORD_ORDER__.
11874 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11875 Delete.
11876
455c8f48
RW
118772010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11878
11879 PR other/46202
11880 * Makefile.in (install-strip): New phony target.
11881
f3824a8b
ILT
118822010-11-07 Ian Lance Taylor <iant@google.com>
11883
11884 PR target/46089
11885 * config/i386/morestack.S (__morestack_large_model): New
11886 function.
11887
18ed6ee4
NF
118882010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11889
11890 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11891 Delete.
11892 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11893
8ac7fdcb
NF
118942010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11895
11896 * config/arm/bpabi.h: New file.
11897 * config/frv/frv-abi.h: New file.
11898
cdb388c2
ILT
118992010-10-01 Ian Lance Taylor <iant@google.com>
11900
11901 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11902 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11903
ef7c141c
L
119042010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11905
11906 PR target/45858
11907 * config.host: Add the missing `$'.
11908
80920132
ME
119092010-09-30 Michael Eager <eager@eagercon.com>
11910
11911 * config.host: Add microblaze*-*-*.
11912 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11913 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11914 udivsi3.asm,umodsi3.asm}: New.
11915
6dace308
ILT
119162010-09-28 Ian Lance Taylor <iant@google.com>
11917
11918 * configure.ac: Adjust CFI test to test assembler directly rather
11919 than checking gcc preprocessor macro.
11920 * configure: Rebuild.
11921
b6110d6d
ILT
119222010-09-27 Ian Lance Taylor <iant@google.com>
11923
11924 * configure.ac: Test whether assembler supports CFI directives.
11925 * config.host: Only add t-stack and i386/t-stack-i386 to
11926 tmake_file if libgcc_cv_cfi is "yes".
11927 * configure: Rebuild.
11928
7458026b
ILT
119292010-09-27 Ian Lance Taylor <iant@google.com>
11930
11931 * generic-morestack.h: New file.
11932 * generic-morestack.c: New file.
11933 * generic-morestack-thread.c: New file.
11934 * config/i386/morestack.S: New file.
11935 * config/t-stack: New file.
11936 * config/i386/t-stack-i386: New file.
11937 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11938 i386/t-stack-i386 to tmake_file.
11939
5b50fc0c
IS
119402010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11941
11942 * Makefile.in (libgcc-extra-parts): Check for static archives and
11943 invoke ranlib after installing them.
11944 (gcc-extra-parts): Likewise.
11945 (install-leaf): Likewise.
11946
b93cf342
L
119472010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 * configure: Regenerated.
11950
996b42ef
KT
119512010-09-10 Kai Tietz <kai.tietz@onevision.com>
11952
b93cf342 11953 * configure: Regenerated.
996b42ef 11954
be1c764e
GP
119552010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11956 Andrew Pinski <pinskia@gmail.com>
11957
1da9434b 11958 PR target/40959
be1c764e
GP
11959 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11960
cc0ae0ca
L
119612010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11962
11963 PR target/45524
11964 * configure: Regenerated.
11965
84f47d20
AS
119662010-09-06 Andreas Schwab <schwab@redhat.com>
11967
11968 * configure: Regenerate.
11969
4159fb8d
UB
119702010-09-03 Uros Bizjak <ubizjak@gmail.com>
11971
11972 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11973 64bit targets.
11974 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11975 for 64bit targets.
11976
0df8fcc8
UB
119772010-09-03 Uros Bizjak <ubizjak@gmail.com>
11978 Iain Sandoe <iains@gcc.gnu.org>
11979
11980 PR target/45476
11981 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11982 LIB2FUNCS_EXCLUDE functions.
11983
3c39bca6
AK
119842010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11985
11986 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11987 Include dfp.m4.
11988 * configure: Regenerate.
11989
d78552bd
UB
119902010-09-01 Uros Bizjak <ubizjak@gmail.com>
11991
11992 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11993 i386/t-freebsd to tmake_file.
11994 * config/i386/t-freebsd: New file.
11995 * config/i386/libgcc-bsd.ver: New file.
11996
c5b79d4e
NF
119972010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11998
11999 * config.host (powerpc*-eabispe*): Set tmake_file.
12000 (powerpc*-eabi*): Likewise.
12001 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12002 crtbeginS, crtendS, crtbeginT.
12003
48b09a92
KH
120042010-06-12 Kazu Hirata <kazu@codesourcery.com>
12005
12006 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12007 to tmake_file. Add crtfastmath.o to extra_parts.
12008 * config/mips/t-crtfm: New.
12009
7d296953 120102010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
12011
12012 * config.host (sparc64-*-rtems*): New target.
12013
ed104137
RO
120142010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12015
12016 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12017 assembler syntax.
12018
3f56ef8b
TS
120192010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12020
12021 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12022
8c200350
RO
120232010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12024
12025 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12026 alpha-dec-osf5.0* support.
12027
7d296953 120282010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12029
12030 * config.host: Add lm32-*-rtems*.
12031
f128db92 120322010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12033 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12034
12035 PR target/39048
12036 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12037 like other remaining 32-bit x86 OSes.
12038 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12039 assembler syntax.
12040 * config/i386/libgcc-sol2.ver: New file.
12041 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12042
7d296953 120432010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12044
12045 PR c/43553
12046 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12047 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12048 is used and substitute set_use_emutls.
12049 * configure: Regenerated.
12050
15baf7f8
TG
120512010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12052
12053 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12054
7f5441df
RO
120552010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12056
12057 PR target/38085
12058 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12059 MULTILIB_CFLAGS.
12060 ($(T)gcrt1.o): Likewise.
12061 ($(T)crt1.o): Likewise.
12062 ($(T)crti.o): Likewise.
12063 ($(T)crtn.o): Likewise.
12064
ef74edbd
RW
120652010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12066
12067 PR other/42980
12068 * Makefile.in (install): Use $(MAKE) string in rule, for
12069 parallel make.
12070
e7c914db
HPN
120712010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12072
12073 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12074 * config/mmix/t-mmix: New file.
12075 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12076
1bcb71c4
JH
120772010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12078
12079 PR java/41991
12080 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12081 SHLIB_MAPFILES.
12082
e6e50811
AG
120832010-01-04 Anthony Green <green@moxielogic.com>
12084
12085 * config/moxie/crti.asm, config/moxie/crtn.asm,
12086 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12087 config/moxie/t-moxie: New files.
12088 * config.host: Add t-moxie-softfp reference.
12089
7d296953 120902009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12091
12092 PR other/39888
12093 * config/t-slibgcc-darwin: Fix embedded rpaths for
12094 --enable-version-specific-runtime-libs, build extension stub
12095 libs exposing features available from current libgcc_s.
12096
7d296953 120972009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12098
d78552bd
UB
12099 * config.host: Add lm32 targets.
12100 * config/lm32: New directory.
12101 * config/lm32/libgcc_lm32.h: New file.
12102 * config/lm32/_mulsi3.c: New file.
12103 * config/lm32/_udivmodsi4.c: New file.
12104 * config/lm32/_divsi3.c: New file.
12105 * config/lm32/_modsi3.c: New file.
12106 * config/lm32/_udivsi3.c: New file.
12107 * config/lm32/_umodsi3.c: New file.
12108 * config/lm32/_lshrsi3.S: New file.
12109 * config/lm32/_ashrsi3.S: New file.
12110 * config/lm32/_ashlsi3.S: New file.
12111 * config/lm32/crti.S: New file.
12112 * config/lm32/crtn.S: New file.
12113 * config/lm32/t-lm32: New file.
12114 * config/lm32/t-elf: New file.
12115 * config/lm32/t-uclinux: New file.
aa4945c1 12116
65a324b4
NC
121172009-10-26 Nick Clifton <nickc@redhat.com>
12118
12119 * config.host: Add support for RX target.
12120 * config/rx: New directory.
12121 * config/rx/rx-abi-functions.c: New file. Supplementary
12122 functions for libgcc to support the RX ABI.
12123 * config/rx/rx-abi.h: New file. Supplementary header file for
12124 libgcc RX ABI functions.
12125 * config/rx/t-rx: New file: Makefile fragment for building
12126 libgcc for the RX.
12127
dfb3b0e3
UB
121282009-10-09 Uros Bizjak <ubizjak@gmail.com>
12129
12130 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12131 constraint of y0 to "g".
12132
81dd9fd7
AK
121332009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12134
12135 * config.host: Include the s390 makefile fragments.
12136 * config/s390/32/_fixdfdi.c: New file.
12137 * config/s390/32/_fixsfdi.c: New file.
12138 * config/s390/32/_fixtfdi.c: New file.
12139 * config/s390/32/_fixunsdfdi.c: New file.
12140 * config/s390/32/_fixunssfdi.c: New file.
12141 * config/s390/32/_fixunstfdi.c: New file.
12142 * config/s390/32/t-floattodi: New file.
12143 * config/s390/libgcc-glibc.ver: New file.
12144 * config/s390/t-crtstuff: New file.
12145 * config/s390/t-linux: New file.
12146 * config/s390/t-tpf: New file.
12147
df58e648
RW
121482009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12149
12150 * configure.ac (AC_PREREQ): Bump to 2.64.
12151
79052be3
KK
121522009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12153
12154 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12155
5213506e
RW
121562009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12157
12158 * configure: Regenerate.
12159
a9a25daa
DR
121602009-08-09 Douglas B Rupp <rupp@gnat.com>
12161
12162 * config.host (ia64-hp-*vms*): New target.
12163 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12164 with ia64-hp-*vms*.
12165
6efbd53f
RW
121662009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12167
12168 * configure.ac: Add snippet for maintainer-mode.
12169 * configure: Regenerate.
12170 * Makefile.in (AUTOCONF, configure_deps): New variables.
12171 ($(srcdir)/configure)): New rule, active only with maintainer
12172 mode turned on.
12173
7acf4da6
DD
121742009-06-23 DJ Delorie <dj@redhat.com>
12175
12176 Add MeP port.
12177 * config.host: Add mep support.
12178
54f549af
KT
121792009-06-22 Kai Tietz <kai.tietz@onevision.com>
12180
34481f28 12181 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12182 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12183
12184 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12185 for mingw targets.
54f549af
KT
12186 * config/i386/64/_multc3.c: Likewise.
12187 * config/i386/64/_powitf2.c: Likewise.
12188 * config/i386/64/eqtf2.c: Likewise.
12189 * config/i386/64/getf2.c: Likewise.
12190 * config/i386/64/letf2.c: Likewise.
12191 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12192 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12193 unsigned long long for x64 mingw targets.
12194 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12195 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12196
fea96e25
MR
121972009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12198
12199 * config.host (vax-*-linux*): New.
12200
cceb575c
AG
122012009-05-31 Anthony Green <green@moxielogic.com>
12202
12203 * config.host: Add moxie support.
12204 * config/moxie/t-moxie: New file.
12205
7d296953 122062009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12207
12208 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12209 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12210
532bfb0a
AJ
122112009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12212
12213 * config.host: Add i386/${host_address}/t-fprules-softfp to
12214 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12215
748086b7
JJ
122162009-04-09 Nick Clifton <nickc@redhat.com>
12217
12218 * config/ia64/tf-signs.c: Change copyright header to refer to
12219 version 3 of the GNU General Public License with version 3.1
12220 of the GCC Runtime Library Exception and to point readers at
12221 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12222 web page.
12223 * config/i386/32/tf-signs.c: Likewise.
12224 * config/libbid/_addsub_dd.c: Likewise.
12225 * config/libbid/_addsub_sd.c: Likewise.
12226 * config/libbid/_addsub_td.c: Likewise.
12227 * config/libbid/_dd_to_df.c: Likewise.
12228 * config/libbid/_dd_to_di.c: Likewise.
12229 * config/libbid/_dd_to_sd.c: Likewise.
12230 * config/libbid/_dd_to_sf.c: Likewise.
12231 * config/libbid/_dd_to_si.c: Likewise.
12232 * config/libbid/_dd_to_td.c: Likewise.
12233 * config/libbid/_dd_to_tf.c: Likewise.
12234 * config/libbid/_dd_to_udi.c: Likewise.
12235 * config/libbid/_dd_to_usi.c: Likewise.
12236 * config/libbid/_dd_to_xf.c: Likewise.
12237 * config/libbid/_df_to_dd.c: Likewise.
12238 * config/libbid/_df_to_sd.c: Likewise.
12239 * config/libbid/_df_to_td.c: Likewise.
12240 * config/libbid/_di_to_dd.c: Likewise.
12241 * config/libbid/_di_to_sd.c: Likewise.
12242 * config/libbid/_di_to_td.c: Likewise.
12243 * config/libbid/_div_dd.c: Likewise.
12244 * config/libbid/_div_sd.c: Likewise.
12245 * config/libbid/_div_td.c: Likewise.
12246 * config/libbid/_eq_dd.c: Likewise.
12247 * config/libbid/_eq_sd.c: Likewise.
12248 * config/libbid/_eq_td.c: Likewise.
12249 * config/libbid/_ge_dd.c: Likewise.
12250 * config/libbid/_ge_sd.c: Likewise.
12251 * config/libbid/_ge_td.c: Likewise.
12252 * config/libbid/_gt_dd.c: Likewise.
12253 * config/libbid/_gt_sd.c: Likewise.
12254 * config/libbid/_gt_td.c: Likewise.
12255 * config/libbid/_isinfd128.c: Likewise.
12256 * config/libbid/_isinfd32.c: Likewise.
12257 * config/libbid/_isinfd64.c: Likewise.
12258 * config/libbid/_le_dd.c: Likewise.
12259 * config/libbid/_le_sd.c: Likewise.
12260 * config/libbid/_le_td.c: Likewise.
12261 * config/libbid/_lt_dd.c: Likewise.
12262 * config/libbid/_lt_sd.c: Likewise.
12263 * config/libbid/_lt_td.c: Likewise.
12264 * config/libbid/_mul_dd.c: Likewise.
12265 * config/libbid/_mul_sd.c: Likewise.
12266 * config/libbid/_mul_td.c: Likewise.
12267 * config/libbid/_ne_dd.c: Likewise.
12268 * config/libbid/_ne_sd.c: Likewise.
12269 * config/libbid/_ne_td.c: Likewise.
12270 * config/libbid/_sd_to_dd.c: Likewise.
12271 * config/libbid/_sd_to_df.c: Likewise.
12272 * config/libbid/_sd_to_di.c: Likewise.
12273 * config/libbid/_sd_to_sf.c: Likewise.
12274 * config/libbid/_sd_to_si.c: Likewise.
12275 * config/libbid/_sd_to_td.c: Likewise.
12276 * config/libbid/_sd_to_tf.c: Likewise.
12277 * config/libbid/_sd_to_udi.c: Likewise.
12278 * config/libbid/_sd_to_usi.c: Likewise.
12279 * config/libbid/_sd_to_xf.c: Likewise.
12280 * config/libbid/_sf_to_dd.c: Likewise.
12281 * config/libbid/_sf_to_sd.c: Likewise.
12282 * config/libbid/_sf_to_td.c: Likewise.
12283 * config/libbid/_si_to_dd.c: Likewise.
12284 * config/libbid/_si_to_sd.c: Likewise.
12285 * config/libbid/_si_to_td.c: Likewise.
12286 * config/libbid/_td_to_dd.c: Likewise.
12287 * config/libbid/_td_to_df.c: Likewise.
12288 * config/libbid/_td_to_di.c: Likewise.
12289 * config/libbid/_td_to_sd.c: Likewise.
12290 * config/libbid/_td_to_sf.c: Likewise.
12291 * config/libbid/_td_to_si.c: Likewise.
12292 * config/libbid/_td_to_tf.c: Likewise.
12293 * config/libbid/_td_to_udi.c: Likewise.
12294 * config/libbid/_td_to_usi.c: Likewise.
12295 * config/libbid/_td_to_xf.c: Likewise.
12296 * config/libbid/_tf_to_dd.c: Likewise.
12297 * config/libbid/_tf_to_sd.c: Likewise.
12298 * config/libbid/_tf_to_td.c: Likewise.
12299 * config/libbid/_udi_to_dd.c: Likewise.
12300 * config/libbid/_udi_to_sd.c: Likewise.
12301 * config/libbid/_udi_to_td.c: Likewise.
12302 * config/libbid/_unord_dd.c: Likewise.
12303 * config/libbid/_unord_sd.c: Likewise.
12304 * config/libbid/_unord_td.c: Likewise.
12305 * config/libbid/_usi_to_dd.c: Likewise.
12306 * config/libbid/_usi_to_sd.c: Likewise.
12307 * config/libbid/_usi_to_td.c: Likewise.
12308 * config/libbid/_xf_to_dd.c: Likewise.
12309 * config/libbid/_xf_to_sd.c: Likewise.
12310 * config/libbid/_xf_to_td.c: Likewise.
12311 * config/libbid/bid128.c: Likewise.
12312 * config/libbid/bid128_2_str.h: Likewise.
12313 * config/libbid/bid128_2_str_macros.h: Likewise.
12314 * config/libbid/bid128_2_str_tables.c: Likewise.
12315 * config/libbid/bid128_add.c: Likewise.
12316 * config/libbid/bid128_compare.c: Likewise.
12317 * config/libbid/bid128_div.c: Likewise.
12318 * config/libbid/bid128_fma.c: Likewise.
12319 * config/libbid/bid128_logb.c: Likewise.
12320 * config/libbid/bid128_minmax.c: Likewise.
12321 * config/libbid/bid128_mul.c: Likewise.
12322 * config/libbid/bid128_next.c: Likewise.
12323 * config/libbid/bid128_noncomp.c: Likewise.
12324 * config/libbid/bid128_quantize.c: Likewise.
12325 * config/libbid/bid128_rem.c: Likewise.
12326 * config/libbid/bid128_round_integral.c: Likewise.
12327 * config/libbid/bid128_scalb.c: Likewise.
12328 * config/libbid/bid128_sqrt.c: Likewise.
12329 * config/libbid/bid128_string.c: Likewise.
12330 * config/libbid/bid128_to_int16.c: Likewise.
12331 * config/libbid/bid128_to_int32.c: Likewise.
12332 * config/libbid/bid128_to_int64.c: Likewise.
12333 * config/libbid/bid128_to_int8.c: Likewise.
12334 * config/libbid/bid128_to_uint16.c: Likewise.
12335 * config/libbid/bid128_to_uint32.c: Likewise.
12336 * config/libbid/bid128_to_uint64.c: Likewise.
12337 * config/libbid/bid128_to_uint8.c: Likewise.
12338 * config/libbid/bid32_to_bid128.c: Likewise.
12339 * config/libbid/bid32_to_bid64.c: Likewise.
12340 * config/libbid/bid64_add.c: Likewise.
12341 * config/libbid/bid64_compare.c: Likewise.
12342 * config/libbid/bid64_div.c: Likewise.
12343 * config/libbid/bid64_fma.c: Likewise.
12344 * config/libbid/bid64_logb.c: Likewise.
12345 * config/libbid/bid64_minmax.c: Likewise.
12346 * config/libbid/bid64_mul.c: Likewise.
12347 * config/libbid/bid64_next.c: Likewise.
12348 * config/libbid/bid64_noncomp.c: Likewise.
12349 * config/libbid/bid64_quantize.c: Likewise.
12350 * config/libbid/bid64_rem.c: Likewise.
12351 * config/libbid/bid64_round_integral.c: Likewise.
12352 * config/libbid/bid64_scalb.c: Likewise.
12353 * config/libbid/bid64_sqrt.c: Likewise.
12354 * config/libbid/bid64_string.c: Likewise.
12355 * config/libbid/bid64_to_bid128.c: Likewise.
12356 * config/libbid/bid64_to_int16.c: Likewise.
12357 * config/libbid/bid64_to_int32.c: Likewise.
12358 * config/libbid/bid64_to_int64.c: Likewise.
12359 * config/libbid/bid64_to_int8.c: Likewise.
12360 * config/libbid/bid64_to_uint16.c: Likewise.
12361 * config/libbid/bid64_to_uint32.c: Likewise.
12362 * config/libbid/bid64_to_uint64.c: Likewise.
12363 * config/libbid/bid64_to_uint8.c: Likewise.
12364 * config/libbid/bid_b2d.h: Likewise.
12365 * config/libbid/bid_binarydecimal.c: Likewise.
12366 * config/libbid/bid_conf.h: Likewise.
12367 * config/libbid/bid_convert_data.c: Likewise.
12368 * config/libbid/bid_decimal_data.c: Likewise.
12369 * config/libbid/bid_decimal_globals.c: Likewise.
12370 * config/libbid/bid_div_macros.h: Likewise.
12371 * config/libbid/bid_dpd.c: Likewise.
12372 * config/libbid/bid_flag_operations.c: Likewise.
12373 * config/libbid/bid_from_int.c: Likewise.
12374 * config/libbid/bid_functions.h: Likewise.
12375 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12376 * config/libbid/bid_inline_add.h: Likewise.
12377 * config/libbid/bid_internal.h: Likewise.
12378 * config/libbid/bid_round.c: Likewise.
12379 * config/libbid/bid_sqrt_macros.h: Likewise.
12380
123812009-04-09 Jakub Jelinek <jakub@redhat.com>
12382
12383 * Makefile.in: Change copyright header to refer to version
12384 3 of the GNU General Public License and to point readers at the
12385 COPYING3 file and the FSF's license web page.
12386 * config.host: Likewise.
12387
633dd061
AM
123882009-04-07 Alan Modra <amodra@bigpond.net.au>
12389
12390 * config.host: Reorder and merge to match config.gcc change.
12391
457d1d00
AM
123922009-04-03 Alan Modra <amodra@bigpond.net.au>
12393
12394 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12395
52c0e446
JM
123962009-03-28 Joseph Myers <joseph@codesourcery.com>
12397
12398 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12399 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12400 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12401 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12402
ba181049
UB
124032009-02-12 Uros Bizjak <ubizjak@gmail.com>
12404
12405 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12406 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12407
c252db20
L
124082009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12409
ba181049
UB
12410 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12411 ia64/t-softfp-compat to tmake_file.
c252db20
L
12412
12413 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12414
12415 * config/ia64/__divxf3.asm: New.
12416 * config/ia64/_fixtfdi.asm: Likewise.
12417 * config/ia64/_fixunstfdi.asm: Likewise.
12418 * config/ia64/_floatditf.asm: Likewise.
12419 * config/ia64/t-fprules-softfp: Likewise.
12420 * config/ia64/t-softfp-compat: Likewise.
12421 * config/ia64/tf-signs.c: Likewise.
12422
c60535f9
BE
124232009-01-18 Ben Elliston <bje@au.ibm.com>
12424
12425 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12426
ce16861e
BE
124272009-01-16 Ben Elliston <bje@au.ibm.com>
12428
12429 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12430 to tmake_file.
12431
bcf4713b
BE
124322009-01-13 Ben Elliston <bje@au.ibm.com>
12433
12434 * config/t-softfp: New file.
12435 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12436 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12437
7d296953 124382009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12439
12440 * config.host: Add m32r*-*-rtems*.
12441
7d296953 124422008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12443
12444 * config.host: Add m32c*-*-rtems*.
12445
19523300
RO
124462008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12447
12448 PR bootstrap/33100
12449 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12450 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12451 * configure: Regenerate.
12452 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12453 tmake_file here from gcc/config.gcc.
12454 Move extra_parts here from gcc/config.gcc.
12455 * config/i386/t-sol2: Move here from gcc/config/i386.
12456 Use gcc_srcdir instead of srcdir.
12457
0a4a51c7
AN
124582008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12459
12460 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12461 case.
12462
2a761e46
TS
124632008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12464
12465 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12466
c0451df7
TS
124672008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12468
12469 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12470
358da97e
HS
124712008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12472
12473 Add picoChip port.
12474 * config.host: Add picochip-*-*.
12475
c660f132
BW
124762008-08-06 Bob Wilson <bob.wilson@acm.org>
12477
12478 * config.host: Match more processor names for Xtensa.
12479
d1349557
L
124802008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12481
12482 * config/i386/64/t-softfp-compat: Update comments.
12483
dd7b73c0
L
124842008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 * config/i386/64/_divtc3-compat.c: Moved to ...
12487 * config/i386/64/_divtc3.c: Here.
12488
12489 * config/i386/64/_multc3-compat.c: Moved to ...
12490 * config/i386/64/_multc3.c: Here.
12491
12492 * config/i386/64/_powitf2-compat.c: Moved to ...
12493 * config/i386/64/_powitf2.c: Here.
12494
12495 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12496 .c suffix instead of -compat.c.
12497
6e1fab3d
UB
124982008-07-05 Uros Bizjak <ubizjak@gmail.com>
12499
12500 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12501 (_FP_MUL_MEAT_D): Ditto.
12502 (_FP_DIV_MEAT_S): Ditto.
12503 (_FP_DIV_MEAT_D): Ditto.
12504
f92518d7
RS
125052008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12506
12507 * Makefile.in: Add support for __sync_* libgcc functions.
12508
d0aede14
L
125092008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12510
12511 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12512
c174f11c
L
125132008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12514
12515 PR boostrap/36702
12516 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12517 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12518
12519 * config/i386/64/t-fprules-softfp: Moved to ...
12520 * config/i386/64/t-softfp-compat: This. New.
12521
5f464fa2
UB
125222008-07-02 Uros Bizjak <ubizjak@gmail.com>
12523
12524 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12525 Initialize f with 0.0.
12526
ff473280
L
125272008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12528
12529 PR target/36669
12530 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12531
12532 * config/i386/64/_divtc3-compat.c: New.
12533 * config/i386/64/_multc3-compat.c: Likewise.
12534 * config/i386/64/_powitf2-compat.c: Likewise.
12535 * config/i386/64/eqtf2.c: Likewise.
12536 * config/i386/64/getf2.c: Likewise.
12537 * config/i386/64/letf2.c: Likewise.
12538 * config/i386/64/t-fprules-softfp: Likewise.
12539
125402008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 * config.host: Add i386/${host_address}/t-fprules-softfp to
12543 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12544 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12545
12546 * configure.ac: Set host_address to 64 or 32 for x86.
12547 * configure: Regenerated.
12548
12549 * Makefile.in (config.status): Also depend on
12550 $(srcdir)/config.host.
12551
12552 * config/i386/32/t-fprules-softfp: New.
12553 * config/i386/32/tf-signs.c: Likewise.
12554
12555 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12556
125572008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12558 Uros Bizjak <ubizjak@gmail.com>
12559
12560 * config/i386/32/sfp-machine.h: New.
12561
30551d99
NF
125622008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12563
12564 * config/rs6000/t-ppccomm: Remove rules that conflict with
12565 auto-generated rules.
12566
18c04407
RW
125672008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12568
12569 * configure.ac: sinclude override.m4.
12570 * configure: Regenerate.
12571
10fbe77a
BRF
125722008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12573
12574 * configure: Regenerate.
12575
bc6d4c3f
JM
125762008-06-10 Joseph Myers <joseph@codesourcery.com>
12577
12578 * Makefile.in (DECNUMINC): Remove
12579 -I$(MULTIBUILDTOP)../../libdecnumber.
12580 * gstdint.h: New.
12581
cd985f66
JM
125822008-06-07 Joseph Myers <joseph@codesourcery.com>
12583
12584 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12585 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12586 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12587 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12588 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12589 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12590 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12591 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12592 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12593 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12594 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12595 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12596 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12597 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12598
93fea8d3
AL
125992008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12600
12601 * config.host (sh2[lbe]*-*-linux*): Allow target.
12602
18724e30
NF
126032008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12604
12605 * config/rs6000/t-ppccomm: Add build rules for new files.
12606 (LIB2ADD_ST): New variable.
12607
47583040
AH
126082008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12609
12610 PR target/34210
12611 PR target/35508
12612 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12613 * config/t-avr: New file. Build 16bit libgcc functions.
12614
cf8e67fe
JJ
126152008-03-02 Jakub Jelinek <jakub@redhat.com>
12616
12617 PR target/35401
12618 * config/t-slibgcc-darwin: Make install-leaf dependent on
12619 install-darwin-libgcc-stubs instead of install.
12620
8d8da227
JM
126212008-01-25 Joseph Myers <joseph@codesourcery.com>
12622
12623 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12624 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12625 sh-*-rtemscoff*): Remove cases.
12626
edbf8b16
RS
126272007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12628
12629 * Makefile.in (all): Use install-leaf rather than install.
12630 (install): Split most of the rule into...
12631 (install-leaf): ...this new one.
12632
89deeaff
EK
126332007-12-19 Etsushi Kato <ek.kato@gmail.com>
12634 Paolo Bonzini <bonzini@gnu.org>
12635
12636 PR target/30572
5f464fa2
UB
12637 * Makefile.in: Use @shlib_slibdir@ substitution to get
12638 correct install name on darwin.
89deeaff 12639 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 12640
4081d704
HPN
126412007-12-15 Hans-Peter Nilsson <hp@axis.com>
12642
12643 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12644 cris-*-elf and cris-*-none.
12645 (crisv32-*-linux*): Similar, as cris-*-linux*.
12646
f43e89a3
RIL
126472007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12648
12649 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12650
b4e9c2c6
L
126512007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12652
12653 PR regression/33926
12654 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12655 * configure: Regenerated.
12656
b2a00c89
L
126572007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12658
12659 * Makefile.in (dfp-filenames): Replace decimal_globals,
12660 decimal_data, binarydecimal and convert_data with
12661 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12662 and bid_convert_data, respectively.
12663
8d2a9e0e
CF
126642007-09-17 Chao-ying Fu <fu@mips.com>
12665 Nigel Stephens <nigel@mips.com>
12666
12667 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12668 * Makefile.in (fixed_point): Define.
12669 Check if fixed_point is yes to build support functions.
12670 * configure.ac: Check for fixed_point support.
12671 * configure: Regenerated.
12672 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12673 funcs, modes, from, to.
12674
2b53935d
JJ
126752007-09-11 Janis Johnson <janis187@us.ibm.com
12676
12677 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12678
2533577f
JJ
126792007-09-10 Janis Johnson <janis187@us.ibm.com>
12680
12681 * Makefile.in (dfp-filenames): Remove decUtility, add
12682 decDouble, decPacked, decQuad, decSingle.
12683
3ae3dbd6
HK
126842007-08-27 Hans Kester <hans.kester@ellips.nl>
12685
12686 * config.host : Add x86_64-elf target.
12687
22867d02
L
126882007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 * configure.ac (set_have_cc_tls): Add a missing =.
12691 * configure: Regenerated.
12692
6f461e76
L
126932007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12694
12695 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12696 and x86_64-*-linux*.
12697
12698 * config/t-tls: New file.
12699
dfb3b0e3 12700 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12701
12702 * configure.ac: Include ../config/enable.m4 and
12703 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12704 supports TLS and substitute set_have_cc_tls.
12705 * configure: Regenerated.
12706
200359e8
L
127072007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12708
12709 * Makefile.in: Use libbid for DFP when BID is enabled.
12710
76f5e200
DS
127112007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12712
12713 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12714 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12715 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12716
9bd196f0 127172007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12718 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12719
12720 PR target/29498
12721 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12722 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12723 * config/i386/t-crtfm: Compile crtfastmath.o with
12724 -minline-all-stringops.
12725
1910440e
RS
127262007-05-10 Richard Sandiford <richard@codesourcery.com>
12727
12728 * config.host (sparc-wrs-vxworks): New target.
12729
7d33c31d
KH
127302007-04-14 Kazu Hirata <kazu@codesourcery.com>
12731
12732 * config.host: Recognize fido.
12733
96fccd0d
JJ
127342007-04-04 Janis Johnson <janis187@us.ibm.com>
12735
12736 * configure: Check host, not target, for decimal float support.
12737
577565f9
UB
127382007-04-03 Uros Bizjak <ubizjak@gmail.com>
12739
12740 * config/i386/t-crtpc: New file.
12741 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12742 (x86_64-*-linux*): Ditto.
577565f9 12743
ccf8e764
RH
127442007-02-30 Kai Tietz <kai.tietz@onevision.com>
12745
12746 * config.host (x86_64-*-mingw*): New target.
12747
79b87c74
MM
127482007-03-23 Michael Meissner <michael.meissner@amd.com>
12749 H.J. Lu <hongjiu.lu@intel.com>
12750
12751 * Makefile.in (enable_decimal_float): New.
12752 (DECNUMINC): Add
12753 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12754 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12755 (decbits-filenames): This.
12756 (decbits-objects): New.
12757 (libgcc-objects): Add $(decbits-objects).
12758
12759 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12760 Substitute enable_decimal_float.
12761 * configure: Regenerated.
12762
8fce4e31
HPN
127632007-03-19 Hans-Peter Nilsson <hp@axis.com>
12764
12765 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12766
e8bb4597
BM
127672007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12768
12769 * Makefile.in (install-info): New dummy target.
12770
344189f9
BS
127712007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12772
12773 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12774
ac84c172
BM
127752007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12776
12777 * Makefile.in: Add install-html and install-pdf dummy
12778 targets.
12779
cd5c2357
RS
127802007-02-05 Roger Sayle <roger@eyesopen.com>
12781 Daniel Jacobowitz <dan@codesourcery.com>
12782
12783 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12784 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12785 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12786
d9a66f98
JJ
127872007-01-29 Janis Johnson <janis187@us.ibm.com>
12788
12789 * Makefile.in (dec-filenames): Add decExcept.
12790
9891ec5f
DJ
127912007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12792
12793 PR bootstrap/30469
12794 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12795 -fprofile-use.
12796
d6efbf5a
DJ
127972007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12798
12799 * configure.ac: Add --enable-version-specific-runtime-libs.
12800 Correct $slibdir default.
12801 * configure: Regenerated.
12802
17caeff2
JM
128032007-01-23 Joseph Myers <joseph@codesourcery.com>
12804
12805 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12806
5ea41e3a
AP
128072007-01-21 Andrew Pinski <pinskia@gmail.com>
12808
12809 PR target/30519
12810 * config.host (alpha*-*-linux*): Set extra_parts.
12811
26900826
KK
128122007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12813
12814 * config/sh/t-linux: New.
12815 * config.host (sh*-*-linux*): Set tmake_file.
12816
97af925b
DJ
128172007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12818
12819 * Makefile.in (install): Handle multilibs.
12820
b0088af7
BM
128212007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12822
12823 * Makefile.in: Added .PHONY entry for documentation targets.
12824
e0a9456a
BM
128252007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12826
12827 * Makefile.in: Add empty info, html, dvi, pdf targets.
12828
7fd453b4
MS
128292007-01-04 Mike Stump <mrs@apple.com>
12830
12831 * Makefile.in (MAKEINFO): Remove.
12832 (PERL): Likewise.
12833
14e8fc8b
PB
128342007-01-04 Paolo Bonzini <bonzini@gnu.org>
12835
12836 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12837 * configure: Regenerate.
12838 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12839 (gcc_objdir): Use it.
14e8fc8b 12840
1555beba
DJ
128412007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12842
12843 * config.host (ia64*-*-linux*): Set tmake_file.
12844
79e6eaeb
DJ
128452007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12846
12847 * Makefile.in (version): Define.
12848
fa958513
DJ
128492007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12850 Paolo Bonzini <bonzini@gnu.org>
12851
12852 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12853 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12854 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12855 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12856 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12857 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12858 * configure: Generated.
818ab71a 12859\f
68127a8e 12860Copyright (C) 2007-2023 Free Software Foundation, Inc.
818ab71a
JJ
12861
12862Copying and distribution of this file, with or without modification,
12863are permitted in any medium without royalty provided the copyright
12864notice and this notice are preserved.