]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
testsuite: Fix gfortran.dg/ieee/comparisons_3.F90 testsuite failures
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2023-07-23 Andrew Pinski <apinski@marvell.com>
2
3 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
4 (riscv*-*-freebsd*): Likewise.
5 * config/riscv/t-crtstuff: New file.
6
7 2023-07-19 liuhongt <hongtao.liu@intel.com>
8
9 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
10 files.
11
12 2023-07-11 Florian Weimer <fweimer@redhat.com>
13
14 PR libgcc/110179
15 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
16 implicit conversion of pointer value to integer.
17
18 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
19
20 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
21 (FP_HANDLE_EXCEPTIONS): Ditto.
22
23 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
24
25 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
26 * config/gcn/lib2-divmod.c: Likewise.
27 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
28 new vector libfuncs.
29 * config/gcn/t-amdgcn: Add new files.
30 * config/gcn/amdgcn_veclib.h: New file.
31 * config/gcn/lib2-vec_divmod-di.c: New file.
32 * config/gcn/lib2-vec_divmod-hi.c: New file.
33 * config/gcn/lib2-vec_divmod-qi.c: New file.
34 * config/gcn/lib2-vec_divmod.c: New file.
35
36 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
37
38 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
39 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
40 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
41 * config/gcn/lib2-divmod-hi.c: Removed.
42
43 2023-06-07 Florian Weimer <fweimer@redhat.com>
44
45 PR libgcc/109712
46 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
47 parsing eh_frame.
48
49 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
50
51 * config/i386/morestack.S: Use @init_array rather than
52 @progbits for section type of section .init_array.
53 * config/rs6000/morestack.S: Likewise.
54 * config/s390/morestack.S: Likewise.
55
56 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
57
58 * config/mips/lib1funcs.S: New file.
59 define __speculation_barrier and include mips16.S.
60 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
61 define LIB1ASMFUNCS as _speculation_barrier.
62 set version info for __speculation_barrier.
63 * config/mips/libgcc-mips.ver: New file.
64 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
65 included in lib1funcs.S now.
66
67 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
68
69 PR libgcc/109670
70 * unwind-dw2-fde.c: Fix radix sort buffer management.
71
72 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
73
74 PR libgcc/109685
75 * unwind-dw2-fde.c: Free sort array in atomic fast path.
76
77 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
78
79 * config.host: Arrange to set min Darwin OS versions from
80 the configured host version.
81 * config/darwin10-unwind-find-enc-func.c: Do not use current
82 headers, but declare the nexessary structures locally to the
83 versions in use for Mac OSX 10.6.
84 * config/t-darwin: Amend to handle configured min OS
85 versions.
86 * config/t-darwin-min-1: New.
87 * config/t-darwin-min-5: New.
88 * config/t-darwin-min-8: New.
89
90 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
91
92 * unwind-dw2-fde.c: Fix assert in non-atomic path.
93
94 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
95
96 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
97
98 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
99
100 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
101 sequentially consistent LR.aqrl/SC.rl pairs.
102
103 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
104
105 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
106 -DTARGET_HAS_NO_HW_DIVIDE.
107
108 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
109
110 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
111 -DTARGET_HAS_NO_HW_DIVIDE.
112
113 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
114
115 PR target/104338
116 * config/riscv/atomic.c: Add reference to duplicate logic.
117
118 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
119
120 PR target/109402
121 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
122 stack manipulations.
123
124 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
125
126 PR target/109374
127 * config/pa/milli64.S (RETURN_COLUMN): Define.
128 ($$divI): Add CFI directives.
129 ($$divU): Likewise.
130 ($$remI): Likewise.
131 ($$remU): Likewise.
132
133 2023-03-19 Stafford Horne <shorne@gmail.com>
134
135 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
136 statement clearing existing exceptions.
137
138 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
139
140 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
141 * config/xtensa/crtn.S: Likewise.
142 * config/xtensa/lib1funcs.S: Likewise.
143 * config/xtensa/lib2funcs.S: Likewise.
144
145 2023-03-12 Jakub Jelinek <jakub@redhat.com>
146
147 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
148 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
149 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
150 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
151 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
152 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
153 * soft-fp/floatundibf.c: New file.
154 * soft-fp/floatdibf.c: New file.
155
156 2023-03-10 Jakub Jelinek <jakub@redhat.com>
157
158 PR target/107703
159 * soft-fp/floattibf.c: New file.
160 * soft-fp/floatuntibf.c: New file.
161 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
162 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
163 floatuntibf.
164 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
165
166 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
167
168 PR libgcc/108727
169 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
170 bump size.
171
172 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
173
174 PR target/107299
175 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
176 whether long double is IBM or IEEE.
177 (INFINITY): Likewise.
178 (FABS): Likewise.
179 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
180 (INFINITY): Likewise.
181 * config/rs6000/quad-float128.h (TF): Remove definition.
182 (TFtype): Define to be long double or _Float128.
183 (TCtype): Define to be _Complex long double or _Complex _Float128.
184 * libgcc2.h (TFtype): Allow machine config files to override this.
185 (TCtype): Likewise.
186 * soft-fp/quad.h (TFtype): Likewise.
187
188 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
189
190 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
191 * config/riscv/value-unwind.h: New.
192
193 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
194
195 * config/arm/pr-support.c (__gnu_unwind_execute): Use
196 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
197
198 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
199
200 * config.host: Recognize x86_64-*-gnu* targets.
201 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
202 TODO for now.
203
204 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
205
206 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
207 "0xb5".
208
209 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
210 Tejas Belagod <tbelagod@arm.com>
211 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
212
213 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
214 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
215 with AUTG if found.
216 * config/arm/unwind-arm.c (struct pseudo_regs): New.
217 (phase1_vrs): Introduce new field to store pseudo-reg state.
218 (phase2_vrs): Likewise.
219 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
220 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
221 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
222
223 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
224
225 PR target/107678
226 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
227 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
228 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
229 encode the return address signing state.
230 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
231 Check current return address signing state.
232 (aarch64_frob_update_contex): Remove.
233
234 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
235
236 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
237 pa/t-pa64-linux.
238 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
239 instead of pa/t-hpux and pa/t-pa64.
240 * config/pa/linux-atomic.c: Define u32 type.
241 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
242 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
243 defines to use atomic_load calls for type.
244 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
245 * config/pa/sync-libfuncs.c: New file.
246 * config/pa/t-netbsd (LIB2ADD_ST): Define.
247 * config/pa/t-openbsd (LIB2ADD_ST): Define.
248 * config/pa/t-pa64-hpux: New file.
249 * config/pa/t-pa64-linux: New file.
250
251 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
252
253 PR libstdc++/108331
254 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
255 struct matching the previous __gthread_mutex_t struct.
256 (__GTHREAD_LEGACY_MUTEX_T): Define.
257
258 2023-01-13 Seija Kijin <doremylover456@gmail.com>
259
260 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
261 unified syntax.
262
263 2023-01-07 LIU Hao <lh_mouse@126.com>
264
265 PR middle-end/108300
266 * config/i386/enable-execute-stack-mingw32.c: Define
267 `WIN32_LEAN_AND_MEAN` before <windows.h>.
268 * libgcc2.c: Likewise.
269 * unwind-generic.h: Likewise.
270
271 2023-01-03 Florian Weimer <fweimer@redhat.com>
272
273 * unwind-dw2-execute_cfa.h: New file. Extracted from
274 the execute_cfa_program function in unwind-dw2.c.
275 * unwind-dw2.c (execute_cfa_program_generic): New function.
276 (execute_cfa_program_specialized): Likewise.
277 (execute_cfa_program): Call execute_cfa_program_specialized
278 or execute_cfa_program_generic, as appropriate.
279
280 2023-01-03 Florian Weimer <fweimer@redhat.com>
281
282 Revert:
283 2023-01-03 Florian Weimer <fweimer@redhat.com>
284
285 * unwind-dw2.c (dwarf_reg_size): New function.
286 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
287 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
288 (uw_init_context_1): Do not initialize dwarf_reg_size_table
289 if not in use.
290
291 2023-01-03 Florian Weimer <fweimer@redhat.com>
292
293 Revert:
294 2023-01-03 Florian Weimer <fweimer@redhat.com>
295
296 * unwind-dw2-execute_cfa.h: New file. Extracted from
297 the execute_cfa_program function in unwind-dw2.c.
298 * unwind-dw2.c (execute_cfa_program_generic): New function.
299 (execute_cfa_program_specialized): Likewise.
300 (execute_cfa_program): Call execute_cfa_program_specialized
301 or execute_cfa_program_generic, as appropriate.
302
303 2023-01-02 Florian Weimer <fweimer@redhat.com>
304
305 * unwind-dw2-execute_cfa.h: New file. Extracted from
306 the execute_cfa_program function in unwind-dw2.c.
307 * unwind-dw2.c (execute_cfa_program_generic): New function.
308 (execute_cfa_program_specialized): Likewise.
309 (execute_cfa_program): Call execute_cfa_program_specialized
310 or execute_cfa_program_generic, as appropriate.
311
312 2023-01-02 Florian Weimer <fweimer@redhat.com>
313
314 * unwind-dw2.c (dwarf_reg_size): New function.
315 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
316 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
317 (uw_init_context_1): Do not initialize dwarf_reg_size_table
318 if not in use.
319
320 2022-12-25 Jonathan Yong <10walls@gmail.com>
321
322 * config/i386/gthr-win32.h: undef CC_NONE
323
324 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
325
326 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
327 install of libgcc_s.1.dylib when the installation is into the build
328 gcc directory.
329
330 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
331
332 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
333 as well as new i386/t-slibgcc-mingw fragment.
334 (x86_64-*-mingw*): Likewise.
335 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
336 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
337 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
338 Include stdlib.h instead of errno.h and do not include _mingw.h.
339 (CONST_CAST2): Add specific definition for C++.
340 (ATTRIBUTE_UNUSED): New macro.
341 (__UNUSED_PARAM): Delete.
342 Define WIN32_LEAN_AND_MEAN before including windows.h.
343 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
344 (__gthread_objc_init_thread_system): Likewise.
345 (__gthread_objc_thread_get_data): Minor tweak.
346 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
347 (__gthread_objc_condition_deallocate): Likewise.
348 (__gthread_objc_condition_wait): Likewise.
349 (__gthread_objc_condition_broadcast): Likewise.
350 (__gthread_objc_condition_signal): Likewise.
351 Include sys/time.h.
352 (__gthr_win32_DWORD): New typedef.
353 (__gthr_win32_HANDLE): Likewise.
354 (__gthr_win32_CRITICAL_SECTION): Likewise.
355 (__gthr_win32_CONDITION_VARIABLE): Likewise.
356 (__gthread_t): Adjust.
357 (__gthread_key_t): Likewise.
358 (__gthread_mutex_t): Likewise.
359 (__gthread_recursive_mutex_t): Likewise.
360 (__gthread_cond_t): New typedef.
361 (__gthread_time_t): Likewise.
362 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
363 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
364 (__GTHREAD_COND_INIT_FUNCTION): Define.
365 (__GTHREAD_TIME_INIT): Likewise.
366 (__gthr_i486_lock_cmp_xchg): Delete.
367 (__gthr_win32_create): Declare.
368 (__gthr_win32_join): Likewise.
369 (__gthr_win32_self): Likewise.
370 (__gthr_win32_detach): Likewise.
371 (__gthr_win32_equal): Likewise.
372 (__gthr_win32_yield): Likewise.
373 (__gthr_win32_mutex_destroy): Likewise.
374 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
375 (__gthr_win32_cond_broadcast): Likewise.
376 (__gthr_win32_cond_signal): Likewise.
377 (__gthr_win32_cond_wait): Likewise.
378 (__gthr_win32_cond_timedwait): Likewise.
379 (__gthr_win32_recursive_mutex_init_function): Delete.
380 (__gthr_win32_recursive_mutex_lock): Likewise.
381 (__gthr_win32_recursive_mutex_unlock): Likewise.
382 (__gthr_win32_recursive_mutex_destroy): Likewise.
383 (__gthread_create): New inline function.
384 (__gthread_join): Likewise.
385 (__gthread_self): Likewise.
386 (__gthread_detach): Likewise.
387 (__gthread_equal): Likewise.
388 (__gthread_yield): Likewise.
389 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
390 (__gthread_cond_broadcast): Likewise.
391 (__gthread_cond_signal): Likewise.
392 (__gthread_cond_wait): Likewise.
393 (__gthread_cond_timedwait): Likewise.
394 (__GTHREAD_WIN32_INLINE): New macro.
395 (__GTHREAD_WIN32_COND_INLINE): Likewise.
396 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
397 Define WIN32_LEAN_AND_MEAN before including windows.h.
398 (__gthread_once): Minor tweaks.
399 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
400 (__gthread_key_delete): Minor tweak.
401 (__gthread_getspecific): Likewise.
402 (__gthread_setspecific): Likewise.
403 (__gthread_mutex_init_function): Reimplement.
404 (__gthread_mutex_destroy): Likewise.
405 (__gthread_mutex_lock): Likewise.
406 (__gthread_mutex_trylock): Likewise.
407 (__gthread_mutex_unlock): Likewise.
408 (__gthr_win32_abs_to_rel_time): Declare.
409 (__gthread_recursive_mutex_init_function): Reimplement.
410 (__gthread_recursive_mutex_destroy): Likewise.
411 (__gthread_recursive_mutex_lock): Likewise.
412 (__gthread_recursive_mutex_trylock): Likewise.
413 (__gthread_recursive_mutex_unlock): Likewise.
414 (__gthread_cond_destroy): New inline function.
415 (__gthread_cond_wait_recursive): Likewise.
416 * config/i386/gthr-win32.c: Delete everything.
417 Include gthr-win32.h to get the out-of-line version of inline routines.
418 Add compile-time checks for the local version of the Win32 types.
419 * config/i386/gthr-win32-cond.c: New file.
420 * config/i386/gthr-win32-thread.c: Likewise.
421 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
422 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
423 the static version of libgcc.
424 * config/i386/t-slibgcc-mingw: New file.
425 * config/i386/libgcc-mingw.ver: Likewise.
426
427 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
428
429 * unwind-dw2-fde.c: Initialize fde object lazily when
430 the first exception tries to pass through.
431
432 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
433
434 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
435
436 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
437
438 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
439 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
440 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
441 (XSHAL_ABI): Remove stray symbols from macro definitions.
442
443 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
444
445 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
446 xtensa-config-builtin.h.
447 * config/xtensa/crtn.S: Likewise.
448 * config/xtensa/lib1funcs.S: Likewise.
449 * config/xtensa/lib2funcs.S: Likewise.
450 * config/xtensa/xtensa-config-builtin.h: New File.
451
452 2022-11-04 Florian Weimer <fweimer@redhat.com>
453
454 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
455 values actually used by BFD ld.
456
457 2022-10-23 LIU Hao <lh_mouse@126.com>
458
459 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
460 libobjc, instead of 'gthr.h'
461
462 2022-10-19 LIU Hao <lh_mouse@126.com>
463
464 * config.host: Add new cases for `mcf` thread model
465 * config/i386/gthr-mcf.h: New file
466 * config/i386/t-mingw-mcfgthread: New file
467 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
468 * configure: Regenerate
469
470 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
471
472 * Makefile.in: Quote variable.
473
474 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
475
476 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
477 argument.
478 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
479 _Unwind_Frames_Increment.
480 (_Unwind_ForcedUnwind_Phase2): Likewise.
481 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
482 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
483 return address on normal stack doesn't match the return address
484 on shadow stack.
485
486 2022-10-17 Florian Weimer <fweimer@redhat.com>
487
488 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
489 and reduce its size.
490
491 2022-10-14 Jakub Jelinek <jakub@redhat.com>
492
493 * config/i386/t-softfp (softfp_extensions): Add bfsf.
494 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
495 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
496 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
497 -msse2.
498 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
499 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
500 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
501 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
502 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
503 * soft-fp/brain.h: New file.
504 * soft-fp/truncsfbf2.c: New file.
505 * soft-fp/truncdfbf2.c: New file.
506 * soft-fp/truncxfbf2.c: New file.
507 * soft-fp/trunctfbf2.c: New file.
508 * soft-fp/trunchfbf2.c: New file.
509 * soft-fp/truncbfhf2.c: New file.
510 * soft-fp/extendbfsf2.c: New file.
511
512 2022-10-12 Martin Liska <mliska@suse.cz>
513
514 * libgcov-driver.c: Use new function.
515 * libgcov.h (gcov_write_summary): Rename to ...
516 (gcov_write_object_summary): ... this.
517
518 2022-10-11 Olivier Hainque <hainque@adacore.com>
519
520 * config.host (*vxworks*): When enable_shared, add
521 libgcc and crtstuff "shared" fragments for rtp except
522 large code model.
523 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
524 the list of fragments.
525
526 2022-10-06 Jakub Jelinek <jakub@redhat.com>
527
528 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
529 fs->regs.how[X] instead of fs->regs.reg[X].how.
530
531 2022-10-06 Jakub Jelinek <jakub@redhat.com>
532
533 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
534 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
535 REG_UNDEFINED): New anonymous enum, moved from inside of
536 struct frame_state_reg_info.
537 (struct frame_state_reg_info): Remove reg[].how element and the
538 anonymous enum there. Add how element.
539 * unwind-dw2.c: Include stddef.h.
540 (uw_frame_state_for): Don't clear first
541 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
542 (execute_cfa_program, __frame_state_for, uw_update_context_1,
543 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
544 or fs.regs.how[X] instead of fs.regs.reg[X].how.
545 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
546 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
547 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
548 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
549 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
550 Likewise.
551 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
552 Likewise.
553 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
554 * config/arc/linux-unwind.h (arc_fallback_frame_state,
555 arc_frob_update_context): Likewise.
556 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
557 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
558 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
559 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
560 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
561 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
562 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
563 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
564 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
565 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
566 x86_fallback_frame_state): Likewise.
567 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
568 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
569 x86_fallback_frame_state): Likewise.
570 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
571 Likewise.
572 * config/i386/dragonfly-unwind.h
573 (x86_64_dragonfly_fallback_frame_state): Likewise.
574 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
575 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
576 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
577 Likewise.
578 * config/aarch64/freebsd-unwind.h
579 (aarch64_freebsd_fallback_frame_state): Likewise.
580 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
581 Likewise.
582 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
583 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
584 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
585 Likewise.
586 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
587 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
588 Likewise.
589 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
590 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
591 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
592 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
593
594 2022-10-02 Olivier Hainque <hainque@adacore.com>
595
596 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
597 -I options for gcc/include and gcc/include-fixed at the end
598 and make them -isystem.
599
600 2022-10-02 Olivier Hainque <hainque@adacore.com>
601
602 * config/gthr-vxworks.h: Prevent Wpragma warning for the
603 pragma diagnostics on Wstrict-prototypes.
604
605 2022-09-29 Olivier Hainque <hainque@adacore.com>
606
607 * config/vxcrtstuff.c: Improve the comment attached to the use
608 of auto-host.h and of __dso_handle. Remove redundant guard on
609 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
610
611 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
612
613 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
614 for the non-fast-path case. Drop destructor priority.
615
616 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
617
618 * unwind-dw2-fde.c: (release_register_frames) Remember
619 when the btree has been destroyed.
620 (__deregister_frame_info_bases) Disable the assert when
621 shutting down.
622
623 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
624
625 * unwind-dw2-fde.c: Replace uintptr_t with typedef
626 for __UINTPTR_TYPE__.
627 * unwind-dw2-btree.h: Likewise.
628
629 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
630
631 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
632 (__register_frame_info_table_bases): Use btree in atomic fast path.
633 (__deregister_frame_info_bases): Likewise.
634 (_Unwind_Find_FDE): Likewise.
635 (base_from_object): Make parameter const.
636 (classify_object_over_fdes): Add query-only mode.
637 (get_pc_range): Compute PC range for lookup.
638 * unwind-dw2-fde.h (last_fde): Make parameter const.
639 * unwind-dw2-btree.h: New file.
640
641 2022-08-31 Martin Liska <mliska@suse.cz>
642
643 * config.host: Remove hppa.
644
645 2022-08-30 Martin Liska <mliska@suse.cz>
646
647 * config.host: Remove the port.
648
649 2022-08-26 Martin Liska <mliska@suse.cz>
650
651 * config.host: Remove cr16 related stuff.
652 * config/cr16/crti.S: Removed.
653 * config/cr16/crtlibid.S: Removed.
654 * config/cr16/crtn.S: Removed.
655 * config/cr16/divmodhi3.c: Removed.
656 * config/cr16/lib1funcs.S: Removed.
657 * config/cr16/t-cr16: Removed.
658 * config/cr16/t-crtlibid: Removed.
659 * config/cr16/unwind-cr16.c: Removed.
660 * config/cr16/unwind-dw2.h: Removed.
661
662 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
663
664 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
665 (_FP_NANFRAC_H): Ditto.
666 (_FP_NANSIGN_H): Ditto.
667 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
668 routines.
669 (softfp_truncations): Ditto.
670 (softfp_extras): Ditto.
671 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
672
673 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
674
675 * soft-fp/fixhfdi.c: New.
676 * soft-fp/fixhfsi.c: Likewise.
677 * soft-fp/fixunshfdi.c: Likewise.
678 * soft-fp/fixunshfsi.c: Likewise.
679 * soft-fp/floatdihf.c: Likewise.
680 * soft-fp/floatsihf.c: Likewise.
681 * soft-fp/floatundihf.c: Likewise.
682 * soft-fp/floatunsihf.c: Likewise.
683 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
684 lines and update URL for license.
685 * soft-fp/addsf3.c: Likewise.
686 * soft-fp/addtf3.c: Likewise.
687 * soft-fp/divdf3.c: Likewise.
688 * soft-fp/divsf3.c: Likewise.
689 * soft-fp/divtf3.c: Likewise.
690 * soft-fp/double.h: Likewise.
691 * soft-fp/eqdf2.c: Likewise.
692 * soft-fp/eqhf2.c: Likewise.
693 * soft-fp/eqsf2.c: Likewise.
694 * soft-fp/eqtf2.c: Likewise.
695 * soft-fp/extenddftf2.c: Likewise.
696 * soft-fp/extended.h: Likewise.
697 * soft-fp/extendhfdf2.c: Likewise.
698 * soft-fp/extendhfsf2.c: Likewise.
699 * soft-fp/extendhftf2.c: Likewise.
700 * soft-fp/extendhfxf2.c: Likewise.
701 * soft-fp/extendsfdf2.c: Likewise.
702 * soft-fp/extendsftf2.c: Likewise.
703 * soft-fp/extendxftf2.c: Likewise.
704 * soft-fp/fixdfdi.c: Likewise.
705 * soft-fp/fixdfsi.c: Likewise.
706 * soft-fp/fixdfti.c: Likewise.
707 * soft-fp/fixhfti.c: Likewise.
708 * soft-fp/fixsfdi.c: Likewise.
709 * soft-fp/fixsfsi.c: Likewise.
710 * soft-fp/fixsfti.c: Likewise.
711 * soft-fp/fixtfdi.c: Likewise.
712 * soft-fp/fixtfsi.c: Likewise.
713 * soft-fp/fixtfti.c: Likewise.
714 * soft-fp/fixunsdfdi.c: Likewise.
715 * soft-fp/fixunsdfsi.c: Likewise.
716 * soft-fp/fixunsdfti.c: Likewise.
717 * soft-fp/fixunshfti.c: Likewise.
718 * soft-fp/fixunssfdi.c: Likewise.
719 * soft-fp/fixunssfsi.c: Likewise.
720 * soft-fp/fixunssfti.c: Likewise.
721 * soft-fp/fixunstfdi.c: Likewise.
722 * soft-fp/fixunstfsi.c: Likewise.
723 * soft-fp/fixunstfti.c: Likewise.
724 * soft-fp/floatdidf.c: Likewise.
725 * soft-fp/floatdisf.c: Likewise.
726 * soft-fp/floatditf.c: Likewise.
727 * soft-fp/floatsidf.c: Likewise.
728 * soft-fp/floatsisf.c: Likewise.
729 * soft-fp/floatsitf.c: Likewise.
730 * soft-fp/floattidf.c: Likewise.
731 * soft-fp/floattihf.c: Likewise.
732 * soft-fp/floattisf.c: Likewise.
733 * soft-fp/floattitf.c: Likewise.
734 * soft-fp/floatundidf.c: Likewise.
735 * soft-fp/floatundisf.c: Likewise.
736 * soft-fp/floatunditf.c: Likewise.
737 * soft-fp/floatunsidf.c: Likewise.
738 * soft-fp/floatunsisf.c: Likewise.
739 * soft-fp/floatunsitf.c: Likewise.
740 * soft-fp/floatuntidf.c: Likewise.
741 * soft-fp/floatuntihf.c: Likewise.
742 * soft-fp/floatuntisf.c: Likewise.
743 * soft-fp/floatuntitf.c: Likewise.
744 * soft-fp/gedf2.c: Likewise.
745 * soft-fp/gesf2.c: Likewise.
746 * soft-fp/getf2.c: Likewise.
747 * soft-fp/half.h: Likewise.
748 * soft-fp/ledf2.c: Likewise.
749 * soft-fp/lesf2.c: Likewise.
750 * soft-fp/letf2.c: Likewise.
751 * soft-fp/muldf3.c: Likewise.
752 * soft-fp/mulsf3.c: Likewise.
753 * soft-fp/multf3.c: Likewise.
754 * soft-fp/negdf2.c: Likewise.
755 * soft-fp/negsf2.c: Likewise.
756 * soft-fp/negtf2.c: Likewise.
757 * soft-fp/op-1.h: Likewise.
758 * soft-fp/op-2.h: Likewise.
759 * soft-fp/op-4.h: Likewise.
760 * soft-fp/op-8.h: Likewise.
761 * soft-fp/op-common.h: Likewise.
762 * soft-fp/quad.h: Likewise.
763 * soft-fp/single.h: Likewise.
764 * soft-fp/soft-fp.h: Likewise.
765 * soft-fp/subdf3.c: Likewise.
766 * soft-fp/subsf3.c: Likewise.
767 * soft-fp/subtf3.c: Likewise.
768 * soft-fp/truncdfhf2.c: Likewise.
769 * soft-fp/truncdfsf2.c: Likewise.
770 * soft-fp/truncsfhf2.c: Likewise.
771 * soft-fp/trunctfdf2.c: Likewise.
772 * soft-fp/trunctfhf2.c: Likewise.
773 * soft-fp/trunctfsf2.c: Likewise.
774 * soft-fp/trunctfxf2.c: Likewise.
775 * soft-fp/truncxfhf2.c: Likewise.
776 * soft-fp/unorddf2.c: Likewise.
777 * soft-fp/unordsf2.c: Likewise.
778 * soft-fp/unordtf2.c: Likewise.
779
780 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
781
782 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
783 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
784 configurations.
785
786 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
787
788 * config.host: Removed tilegx and tilepro entries.
789 * config/tilegx/sfp-machine.h: Removed.
790 * config/tilegx/sfp-machine32.h: Removed.
791 * config/tilegx/sfp-machine64.h: Removed.
792 * config/tilegx/t-crtstuff: Removed.
793 * config/tilegx/t-softfp: Removed.
794 * config/tilegx/t-tilegx: Removed.
795 * config/tilepro/atomic.c: Removed.
796 * config/tilepro/atomic.h: Removed.
797 * config/tilepro/linux-unwind.h: Removed.
798 * config/tilepro/sfp-machine.h: Removed.
799 * config/tilepro/softdivide.c: Removed.
800 * config/tilepro/softmpy.S: Removed.
801 * config/tilepro/t-crtstuff: Removed.
802 * config/tilepro/t-tilepro: Removed.
803
804 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
805
806 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
807 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
808
809 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
810
811 PR libgcc/27576
812 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
813
814 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
815
816 PR libgcc/105708
817 * config/aarch64/lse-init.c: Increase constructor priority.
818
819 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
820
821 PR target/104689
822 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
823 Handle the !REG_UNSAVED case.
824 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
825
826 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
827
828 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
829 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
830 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
831
832 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
833
834 * config.host: Add t-dfprules to AArch64 targets.
835
836 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
837
838 * configure: Regenerate.
839
840 2022-05-13 Sebastian Pop <spop@amazon.com>
841
842 PR target/105162
843 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
844 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
845
846 2022-05-10 Martin Liska <mliska@suse.cz>
847 Hans-Peter Helfert <peter-helfert@t-online.de>
848
849 PR gcov-profile/105535
850 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
851 n_functions.
852
853 2022-05-02 Martin Liska <mliska@suse.cz>
854
855 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
856
857 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
858
859 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
860 (gcov_profile_merge_stream): Likewise.
861
862 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
863
864 * libgcov-util.c (consume_stream): New.
865 (get_target_profiles_for_merge): Likewise.
866 (gcov_profile_merge_stream): Likewise.
867
868 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
869
870 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
871
872 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
873
874 * libgcov-util.c (read_gcda_file): Do not open file.
875 (ftw_read_file): Open file here.
876
877 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
878
879 * libgcov-util.c (read_gcda_file): Prepend new info object to global
880 list.
881 (ftw_read_file): Remove list append here.
882
883 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
884
885 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
886 (ftw_read_file): Duplicate filename for read_gcda_file().
887
888 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
889
890 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
891 (__gcov_filename_to_gcfn): Declare and document.
892 * libgcov-driver.c (dump_string): New.
893 (__gcov_filename_to_gcfn): Likewise.
894 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
895
896 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
897
898 * libgcov.h (gcov_seek): Remove define and declaration.
899
900 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
901
902 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
903 parameter. Pass mode to gcov_open() calls.
904 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
905 gcov_exit_open_gcda_file() call.
906 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
907 calls.
908 (__gcov_dump_one): Open file for reading and writing.
909
910 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
911
912 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
913 reading and writing.
914 * libgcov-util.c (read_gcda_file): Open file for reading.
915 * libgcov.h (gcov_open): Delete declaration.
916
917 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
918
919 * libgcov-util.c (gcov_profile_merge): Return the list of merged
920 profiles. Accept empty target and source profile lists.
921
922 2022-04-08 Sergei Trofimovich <siarheit@google.com>
923
924 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
925
926 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
927 Lulu Cheng <chenglulu@loongson.cn>
928
929 * configure: Regenerate file.
930
931 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
932 Lulu Cheng <chenglulu@loongson.cn>
933
934 * config/loongarch/crtfastmath.c: New file.
935 * config/loongarch/linux-unwind.h: Like wise.
936 * config/loongarch/sfp-machine.h: Like wise.
937 * config/loongarch/t-crtstuff: Like wise.
938 * config/loongarch/t-loongarch: Like wise.
939 * config/loongarch/t-loongarch64: Like wise.
940 * config/loongarch/t-softfp-tf: Like wise.
941 * config.host: Add LoongArch tuples.
942 * configure.ac: Add LoongArch support.
943
944 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
945
946 PR libgcc/86224
947 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
948 for __mulsi3.
949 (__udivsi3_internal, __divsi3_internal): Similarly.
950 (__umodsi3, __modsi3): Use the internal function names.
951
952 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
953
954 PR target/102215
955 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
956 a line up to non-arg-dependent value first.
957 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
958 __atomic_compare_exchange_{1,2}.
959
960 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
961
962 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
963 * config/t-darwin-ehs: Add dependency on unwind.h.
964
965 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
966
967 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
968 with 0 instead of NULL.
969
970 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
971
972 PR target/104656
973 * configure.ac: --disable-gcov if targetting bpf-*.
974 * configure: Regenerate.
975
976 2022-01-25 Florian Weimer <fweimer@redhat.com>
977
978 PR libgcc/104207
979 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
980
981 2022-01-17 Martin Liska <mliska@suse.cz>
982
983 * libgcov-driver.c: Rename .c names to .cc.
984
985 2022-01-15 David <gccbugzilla@limegreensocks.com>
986
987 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
988 Remove inlined version, Windows 95 is no longer relevant.
989 * config/i386/gthr-win32.h
990 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
991
992 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
993
994 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
995 DWARF_ALT_FRAME_RETURN_COLUMN macro.
996
997 2022-01-04 Florian Weimer <fweimer@redhat.com>
998
999 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1000 if available.
1001
1002 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
1003
1004 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1005 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1006 return is not equal _ASM_EFAULT.
1007 (__kernel_cmpxchg2): Likewise.
1008
1009 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1010
1011 * config.host: Add shim declaration header to powerpc*-darwin builds.
1012 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1013 file.
1014 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1015 objects.
1016 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1017 the shared EH lib. Add all-multi to the dependencies for the
1018 libgcc_s.1.dylib redirections.
1019
1020 2021-12-13 Olivier Hainque <hainque@adacore.com>
1021
1022 * config.host (powerpc*-*-vxworks7*): Remove
1023 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1024
1025 2021-12-13 Olivier Hainque <hainque@adacore.com>
1026
1027 * config.host (*vxworks*): Remove special case for
1028 arm on the use of vxcrtstuff.
1029
1030 2021-12-13 Fred Konrad <konrad@adacore.com>
1031 Olivier Hainque <hainque@adacore.com>
1032
1033 * config/t-vxcrtstuffS: New Makefile fragment.
1034 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1035 functions for INITFINI_ARRAY support in shared libs and guard
1036 the definition of eh table registration functions on conditions
1037 indicating they are needed.
1038
1039 2021-12-13 Olivier Hainque <hainque@adacore.com>
1040
1041 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1042 ahead of the other files in tmake_files.
1043 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1044 overriding it.
1045
1046 2021-12-13 Olivier Hainque <hainque@adacore.com>
1047
1048 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1049 both VxWorks7 and earlier.
1050 * config/t-vxworks7: Remove.
1051 * config.host: Remove special case for vxworks7.
1052
1053 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1054
1055 * config/vxcrtstuff.c: Make constructor and destructor
1056 functions static when possible.
1057
1058 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1059
1060 * config/vxcrtstuff.c: Remove constructor/destructor
1061 declarations.
1062
1063 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1064
1065 * config/t-darwin: Add libgcc_tm.h to the dependencies
1066 for darwin10-unwind-find-enc-func.
1067
1068 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1069
1070 * config/rs6000/t-vxworks: New file.
1071 * config.host (powerpc*-*-vxworks*): Use it instead of
1072 t-ppccomm.
1073
1074 2021-12-09 Fred Konrad <konrad@adacore.com>
1075
1076 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1077 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1078
1079 2021-12-09 Olivier Hainque <hainque@adacore.com>
1080 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1081
1082 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1083 $(LIBGCC2_INCLUDES).
1084 * config/t-vxworks7: Likewise.
1085
1086 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1087
1088 * config.host (*-*-darwin*): Add logic to build a shared
1089 unwinder library for Darwin8-10.
1090 * config/i386/t-darwin: Build legacy libgcc_s.1.
1091 * config/rs6000/t-darwin: Likewise.
1092 * config/t-darwin: Reorganise the EH fragments to place
1093 them for inclusion in a shared EH lib.
1094 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1095 the supporting pieces (all FAT libs).
1096 * config/t-darwin-noeh: Removed.
1097 * config/darwin-unwind.ver: New file.
1098 * config/rs6000/t-darwin-ehs: New file.
1099 * config/t-darwin-ehs: New file.
1100
1101 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
1102
1103 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1104 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1105 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1106 HIDDEN_DEF.
1107
1108 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1109
1110 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1111 ssize_t and vfork after including auto-host.h.
1112
1113 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1114
1115 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1116 crtend.o to extra_parts.
1117
1118 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
1119
1120 * config/pa/t-dimode (lib2difuncs): Fix typo.
1121
1122 2021-11-25 Florian Weimer <fweimer@redhat.com>
1123
1124 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1125 Remove func, ret.
1126 (find_fde_tail): New function. Split from
1127 _Unwind_IteratePhdrCallback. Move the result initialization
1128 from _Unwind_Find_FDE.
1129 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1130
1131 2021-11-22 Florian Weimer <fweimer@redhat.com>
1132
1133 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1134 (struct unw_eh_callback_data): Make dbase member conditional.
1135 (unw_eh_callback_data_dbase): New function.
1136 (base_from_cb_data): Simplify for the non-dbase case.
1137 (_Unwind_IteratePhdrCallback): Adjust.
1138 (_Unwind_Find_FDE): Likewise.
1139
1140 2021-11-22 Florian Weimer <fweimer@redhat.com>
1141
1142 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1143 tbase member.
1144 (base_from_cb_data): Adjust.
1145 (_Unwind_IteratePhdrCallback): Likewise.
1146 (_Unwind_Find_FDE): Likewise.
1147
1148 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1149
1150 * config.host: Add weak emutls crt to the extra_parts.
1151 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1152 workaround.
1153 * config/libgcc-libsystem.ver: Add exclude list for the system-
1154 provided unwinder.
1155 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1156 * config/i386/libgcc-darwin.10.4.ver: Removed.
1157 * config/i386/libgcc-darwin.10.5.ver: Removed.
1158 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1159 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1160 * config/t-darwin-noeh: New file.
1161
1162 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1163
1164 * config/t-darwin: Build weak-defined emutls objects.
1165 * emutls.c (__emutls_get_address): Add optional attributes.
1166 (__emutls_register_common): Likewise.
1167 (EMUTLS_ATTR): New.
1168
1169 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1170
1171 PR libgcc/103044
1172 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1173 called with a null argument or at the end of the backtrace and return.
1174 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1175
1176 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1177
1178 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1179 formatting fix.
1180
1181 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1182
1183 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1184 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1185
1186 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1187
1188 PR libgomp/96661
1189 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1190 (hppa*64*-*-hpux11*): Likewise.
1191 * config/pa/sfp-exceptions.c: New.
1192 * config/pa/sfp-machine.h: New.
1193 * config/pa/t-dimode: New.
1194 * config/pa/t-softfp-sfdftf: New.
1195
1196 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1197
1198 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1199 tmake_file.
1200 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1201 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1202 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1203 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1204 (LIB1ASMFUNCS): Revise.
1205 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1206
1207 2021-10-22 Stafford Horne <shorne@gmail.com>
1208
1209 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1210 Change to 0.
1211
1212 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1213
1214 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1215 outside of get_regs() in order to use it in another function, this
1216 is done twice: for __powerpc64__ and for !__powerpc64__.
1217 (struct trace_arg): New struct.
1218 (struct layout): New struct.
1219 (ppc_backchain_fallback): New function.
1220 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1221 state and call MD_BACKCHAIN_FALLBACK.
1222
1223 2021-10-13 Martin Liska <mliska@suse.cz>
1224
1225 PR gcov-profile/90364
1226 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1227 checksums.
1228 (write_one_data): Write also checksum.
1229 * libgcov-util.c (read_gcda_file): Read also checksum field.
1230 * libgcov.h (struct gcov_info): Add new field.
1231
1232 2021-10-08 Ian Lance Taylor <iant@golang.org>
1233
1234 * config/i386/morestack.S: Use .init_array for constructor if
1235 available.
1236 * config/rs6000/morestack.S: Likewise.
1237 * config/s390/morestack.S: Likewise.
1238
1239 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1240
1241 PR target/101104
1242 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1243 Use more correct values for native IBM 128-bit.
1244
1245 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1246
1247 * config/i386/libgcc-darwin.ver: Add Symbols for
1248 __cpu_model, __cpu_indicator_init.
1249
1250 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1251
1252 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1253 using __APPLE__.
1254
1255 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1256
1257 * config/t-slibgcc-darwin: Delete unused code.
1258
1259 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1260
1261 * config/i386/t-darwin: Add in a vers file for X86-specific
1262 symbols.
1263 * config/t-darwin: Add the generic symbol maps here...
1264 * config/t-slibgcc-darwin: ... removing from here.
1265 * config/i386/libgcc-darwin.ver: New file.
1266
1267 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1268
1269 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1270 and __mulhc3.
1271
1272 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1273
1274 * config.host: Use convenience library for Darwin10
1275 unwinder shim.
1276 * config/t-darwin: Build Darwin10 unwinder shim as a
1277 convenience library.
1278
1279 2021-09-13 Andrew Pinski <apinski@marvell.com>
1280
1281 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1282 * config/m32r/libgcc-glibc.ver: Removed.
1283 * config/m32r/t-linux: Removed.
1284
1285 2021-09-08 liuhongt <hongtao.liu@intel.com>
1286
1287 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1288 libgcc_s.so.1.
1289
1290 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1291 Iain Sandoe <iain@sandoe.co.uk>
1292
1293 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1294 and export *hf* and *hc* functions at GCC_12.0.0.
1295
1296 2021-09-06 liuhongt <hongtao.liu@intel.com>
1297
1298 * Makefile.in: Adjust to support specific CFLAGS for each
1299 libgcc source file.
1300 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1301 related libgcc source files.
1302 * config/i386/t-softfp: Ditto.
1303 * config/i386/_divhc3.c: New file.
1304 * config/i386/_mulhc3.c: New file.
1305
1306 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1307
1308 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1309 alias_DFtype, alias_TFtype): New.
1310 (ALIAS_SELECTOR): New.
1311 (strong_alias): Use __typeof and a _Generic selector to
1312 provide the type to the synthesized function.
1313
1314 2021-09-02 liuhongt <hongtao.liu@intel.com>
1315
1316 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1317 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1318 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1319 * config/i386/t-softfp: Add hf soft-fp.
1320 * config.host: Add i386/64/t-softfp.
1321 * config/i386/64/t-softfp: New file.
1322
1323 2021-09-02 liuhongt <hongtao.liu@intel.com>
1324
1325 * soft-fp/eqhf2.c: New file.
1326 * soft-fp/extendhfdf2.c: New file.
1327 * soft-fp/extendhfsf2.c: New file.
1328 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1329 * soft-fp/truncdfhf2.c: New file
1330 * soft-fp/truncsfhf2.c: New file
1331
1332 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1333
1334 * unwind-arm-common.inc (abort): Remove.
1335
1336 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1337
1338 * config/aarch64/value-unwind.h: Add missing runtime exception
1339 paragraph.
1340 * config/frv/frv-abi.h: Likewise.
1341 * config/i386/value-unwind.h: Likewise.
1342 * config/pa/pa64-hpux-lib.h: Likewise.
1343
1344 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1345
1346 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1347 __gcc_qadd.
1348 (__gcc_qadd): Call ldouble_qadd_internal.
1349 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1350 argument negated.
1351
1352 2021-08-26 Jonathan Yong <10walls@gmail.com>
1353
1354 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1355 and register_frame_dtor warnings.
1356
1357 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1358
1359 PR target/102035
1360 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1361 Add vlldm erratum work-around.
1362
1363 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1364
1365 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1366
1367 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1368
1369 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1370 (gcov_type_unsigned): Likewise.
1371
1372 2021-08-14 Stafford Horne <shorne@gmail.com>
1373
1374 PR target/99783
1375 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1376 * config/or1k/t-crtstuff: New file.
1377
1378 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1379
1380 * libgcov-driver.c (#include <stdint.h>): Remove.
1381 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1382
1383 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1384
1385 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1386 * gcov.h (gcov_info): Declare.
1387 (__gcov_info_to_gdca): Likewise.
1388 * libgcov.h (gcov_write_counter): Remove.
1389 (gcov_write_tag_length): Likewise.
1390 * libgcov-driver.c (#include <stdint.h>): New.
1391 (#include <string.h>): Remove.
1392 (NEED_L_GCOV): Conditionally define.
1393 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1394 (are_all_counters_zero): New.
1395 (gcov_dump_handler): Likewise.
1396 (gcov_allocate_handler): Likewise.
1397 (dump_unsigned): Likewise.
1398 (dump_counter): Likewise.
1399 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1400 Use dump_unsigned() and dump_counter().
1401 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1402 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1403 (__gcov_info_to_gcda): New.
1404
1405 2021-08-05 Jakub Jelinek <jakub@redhat.com>
1406
1407 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1408 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1409 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1410 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1411
1412 2021-08-04 Jakub Jelinek <jakub@redhat.com>
1413
1414 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1415
1416 2021-07-15 Alan Modra <amodra@gmail.com>
1417
1418 * config/rs6000/morestack.S (R2_SAVE): Define.
1419 (__morestack): Save and restore r2. Set up r2 for called
1420 functions.
1421
1422 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
1423
1424 * soft-fp/extendhfxf2.c: New file.
1425 * soft-fp/truncxfhf2.c: Likewise.
1426
1427 2021-06-29 Julian Brown <julian@codesourcery.com>
1428
1429 * config/gcn/lib2-bswapti2.c: New file.
1430 * config/gcn/lib2-divmod-di.c: New file.
1431 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1432 typedefs.
1433 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1434 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1435 lib2-bswapti2.c.
1436
1437 2021-06-29 Julian Brown <julian@codesourcery.com>
1438
1439 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1440 return types to USItype.
1441 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1442
1443 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
1444
1445 * configure: Regenerate.
1446 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1447 typos among the name, CFLAGS and the test.
1448 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1449 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1450 Remove.
1451 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1452 macro FLOAT128_HW_INSNS_ISA3_1.
1453 (FP128_3_1_CFLAGS_HW): Fix option typo.
1454 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1455 FLOAT128_HW_INSNS_ISA3_1.
1456 (__floattikf_resolve): Likewise.
1457 (__floatuntikf_resolve): Likewise.
1458 (__fixkfti_resolve): Likewise.
1459 (__fixunskfti_resolve): Likewise.
1460 (__floattikf): Likewise.
1461 (__floatuntikf): Likewise.
1462 (__fixkfti): Likewise.
1463 (__fixunskfti): Likewise.
1464
1465 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1466
1467 PR target/99939
1468 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1469 macro.
1470 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1471 on passing -mcmse option.
1472
1473 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1474
1475 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1476 _ARCH_PPC64 .
1477
1478 2021-06-09 Carl Love <cel@us.ibm.com>
1479
1480 * config.host: Add if test and set for
1481 libgcc_cv_powerpc_3_1_float128_hw.
1482 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1483 Change calls of __fixkfti to __fixkfti_sw.
1484 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1485 Change calls of __fixunskfti to __fixunskfti_sw.
1486 * config/rs6000/float128-p10.c (__floattikf_hw,
1487 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1488 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1489 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1490 __fixunskfti_resolve): Add resolve functions.
1491 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1492 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1493 __fixtfti, __fixunstfti): Add editor commands to change names.
1494 * config/rs6000/float128-sed-hw (__floattitf,
1495 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1496 change names.
1497 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1498 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1499 * config/rs6000/quad-float128.h (__floattikf_sw,
1500 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1501 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1502 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1503 * config/rs6000/t-float128 (floattikf, floatuntikf,
1504 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1505 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1506 file names to fp128_ppc_funcs.
1507 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1508 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1509 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1510 * config/rs6000/t-float128-p10-hw: New file.
1511 * configure: Update script for isa 3.1 128-bit float support.
1512 * configure.ac: Add check for 128-bit float hardware support.
1513 * config/rs6000/fixkfti-sw.c: New file.
1514 * config/rs6000/fixunskfti-sw.c: New file.
1515 * config/rs6000/floattikf-sw.c: New file.
1516 * config/rs6000/floatuntikf-sw.c: New file.
1517
1518 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1519
1520 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1521
1522 2021-05-13 Martin Liska <mliska@suse.cz>
1523
1524 * libgcov-driver.c: Fix GNU coding style.
1525
1526 2021-05-10 Martin Liska <mliska@suse.cz>
1527
1528 * libgcov-driver.c (gcov_version): Use different name that does
1529 not clash with newly introduced macro.
1530
1531 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1532
1533 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1534 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1535 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1536
1537 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1538
1539 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1540 Define.
1541 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1542 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1543 Define.
1544 (__divkc3): Improve complex divide.
1545
1546 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
1547
1548 PR target/98952
1549 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1550 trampoline size comparison in 32-bit by reversing test and
1551 combining load immediate with compare.
1552 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1553 in 32-bit by reversing test and combining load immediate with
1554 compare.
1555
1556 2021-04-05 Florian Weimer <fweimer@redhat.com>
1557 Michael Meissner <meissner@linux.ibm.com>
1558
1559 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1560 point functions for $(decimal_float) only.
1561
1562 2021-04-03 Jakub Jelinek <jakub@redhat.com>
1563
1564 PR target/97653
1565 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1566 $(objext) instead of $(object). Use _floatunditf instead of
1567 _floatunsditf. Add tf <-> ti conversion objects.
1568 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1569
1570 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
1571
1572 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1573 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1574 (fp128_decstr_objs): Delete.
1575 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1576 _Float128 to a Decimal type. Call __strtoieee128 to do
1577 conversions from a Decimal type to _Float128.
1578 * config/rs6000/_sprintfkf.c: Delete file.
1579 * config/rs6000/_sprintfkf.h: Delete file.
1580 * config/rs6000/_strtokf.c: Delete file.
1581 * config/rs6000/_strtokf.h: Delete file.
1582
1583 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1584
1585 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1586 to __BYTE_ORDER__.
1587
1588 2021-03-06 Jakub Jelinek <jakub@redhat.com>
1589
1590 PR gcov-profile/99406
1591 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1592 defined, define these macros if not defined already.
1593
1594 2021-03-04 Martin Liska <mliska@suse.cz>
1595
1596 PR gcov-profile/99105
1597 * libgcov-driver.c (write_top_counters): Rename to ...
1598 (write_topn_counters): ... this.
1599 (write_one_data): Pre-allocate buffer for number of items
1600 in the corresponding linked lists.
1601 * libgcov.h (malloc_mmap): New function.
1602 (allocate_gcov_kvp): Use it.
1603
1604 2021-03-04 Martin Liska <mliska@suse.cz>
1605
1606 PR gcov-profile/99385
1607 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1608
1609 2021-03-03 Martin Liska <mliska@suse.cz>
1610
1611 PR gcov-profile/97461
1612 * config.in: Regenerate.
1613 * configure: Likewise.
1614 * configure.ac: Check sys/mman.h header file
1615 * libgcov-driver.c (struct gcov_kvp): Remove static
1616 pre-allocated pool and use a dynamic one.
1617 * libgcov.h (MMAP_CHUNK_SIZE): New.
1618 (gcov_counter_add): Use mmap to allocate pool for struct
1619 gcov_kvp.
1620
1621 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
1622
1623 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1624 the function.
1625 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1626
1627 2021-02-24 Jakub Jelinek <jakub@redhat.com>
1628
1629 PR libgcc/99236
1630 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1631 negation of m in unsigned type.
1632
1633 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1634 Hau Hsu <hsuhau617@gmail.com>
1635
1636 PR target/99157
1637 * config/arm/t-arm: Fix cmse support detection.
1638
1639 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1640
1641 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1642
1643 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
1644
1645 * config/rs6000/_dd_to_kf.c: New file.
1646 * config/rs6000/_kf_to_dd.c: New file.
1647 * config/rs6000/_kf_to_sd.c: New file.
1648 * config/rs6000/_kf_to_td.c: New file.
1649 * config/rs6000/_sd_to_kf.c: New file.
1650 * config/rs6000/_sprintfkf.c: New file.
1651 * config/rs6000/_sprintfkf.h: New file.
1652 * config/rs6000/_strtokf.h: New file.
1653 * config/rs6000/_strtokf.c: New file.
1654 * config/rs6000/_td_to_kf.c: New file.
1655 * config/rs6000/quad-float128.h: Add new declarations.
1656 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1657 (fp128_decstr_funcs): New macro.
1658 (ibm128_dec_funcs): New macro.
1659 (fp128_ppc_funcs): Add the new conversions.
1660 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1661 compiled with -mabi=ieeelongdouble.
1662 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1663 compiled with -mabi=ibmlongdouble.
1664 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1665 compiled with -mabi=ieeelongdouble.
1666 (FP128_CFLAGS_DECIMAL): New macro.
1667 (IBM128_CFLAGS_DECIMAL): New macro.
1668 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1669 (BFP_TO_DFP): Add PowerPC _Float128 support.
1670 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1671 IEEE 128-bit floating point.
1672 (DFP_TO_BFP): Add PowerPC _Float128 support.
1673 (BFP_TO_DFP): Add PowerPC _Float128 support.
1674 (BFP_SPRINTF): New macro.
1675
1676 2021-01-27 Jakub Jelinek <jakub@redhat.com>
1677
1678 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1679 * config/i386/savms64f.h: Likewise.
1680 * config/i386/resms64.h: Likewise.
1681 * config/i386/resms64f.h: Likewise.
1682 * config/i386/resms64x.h: Likewise.
1683 * config/i386/resms64fx.h: Likewise.
1684
1685 2021-01-26 Martin Liska <mliska@suse.cz>
1686
1687 PR gcov-profile/98739
1688 * libgcov.h (gcov_topn_add_value): Do not train when
1689 we have a merged profile with a negative number of total
1690 value.
1691
1692 2021-01-25 Martin Liska <mliska@suse.cz>
1693
1694 PR gcov-profile/98739
1695 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1696 ends with a dropped counter.
1697 * libgcov.h (gcov_topn_add_value): Add return value.
1698
1699 2021-01-13 Stafford Horne <shorne@gmail.com>
1700
1701 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1702 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1703 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1704 FP_EX_ALL): New constant macros.
1705 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1706 FP_HANDLE_EXCEPTIONS): New macros.
1707 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1708
1709 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1710
1711 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1712 posix siginfo case to struct handler_args. Detect between legacy
1713 and siginfo from the second parameter, which is a small sigcode in
1714 the legacy case, and a pointer in the siginfo case.
1715
1716 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1717
1718 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1719 functions.
1720 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1721 _bswapdi2.
1722
1723 2020-12-08 Ian Lance Taylor <iant@golang.org>
1724
1725 * generic-morestack-thread.c (free_segments): Block signals during
1726 thread exit.
1727
1728 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
1729
1730 PR libgcc/97543
1731 PR libgcc/97643
1732 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1733 (IBM128_SHARED_OBJS): New make variable.
1734 (IBM128_OBJS): New make variable. Set all objects to use the
1735 explicit IBM format, and disable gnu attributes.
1736 (IBM128_CFLAGS): New make variable.
1737 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1738 modules.
1739
1740 2020-12-03 Alexandre Oliva <oliva@adacore.com>
1741
1742 * config/t-vxworks (LIB2ADD): Drop.
1743 * config/t-vxworks7 (LIB2ADD): Likewise.
1744 * config/vxcache.c: Remove.
1745
1746 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1747
1748 * libgcc2.c (bswapsi2): Make constants unsigned.
1749
1750 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1751
1752 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1753 builtin_add_overflow.
1754 (absvsi2, absvDI2): Likewise.
1755
1756 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1757
1758 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1759 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1760
1761 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1762
1763 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1764 (if MUL_32): Use mult64_hw for __muldi3.
1765 (if MUL_F5): Use mult64_hw for __muldi3.
1766 * config/msp430/lib2mul.c (__muldi3): New.
1767 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1768
1769 2020-11-17 Alan Modra <amodra@gmail.com>
1770
1771 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1772 (LIB2_SIDITI_CONV_FUNCS): Define.
1773 * config/rs6000/ppc64-fp.c: Delete file.
1774
1775 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1776
1777 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1778 hwmult library functions.
1779
1780 2020-11-10 Jeff Law <law@redhat.com>
1781
1782 * libgcc2.c: Fix whitespace issues in most recent change.
1783
1784 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1785
1786 * libgcc2.c (__addvSI3): Use overflow builtins.
1787 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1788 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1789 (__negvsi2, __negvDI2): Likewise.
1790 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1791 generated code.
1792 * libgcc2.h (__ucmpdi2): Adjust prototype.
1793
1794 2020-11-03 Pat Bernardi <bernardi@adacore.com>
1795 Olivier Hainque <hainque@adacore.com>
1796
1797 * config.host (aarch64-vxworks7*, tmake_file): Add
1798 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1799
1800 2020-11-03 Martin Storsjö <martin@martin.st>
1801
1802 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1803 before calling the callback.
1804
1805 2020-10-30 Olivier Hainque <hainque@adacore.com>
1806 Douglas Rupp <rupp@adacore.com>
1807 Pat Bernardi <bernardi@adacore.com>
1808
1809 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1810 to apply to VxWorks 7 as well.
1811
1812 2020-10-29 Olivier Hainque <hainque@adacore.com>
1813
1814 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1815 controlling the definition of VX_ENTER_TLS_DTOR and
1816 VX_LEAVE_TLS_DTOR based on a version major check.
1817
1818 2020-10-29 Olivier Hainque <hainque@adacore.com>
1819
1820 * config/gthr-vxworks-thread.c: Fix name of macro used
1821 to condition the inclusion of an actual implementation.
1822
1823 2020-10-27 Martin Liska <mliska@suse.cz>
1824
1825 PR gcov-profile/97461
1826 * libgcov.h (gcov_counter_add): Use first static counters
1827 as it should help to have malloc wrappers set up.
1828
1829 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1830
1831 * config/gthr-vxworks-thread.c: #include gthr.h before
1832 testing the guard defined there.
1833 * config/gthr-vxworks-cond.c: Likewise.
1834
1835 2020-10-21 Douglas Rupp <rupp@adacore.com>
1836 Olivier Hainque <hainque@adacore.com>
1837
1838 * config.host (powerpc*-wrs-vxworks7*): New case.
1839 * configure.ac: Handle powerpc*-*-vxworks7* as
1840 powerpc*-*-linux* for ppc-fp_type.
1841 * configure: Regenerate.
1842
1843 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1844
1845 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1846 section on VxWorks >= 6.
1847 * config/gthr-vxworks-thread.c: Condition the entire
1848 implementation on __GTHREAD_CXX0X.
1849
1850 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1851
1852 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1853 section on VxWorks >= 6.
1854 * config/gthr-vxworks-cond.c: Condition the entire
1855 implementation on __GTHREAD_HAS_COND.
1856
1857 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1858
1859 * config/gthr-vxworks.c: #include <taskLib.h>.
1860
1861 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1862
1863 * config/gthr-vxworks.h: Rewrite remaining occurrence
1864 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1865
1866 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1867 Olivier Hainque <hainque@adacore.com>
1868
1869 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1870 except on VxWorks 6.
1871
1872 2020-10-16 Olivier Hainque <hainque@adacore.com>
1873
1874 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1875
1876 2020-10-14 Alexandre Oliva <oliva@adacore.com>
1877
1878 * config/gthr-vxworks-thread.c: Include stdlib.h.
1879 (tls_delete_hook): Prototype it.
1880 (__gthread_cond_signal): Return early if no waiters. Consume
1881 signal in case the semaphore got full. Use semInfoGet instead
1882 of kernel-mode-only semInfo.
1883 (__gthread_cond_timedwait): Use semExchange. Always take the
1884 mutex again before returning.
1885 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1886
1887 2020-10-14 Olivier Hainque <hainque@adacore.com>
1888
1889 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1890 $(MULTISUBDIR) to the -I path for fixed headers, as we
1891 arrange to have different sets of such headers for different
1892 multilibs when they are activated.
1893 * config/t-vxworks7: Likewise.
1894
1895 2020-10-14 Olivier Hainque <hainque@adacore.com>
1896
1897 * config/t-vxworks: Add include-fixed to include search
1898 paths for libgcc on VxWorks.
1899 * config/t-vxworks7: Likewise.
1900
1901 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
1902
1903 PR target/97148
1904 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1905 instead of <cetintrin.h>.
1906
1907 2020-10-01 Alan Modra <amodra@gmail.com>
1908
1909 * config/rs6000/morestack.S,
1910 * config/rs6000/tramp.S: Support __PCREL__ code.
1911
1912 2020-10-01 Alan Modra <amodra@gmail.com>
1913
1914 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1915
1916 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
1917
1918 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1919 variable.
1920
1921 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1922
1923 * config/aarch64/libgcc-softfp.ver: New file.
1924 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1925
1926 2020-09-27 Clement Chigot <clement.chigot@atos.net>
1927
1928 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1929
1930 2020-09-22 Sergei Trofimovich <siarheit@google.com>
1931
1932 PR gcov-profile/96913
1933 * libgcov-driver.c (write_one_data): Avoid function pointer
1934 comparison in TOP streaming decision.
1935
1936 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1937 Christophe Lyon <christophe.lyon@linaro.org>
1938
1939 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1940 qualifier.
1941 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1942 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1943 missing prototypes.
1944
1945 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1946
1947 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1948 unused variable warning.
1949
1950 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
1951
1952 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1953
1954 2020-09-09 Tom de Vries <tdevries@suse.de>
1955
1956 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1957 Wbuiltin-declaration-mismatch.
1958
1959 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1960
1961 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1962 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1963 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1964
1965 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1966
1967 * config/nvptx/atomic.c: New.
1968 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1969
1970 2020-08-03 Ian Lance Taylor <iant@golang.org>
1971
1972 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1973
1974 2020-08-03 Jakub Jelinek <jakub@redhat.com>
1975
1976 PR target/96402
1977 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1978 of x(tmp0), x(tmp1) in STXP arguments.
1979
1980 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
1981
1982 * config/riscv/save-restore.S [__riscv_xlen == 64]
1983 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1984 (__riscv_save_2): Replace negative immediates used for the final
1985 stack pointer adjustment with positive ones, right-shifted by 4.
1986
1987 2020-07-31 Martin Liska <mliska@suse.cz>
1988
1989 * libgcov-driver.c: Add __gcov_kvp_pool
1990 and __gcov_kvp_pool_index variables.
1991 * libgcov.h (allocate_gcov_kvp): New.
1992 (gcov_topn_add_value): Use it.
1993
1994 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1995
1996 * config/aarch64/lse.S: Add PAC property note.
1997
1998 2020-07-23 Martin Liska <mliska@suse.cz>
1999
2000 PR gcov-profile/96035
2001 * libgcov-driver-system.c: Create gcov folders with 0777
2002 so that it respects a system umask.
2003
2004 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
2005
2006 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2007
2008 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2009
2010 PR target/94891
2011 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2012 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2013 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2014 (MD_DEMANGLE_RETURN_ADDR): This.
2015 (aarch64_post_extract_frame_addr): Rename to ...
2016 (aarch64_demangle_return_addr): This.
2017 (aarch64_post_frob_eh_handler_addr): Remove.
2018 * unwind-dw2.c (uw_update_context): Demangle return address.
2019 (uw_frob_return_addr): Remove.
2020
2021 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2022
2023 PR target/96001
2024 * config/aarch64/lse.S: Add BTI marking and related definitions,
2025 and add BTI c to function entries.
2026
2027 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2028
2029 * config/aarch64/lse.S: Add stack note.
2030
2031 2020-07-02 Martin Liska <mliska@suse.cz>
2032
2033 PR gcov-profile/95348
2034 * libgcov-driver.c (merge_one_data): Merge only profiles
2035 that are not of non-zero type.
2036 (write_one_data): Write counters only if there's one non-zero
2037 value.
2038 * libgcov-util.c (tag_function): Change signature from unsigned
2039 to int.
2040 (tag_blocks): Likewise.
2041 (tag_arcs): Likewise.
2042 (tag_counters): Likewise.
2043 (tag_summary): Likewise.
2044 (tag_lines): Read only if COUNTERS is non-zero.
2045 (read_gcda_file): Handle negative length for COUNTERS type.
2046
2047 2020-06-25 Martin Liska <mliska@suse.cz>
2048
2049 * libgcov-driver.c (merge_summary): Remove function as its name
2050 is misleading and doing something different.
2051 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2052 in gcov-tool.
2053 * libgcov-util.c (curr_object_summary): Remove.
2054 (read_gcda_file): Remove unused curr_object_summary.
2055 (gcov_merge): Merge summaries.
2056 * libgcov.h: Add summary argument for gcov_info struct.
2057
2058 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2059
2060 PR target/95259
2061 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2062 "common/config/i386/i386-cpuinfo.h" and
2063 "common/config/i386/cpuinfo.h".
2064 (__cpu_features2): Changed to array.
2065 (get_amd_cpu): Removed.
2066 (get_intel_cpu): Likewise.
2067 (get_available_features): Likewise.
2068 (__cpu_indicator_init): Call cpu_indicator_init.
2069 * config/i386/cpuinfo.h: Removed.
2070
2071 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
2072
2073 * Makefile.in: Remove uses of empty.mk. Use -include.
2074 * config/avr/t-avr: Use -include.
2075 * empty.mk: Delete.
2076
2077 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
2078
2079 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2080 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2081 and 64 bit with -maix64.
2082 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2083 Build and install AIX-style FAT libraries.
2084
2085 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2086
2087 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2088 'i386/gnu-unwind.h'
2089 * config/i386/gnu-unwind.h: New file.
2090
2091 2020-06-17 Martin Liska <mliska@suse.cz>
2092
2093 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2094 (merge_wrapper): Add both counts and use them properly.
2095 (topn_to_memory_representation): New function.
2096 (gcov_merge): Covert on disk representation to in memory
2097 representation.
2098 * libgcov.h: Remove const operator.
2099
2100 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2101
2102 * configure: Regenerate.
2103 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2104 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2105
2106 2020-06-09 Martin Liska <mliska@suse.cz>
2107
2108 PR gcov-profile/95494
2109 * libgcov-driver.c (write_top_counters): Cast first to
2110 intptr_t as sizeof(*) != sizeof(gcov_type).
2111 * libgcov.h (gcov_counter_set_if_null): Remove.
2112 (gcov_topn_add_value): Cast first to intptr_t and update
2113 linked list directly.
2114
2115 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2116
2117 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2118 with uw_install_context_1.
2119
2120 2020-06-04 Andreas Schwab <schwab@suse.de>
2121
2122 PR target/59230
2123 PR libfortran/59227
2124 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2125 soft-fp/divtf3.c.
2126 (LIB2ADD): Add config/ia64/divtf3.c.
2127 * config/ia64/divtf3.c: New file.
2128
2129 2020-06-03 Martin Liska <mliska@suse.cz>
2130
2131 PR gcov-profile/95480
2132 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2133 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2134 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2135 (gcov_counter_set_if_null): Likewise.
2136
2137 2020-06-02 Jim Wilson <jimw@sifive.com>
2138
2139 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2140 to bgtz.
2141
2142 2020-06-02 Martin Liska <mliska@suse.cz>
2143
2144 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2145 of xmalloc.
2146
2147 2020-06-02 Martin Liska <mliska@suse.cz>
2148
2149 * libgcov-driver.c (prune_topn_counter): Remove.
2150 (prune_counters): Likewise.
2151 (merge_one_data): Special case TOP N counters
2152 as they have variable length.
2153 (write_top_counters): New.
2154 (write_one_data): Special case TOP N.
2155 (dump_one_gcov): Do not prune TOP N counters.
2156 * libgcov-merge.c (merge_topn_values_set): Remove.
2157 (__gcov_merge_topn): Use gcov_topn_add_value.
2158 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2159 Likewise here.
2160 * libgcov.h (gcov_counter_add): New.
2161 (gcov_counter_set_if_null): Likewise.
2162 (gcov_topn_add_value): New.
2163
2164 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2165
2166 * config/i386/sfp-exceptions.c (struct fenv):
2167 Add __attribute__ ((gcc_struct)).
2168
2169 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
2170
2171 PR bootstrap/95413
2172 * configure: Regenerated.
2173
2174 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2175
2176 PR gcov-profile/95332
2177 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2178 * libgcov.h (gcov_magic): Disable GCC poison.
2179
2180 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2181
2182 PR target/95212
2183 * config/i386/cpuinfo.h (processor_features): Move
2184 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2185
2186 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2187
2188 PR target/91695
2189 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2190 check.
2191
2192 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2193
2194 PR target/95212
2195 PR target/95220
2196 * config/i386/cpuinfo.c (get_available_features): Fix
2197 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2198 * config/i386/cpuinfo.h (processor_features): Add
2199 FEATURE_AVX512VP2INTERSECT.
2200
2201 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2202
2203 PR bootstrap/95147
2204 * configure: Regenerated.
2205
2206 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2207
2208 * configure: Regenerated.
2209
2210 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2211
2212 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2213 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2214
2215 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2216
2217 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2218 (__math_force_eval_div): New define.
2219 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2220 generic division to generate INVALID, DIVZERO and INEXACT
2221 exceptions.
2222
2223 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2224
2225 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2226 instead of getauxval.
2227 (AT_HWCAP): Define.
2228 (HWCAP_ATOMICS): Define.
2229 Guard detection on __gnu_linux__.
2230
2231 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2232
2233 * config.host: Delete changes meant for a private branch.
2234 * config/rs6000/t-float128: Likewise.
2235 * configure.ac: Likewise.
2236 * configure: Likewise.
2237
2238 2020-05-05 Martin Liska <mliska@suse.cz>
2239
2240 PR gcov-profile/93623
2241 * Makefile.in: Remove __gcov_flush.
2242 * gcov.h (__gcov_flush): Remove.
2243 * libgcov-interface.c (__gcov_flush): Remove.
2244 (init_mx): Use renamed mutex.
2245 (__gcov_lock): Likewise.
2246 (__gcov_unlock): Likewise.
2247 (__gcov_fork): Likewise.
2248 (__gcov_flush): Remove.
2249
2250 2020-05-05 Martin Liska <mliska@suse.cz>
2251
2252 PR gcov-profile/93623
2253 * libgcov-interface.c (__gcov_fork): Do not flush
2254 and reset only in child process.
2255 (__gcov_execl): Dump counters only and reset them
2256 only if exec* fails.
2257 (__gcov_execlp): Likewise.
2258 (__gcov_execle): Likewise.
2259 (__gcov_execv): Likewise.
2260 (__gcov_execvp): Likewise.
2261 (__gcov_execve): Likewise.
2262
2263 2020-05-05 Martin Liska <mliska@suse.cz>
2264
2265 PR gcov-profile/93623
2266 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2267 * libgcov-interface.c (ALIAS_void_fn): Remove.
2268 (__gcov_lock): New.
2269 (__gcov_unlock): New.
2270 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2271 (__gcov_reset): Likewise.
2272 (__gcov_dump): Likewise.
2273 * libgcov.h (__gcov_lock): New declaration.
2274 (__gcov_unlock): Likewise.
2275
2276 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2277
2278 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2279 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2280 generic division to generate INVALID and DIVZERO exceptions.
2281
2282 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2283
2284 * config/rs6000/crtresfpr.S: Use .machine ppc.
2285 * config/rs6000/crtresxfpr.S: Likewise.
2286 * config/rs6000/crtsavfpr.S: Likewise.
2287
2288 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2289
2290 PR target/94514
2291 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2292 Update context->flags accroding to the frame state.
2293
2294 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2295
2296 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2297 Remove unneeded assignments to volatile memory.
2298
2299 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2300
2301 PR target/93053
2302 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2303 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2304 is not defined, use just .arch armv8-a.
2305 (B, M, N, OPN): Define.
2306 (COMMENT): New .macro.
2307 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2308 defined. Otherwise, move the operands right after the glue? and
2309 comment out operands where the macros are used.
2310 * configure: Regenerated.
2311 * config.in: Regenerated.
2312
2313 2020-04-07 Ian Lance Taylor <iant@golang.org>
2314
2315 PR libgcc/94513
2316 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2317 syscall instead.
2318
2319 2020-04-04 Ian Lance Taylor <iant@golang.org>
2320
2321 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2322
2323 2020-04-03 Ian Lance Taylor <iant@golang.org>
2324
2325 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2326 than mmap/munmap, to avoid hooks.
2327
2328 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2329
2330 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2331 (TPFRA_OFFSET): Macros removed.
2332 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2333 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2334 (PG3_SKIPPING_OFFSET): New macros.
2335 (__isPATrange): Use cinfc_fast for the check.
2336 (__isSkipResetAddr): New function.
2337 (s390_fallback_frame_state): Check for skip trace addresses. Use
2338 either ICST_CRET or ICST_SRET to calculate return address
2339 location.
2340 (__tpf_eh_return): Handle skip trace addresses.
2341
2342 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2343
2344 PR target/94220
2345 * config/arm/lib1funcs.asm (COND): Use a single definition for
2346 unified syntax.
2347 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2348 (aeabi_idivmod): Likewise.
2349 (divsi3_skip_div0_test): Likewise.
2350
2351 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2352
2353 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2354
2355 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2356
2357 * config.host: Include the new makefile fragment.
2358 * config/s390/t-tpf: New file.
2359
2360 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2361
2362 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2363 syntax.
2364 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2365 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2366 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2367 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2368 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2369 syntax.
2370 (divsi3, modsi3): Likewise.
2371 (clzdi2, ctzsi2): Likewise.
2372 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2373 unified syntax.
2374 (UNWIND_WRAPPER): Likewise.
2375
2376 2020-03-02 Martin Liska <mliska@suse.cz>
2377
2378 * libgcov-interface.c: Remove duplicate
2379 declaration of __gcov_flush_mx.
2380
2381 2020-02-18 Martin Liska <mliska@suse.cz>
2382
2383 PR ipa/92924
2384 * libgcov-merge.c (merge_topn_values_set): Record
2385 when a TOP N counter becomes invalid. When merging
2386 remove a smallest value if the space is needed.
2387
2388 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2389
2390 PR libstdc++/79193
2391 PR libstdc++/88999
2392
2393 * configure: Regenerated.
2394
2395 2020-02-10 Jeff Law <law@redhat.com>
2396
2397 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2398 sections.
2399 * config/frv/frvend.c: Similarly.
2400
2401 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2402
2403 PR libgcc/85334
2404 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2405 New.
2406
2407 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2408
2409 PR target/93615
2410 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2411 _Unwind_gnu_Find_got.
2412 * unwind-pe.h: Likewise.
2413
2414 2020-02-07 Jakub Jelinek <jakub@redhat.com>
2415
2416 PR target/93615
2417 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2418 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2419 trailing :s in asm. Formatting fixes.
2420 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2421
2422 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2423
2424 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2425
2426 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2427 * config/nios2-elf-lib.h: New.
2428 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2429 code for finding GOT base for nios2.
2430
2431 2020-01-27 Martin Liska <mliska@suse.cz>
2432
2433 PR gcov-profile/93403
2434 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2435 Call __gcov_indirect_call_profiler_body.
2436 (__gcov_indirect_call_profiler_body): New.
2437 (__gcov_indirect_call_profiler_v4_atomic): New.
2438 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2439 New declaration.
2440
2441 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2442
2443 * config/arc/crti.S: Add RF16 object attribute.
2444 * config/arc/crtn.S: Likewise.
2445 * config/arc/crttls.S: Likewise.
2446 * config/arc/lib1funcs.S: Likewise.
2447 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2448 * config/arc/lib2funcs.c: New file.
2449 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2450
2451 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
2452
2453 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2454 * configure.ac: Handle `--with-toolexeclibdir='.
2455 * configure: Regenerate.
2456
2457 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2458
2459 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2460
2461 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2462
2463 * config/mips/gnustack.h: New file.
2464 * config/mips/crti.S: Include gnustack.h.
2465 * config/mips/crtn.S: Likewise.
2466 * config/mips/mips16.S: Likewise.
2467 * config/mips/vr4120-div.S: Likewise.
2468
2469 2020-01-23 Martin Liska <mliska@suse.cz>
2470
2471 * libgcov-driver.c (prune_topn_counter): Remove
2472 check for -1 as we only prune run-time counters
2473 that do not generate an invalid state.
2474
2475 2020-01-22 Martin Liska <mliska@suse.cz>
2476
2477 PR tree-optimization/92924
2478 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2479 try to find an existing value, then find an empty slot
2480 if not found.
2481
2482 2020-01-22 Martin Liska <mliska@suse.cz>
2483
2484 PR tree-optimization/92924
2485 * libgcov-driver.c (prune_topn_counter): New.
2486 (prune_counters): Likewise.
2487 (dump_one_gcov): Prune a run-time counter.
2488 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2489 For a known value, add GCOV_TOPN_VALUES to value.
2490 Otherwise, decrement all counters by one.
2491
2492 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
2493
2494 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2495
2496 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
2497
2498 PR libgcc/92988
2499 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2500 DEFAULT_USE_CXA_ATEXIT is true.
2501
2502 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
2503 Thomas Preud'homme <thomas.preudhomme@arm.com>
2504
2505 * config/arm/t-arm: Check return value of gcc rather than lack of
2506 output.
2507
2508 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
2509
2510 * config/avr/lib1funcs.S (skip): Simplify.
2511
2512 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2513
2514 * config/gcn/atomic.c: Remove include of stdint.h.
2515 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2516 __UINTPTR_TYPE__.
2517
2518 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2519
2520 * config/gcn/atomic.c: New.
2521 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2522
2523 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
2524
2525 Implement 64-bit double functions.
2526
2527 PR target/92055
2528 * config.host (tmake_file) [target=avr]: Add t-libf7,
2529 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2530 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2531 depending on sizeof (double) or sizeof (long double).
2532 * config/avr/libf7: New folder.
2533
2534 2020-01-05 Olivier Hainque <hainque@adacore.com>
2535
2536 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2537 by IN_LIBGCC2.
2538
2539 2020-01-01 Jakub Jelinek <jakub@redhat.com>
2540
2541 Update copyright years.
2542
2543 2019-12-30 Olivier Hainque <hainque@adacore.com>
2544
2545 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2546 * config/gthr-vxworks-tls.c: Likewise.
2547
2548 2019-12-30 Olivier Hainque <hainque@adacore.com>
2549
2550 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2551 standard zero-initializer syntax.
2552
2553 2019-12-30 Olivier Hainque <hainque@adacore.com>
2554
2555 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2556 reference to the internal VX_GET_TLS_DATA interface.
2557
2558 2019-12-30 Olivier Hainque <hainque@adacore.com>
2559
2560 * config/vxcrtstuff.c: Fix incorrect spelling of
2561 USE_INITFINI_ARRAY in guard.
2562
2563 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2564
2565 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2566 Override default "extra_parts" variable.
2567 * configure: Regenerate.
2568 * configure.ac: Disable TM clone registry by default for
2569 msp430-elfbare.
2570
2571 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2572
2573 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2574 "extra_parts".
2575 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2576
2577 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2578
2579 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2580 true.
2581
2582 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2583
2584 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2585 defined instead of its value.
2586
2587 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2588
2589 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2590 if it will have contents.
2591
2592 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
2593
2594 PR target/92055
2595 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2596
2597 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2598
2599 PR libgcc/91737
2600 * config.host: Add t-gthr-noweak on *-*-musl*.
2601 * config/t-gthr-noweak: New file.
2602
2603 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
2604
2605 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2606 volatile void *. Remove trap check.
2607 (__kernel_cmpxchg2): Likewise.
2608 (FETCH_AND_OP_2): Adjust operand types.
2609 (OP_AND_FETCH_2): Likewise.
2610 (FETCH_AND_OP_WORD): Likewise.
2611 (OP_AND_FETCH_WORD): Likewise.
2612 (COMPARE_AND_SWAP_2): Likewise.
2613 (__sync_val_compare_and_swap_4): Likewise.
2614 (__sync_bool_compare_and_swap_4): Likewise.
2615 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2616 (__sync_lock_test_and_set_4): Likewise.
2617 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2618 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2619 for release.
2620 (__sync_lock_release_8): Remove.
2621
2622 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2623
2624 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2625 of __sigset_t.
2626
2627 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
2628 Doug Rupp <rupp@adacore.com>
2629 Olivier Hainque <hainque@adacore.com>
2630
2631 * config.host: Collapse the arm-vxworks entries into
2632 a single arm-wrs-vxworks7* one.
2633 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2634 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2635 kernel modules, to be overriden by libstdc++ when we link with
2636 it. Rely on externally provided __exidx_start/end.
2637
2638 2019-11-14 Doug Rupp <rupp@adacore.com>
2639 Olivier Hainque <hainque@adacore.com>
2640
2641 * config.host: Handle aarch64*-wrs-vxworks7*.
2642
2643 2019-11-12 Olivier Hainque <hainque@adacore.com>
2644
2645 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2646 sources except the cxx0x support to LIB2ADDEH. We don't support
2647 cxx0x on AE/653.
2648 * config/t-vxworksae: New file.
2649 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2650 Makefile fragment files at their expected position in the tmake_file
2651 list, in accordance with what is done for other VxWorks variants.
2652
2653 2019-11-12 Corentin Gay <gay@adacore.com>
2654 Jerome Lambourg <lambourg@adacore.com>
2655 Olivier Hainque <hainque@adacore.com>
2656
2657 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2658 sources to LIB2ADDEH.
2659 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2660 * config/t-vxworks7: Likewise.
2661
2662 * config.host: Append a block at the end of the file to add the
2663 t-gthr files to the tmake_file list for VxWorks after everything
2664 else.
2665
2666 * config/vxlib.c: Rename as gthr-vxworks.c.
2667 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2668
2669 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2670 API and a basic error checking API, both internal. Simplify the
2671 __gthread_once_t type definition and initializers. Add sections
2672 for condition variables support and for the C++0x thread support,
2673 conditioned against Vx653 for the latter.
2674
2675 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2676 implementation, leveraging the TAS internal API.
2677 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2678 API, leveraging the general availability of TLS services in VxWorks7
2679 post SR6xxx.
2680 (__gthread_setspecific, __gthread_setspecific): Use it.
2681 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2682 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2683 support based on VxWorks primitives.
2684 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2685 based on VxWorks primitives.
2686
2687 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
2688 Olivier Hainque <hainque@adacore.com>
2689
2690 * config/vxcrtstuff.c: New file.
2691 * config/t-vxcrtstuff: New Makefile fragment.
2692 * config.host: Append t-vxcrtstuff to the tmake_file list
2693 on all VxWorks ports using dwarf for table based EH.
2694
2695 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
2696
2697 Support 64-bit double and 64-bit long double configurations.
2698
2699 PR target/92055
2700 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2701 long double is a 32-bit type.
2702 * config/avr/t-avrlibc: Copy double64 and long-double64
2703 multilib(s) from the vanilla one.
2704 * config/avr/t-copy-libgcc: New Makefile snip.
2705
2706 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2707
2708 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2709 the target output object format is not ELF.
2710 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2711
2712 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2713
2714 PR libgcc/78804
2715 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2716 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2717 FLOAT_BIT_ORDER_MISMATCH.
2718 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2719
2720 2019-11-01 Jim Wilson <jimw@sifive.com>
2721
2722 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2723
2724 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2725
2726 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2727 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2728 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2729 Define symbols for 32-bit and f5series hardware multiply
2730 register addresses.
2731 Replace hard-coded register addresses with symbols.
2732 Fix "_mspabi*" typo.
2733 Fix whitespace.
2734 * config/msp430/lib2mul.c: Add comment.
2735
2736 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
2737
2738 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2739 unsigned int. Adjust callers.
2740 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2741 unsigned int *. Load relocation offset before function pointer.
2742 Add barrier to ensure ordering.
2743
2744 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
2745
2746 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2747 Load PIC register after branch target. Fix white space.
2748 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2749 implementations. Load PIC register after branch target. Don't
2750 clobber function pointer when it points to function descriptor.
2751 Use nullification instead of branch in LINUX implementation.
2752
2753 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
2754
2755 * config/pa/fptr.c: Disable -Warray-bounds warning.
2756
2757 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
2758
2759 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2760 not the ubuntu modified 2.69.
2761
2762 PR target/91833
2763 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2764 initialization if !HAVE_SYS_AUXV_H.
2765 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2766 * config.in, configure: Rebuild.
2767
2768 PR target/91834
2769 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2770 overlap the inputs.
2771
2772 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2773
2774 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2775 CTR_EL0.IDC and CTR_EL0.DIC.
2776
2777 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
2778
2779 Revert:
2780 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2781 Mickaël Guêné <mickael.guene@st.com>
2782
2783 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2784 architecture.
2785
2786 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
2787
2788 * config/aarch64/lse-init.c: New file.
2789 * config/aarch64/lse.S: New file.
2790 * config/aarch64/t-lse: New file.
2791 * config.host: Add t-lse to all aarch64 tuples.
2792
2793 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2794 Mickaël Guêné <mickael.guene@st.com>
2795
2796 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2797 architecture.
2798
2799 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2800 Mickaël Guêné <mickael.guene@st.com>
2801
2802 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2803 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2804 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2805 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2806 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2807 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2808 (__gnu_personality_sigframe_fdpic): New.
2809 (get_eit_entry): Add FDPIC signal frame support.
2810
2811 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2812 Mickaël Guêné <mickael.guene@st.com>
2813
2814 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2815 (__kernel_dmb): Likewise.
2816 (__fdpic_cmpxchg): New function.
2817 (__fdpic_dmb): New function.
2818 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2819 (gnu_Unwind_Find_got): New function.
2820 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2821 * unwind-arm-common.inc (UCB_PR_GOT): New.
2822 (funcdesc_t): New struct.
2823 (get_eit_entry): Add FDPIC support.
2824 (unwind_phase2): Likewise.
2825 (unwind_phase2_forced): Likewise.
2826 (__gnu_Unwind_RaiseException): Likewise.
2827 (__gnu_Unwind_Resume): Likewise.
2828 (__gnu_Unwind_Backtrace): Likewise.
2829 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2830
2831 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2832 Mickaël Guêné <mickael.guene@st.com>
2833
2834 * libgcc/crtstuff.c: Add support for FDPIC.
2835
2836 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2837
2838 * config.host: Handle *-*-uclinuxfdpiceabi.
2839
2840 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2841
2842 * config.host: Set cpu_type for bpf-*-* targets.
2843 * config/bpf/t-bpf: Likewise.
2844 * config/bpf/crtn.S: Likewise.
2845 * config/bpf/crti.S: New file.
2846
2847 2019-09-06 Jim Wilson <jimw@sifive.com>
2848
2849 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2850 (riscv*-*-freebsd*): Likewise.
2851
2852 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2853
2854 * config.host: Remove references to spu.
2855 * config/spu/: Remove directory.
2856
2857 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2858
2859 PR target/91306
2860 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2861 element type, instead of "sizeof" the element type.
2862 (__DTOR_LIST__): Likewise.
2863 (__TMC_LIST__): Likewise.
2864 (__do_global_dtors_aux_fini_array_entry): Likewise.
2865 (__frame_dummy_init_array_entry): Likewise.
2866 (__CTOR_END__): Likewise.
2867 (__DTOR_END__): Likweise.
2868 (__FRAME_END__): Likewise.
2869 (__TMC_END__): Likewise.
2870
2871 2019-08-20 Lili Cui <lilicui@intel.com>
2872
2873 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2874 INTEL_COREI7_COOPERLAKE.
2875
2876 2019-07-31 Matt Thomas <matt@3am-software.com>
2877 Nick Hudson <nick@nthcliff.demon.co.uk>
2878 Matthew Green <mrg@eterna.com.au>
2879 Maya Rashish <coypu@sdf.org>
2880
2881 * config.host (hppa*-*-netbsd*): New case.
2882 * config/pa/t-netbsd: New file.
2883
2884 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2885
2886 * config/arm/cmse.c (cmse_check_address_range): Add
2887 warn_unused_result attribute.
2888
2889 2019-07-22 Martin Liska <mliska@suse.cz>
2890
2891 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2892 * config/pa/t-stublib: Likewise.
2893
2894 2019-07-22 Stafford Horne <shorne@gmail.com>
2895
2896 PR target/90362
2897 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2898 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2899 instructions are not available on every processor. Change a
2900 l.bnf to l.bf to fix logic issue.
2901
2902 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2903
2904 * config.host: Remove reference to t-darwin8.
2905
2906 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2907
2908 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2909 list.
2910 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2911 mmacosx-version-min for crts to run across all system versions.
2912 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2913 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2914 system versions >= 10.4.
2915
2916 2019-07-03 Martin Liska <mliska@suse.cz>
2917
2918 * Makefile.in: Use topn_values instead of one_value names.
2919 * libgcov-merge.c (__gcov_merge_single): Move to ...
2920 (__gcov_merge_topn): ... this.
2921 (merge_single_value_set): Move to ...
2922 (merge_topn_values_set): ... this.
2923 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2924 ...
2925 (__gcov_topn_values_profiler_body): ... this.
2926 (__gcov_one_value_profiler_v2): Move to ...
2927 (__gcov_topn_values_profiler): ... this.
2928 (__gcov_one_value_profiler_v2_atomic): Move to ...
2929 (__gcov_topn_values_profiler_atomic): ... this.
2930 (__gcov_indirect_call_profiler_v4): Remove.
2931 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2932 (__gcov_topn_counter_op): ... this.
2933 * libgcov.h (L_gcov_merge_single): Remove.
2934 (L_gcov_merge_topn): New.
2935 (__gcov_merge_single): Remove.
2936 (__gcov_merge_topn): New.
2937 (__gcov_one_value_profiler_v2): Move to ..
2938 (__gcov_topn_values_profiler): ... this.
2939 (__gcov_one_value_profiler_v2_atomic): Move to ...
2940 (__gcov_topn_values_profiler_atomic): ... this.
2941
2942 2019-07-03 Martin Liska <mliska@suse.cz>
2943
2944 * libgcov-merge.c (merge_single_value_set): Support N values.
2945 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2946
2947 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2948
2949 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2950 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2951 * configure.ac: Add --disable-tm-clone-registry option.
2952 * configure: Regenerate.
2953
2954 2019-06-27 Martin Liska <mliska@suse.cz>
2955
2956 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2957 dead assignments.
2958 * libgcov-util.c: Likewise.
2959
2960 2019-06-27 Martin Liska <mliska@suse.cz>
2961
2962 * libgcov-util.c (gcov_profile_merge): Release allocated
2963 memory.
2964 (calculate_overlap): Likewise.
2965
2966 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2967
2968 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2969 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2970 Build objects for the out of line save/restore register functions
2971 so that they can be used for any supported Darwin version.
2972 * config/t-darwin: Default the build Darwin version to Darwin8
2973 (MacOS 10.4).
2974
2975 2019-06-25 Martin Liska <mliska@suse.cz>
2976
2977 * libgcov-driver-system.c (replace_filename_variables): Do not
2978 call strlen with NULL argument.
2979
2980 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
2981
2982 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2983 * config/gcn/unwind-gcn.c: New file.
2984
2985 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2986 Andrew Stubbs <ams@codesourcery.com>
2987
2988 * configure: Regenerate.
2989 * config/gcn/gthr-gcn.h: New.
2990
2991 2019-06-18 Tom de Vries <tdevries@suse.de>
2992
2993 * config/nvptx/crt0.c (__main): Declare.
2994
2995 2019-06-17 Matthew Green <mrg@eterna.com.au>
2996 Maya Rashish <coypu@sdf.org>
2997
2998 * config.host (aarch64*-*-netbsd*): New case.
2999
3000 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3001
3002 * config/msp430/slli.S (__mspabi_sllll): New library function for
3003 performing a logical left shift of a 64-bit value.
3004 * config/msp430/srai.S (__mspabi_srall): New library function for
3005 performing a arithmetic right shift of a 64-bit value.
3006 * config/msp430/srll.S (__mspabi_srlll): New library function for
3007 performing a logical right shift of a 64-bit value.
3008
3009 2019-06-14 Matt Thomas <matt@3am-software.com>
3010 Matthew Green <mrg@eterna.com.au>
3011 Nick Hudson <skrll@netbsd.org>
3012 Maya Rashish <coypu@sdf.org>
3013
3014 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3015 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3016 functions to build.
3017 * config/arm/t-netbsd-eabi: New file.
3018
3019 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3020
3021 * config.host: Add PRU target.
3022 * config/pru/asri.c: New file.
3023 * config/pru/eqd.c: New file.
3024 * config/pru/eqf.c: New file.
3025 * config/pru/ged.c: New file.
3026 * config/pru/gef.c: New file.
3027 * config/pru/gtd.c: New file.
3028 * config/pru/gtf.c: New file.
3029 * config/pru/led.c: New file.
3030 * config/pru/lef.c: New file.
3031 * config/pru/lib2bitcountHI.c: New file.
3032 * config/pru/lib2divHI.c: New file.
3033 * config/pru/lib2divQI.c: New file.
3034 * config/pru/lib2divSI.c: New file.
3035 * config/pru/libgcc-eabi.ver: New file.
3036 * config/pru/ltd.c: New file.
3037 * config/pru/ltf.c: New file.
3038 * config/pru/mpyll.S: New file.
3039 * config/pru/pru-abi.h: New file.
3040 * config/pru/pru-asm.h: New file.
3041 * config/pru/pru-divmod.h: New file.
3042 * config/pru/sfp-machine.h: New file.
3043 * config/pru/t-pru: New file.
3044
3045 2019-06-11 Jakub Jelinek <jakub@redhat.com>
3046
3047 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3048
3049 2019-06-10 Martin Liska <mliska@suse.cz>
3050
3051 PR bootstrap/90808
3052 * libgcov.h: Add ATTRIBUTE_UNUSED.
3053
3054 2019-06-10 Martin Liska <mliska@suse.cz>
3055
3056 * Makefile.in: Add __gcov_one_value_profiler_v2,
3057 __gcov_one_value_profiler_v2_atomic and
3058 __gcov_indirect_call_profiler_v4.
3059 * libgcov-merge.c (__gcov_merge_single): Change
3060 function signature.
3061 (merge_single_value_set): New.
3062 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3063 Update functionality.
3064 (__gcov_one_value_profiler): Remove.
3065 (__gcov_one_value_profiler_v2): ... this.
3066 (__gcov_one_value_profiler_atomic): Rename to ...
3067 (__gcov_one_value_profiler_v2_atomic): this.
3068 (__gcov_indirect_call_profiler_v3): Rename to ...
3069 (__gcov_indirect_call_profiler_v4): ... this.
3070 * libgcov.h (__gcov_one_value_profiler): Remove.
3071 (__gcov_one_value_profiler_atomic): Remove.
3072 (__gcov_one_value_profiler_v2_atomic): New.
3073 (__gcov_indirect_call_profiler_v3): Remove.
3074 (__gcov_one_value_profiler_v2): New.
3075 (__gcov_indirect_call_profiler_v4): New.
3076 (gcov_get_counter_ignore_scaling): New function.
3077
3078 2019-06-07 Martin Liska <mliska@suse.cz>
3079
3080 * Makefile.in: Remove usage of
3081 _gcov_merge_icall_topn.
3082 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3083 (gcov_sort_icall_topn_counter): Likewise.
3084 (gcov_sort_topn_counter_arrays): Likewise.
3085 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3086 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3087 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3088 Likewise.
3089 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3090 (struct indirect_call_tuple): Remove.
3091 (__gcov_indirect_call_topn_profiler): Remove.
3092 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3093 * libgcov.h (gcov_sort_n_vals): Remove.
3094 (L_gcov_merge_icall_topn): Likewise.
3095 (__gcov_merge_icall_topn): Likewise.
3096 (__gcov_indirect_call_topn_profiler): Likewise.
3097
3098 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3099
3100 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3101 altivec enabled.
3102
3103 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3104
3105 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3106 section.
3107 (__mspabi_slli): Likewise.
3108 (__mspabi_slll_n): Likewise.
3109 (__mspabi_slll): Likewise.
3110 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3111 (__mspabi_srai): Likewise.
3112 (__mspabi_sral_n): Likewise.
3113 (__mspabi_sral): Likewise.
3114 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3115 (__mspabi_srli): Likewise.
3116 (__mspabi_srll_n): Likewise.
3117 (__mspabi_srll): Likewise.
3118
3119 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3120
3121 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3122 Add appropriate tm_file clause as well.
3123 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3124
3125 2019-06-05 James Clarke <jrtc27@jrtc27.com>
3126
3127 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3128 rather than .data/.bss so it can be accessed via gp-relative
3129 addressing.
3130
3131 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
3132
3133 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3134 (CR2_REGNO): Rename to R_CR2.
3135 (XER_REGNO): Rename to R_XER.
3136 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3137 (VRSAVE_REGNO): Rename to R_VRSAVE.
3138 (VSCR_REGNO): R_VSCR.
3139
3140 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3141
3142 * config.host (rx-*-linux*): Add new case.
3143 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3144
3145 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3146
3147 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3148 function.
3149 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3150 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3151 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3152 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3153 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3154 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3155 string.
3156 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3157 string.
3158 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3159
3160 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3161
3162 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3163 Remove Solaris 9 and 10 support.
3164 (sparc_is_sighandler): Likewise.
3165
3166 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
3167
3168 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3169
3170 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3171
3172 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3173 4_FP_W_TYPEs are used for IEEE quad precision.
3174 * soft-fp/extendhftf2.c: Likewise.
3175 * soft-fp/extendsftf2.c: Likewise.
3176 * soft-fp/extendxftf2.c: Likewise.
3177 * soft-fp/trunctfdf2.c: Likewise.
3178 * soft-fp/trunctfhf2.c: Likewise.
3179 * soft-fp/trunctfsf2.c: Likewise.
3180 * soft-fp/trunctfxf2.c: Likewise.
3181 * config/rs6000/ibm-ldouble.c: Likewise.
3182
3183 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3184
3185 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3186 *-*-solaris2*.
3187 * configure.ac: Likewise.
3188 * configure: Regenerate.
3189
3190 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3191 Solaris 10 and Solaris 11 < snv_125 handling.
3192
3193 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3194
3195 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3196
3197 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3198
3199 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3200 * config/i386/cpuinfo.h (enum processor_features): Add
3201 FEATURE_AVX512BF16.
3202
3203 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3204 Bernd Edlinger <bernd.edlinger@hotmail.de>
3205 Jakub Jelinek <jakub@redhat.com>
3206
3207 PR target/89093
3208 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3209 * config/arm/unwind-arm.c: Likewise.
3210 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3211 attribute for ARM.
3212
3213 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3214
3215 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3216 (RT_SIGRETURN): Update.
3217 (nds32_fallback_frame_state): Update.
3218
3219 2019-02-21 Martin Sebor <msebor@redhat.com>
3220
3221 * libgcc2.h (__clear_cache): Correct signature.
3222 * libgcc2.c (__clear_cache): Same.
3223
3224 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3225
3226 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3227 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3228
3229 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3230
3231 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3232 regno instead of index to DWARF_ZERO_REG.
3233
3234 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3235
3236 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3237 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3238
3239 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3240
3241 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3242 to HOST_LIBGCC2_CFLAGS.
3243
3244 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3245
3246 PR libgcc/88931
3247 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3248
3249 2019-01-18 Martin Liska <mliska@suse.cz>
3250
3251 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3252 to ...
3253 (__gcov_indirect_call_profiler_v3): ... this.
3254 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3255 (__gcov_indirect_call_profiler_v3): Likewise.
3256 * Makefile.in: Bump function name.
3257
3258 2019-01-18 Martin Liska <mliska@suse.cz>
3259
3260 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3261 (gcov_version): Use in gcov_error.
3262 (merge_one_data): Likewise.
3263 (dump_one_gcov): Likewise.
3264
3265 2019-01-18 Martin Liska <mliska@suse.cz>
3266
3267 * libgcov-driver.c (gcov_version_string): New function.
3268 (gcov_version): Convert version integer into string.
3269
3270 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3271 Kwok Cheung Yeung <kcy@codesourcery.com>
3272 Julian Brown <julian@codesourcery.com>
3273 Tom de Vries <tom@codesourcery.com>
3274
3275 * config.host: Recognize amdgcn*-*-amdhsa.
3276 * config/gcn/crt0.c: New file.
3277 * config/gcn/lib2-divmod-hi.c: New file.
3278 * config/gcn/lib2-divmod.c: New file.
3279 * config/gcn/lib2-gcn.h: New file.
3280 * config/gcn/sfp-machine.h: New file.
3281 * config/gcn/t-amdgcn: New file.
3282
3283 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3284
3285 PR other/16615
3286
3287 * config/c6x/libunwind.S: Mechanically replace "can not" with
3288 "cannot".
3289 * config/tilepro/atomic.h: Likewise.
3290 * config/vxlib-tls.c: Likewise.
3291 * generic-morestack-thread.c: Likewise.
3292 * generic-morestack.c: Likewise.
3293 * mkmap-symver.awk: Likewise.
3294
3295 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3296
3297 Update copyright years.
3298
3299 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3300
3301 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3302 to ignore -Waddress-of-packed-member.
3303
3304 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3305
3306 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3307 parameter and corresponding code.
3308 (ARM_FUNC_START): Likewise in both definitions.
3309 Also update footer comment about condition that need to match with
3310 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3311 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3312 defined. Weakly define it in this case.
3313 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3314 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3315 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3316 comment to keep condition in sync with the one in
3317 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3318
3319 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3320
3321 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3322 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3323
3324 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3325
3326 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3327 and .cfi_endproc directives for VxWorks targets.
3328
3329 2018-12-05 Paul Koning <ni1d@arrl.net>
3330
3331 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3332
3333 2018-11-27 Alan Modra <amodra@gmail.com>
3334
3335 * config/rs6000/morestack.S (__stack_split_initialize),
3336 (__morestack_get_guard, __morestack_set_guard),
3337 (__morestack_make_guard): Provide CFI covering these functions.
3338 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3339
3340 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3341
3342 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3343 (sc_pt_regs_lr): Update for kernel.
3344 (sc_pt_regs_tls): Update for kernel.
3345
3346 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3347
3348 * config/csky/linux-unwind.h: Fix coding style.
3349
3350 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3351
3352 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3353 (csky_fallback_frame_state): Modify the check of the
3354 instructions to adapt to changes in the kernel
3355
3356 2018-11-09 Stafford Horne <shorne@gmail.com>
3357 Richard Henderson <rth@twiddle.net>
3358
3359 * config.host: Add OpenRISC support.
3360 * config/or1k/*: New.
3361
3362 2018-11-08 Kito Cheng <kito@andestech.com>
3363
3364 * soft-fp/adddf3.c: Update from glibc.
3365 * soft-fp/addsf3.c: Likewise.
3366 * soft-fp/addtf3.c: Likewise.
3367 * soft-fp/divdf3.c: Likewise.
3368 * soft-fp/divsf3.c: Likewise.
3369 * soft-fp/divtf3.c: Likewise.
3370 * soft-fp/double.h: Likewise.
3371 * soft-fp/eqdf2.c: Likewise.
3372 * soft-fp/eqsf2.c: Likewise.
3373 * soft-fp/eqtf2.c: Likewise.
3374 * soft-fp/extenddftf2.c: Likewise.
3375 * soft-fp/extended.h: Likewise.
3376 * soft-fp/extendhftf2.c: Likewise.
3377 * soft-fp/extendsfdf2.c: Likewise.
3378 * soft-fp/extendsftf2.c: Likewise.
3379 * soft-fp/extendxftf2.c: Likewise.
3380 * soft-fp/fixdfdi.c: Likewise.
3381 * soft-fp/fixdfsi.c: Likewise.
3382 * soft-fp/fixdfti.c: Likewise.
3383 * soft-fp/fixhfti.c: Likewise.
3384 * soft-fp/fixsfdi.c: Likewise.
3385 * soft-fp/fixsfsi.c: Likewise.
3386 * soft-fp/fixsfti.c: Likewise.
3387 * soft-fp/fixtfdi.c: Likewise.
3388 * soft-fp/fixtfsi.c: Likewise.
3389 * soft-fp/fixtfti.c: Likewise.
3390 * soft-fp/fixunsdfdi.c: Likewise.
3391 * soft-fp/fixunsdfsi.c: Likewise.
3392 * soft-fp/fixunsdfti.c: Likewise.
3393 * soft-fp/fixunshfti.c: Likewise.
3394 * soft-fp/fixunssfdi.c: Likewise.
3395 * soft-fp/fixunssfsi.c: Likewise.
3396 * soft-fp/fixunssfti.c: Likewise.
3397 * soft-fp/fixunstfdi.c: Likewise.
3398 * soft-fp/fixunstfsi.c: Likewise.
3399 * soft-fp/fixunstfti.c: Likewise.
3400 * soft-fp/floatdidf.c: Likewise.
3401 * soft-fp/floatdisf.c: Likewise.
3402 * soft-fp/floatditf.c: Likewise.
3403 * soft-fp/floatsidf.c: Likewise.
3404 * soft-fp/floatsisf.c: Likewise.
3405 * soft-fp/floatsitf.c: Likewise.
3406 * soft-fp/floattidf.c: Likewise.
3407 * soft-fp/floattihf.c: Likewise.
3408 * soft-fp/floattisf.c: Likewise.
3409 * soft-fp/floattitf.c: Likewise.
3410 * soft-fp/floatundidf.c: Likewise.
3411 * soft-fp/floatundisf.c: Likewise.
3412 * soft-fp/floatunditf.c: Likewise.
3413 * soft-fp/floatunsidf.c: Likewise.
3414 * soft-fp/floatunsisf.c: Likewise.
3415 * soft-fp/floatunsitf.c: Likewise.
3416 * soft-fp/floatuntidf.c: Likewise.
3417 * soft-fp/floatuntihf.c: Likewise.
3418 * soft-fp/floatuntisf.c: Likewise.
3419 * soft-fp/floatuntitf.c: Likewise.
3420 * soft-fp/gedf2.c: Likewise.
3421 * soft-fp/gesf2.c: Likewise.
3422 * soft-fp/getf2.c: Likewise.
3423 * soft-fp/half.h: Likewise.
3424 * soft-fp/ledf2.c: Likewise.
3425 * soft-fp/lesf2.c: Likewise.
3426 * soft-fp/letf2.c: Likewise.
3427 * soft-fp/muldf3.c: Likewise.
3428 * soft-fp/mulsf3.c: Likewise.
3429 * soft-fp/multf3.c: Likewise.
3430 * soft-fp/negdf2.c: Likewise.
3431 * soft-fp/negsf2.c: Likewise.
3432 * soft-fp/negtf2.c: Likewise.
3433 * soft-fp/op-1.h: Likewise.
3434 * soft-fp/op-2.h: Likewise.
3435 * soft-fp/op-4.h: Likewise.
3436 * soft-fp/op-8.h: Likewise.
3437 * soft-fp/op-common.h: Likewise.
3438 * soft-fp/quad.h: Likewise.
3439 * soft-fp/single.h: Likewise.
3440 * soft-fp/soft-fp.h: Likewise.
3441 * soft-fp/subdf3.c: Likewise.
3442 * soft-fp/subsf3.c: Likewise.
3443 * soft-fp/subtf3.c: Likewise.
3444 * soft-fp/truncdfsf2.c: Likewise.
3445 * soft-fp/trunctfdf2.c: Likewise.
3446 * soft-fp/trunctfhf2.c: Likewise.
3447 * soft-fp/trunctfsf2.c: Likewise.
3448 * soft-fp/trunctfxf2.c: Likewise.
3449 * soft-fp/unorddf2.c: Likewise.
3450 * soft-fp/unordsf2.c: Likewise.
3451 * soft-fp/unordtf2.c: Likewise.
3452
3453 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3454
3455 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3456 * config/i386/cpuinfo.h (processor_types): Add znver2.
3457
3458 2018-11-01 Paul Koning <ni1d@arrl.net>
3459
3460 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3461 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3462
3463 2018-10-31 Joseph Myers <joseph@codesourcery.com>
3464
3465 PR bootstrap/82856
3466 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3467 * configure: Regenerate.
3468
3469 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3470
3471 * config/arc/lib1funcs.S (_muldi3): New function.
3472 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3473
3474 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3475
3476 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3477
3478 2018-10-25 Martin Liska <mliska@suse.cz>
3479
3480 PR other/87735
3481 * libgcov-profiler.c: Revert.
3482
3483 2018-10-24 Martin Liska <mliska@suse.cz>
3484
3485 * libgcov-profiler.c: Start from 1 in order to distinguish
3486 functions which were seen and these that were not.
3487
3488 2018-10-18 Paul Koning <ni1d@arrl.net>
3489
3490 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3491 standard.
3492 * divmod.c: Update references to __udivmodsi4.
3493 * udivmod.c: Ditto.
3494 * udivhi3.c: New file.
3495 * udivmodhi4.c: New file.
3496 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3497
3498 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3499
3500 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3501
3502 2018-10-12 Olivier Hainque <hainque@adacore.com>
3503
3504 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3505 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3506
3507 2018-10-08 Paul Koning <ni1d@arrl.net>
3508
3509 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3510
3511 2018-10-04 Martin Liska <mliska@suse.cz>
3512
3513 PR gcov-profile/84107
3514 * libgcov-profiler.c (__gcov_indirect_call):
3515 Change type to indirect_call_tuple.
3516 (struct indirect_call_tuple): New struct.
3517 (__gcov_indirect_call_topn_profiler): Change type.
3518 (__gcov_indirect_call_profiler_v2): Use the new
3519 variables.
3520 * libgcov.h (struct indirect_call_tuple): New struct
3521 definition.
3522
3523 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
3524
3525 * libgcc2.c (isnan): Use __builtin_isnan.
3526 (isfinite): Use __builtin_isfinite.
3527 (isinf): Use __builtin_isinf.
3528
3529 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
3530
3531 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3532
3533 2018-09-21 Alexandre Oliva <oliva@adacore.com>
3534
3535 * config/vxcache.c: New file. Provide __clear_cache, based on
3536 the cacheTextUpdate VxWorks service.
3537 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3538 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3539 * config/t-vxwoks7: Likewise.
3540
3541 2018-09-21 Martin Liska <mliska@suse.cz>
3542
3543 * libgcov-driver.c (crc32_unsigned): Remove.
3544 (gcov_histogram_insert): Likewise.
3545 (gcov_compute_histogram): Likewise.
3546 (compute_summary): Simplify rapidly.
3547 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3548 (merge_summary): Rapidly simplify.
3549 (dump_one_gcov): Ignore gcov_summary.
3550 (gcov_do_dump): Do not handle program summary, it's not
3551 used.
3552 * libgcov-util.c (tag_summary): Remove.
3553 (read_gcda_finalize): Fix coding style.
3554 (read_gcda_file): Initialize curr_object_summary.
3555 (compute_summary): Remove.
3556 (calculate_overlap): Remove settings of run_max.
3557
3558 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3559
3560 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3561 ucontext_t type instead.
3562 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3563
3564 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
3565
3566 * config/nds32/t-nds32-glibc: New file.
3567
3568 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3569
3570 * configure.ac (solaris_ld_v2_maps): New test.
3571 * configure: Regenerate.
3572 * Makefile.in (solaris_ld_v2_maps): New variable.
3573 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3574 if supported.
3575
3576 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
3577
3578 PR target/86951
3579 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3580 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3581 to build.
3582
3583 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3584
3585 * config/unwind-dw2-fde-darwin.c
3586 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3587 * config/darwin10-unwind-find-enc-func.c: … to here.
3588 * config/t-darwin: Build Darwin10 unwinder shim crt.
3589 * libgcc/config.host: Add the Darwin10 unwinder shim.
3590
3591 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3592
3593 * config.host: Add crtbegin.o and crtend.o for
3594 powerpc-wrs-vxworks target.
3595
3596 2018-08-17 Jojo <jijie_rong@c-sky.com>
3597 Huibin Wang <huibin_wang@c-sky.com>
3598 Sandra Loosemore <sandra@codesourcery.com>
3599 Chung-Lin Tang <cltang@codesourcery.com>
3600
3601 C-SKY port: libgcc
3602
3603 * config.host: Add C-SKY support.
3604 * config/csky/*: New.
3605
3606 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3607
3608 * config/nds32/t-nds32-isr: Rearrange object dependency.
3609 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3610 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3611 and registers usage.
3612 * config/nds32/isr-library/excp_isr.S: Ditto.
3613 * config/nds32/isr-library/intr_isr.S: Ditto.
3614 * config/nds32/isr-library/reset.S: Ditto.
3615 * config/nds32/isr-library/restore_all.inc: Ditto.
3616 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3617 * config/nds32/isr-library/restore_partial.inc: Ditto.
3618 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3619 * config/nds32/isr-library/save_all.inc: Ditto.
3620 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3621 * config/nds32/isr-library/save_partial.inc: Ditto.
3622 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3623 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3624
3625 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
3626
3627 * config/pa/linux-atomic.c: Update comment.
3628 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3629 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3630 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3631 __ATOMIC_RELAXED for atomic loads.
3632 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3633 unordered store to release lock.
3634 (__sync_lock_release_8): Likewise.
3635 (SYNC_LOCK_RELEASE_2): Remove define.
3636
3637 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
3638
3639 PR libgcc/86512
3640 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3641 exponent goes negative. Update my email address.
3642 * config/arm/ieee754-sf.S: Likewise.
3643
3644 2018-08-01 Martin Liska <mliska@suse.cz>
3645
3646 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
3647 check that __gcov_indirect_call_callee is non-null.
3648
3649 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3650
3651 * config/arm/ieee754-df.S: Fix comment for code working on
3652 architectures >= 4.
3653 * config/arm/ieee754-sf.S: Likewise.
3654
3655 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3656
3657 PR libgcc/85334
3658 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3659 Removed.
3660
3661 2018-07-05 James Clarke <jrtc27@jrtc27.com>
3662
3663 * configure: Regenerated.
3664
3665 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3666
3667 * Makefile.in (install_leaf): Use enable_gcov instead of
3668 enable_libgcov.
3669
3670 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3671
3672 * configure.ac: Add --disable-gcov option.
3673 * configure: Regenerate.
3674 * Makefile.in: Honour @enable_gcov@.
3675
3676 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3677
3678 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3679 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3680 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3681 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3682 __ARM_ARCH__.
3683 * config/arm/ieee754-sf.S: Likewise.
3684 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3685
3686 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3687
3688 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3689 longer supported.
3690 * config/arm/ieee754-sf.S: Likewise.
3691
3692 2018-06-20 Than McIntosh <thanm@google.com>
3693
3694 PR libgcc/86213
3695 * generic-morestack.c (allocate_segment): Move calls to getenv and
3696 getpagesize to __morestack_load_mmap.
3697 (__morestack_load_mmap) Initialize static_pagesize and
3698 use_guard_page here so as to avoid clobbering SSE regs during a
3699 __morestack call.
3700
3701 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
3702
3703 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3704 support modules with -mno-gnu-attribute.
3705 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3706
3707 2018-06-07 Olivier Hainque <hainque@adacore.com>
3708
3709 * config/t-vxworks (LIBGCC_INCLUDES): Add
3710 -I$(MULTIBUILDTOP)../../gcc/include.
3711 * config/t-vxworks7: Likewise. Reformat a bit to match
3712 the t-vxworks layout.
3713
3714 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3715
3716 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3717
3718 2018-06-07 Martin Liska <mliska@suse.cz>
3719
3720 * libgcov-driver.c: Rename cs_all to all and assign it from
3721 all_prg.
3722
3723 2018-06-07 Martin Liska <mliska@suse.cz>
3724
3725 PR bootstrap/86057
3726 * libgcov-driver-system.c (replace_filename_variables): Use
3727 memcpy instead of mempcpy.
3728 (allocate_filename_struct): Do not allocate filename, allocate
3729 prefix and set it.
3730 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3731 here and properly copy content into it.
3732 * libgcov-driver.c (struct gcov_filename): Remove max_length
3733 field, change prefix from size_t into char *.
3734 (compute_summary): Do not calculate longest filename.
3735 (gcov_do_dump): Release memory of gf.filename after each file.
3736 * libgcov-util.c (compute_summary): Use new signature of
3737 compute_summary.
3738 (calculate_overlap): Likewise.
3739
3740 2018-06-05 Martin Liska <mliska@suse.cz>
3741
3742 PR gcov-profile/47618
3743 * libgcov-driver-system.c (replace_filename_variables): New
3744 function.
3745 (gcov_exit_open_gcda_file): Use it.
3746
3747 2018-06-05 Martin Liska <mliska@suse.cz>
3748
3749 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3750 of gcov_ctr_summary.
3751 (compute_summary): Do it just for a single summary.
3752 (merge_one_data): Likewise.
3753 (merge_summary): Simplify as we read just single summary.
3754 (dump_one_gcov): Pass proper argument.
3755 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3756 single summary.
3757 (gcov_info_count_all_cold): Likewise.
3758 (calculate_overlap): Likewise.
3759
3760 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3761 Monk Chiang <sh.chiang04@gmail.com>
3762
3763 * config.host (nds32*-linux*): New.
3764 * config/nds32/linux-atomic.c: New file.
3765 * config/nds32/linux-unwind.h: New file.
3766
3767 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
3768
3769 PR target/85591
3770 * config/i386/cpuinfo.c (get_amd_cpu): Return
3771 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3772
3773 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3774
3775 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3776
3777 2018-05-29 Martin Liska <mliska@suse.cz>
3778
3779 PR gcov-profile/85759
3780 * libgcov-driver-system.c (gcov_error): Introduce usage of
3781 GCOV_EXIT_AT_ERROR env. variable.
3782 * libgcov-driver.c (merge_one_data): Print error that we
3783 overwrite a gcov file with a different timestamp.
3784
3785 2018-05-23 Kalamatee <kalamatee@gmail.com>
3786
3787 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3788 path to Lf$finfty.
3789
3790 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
3791 Monk Chiang <sh.chiang04@gmail.com>
3792 Jim Wilson <jimw@sifive.com>
3793
3794 * config/riscv/save-restore.S: Add support for rv32e.
3795
3796 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3797
3798 * config/arm/libunwind.S: Update comment relating to armv5.
3799
3800 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
3801
3802 * config/arm/cmse.c (cmse_check_address_range): Replace
3803 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3804
3805 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3806
3807 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3808 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3809
3810 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3811
3812 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3813 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3814
3815 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3816
3817 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3818
3819 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3820 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3821
3822 PR libgcc/84292
3823 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3824 op_and_fetch to return the right result.
3825
3826 2018-04-27 Alan Modra <amodra@gmail.com>
3827
3828 PR libgcc/85532
3829 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3830 -fno-asynchronous-unwind-tables.
3831
3832 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3833
3834 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3835 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3836
3837 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3838
3839 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3840 when including "config/i386/shadow-stack-unwind.h".
3841
3842 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3843
3844 * configure: Regenerated.
3845
3846 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
3847
3848 PR target/85456
3849 * config/rs6000/_powikf2.c: New file. Add support for the
3850 __builtin_powil function when long double is IEEE 128-bit floating
3851 point.
3852 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3853 __powikf2 support.
3854 (__powikf2): Likewise.
3855 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3856 (__powikf2_hw): Likewise.
3857 (__powikf2): Likewise.
3858 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3859 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3860 (_powikf2-hw.c): Likewise.
3861
3862 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3863
3864 PR libgcc/85334
3865 * unwind-generic.h (_Unwind_Frames_Increment): New.
3866 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3867 Likewise.
3868 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3869 count with _Unwind_Frames_Increment.
3870 (_Unwind_ForcedUnwind_Phase2): Likewise.
3871
3872 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3873
3874 PR libgcc/85379
3875 * config/i386/morestack.S (__stack_split_initialize): Add
3876 _CET_ENDBR.
3877
3878 2018-04-19 Jakub Jelinek <jakub@redhat.com>
3879
3880 * configure: Regenerated.
3881
3882 2018-04-18 David Malcolm <dmalcolm@redhat.com>
3883
3884 PR jit/85384
3885 * configure: Regenerate.
3886
3887 2018-04-16 Jakub Jelinek <jakub@redhat.com>
3888
3889 PR target/84945
3890 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3891 -Wdangling-else warnings. Mask shift counts to avoid
3892 -Wshift-count-negative and -Wshift-count-overflow false positives.
3893
3894 2018-04-06 Ruslan Bukin <br@bsdpad.com>
3895
3896 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3897
3898 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3899
3900 PR target/85100
3901 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3902 (XSTATE_FP): Likewise.
3903 (XSTATE_SSE): Likewise.
3904 (XSTATE_YMM): Likewise.
3905 (XSTATE_OPMASK): Likewise.
3906 (XSTATE_ZMM): Likewise.
3907 (XSTATE_HI_ZMM): Likewise.
3908 (XCR_AVX_ENABLED_MASK): Likewise.
3909 (XCR_AVX512F_ENABLED_MASK): Likewise.
3910 (get_available_features): Enable AVX and AVX512 features only
3911 if their states are supported by OSXSAVE.
3912
3913 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3914
3915 PR target/85025
3916 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3917 Fix a typo, tmp => 255.
3918
3919 2018-03-20 Jakub Jelinek <jakub@redhat.com>
3920
3921 PR target/84945
3922 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3923 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3924 ifndef SHARED only.
3925 (set_feature): Define.
3926 (get_available_features): Use set_feature macro. Set __cpu_features2
3927 to the second word of features ifndef SHARED.
3928
3929 2018-03-15 Julia Koval <julia.koval@intel.com>
3930
3931 * config/i386/cpuinfo.c (get_available_features): Add
3932 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3933 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3934 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3935 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3936 FEATURE_AVX512BITALG.
3937
3938 2018-03-14 Julia Koval <julia.koval@intel.com>
3939
3940 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3941 icelake client and icelake server.
3942
3943 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
3944
3945 * config/pa/fptr.c (_dl_read_access_allowed): New.
3946 (__canonicalize_funcptr_for_compare): Use it.
3947
3948 2018-02-28 Jakub Jelinek <jakub@redhat.com>
3949
3950 PR debug/83917
3951 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3952 $asm_hidden_op if visibility ("hidden") attribute works.
3953 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3954 * config/i386/i386-asm.h: Don't include auto-host.h.
3955 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3956 PACKAGE_URL): Don't undefine.
3957 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3958 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3959 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3960 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3961 definition instead of hardcoded .hidden.
3962 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3963 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3964 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3965 (USE_GAS_CFI_DIRECTIVES): Don't define.
3966 * configure: Regenerated.
3967 * config.in: Likewise.
3968
3969 2018-02-26 Jakub Jelinek <jakub@redhat.com>
3970
3971 PR debug/83917
3972 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3973 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3974 inclusion of auto-target.h and auto-host.h.
3975 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3976 __GCC_HAVE_DWARF2_CFI_ASM.
3977 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3978 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3979 cfi_pop): Define.
3980 * config/i386/cygwin.S: Don't include auto-host.h here, just
3981 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3982 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3983 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3984 * config/i386/resms64fx.h: Add cfi_* directives.
3985 * config/i386/resms64x.h: Likewise.
3986
3987 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3988
3989 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3990 .literal_position directive.
3991 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3992
3993 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3994
3995 PR target/84148
3996 * configure: Regenerate.
3997
3998 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3999
4000 PR target/84239
4001 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4002 Include cetintrin.h not x86intrin.h.
4003
4004 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4005
4006 PR target/84239
4007 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4008 Use new _get_ssp and _inc_ssp intrinsics.
4009
4010 2018-02-02 Julia Koval <julia.koval@intel.com>
4011
4012 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4013
4014 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4015
4016 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4017 option.
4018 (__divsi3): Use RF16 safe registers.
4019 (__modsi3): Likewise.
4020
4021 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4022
4023 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4024 (__divsf3): Make NaN return value quiet.
4025 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4026 (__divdf3): Make NaN return value quiet.
4027
4028 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4029
4030 * config/rl78/anddi3.S: New assembly file.
4031 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4032
4033 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4034
4035 * config/rl78/umindi3.S: New assembly file.
4036 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4037
4038 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4039
4040 * config/rl78/smindi3.S: New assembly file.
4041 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4042
4043 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4044
4045 * config/rl78/smaxdi3.S: New assembly file.
4046 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4047
4048 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4049
4050 * config/rl78/umaxdi3.S: New assembly file.
4051 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4052
4053 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
4054
4055 PR lto/83452
4056 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4057 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4058
4059 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4060
4061 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4062 (DWARF_LAZY_REGISTER_VALUE): Define.
4063 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4064 to provide a fallback register value.
4065
4066 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4067
4068 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4069 __ibm128, instead of trying to use long double.
4070 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4071 accomidate -mabi=ieeelongdouble multilibs.
4072 (CVT_IBM128_TO_FLOAT128): Likewise.
4073 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4074 the appropriate IBM extended double type.
4075 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4076 (__gcc_qsub): Likewise.
4077 (__gcc_qmul): Likewise.
4078 (__gcc_qdiv): Likewise.
4079 (pack_ldouble): Likewise.
4080 (__gcc_qneg): Likewise.
4081 (__gcc_qeq): Likewise.
4082 (__gcc_qne): Likewise.
4083 (__gcc_qge): Likewise.
4084 (__gcc_qle): Likewise.
4085 (__gcc_stoq): Likewise.
4086 (__gcc_dtoq): Likewise.
4087 (__gcc_itoq): Likewise.
4088 (__gcc_utoq): Likewise.
4089 (__gcc_qunord): Likewise.
4090 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4091 quad-float128.h for the definitions.
4092 (COPYSIGN): Use the f128 version instead of the q version.
4093 (INFINITY): Likewise.
4094 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4095 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4096 quad-float128.h for the definitions.
4097 (COPYSIGN): Use the f128 version instead of the q version.
4098 (INFINITY): Likewise.
4099 (FABS): Likewise.
4100 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4101 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4102 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4103
4104 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4105
4106 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4107 configuration.
4108
4109 2018-01-03 Jakub Jelinek <jakub@redhat.com>
4110
4111 Update copyright years.
4112
4113 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
4114
4115 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4116 * config/riscv/multi3.c: New file.
4117 * config/riscv/multi3.S: Remove.
4118
4119 2017-12-08 Jim Wilson <jimw@sifive.com>
4120
4121 * config/riscv/div.S: Use FUNC_* macros.
4122 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4123 * config/riscv/save-restore.S: Likewise.
4124 * config/riscv/riscv-asm.h: New.
4125
4126 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4127
4128 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4129 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4130
4131 PR libgcc/83112
4132 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4133 correct type for all ifunc resolvers to silence -Wattribute-alias
4134 warnings. Eliminate the forward declaration of the resolver
4135 functions which is no longer needed.
4136 (__subkf3_resolve): Likewise.
4137 (__mulkf3_resolve): Likewise.
4138 (__divkf3_resolve): Likewise.
4139 (__negkf2_resolve): Likewise.
4140 (__eqkf2_resolve): Likewise.
4141 (__nekf2_resolve): Likewise.
4142 (__gekf2_resolve): Likewise.
4143 (__gtkf2_resolve): Likewise.
4144 (__lekf2_resolve): Likewise.
4145 (__ltkf2_resolve): Likewise.
4146 (__unordkf2_resolve): Likewise.
4147 (__extendsfkf2_resolve): Likewise.
4148 (__extenddfkf2_resolve): Likewise.
4149 (__trunckfsf2_resolve): Likewise.
4150 (__trunckfdf2_resolve): Likewise.
4151 (__fixkfsi_resolve): Likewise.
4152 (__fixkfdi_resolve): Likewise.
4153 (__fixunskfsi_resolve): Likewise.
4154 (__fixunskfdi_resolve): Likewise.
4155 (__floatsikf_resolve): Likewise.
4156 (__floatdikf_resolve): Likewise.
4157 (__floatunsikf_resolve): Likewise.
4158 (__floatundikf_resolve): Likewise.
4159 (__extendkftf2_resolve): Likewise.
4160 (__trunctfkf2_resolve): Likewise.
4161
4162 PR libgcc/83103
4163 * config/rs6000/quad-float128.h (TF): Don't define if long double
4164 is IEEE 128-bit floating point.
4165 (TCtype): Define as either TCmode or KCmode, depending on whether
4166 long double is IEEE 128-bit floating point.
4167 (__mulkc3_sw): Add declarations for software/hardware versions of
4168 complex multiply/divide.
4169 (__divkc3_sw): Likewise.
4170 (__mulkc3_hw): Likewise.
4171 (__divkc3_hw): Likewise.
4172 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4173 handlers to switch between using software emulation and hardware
4174 float128 instructions, build the complex multiply/divide functions
4175 for both software and hardware support.
4176 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4177 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4178 (__divkc3_resolve): Likewise.
4179 (__mulkc3): Likewise.
4180 (__divkc3): Likewise.
4181 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4182 (fp128_hw_src): Likewise.
4183 (fp128_hw_static_obj): Likewise.
4184 (fp128_hw_shared_obj): Likewise.
4185 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4186 _mulkc3.c and _divkc3.c, changing the function name.
4187 (_divkc3-hw.c): Likewise.
4188 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4189 and _divkc3-hw.c.
4190
4191 2017-11-26 Julia Koval <julia.koval@intel.com>
4192
4193 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4194 * config/i386/cpuinfo.h (processor_subtypes): Add
4195 INTEL_COREI7_CANNONLAKE.
4196
4197 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4198
4199 PR bootstrap/83015
4200 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4201 parameter.
4202 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4203 * config/ia64/unwind-ia64.c: Add frames parameter.
4204 * unwind-sjlj.c: Likewise.
4205
4206 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4207
4208 * config/i386/linux-unwind.h: Include
4209 config/i386/shadow-stack-unwind.h.
4210 * config/i386/shadow-stack-unwind.h: New file.
4211 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4212 pass it to _Unwind_Frames_Extra.
4213 * unwind-generic.h (_Unwind_Frames_Extra): New.
4214 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4215 parameter. Add local variable frames to count number of frames.
4216 (_Unwind_ForcedUnwind_Phase2): Likewise.
4217 (_Unwind_RaiseException): Add local variable frames to count
4218 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4219 uw_install_context.
4220 (_Unwind_ForcedUnwind): Likewise.
4221 (_Unwind_Resume): Likewise.
4222 (_Unwind_Resume_or_Rethrow): Likewise.
4223
4224 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4225
4226 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4227 (CET_FLAGS): New.
4228 * config/i386/morestack.S: Include <cet.h>.
4229 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4230 * config/i386/resms64.h: Include <cet.h>.
4231 * config/i386/resms64f.h: Likewise.
4232 * config/i386/resms64fx.h: Likewise.
4233 * config/i386/resms64x.h: Likewise.
4234 * config/i386/savms64.h: Likewise.
4235 * config/i386/savms64f.h: Likewise.
4236 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4237 (CRTSTUFF_T_CFLAGS): Likewise.
4238 * configure.ac: Include ../config/cet.m4.
4239 Set and substitute CET_FLAGS.
4240 * configure: Regenerated.
4241
4242 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4243
4244 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4245 renaming.
4246 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4247 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4248 * configure: Regenerate.
4249
4250 2017-11-07 Tom de Vries <tom@codesourcery.com>
4251
4252 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4253 after "do {} while (0)".
4254
4255 2017-11-07 Tom de Vries <tom@codesourcery.com>
4256
4257 PR other/82784
4258 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4259 semicolon after "do {} while (0)".
4260 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4261 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4262 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4263 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4264
4265 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4266
4267 PR libgcc/82635
4268 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4269 sysctl to determine whether we're in a trampoline.
4270 Keep the pattern matching method for systems without
4271 KERN_PROC_SIGTRAMP sysctl.
4272
4273 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4274 Vineet Gupta <vgupta@synopsys.com>
4275
4276 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4277 * config/arc/linux-unwind-reg.def: New file.
4278 * config/arc/linux-unwind-reg.h: Likewise.
4279
4280 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4281
4282 * config/rl78/subdi3.S: New assembly file.
4283 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4284
4285 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4286
4287 * config/rl78/adddi3.S: New assembly file.
4288 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4289
4290 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4291
4292 PR target/82274
4293 * libgcc2.c (__mulvDI3): If both operands have
4294 the same highpart of -1 and the topmost bit of lowpart is 0,
4295 multiplication overflows even if both lowparts are 0.
4296
4297 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4298
4299 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4300
4301 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4302
4303 * config/microblaze/crti.S, config/microblaze/crtn.S,
4304 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4305 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4306 config/microblaze/mulsi3.S,
4307 config/microblaze/stack_overflow_exit.S,
4308 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4309 config/pa/milli64.S: Add .note.GNU-stack section.
4310
4311 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4312
4313 * configure.ac: Add Check for HAVE_AS_AVX.
4314 * config.in: Regenerate.
4315 * configure: Likewise.
4316 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4317 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4318 Correct out-of-date comments.
4319
4320 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4321
4322 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4323 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4324
4325 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4326
4327 * config/i386/i386-asm.h (PASTE2): New macro.
4328 (ASMNAME): Modify to use PASTE2.
4329 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4330 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4331 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4332 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4333 * config/i386/resms64f.S: Likewise.
4334 * config/i386/resms64fx.S: Likewise.
4335 * config/i386/resms64x.S: Likewise.
4336 * config/i386/savms64.S: Likewise.
4337 * config/i386/savms64f.S: Likewise.
4338 * config/i386/avx_resms64.S: New file that only defines a macro and
4339 includes it's corresponding header file.
4340 * config/i386/avx_resms64f.S: Likewise.
4341 * config/i386/avx_resms64fx.S: Likewise.
4342 * config/i386/avx_resms64x.S: Likewise.
4343 * config/i386/avx_savms64.S: Likewise.
4344 * config/i386/avx_savms64f.S: Likewise.
4345 * config/i386/sse_resms64.S: Likewise.
4346 * config/i386/sse_resms64f.S: Likewise.
4347 * config/i386/sse_resms64fx.S: Likewise.
4348 * config/i386/sse_resms64x.S: Likewise.
4349 * config/i386/sse_savms64.S: Likewise.
4350 * config/i386/sse_savms64f.S: Likewise.
4351 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4352
4353 2017-09-01 Olivier Hainque <hainque@adacore.com>
4354 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4355
4356 2017-08-31 Olivier Hainque <hainque@adacore.com>
4357
4358 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4359 match as powerpc-wrs-vxworks*.
4360
4361 2017-08-07 Jonathan Yong <10walls@gmail.com>
4362
4363 * config.host (*-cygwin): Include file from mingw
4364 config/i386/enable-execute-stack-mingw32.c
4365
4366 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
4367 Doug Rupp <rupp@adacore.com>
4368 Olivier Hainque <hainque@adacore.com>
4369
4370 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4371 as well as arm-wrs-vxworks.
4372 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4373 LIB2ADDEH.
4374 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4375 __exidx_start and __exidx_end for downloadable modules.
4376
4377 2017-08-01 Olivier Hainque <hainque@adacore.com>
4378
4379 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4380 * config/t-vxworks7: Likewise.
4381
4382 2017-08-01 Olivier Hainque <hainque@adacore.com>
4383
4384 * config/t-vxworks: Instead of redefining LIB2ADD,
4385 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4386
4387 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4388
4389 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4390
4391 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
4392
4393 PR testsuite/80759
4394 * config.host: include i386/t-msabi for darwin and solaris.
4395 * config/i386/i386-asm.h
4396 (ELFFN): Rename to FN_TYPE.
4397 (FN_SIZE): New macro.
4398 (FN_HIDDEN): Likewise.
4399 (ASMNAME): Likewise.
4400 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4401 .globl.
4402 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4403 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4404 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4405 .macro.
4406 * config/i386/resms64f.S: Likewise.
4407 * config/i386/resms64fx.S: Likewise.
4408 * config/i386/resms64x.S: Likewise.
4409 * config/i386/savms64.S: Likewise.
4410 * config/i386/savms64f.S: Likewise.
4411
4412 2017-07-19 John Marino <gnugcc@marino.st>
4413
4414 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4415
4416 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4417
4418 PR target/81193
4419 * configure.ac (PowerPC float128 hardware support): Test whether
4420 we can use __builtin_cpu_supports before enabling the ifunc
4421 handler.
4422 * configure: Regenerate.
4423
4424 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
4425
4426 * config.host: Remove uclibc from arc target spec.
4427
4428 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4429
4430 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4431
4432 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4433
4434 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4435 (have_ieee_hw_p): Delete function.
4436 (SW_OR_HW) Use __builtin_cpu_supports().
4437
4438 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4439
4440 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4441
4442 2017-07-03 Olivier Hainque <hainque@adacore.com>
4443
4444 * config/t-vxworks7: New file, really.
4445
4446 2017-06-28 Joseph Myers <joseph@codesourcery.com>
4447
4448 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4449 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4450 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4451 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4452 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4453 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4454 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4455 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4456 config/sh/linux-unwind.h (sh_fallback_frame_state),
4457 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4458 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4459 ucontext_t instead of struct ucontext.
4460
4461 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
4462
4463 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4464 (x86_64-wrs-vxworks7): Likewise.
4465
4466 2017-06-27 Olivier Hainque <hainque@adacore.com>
4467
4468 * config/t-vxworks7: New file.
4469 * config.host (*-*-vxworks7): Use it.
4470
4471 2017-06-22 Matt Turner <mattst88@gmail.com>
4472
4473 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4474 skylake case.
4475
4476 2017-06-21 Richard Biener <rguenther@suse.de>
4477
4478 PR gcov-profile/81080
4479 * configure.ac: Add AC_SYS_LARGEFILE.
4480 * libgcov.h: Include auto-target.h before tsystem.h to pick
4481 up _FILE_OFFSET_BITS which might differ for multilibs.
4482 * config.in: Regenerate.
4483 * configure: Likewise.
4484
4485 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
4486
4487 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4488
4489 2017-06-09 Martin Liska <mliska@suse.cz>
4490
4491 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4492 Reset __gcov_indirect_call_callee to NULL.
4493
4494 2017-06-08 Olivier Hainque <hainque@adacore.com>
4495
4496 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4497 the set of -I options, support for direct inclusions of net/uio.h
4498 by VxWorks header files via ioLib.h.
4499
4500 2017-06-07 Tony Reix <tony.reix@atos.net>
4501 Matthieu Sarter <matthieu.sarter.external@atos.net>
4502 David Edelsohn <dje.gcc@gmail.com>
4503
4504 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4505 unconditionally.
4506 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4507 AIX 7.2 support.
4508
4509 2017-06-02 Olivier Hainque <hainque@adacore.com>
4510
4511 * config/vxlib.c (__gthread_once): Add missing value to
4512 return statement.
4513
4514 2017-05-30 Olivier Hainque <hainque@adacore.com>
4515
4516 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4517 dollar sign before $(MULTIDIR).
4518
4519 2017-05-26 Richard Henderson <rth@redhat.com>
4520
4521 PR libgcc/80037
4522 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4523
4524 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4525
4526 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4527 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4528 * config/arm/unwind-arm.c: Implement the above.
4529
4530 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4531
4532 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4533 section for a non-executable stack.
4534
4535 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4536
4537 PR target/80600
4538 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4539
4540 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
4541
4542 * config.host: Add i386/t-msabi to i386/t-linux file list.
4543 * config/i386/i386-asm.h: New file.
4544 * config/i386/resms64.S: New file.
4545 * config/i386/resms64f.S: New file.
4546 * config/i386/resms64fx.S: New file.
4547 * config/i386/resms64x.S: New file.
4548 * config/i386/savms64.S: New file.
4549 * config/i386/savms64f.S: New file.
4550 * config/i386/t-msabi: New file.
4551
4552 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4553
4554 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4555 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4556
4557 2017-05-05 Joshua Conner <joshconner@google.com>
4558
4559 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4560 pc-relative indirect handling for fuchsia.
4561 * config/t-slibgcc-fuchsia: New file.
4562 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
4563 x86_64-*-fuchsia*): Add definitions.
4564
4565 2017-04-19 Martin Liska <mliska@suse.cz>
4566
4567 PR gcov-profile/80435
4568 * Makefile.in: Install gcov.h.
4569 * gcov.h: New file.
4570 * libgcov.h: Use the header and make __gcov_flush publicly
4571 visible.
4572
4573 2017-04-18 Martin Liska <mliska@suse.cz>
4574
4575 PR gcov-profile/78783
4576 * libgcov-driver.c (gcov_get_filename): New function.
4577
4578 2017-04-07 Jeff Law <law@redhat.com>
4579
4580 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4581 target makefile fragment.
4582 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4583
4584 2017-04-07 Alan Modra <amodra@gmail.com>
4585
4586 PR target/45053
4587 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4588
4589 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
4590
4591 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4592
4593 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4594
4595 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4596
4597 2017-03-10 John Marino <gnugcc@marino.st>
4598
4599 * config/aarch64/freebsd-unwind.h: New file.
4600 * config.host: Add aarch64-*-freebsd unwinder.
4601
4602 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4603
4604 * config/rs6000/crtrestvr.s: Use .machine altivec.
4605 * config/rs6000/crtsavevr.s: Ditto.
4606
4607 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4608
4609 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4610 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4611 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4612 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4613 * configure: Regenerate.
4614 * config.in: Regenerate.
4615
4616 2017-03-02 Jonathan Yong <10walls@gmail.com>
4617
4618 * config/i386/gthr-win32.h: Define NOGDI before
4619 windows.h include to prevent w32api CC_NONE macro
4620 clash with libgfortran.
4621
4622 2017-03-02 Jonathan Yong <10walls@gmail.com>
4623
4624 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4625
4626 2017-02-16 Andrew Pinski <apinski@cavium.com>
4627
4628 * config/aarch64/value-unwind.h: New file.
4629 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4630 to tm_file.
4631
4632 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4633
4634 * config.host: Add RISC-V tuples.
4635 * config/riscv/atomic.c: New file.
4636 * config/riscv/crti.S: Likewise.
4637 * config/riscv/crtn.S: Likewise.
4638 * config/riscv/div.S: Likewise.
4639 * config/riscv/linux-unwind.h: Likewise.
4640 * config/riscv/muldi3.S: Likewise.
4641 * config/riscv/multi3.S: Likewise.
4642 * config/riscv/save-restore.S: Likewise.
4643 * config/riscv/sfp-machine.h: Likewise.
4644 * config/riscv/t-elf: Likewise.
4645 * config/riscv/t-elf32: Likewise.
4646 * config/riscv/t-elf64: Likewise.
4647 * config/riscv/t-softfp32: Likewise.
4648 * config/riscv/t-softfp64: Likewise.
4649
4650 2017-01-24 Jakub Jelinek <jakub@redhat.com>
4651
4652 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4653 /* FALLTHRU */ comments.
4654
4655 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4656
4657 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4658
4659 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4660
4661 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4662 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4663 DW_CFA_GNU_window_save for AArch64 and LP64.
4664
4665 2017-01-20 Jiong Wang <jiong.wang@arm.com>
4666
4667 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4668
4669 2017-01-19 Jiong Wang <jiong.wang@arm.com>
4670
4671 * config/aarch64/aarch64-unwind.h: New file.
4672 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4673 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4674 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4675 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4676 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4677 (aarch64_post_extract_frame_addr): New function.
4678 (aarch64_post_frob_eh_handler_addr): New function.
4679 (aarch64_frob_update_context): New function.
4680 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4681 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4682 aarch64*-*-freebsd*):
4683 Initialize md_unwind_header to include aarch64-unwind.h.
4684 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4685 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4686 __aarch64__.
4687 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4688 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4689 (uw_frob_return_addr): New function.
4690 (uw_install_context): Use uw_frob_return_addr.
4691
4692 2017-01-17 Jakub Jelinek <jakub@redhat.com>
4693
4694 PR other/79046
4695 * configure.ac: Add GCC_BASE_VER.
4696 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4697 version from BASE-VER file.
4698 * configure: Regenerated.
4699
4700 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
4701
4702 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4703 libmul_f5.a): Filter archived prerequisites.
4704
4705 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4706
4707 * config/i386/cpuinfo.h (processor_features): Add
4708 FEATURE_AVX512VPOPCNTDQ.
4709 * config/i386/cpuinfo.c (get_available_features): Habdle new
4710 feature.
4711
4712 2017-01-04 Joseph Myers <joseph@codesourcery.com>
4713
4714 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4715 payload if [__mips_nan2008].
4716
4717 2017-01-04 Alan Modra <amodra@gmail.com>
4718
4719 * Makefile.in (configure_deps): Update.
4720 * configure: Regenerate.
4721
4722 2017-01-01 Jakub Jelinek <jakub@redhat.com>
4723
4724 Update copyright years.
4725
4726 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4727
4728 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4729 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4730 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4731
4732 2016-12-17 Matthias Klose <doko@ubuntu.com>
4733
4734 * config/arc/gmon: Remove empty directory.
4735
4736 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4737
4738 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4739 crtgend.
4740 (arc*-*-elf*): Likewise.
4741 * config/arc/t-arc: Remove old gmon lib targets.
4742 * config/arc/crtg.S: Remove.
4743 * config/arc/crtgend.S: Likewise.
4744 * config/arc/gmon/atomic.h: Likewise.
4745 * config/arc/gmon/auxreg.h: Likewise.
4746 * config/arc/gmon/dcache_linesz.S: Likewise.
4747 * config/arc/gmon/gmon.c: Likewise.
4748 * config/arc/gmon/machine-gmon.h: Likewise.
4749 * config/arc/gmon/mcount.c: Likewise.
4750 * config/arc/gmon/prof-freq-stub.S: Likewise.
4751 * config/arc/gmon/prof-freq.c: Likewise.
4752 * config/arc/gmon/profil.S: Likewise.
4753 * config/arc/gmon/sys/gmon.h: Likewise.
4754 * config/arc/gmon/sys/gmon_out.h: Likewise.
4755 * config/arc/t-arc-newlib: Likewise.
4756 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4757
4758 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4759
4760 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4761
4762 2016-12-12 George Spelvin <linux@sciencehorizons.net>
4763
4764 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4765 R16 instead of push + pop.
4766 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4767
4768 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4769
4770 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4771 tmake_file.
4772
4773 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4774
4775 * config.host (arc*-*-linux-uclibc*): Use default extra
4776 objects. Include linux-android header.
4777 * config/arc/crti.S (_init): Declare symbol as function.
4778 (_fini): Likewise.
4779
4780 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4781
4782 PR fortran/78379
4783 * config/i386/cpuinfo.c: Move denums for processor vendors,
4784 processor type, processor subtypes and declaration of
4785 struct __processor_model into
4786 * config/i386/cpuinfo.h: New header file.
4787
4788 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4789 Thomas Preud'homme <thomas.preudhomme@arm.com>
4790
4791 * config/arm/cmse_nonsecure_call.S: New.
4792 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4793
4794 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4795 Thomas Preud'homme <thomas.preudhomme@arm.com>
4796
4797 * config/arm/t-arm (HAVE_CMSE): New.
4798 * config/arm/cmse.c: New.
4799
4800 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4801
4802 PR gcc/74748
4803 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4804 use generic linker version information on Blackfin.
4805
4806 PR gcc/74748
4807 * libgcc/mkmap-symver.awk: add support for skip_underscore
4808
4809 2016-11-27 Iain Sandoe <iain@codesourcery.com>
4810 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4811
4812 PR target/67710
4813 * config/t-darwin: Default builds to 10.5 codegen.
4814
4815 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4816
4817 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4818 (_FP_NANSIGN_H): Likewise.
4819 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4820 (softfp_truncations): Add tfhf.
4821 (softfp_extras): Add required conversion functions.
4822
4823 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4824 Matthew Wahab <matthew.wahab@arm.com>
4825
4826 * config/arm/fp16.c (binary64): New.
4827 (__gnu_d2h_internal): New.
4828 (__gnu_d2h_ieee): New.
4829 (__gnu_d2h_alternative): New.
4830
4831 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4832 Matthew Wahab <matthew.wahab@arm.com>
4833
4834 * config/arm/fp16.c (struct format): New.
4835 (binary32): New.
4836 (__gnu_float2h_internal): New. Body moved from
4837 __gnu_f2h_internal and generalize.
4838 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4839 Call it with binary32.
4840
4841 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4842
4843 * soft-fp/extendhftf2.c: Update from glibc.
4844 * soft-fp/fixhfti.c: Likewise.
4845 * soft-fp/fixunshfti.c: Likewise.
4846 * soft-fp/floattihf.c: Likewise.
4847 * soft-fp/floatuntihf.c: Likewise.
4848 * soft-fp/half.h: Likewise.
4849 * soft-fp/trunctfhf2.c: Likewise.
4850
4851 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
4852
4853 PR libgcc/77813
4854 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4855 __TMC_END__ behind a passthrough asm.
4856
4857 2016-11-18 Walter Lee <walt@tilera.com>
4858
4859 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4860
4861 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4862
4863 * config/i386/cpuinfo.c (processor_features): Add
4864 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4865
4866 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4867
4868 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4869 (__ARC_NORM__): Use instead ARC_OPTFPE.
4870 * config/arc/fp-hack.h: Likewise.
4871 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4872 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4873
4874 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
4875
4876 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4877 * config/nvptx/mgomp.c: New file.
4878 * config/nvptx/t-nvptx: Add mgomp.c
4879
4880 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4881
4882 PR libgcc/68468
4883 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4884
4885 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4886
4887 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4888 of checking for cpus.
4889 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4890 (__modsi3, __clzsi2): Likewise.
4891
4892 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4893
4894 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4895 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4896 * config/i386/t-cpuinfo-static: New.
4897
4898 2016-11-03 Martin Liska <mliska@suse.cz>
4899
4900 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4901 (__gcov_time_profiler_atomic): Likewise.
4902
4903 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4904
4905 PR libgcc/78067
4906 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4907 count_leading_zeros.
4908
4909 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
4910
4911 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4912 * libgcc2.c (__divmoddi4): New function.
4913 * libgcc2.h (__divmoddi4): Declare.
4914 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4915 and __PFX_divmodti4.
4916
4917 2016-10-24 Florian Weimer <fweimer@redhat.com>
4918
4919 PR libgcc/78064
4920 * unwind-c.c: Include auto-target.h.
4921
4922 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
4923
4924 * config/pa/pa64-hpux-lib.h: New file.
4925 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4926 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4927 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4928 hppa*64*-*-hpux11*.
4929
4930 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4931
4932 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4933 definition.
4934 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4935 definition.
4936 * config/xtensa/t-windowed (LIB2ADDEH): Use
4937 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4938 or xtensa/t-linux.
4939
4940 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4941
4942 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4943 __ieee754_sqrt): New functions.
4944 (__divdf3): Add implementation with new FPU instructions under
4945 #if XCHAL_HAVE_DFP_DIV.
4946 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4947 __ieee754_sqrtf): New functions.
4948 (__divsf3): Add implementation with new FPU instructions under
4949 #if XCHAL_HAVE_FP_DIV.
4950 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4951 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4952
4953 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4954
4955 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4956 equivalent.
4957 * config/tilepro/atomic.c: Likewise and stop casting model to
4958 enum memmodel.
4959
4960 2016-10-10 Joseph Myers <joseph@codesourcery.com>
4961
4962 PR target/77586
4963 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4964 soft-fp.
4965
4966 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4967
4968 * config.host: Add support for aarch64-*-freebsd*.
4969
4970 2016-10-05 Andreas Schwab <schwab@suse.de>
4971
4972 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4973 (.section .init_array): Don't call __do_jv_register_classes.
4974 (.section .init): Likewise.
4975
4976 2016-10-04 Jakub Jelinek <jakub@redhat.com>
4977
4978 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4979 (__JCR_LIST__): Remove.
4980 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4981 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4982 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4983 * config/ia64/crtend.S (__JCR_END__): Remove.
4984 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4985 conditionals.
4986 (__JCR_LIST__, __JCR_END__): Remove.
4987 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4988 (__do_global_ctors_1): Likewise.
4989
4990 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
4991
4992 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4993 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4994
4995 2016-09-27 Martin Liska <mliska@suse.cz>
4996
4997 PR gcov-profile/7970
4998 PR gcov-profile/16855
4999 PR gcov-profile/44779
5000 * libgcov-driver.c (__gcov_init): Do not register a atexit
5001 handler.
5002 (__gcov_exit): Rename from gcov_exit.
5003 * libgcov.h (__gcov_exit): Declare.
5004
5005 2016-09-27 Martin Liska <mliska@suse.cz>
5006
5007 PR bootstrap/77749
5008 * Makefile.in: Remove _gcov_merge_delta.
5009 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5010 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5011 * libgcov.h: Remove declaration of __gcov_merge_delta.
5012
5013 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5014
5015 * configure.ac: Do not create links, only substitute the filenames.
5016 * configure: Regenerate.
5017 * Makefile.in: Assign the substitution results to variables.
5018 (LIBGCC_LINKS): Define.
5019 (enable-execute-stack.c): New rule.
5020 (unwind.h): Likewise.
5021 (md-unwind-support.h): Likewise.
5022 (sfp-machine.h): Likewise.
5023 (gthr-default.h): Likewise.
5024 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5025 unwind.h as prerequisite of install-unwind_h-forbuild.
5026
5027 2016-09-16 Jakub Jelinek <jakub@redhat.com>
5028
5029 PR libgcc/71744
5030 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5031 is not the primary registry and atomics are available.
5032 (any_objects_registered): New variable.
5033 (__register_frame_info_bases, __register_frame_info_table_bases):
5034 Atomically store 1 to any_objects_registered after registering first
5035 unwind info.
5036 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5037
5038 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5039
5040 PR target/63250
5041 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5042 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5043 (HFtype): Likewise.
5044 (HCtype): Likewise.
5045 (__divhc3): Likewise.
5046 (__mulhc3): Likewise.
5047 * libgcc2.c: Support _mulhc3 and _divhc3.
5048
5049 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5050
5051 PR libgcc/77519
5052 * libgcc2.c (NOTRUNC): Invert settings.
5053
5054 2016-09-06 Martin Liska <mliska@suse.cz>
5055
5056 PR gcov-profile/77378
5057 PR gcov-profile/77466
5058 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5059 conditionaly enable/disable *_atomic functions.
5060
5061 2016-08-26 Joseph Myers <joseph@codesourcery.com>
5062
5063 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5064 where not already enabled.
5065
5066 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5067
5068 * config/mips/linux-unwind.h: Use sys/syscall.h.
5069
5070 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5071
5072 PR libgcc/77265
5073 * soft-fp/adddf3.c: Update from glibc.
5074 * soft-fp/addsf3.c: Likewise.
5075 * soft-fp/addtf3.c: Likewise.
5076 * soft-fp/divdf3.c: Likewise.
5077 * soft-fp/divsf3.c: Likewise.
5078 * soft-fp/divtf3.c: Likewise.
5079 * soft-fp/double.h: Likewise.
5080 * soft-fp/eqdf2.c: Likewise.
5081 * soft-fp/eqsf2.c: Likewise.
5082 * soft-fp/eqtf2.c: Likewise.
5083 * soft-fp/extenddftf2.c: Likewise.
5084 * soft-fp/extended.h: Likewise.
5085 * soft-fp/extendsfdf2.c: Likewise.
5086 * soft-fp/extendsftf2.c: Likewise.
5087 * soft-fp/extendxftf2.c: Likewise.
5088 * soft-fp/fixdfdi.c: Likewise.
5089 * soft-fp/fixdfsi.c: Likewise.
5090 * soft-fp/fixdfti.c: Likewise.
5091 * soft-fp/fixsfdi.c: Likewise.
5092 * soft-fp/fixsfsi.c: Likewise.
5093 * soft-fp/fixsfti.c: Likewise.
5094 * soft-fp/fixtfdi.c: Likewise.
5095 * soft-fp/fixtfsi.c: Likewise.
5096 * soft-fp/fixtfti.c: Likewise.
5097 * soft-fp/fixunsdfdi.c: Likewise.
5098 * soft-fp/fixunsdfsi.c: Likewise.
5099 * soft-fp/fixunsdfti.c: Likewise.
5100 * soft-fp/fixunssfdi.c: Likewise.
5101 * soft-fp/fixunssfsi.c: Likewise.
5102 * soft-fp/fixunssfti.c: Likewise.
5103 * soft-fp/fixunstfdi.c: Likewise.
5104 * soft-fp/fixunstfsi.c: Likewise.
5105 * soft-fp/fixunstfti.c: Likewise.
5106 * soft-fp/floatdidf.c: Likewise.
5107 * soft-fp/floatdisf.c: Likewise.
5108 * soft-fp/floatditf.c: Likewise.
5109 * soft-fp/floatsidf.c: Likewise.
5110 * soft-fp/floatsisf.c: Likewise.
5111 * soft-fp/floatsitf.c: Likewise.
5112 * soft-fp/floattidf.c: Likewise.
5113 * soft-fp/floattisf.c: Likewise.
5114 * soft-fp/floattitf.c: Likewise.
5115 * soft-fp/floatundidf.c: Likewise.
5116 * soft-fp/floatundisf.c: Likewise.
5117 * soft-fp/floatunditf.c: Likewise.
5118 * soft-fp/floatunsidf.c: Likewise.
5119 * soft-fp/floatunsisf.c: Likewise.
5120 * soft-fp/floatunsitf.c: Likewise.
5121 * soft-fp/floatuntidf.c: Likewise.
5122 * soft-fp/floatuntisf.c: Likewise.
5123 * soft-fp/floatuntitf.c: Likewise.
5124 * soft-fp/gedf2.c: Likewise.
5125 * soft-fp/gesf2.c: Likewise.
5126 * soft-fp/getf2.c: Likewise.
5127 * soft-fp/ledf2.c: Likewise.
5128 * soft-fp/lesf2.c: Likewise.
5129 * soft-fp/letf2.c: Likewise.
5130 * soft-fp/muldf3.c: Likewise.
5131 * soft-fp/mulsf3.c: Likewise.
5132 * soft-fp/multf3.c: Likewise.
5133 * soft-fp/negdf2.c: Likewise.
5134 * soft-fp/negsf2.c: Likewise.
5135 * soft-fp/negtf2.c: Likewise.
5136 * soft-fp/op-1.h: Likewise.
5137 * soft-fp/op-2.h: Likewise.
5138 * soft-fp/op-4.h: Likewise.
5139 * soft-fp/op-8.h: Likewise.
5140 * soft-fp/op-common.h: Likewise.
5141 * soft-fp/quad.h: Likewise.
5142 * soft-fp/single.h: Likewise.
5143 * soft-fp/soft-fp.h: Likewise.
5144 * soft-fp/subdf3.c: Likewise.
5145 * soft-fp/subsf3.c: Likewise.
5146 * soft-fp/subtf3.c: Likewise.
5147 * soft-fp/truncdfsf2.c: Likewise.
5148 * soft-fp/trunctfdf2.c: Likewise.
5149 * soft-fp/trunctfsf2.c: Likewise.
5150 * soft-fp/trunctfxf2.c: Likewise.
5151 * soft-fp/unorddf2.c: Likewise.
5152 * soft-fp/unordsf2.c: Likewise.
5153 * soft-fp/unordtf2.c: Likewise.
5154
5155 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5156
5157 PR gcov-profile/67097
5158 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5159
5160 2016-08-10 Martin Liska <mliska@suse.cz>
5161
5162 PR gcov-profile/58306
5163 * Makefile.in: New functions (modules) are added.
5164 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5165 function.
5166 (__gcov_pow2_profiler_atomic): New function.
5167 (__gcov_one_value_profiler_body): New argument is instroduced.
5168 (__gcov_one_value_profiler): Call with the new argument.
5169 (__gcov_one_value_profiler_atomic): Likewise.
5170 (__gcov_indirect_call_profiler_v2): Likewise.
5171 (__gcov_time_profiler_atomic): New function.
5172 (__gcov_average_profiler_atomic): Likewise.
5173 (__gcov_ior_profiler_atomic): Likewise.
5174 * libgcov.h: Declare the aforementioned functions.
5175
5176 2016-08-09 Martin Liska <mliska@suse.cz>
5177
5178 * libgcov-util.c: Fix typo and GNU coding style.
5179
5180 2016-08-09 Martin Liska <mliska@suse.cz>
5181
5182 * Makefile.in: Remove __gcov_indirect_call_profiler.
5183 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5184 function.
5185 * libgcov.h: And the declaration of the function.
5186
5187 2016-08-09 Martin Liska <mliska@suse.cz>
5188
5189 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5190 power of two.
5191
5192 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5193
5194 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5195 * config/rs6000/_mulkc3.c: Likewise.
5196
5197 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5198
5199 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5200 zero_reg as previous call to __umulhisi3 already cleared it.
5201
5202 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5203
5204 PR target/59833
5205 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5206
5207 2016-07-19 Nick Clifton <nickc@redhat.com>
5208
5209 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5210 Add crtinit.o and crtfini.o to extra_parts.
5211
5212 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5213
5214 * config/rs6000/_divkc3.c: New.
5215 * config/rs6000/_mulkc3.c: New.
5216 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5217 and _divkc3.
5218 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5219 fp128_ppc_funcs.
5220
5221 2016-07-11 Hale Wang <hale.wang@arm.com>
5222 Andre Vieira <andre.simoesdiasvieira@arm.com>
5223
5224 * config/arm/lib1funcs.S: Add new wrapper.
5225
5226 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5227
5228 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5229
5230 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5231
5232 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5233 and ARMv5t* rather than for a fixed list of architectures.
5234
5235 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5236
5237 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5238 implementation suitable for.
5239 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5240 for all Thumb-1 only targets.
5241 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5242 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5243 __ARM_ARCH_6M__.
5244 (EQUIV): Likewise.
5245 (ARM_FUNC_ALIAS): Likewise.
5246 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5247 version.
5248 (modsi3): Likewise.
5249 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5250 (clzdi2): Likewise.
5251 (ctzsi2): Likewise.
5252 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5253 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5254 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5255 __ARM_ARCH_6M__ and add comment to indicate the connection between
5256 this condition and the one in gcc/config/arm/elf.h.
5257 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5258 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5259 * config/arm/t-softfp: Likewise.
5260
5261 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5262
5263 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5264 CTOR_LISTS_DEFINED_EXTERNALLY.
5265
5266 2016-06-28 Walter Lee <walt@tilera.com>
5267
5268 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5269 asm/unistd.h.
5270 (SPR_CMPEXCH_VALUE): Define for tilegx.
5271 (__NR_FAST_cmpxchg): Define for tilepro.
5272 (__NR_FAST_atomic_update): Define for tilepro.
5273 (__NR_FAST_cmpxchg64): Define for tilepro.
5274
5275 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5276
5277 * config.host: Add suport for arm*-*-phoenix* targets.
5278
5279 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5280
5281 * config.host: Remove support for mep-*.
5282 * config/mep/lib1funcs.S: Remove.
5283 * config/mep/lib2funcs.c: Remove.
5284 * config/mep/t-mep: Remove.
5285 * config/mep/tramp.c: Remove.
5286
5287 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5288
5289 * config.host: Remove support for avr-rtems.
5290 * config/avr/t-rtems: Remove.
5291
5292 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5293
5294 * config.host: Remove m32r-rtems support.
5295
5296 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5297
5298 * config.host: Remove h8300-rtems support.
5299
5300 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5301
5302 * config.host: Remove support for knetbsd.
5303
5304 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5305
5306 * config.host: Remove support for openbsd 2 and 3.
5307
5308 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5309
5310 * config.host: Remove interix support.
5311 * config/i386/t-interix: Remove.
5312
5313 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5314
5315 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5316 least-significant bit in function pointer for fixup.
5317
5318 2016-06-05 Aaron Conole <aconole@redhat.com>
5319 Nathan Sidwell <nathan@acm.org>
5320
5321 PR libgcc/71400
5322 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5323 (get_gcov_error_file): Check __gcov_error_file before trying to
5324 initialize it.
5325 (gcov_error): Always use get_gcov_error_file.
5326
5327 2016-06-02 Aaron Conole <aconole@redhat.com>
5328
5329 * libgcov-driver-system.c (__gcov_error_file): New.
5330 (get_gcov_error_file): New.
5331 (gcov_error): Use and set __gcov_error_file.
5332 (gcov_error_exit): New.
5333 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5334
5335 2016-05-26 Nathan Sidwell <nathan@acm.org>
5336
5337 * config/nvptx/free.asm: Delete.
5338 * config/nvptx/malloc.asm: Delete.
5339 * config/nvptx/realloc.c: Delete.
5340 * t-nvptx: Update.
5341
5342 2016-05-25 Nathan Sidwell <nathan@acm.org>
5343
5344 * config/nvptx/crt0.s: Delete.
5345 * config/nvptx/crt0.c: New.
5346 * t-nvptx: Update.
5347
5348 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5349
5350 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5351 dw2/seh configuration.
5352 [x86_64-*-mingw*]: Likewise.
5353
5354 2016-05-10 Joel Sherrill <joel@rtems.org>
5355
5356 PR libgcc/70720
5357 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5358 targets so the same extra_parts are built. Also have tmake_file add
5359 on to its value rather than override.
5360
5361 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5362
5363 * config.host: Remove SH5 support.
5364 * configure: Likewise.
5365
5366 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5367
5368 * config/sh/crt1.S: Remove SH5 support.
5369 * config/sh/crti.S: Likewise.
5370 * config/sh/crtn.S: Likewise.
5371 * config/sh/lib1funcs-4-300.S: Likewise.
5372 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5373 * config/sh/lib1funcs.S: Likewise.
5374 * config/sh/linux-unwind.h: Likewise.
5375 * config/sh/t-sh64: Delete.
5376
5377 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5378
5379 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5380
5381 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5382 Joern Rennecke <joern.rennecke@embecosm.com>
5383
5384 * config/arc/crttls.S: New file.
5385 * config/arc/t-arc: New rule.
5386 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5387
5388 2016-04-25 Nick Clifton <nickc@redhat.com>
5389
5390 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5391 (__mspabi_cmpd): Likewise.
5392 * config/msp430/floathidf.c (__floathidf): Likewise.
5393 * config/msp430/floathisf.c (__floathisf): Likewise
5394 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5395 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5396 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5397 second parameter.
5398 (__ashrsi3): Likewise.
5399
5400 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5401
5402 * config/m68k/linux-atomic.c: Do not include unistd.h
5403
5404 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5405
5406 * config/arm/ieee754-df.S: Fix typos in comments.
5407
5408 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5409
5410 PR target/70381
5411 * configure.ac (powerpc*-*-linux*): Rework tests to build
5412 __float128 emulation routines to not depend on using #pragma GCC
5413 target to enable -mfloat128.
5414 * configure: Regnerate.
5415
5416 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5417
5418 PR target/67172
5419 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5420 __MINGW32__ is defined.
5421
5422 2016-03-28 James Bowman <james.bowman@ftdichip.com>
5423
5424 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
5425
5426 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5427
5428 PR libgcc/70363
5429 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5430 built with an assembler that does not support ISA 3.0
5431 instructions, rename __extendkftf2_sw to __extendkftf2.
5432
5433 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5434
5435 PR target/38239
5436 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5437 call-clobbered registers.
5438 (internal_mcount): Remove __i386__ handling.
5439
5440 2016-02-26 Joel Sherrill <joel@rtems.org>
5441
5442 * config.host: Add x86_64-*-rtems*.
5443
5444 2016-02-26 Joel Sherrill <joel@rtems.org>
5445
5446 * libgcc/config.host: Add aarch64-*-rtems*.
5447
5448 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5449 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5450
5451 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5452 union of u64 and double.
5453 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5454 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5455 value.
5456 (FP_ROUNDMODE): Update the usage of _fpscr.
5457
5458 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5459
5460 PR driver/68463
5461 * Makefile.in (crtoffloadtable$(objext)): New rule.
5462 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5463 enable_offload_targets is not empty.
5464 * configure: Regenerate.
5465 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5466 crtoffloadtable.
5467
5468 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5469
5470 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5471 .literal_position before the function.
5472 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5473 Likewise.
5474
5475 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5476
5477 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5478 * config/s390/morestack.S: New file.
5479 * config/s390/t-stack-s390: New file.
5480 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5481
5482 2016-02-12 Walter Lee <walt@tilera.com>
5483
5484 * config.host (tilegx*-*-linux*): remove ti from
5485 softfp_int_modes for 32-bit configs.
5486
5487 2016-02-10 Ian Lance Taylor <iant@google.com>
5488
5489 PR go/68562
5490 * config/i386/morestack.S (__stack_split_initialize): Align
5491 stack.
5492
5493 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5494
5495 PR bootstrap/69611
5496 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5497 __FLOAT128__ to compile only for __float128 capable targets.
5498
5499 2016-01-25 Jakub Jelinek <jakub@redhat.com>
5500
5501 PR target/69444
5502 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5503 instead of ___NO_FPRS__.
5504
5505 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
5506 Steven Munroe <munroesj@linux.vnet.ibm.com>
5507 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5508
5509 * config/rs6000/float128-sed: New files to convert TF names to KF
5510 names for PowerPC IEEE 128-bit floating point support.
5511 * config/rs6000/float128-sed-hw: Likewise.
5512
5513 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5514 floating point hardware support.
5515
5516 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5517 128-bit floating point software emulation or use ISA 3.0 hardware
5518 support if it is available.
5519
5520 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5521 floating point.
5522
5523 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5524 floating point to IBM extended double.
5525
5526 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5527 double to IEEE 128-bit floating point.
5528
5529 * config/rs6000/t-float128: New Makefile fragments to enable
5530 building __float128 emulation support.
5531 * config/rs6000/t-float128-hw: Likewise.
5532
5533 * config/rs6000/sfp-exceptions.c: New file to provide exception
5534 support for IEEE 128-bit floating point.
5535
5536 * config/rs6000/floattikf.c: New files for converting between IEEE
5537 128-bit floating point and signed/unsigned 128-bit integers.
5538 * config/rs6000/fixunskfti.c: Likewise.
5539 * config/rs6000/fixkfti.c: Likewise.
5540 * config/rs6000/floatuntikf.c: Likewise.
5541
5542 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5543 when building on 64-bit systems, or when VSX is enabled.
5544 (_FP_W_TYPE): Likewise.
5545 (_FP_WS_TYPE): Likewise.
5546 (_FP_I_TYPE): Likewise.
5547 (TItype): Define on 64-bit systems.
5548 (UTItype): Likewise.
5549 (TI_BITS): Likewise.
5550 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5551 (_FP_MUL_MEAT_Q): Likewise.
5552 (_FP_DIV_MEAT_D): Likewise.
5553 (_FP_DIV_MEAT_Q): Likewise.
5554 (_FP_NANFRAC_D): Likewise.
5555 (_FP_NANFRAC_Q): Likewise.
5556 (ISA_BIT): Add exception support if we are being compiled on a
5557 machine with hardware floating point support to build the IEEE
5558 128-bit emulation functions.
5559 (FP_EX_INVALID): Likewise.
5560 (FP_EX_OVERFLOW): Likewise.
5561 (FP_EX_UNDERFLOW): Likewise.
5562 (FP_EX_DIVZERO): Likewise.
5563 (FP_EX_INEXACT): Likewise.
5564 (FP_EX_ALL): Likewise.
5565 (__sfp_handle_exceptions): Likewise.
5566 (FP_HANDLE_EXCEPTIONS): Likewise.
5567 (FP_RND_NEAREST): Likewise.
5568 (FP_RND_ZERO): Likewise.
5569 (FP_RND_PINF): Likewise.
5570 (FP_RND_MINF): Likewise.
5571 (FP_RND_MASK): Likewise.
5572 (_FP_DECL_EX): Likewise.
5573 (FP_INIT_ROUNDMODE): Likewise.
5574 (FP_ROUNDMODE): Likewise.
5575
5576 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5577 VSX code, enable IEEE 128-bit floating point. If the compiler can
5578 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5579 floating point hardware instructions and it supports declaring
5580 functions with the ifunc attribute, enable ifunc functions to
5581 switch between software and hardware support.
5582 * configure.ac (powerpc*-*-linux*): Likewise.
5583 * configure: Regenerate.
5584
5585 2016-01-15 Nick Clifton <nickc@redhat.com>
5586
5587 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5588 dependency as the source file to be compiled.
5589 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5590 (lib2hw_mul_f5.o): Likewise.
5591
5592 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5593
5594 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5595 * libgcc/config/rs6000/fixkfti.c: Likewise.
5596 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5597 * libgcc/config/rs6000/float128-hw.c: Likewise.
5598 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5599 * libgcc/config/rs6000/float128-sed: Likewise.
5600 * libgcc/config/rs6000/floattikf.c: Likewise.
5601 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5602 * libgcc/config/rs6000/quad-float128.h: Likewise.
5603 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5604 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5605 * libgcc/config/rs6000/t-float128: Likewise.
5606 * libgcc/config/rs6000/t-float128-hw: Likewise.
5607 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5608 * libgcc/config.host: Likewise.
5609 * libgcc/configure: Likewise.
5610 * libgcc/configure.ac: Likewise.
5611
5612 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5613 Steven Munroe <munroesj@linux.vnet.ibm.com>
5614 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
5615
5616 * config/rs6000/sfp-exceptions.c: New file to provide exception
5617 support for IEEE 128-bit floating point.
5618
5619 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5620 floating point hardware support.
5621
5622 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5623 point conversions.
5624 * config/rs6000/fixunskfti.c: Likewise.
5625 * config/rs6000/fixkfti.c: Likewise.
5626 * config/rs6000/floatuntikf.c: Likewise.
5627 * config/rs6000/extendkftf2-sw.c: Likewise.
5628 * config/rs6000/trunctfkf2-sw.c: Likewise.
5629
5630 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5631 128-bit floating point software emulation or use ISA 3.0 hardware
5632 support if it is available.
5633
5634 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5635 floating point.
5636
5637 * config/rs6000/t-float128: New Makefile fragments to enable
5638 building __float128 emulation support.
5639 * config/rs6000/t-float128-hw: Likewise.
5640
5641 * config/rs6000/float128-sed: New file to convert TF names to KF
5642 names for PowerPC IEEE 128-bit floating point support.
5643
5644 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5645 when building on 64-bit systems, or when VSX is enabled.
5646 (_FP_W_TYPE): Likewise.
5647 (_FP_WS_TYPE): Likewise.
5648 (_FP_I_TYPE): Likewise.
5649 (TItype): Define on 64-bit systems.
5650 (UTItype): Likewise.
5651 (TI_BITS): Likewise.
5652 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5653 (_FP_MUL_MEAT_Q): Likewise.
5654 (_FP_DIV_MEAT_D): Likewise.
5655 (_FP_DIV_MEAT_Q): Likewise.
5656 (_FP_NANFRAC_D): Likewise.
5657 (_FP_NANFRAC_Q): Likewise.
5658 (ISA_BIT): Add exception support if we are being compiled on a
5659 machine with hardware floating point support to build the IEEE
5660 128-bit emulation functions.
5661 (FP_EX_INVALID): Likewise.
5662 (FP_EX_OVERFLOW): Likewise.
5663 (FP_EX_UNDERFLOW): Likewise.
5664 (FP_EX_DIVZERO): Likewise.
5665 (FP_EX_INEXACT): Likewise.
5666 (FP_EX_ALL): Likewise.
5667 (__sfp_handle_exceptions): Likewise.
5668 (FP_HANDLE_EXCEPTIONS): Likewise.
5669 (FP_RND_NEAREST): Likewise.
5670 (FP_RND_ZERO): Likewise.
5671 (FP_RND_PINF): Likewise.
5672 (FP_RND_MINF): Likewise.
5673 (FP_RND_MASK): Likewise.
5674 (_FP_DECL_EX): Likewise.
5675 (FP_INIT_ROUNDMODE): Likewise.
5676 (FP_ROUNDMODE): Likewise.
5677
5678 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5679 compiler can do __float128.
5680 * configure: Regenerate.
5681
5682 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5683 VSX code, enable IEEE 128-bit floating point.
5684
5685 2016-01-05 Olivier Hainque <hainque@adacore.com>
5686
5687 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5688 specificities.
5689
5690 2016-01-04 Jakub Jelinek <jakub@redhat.com>
5691
5692 Update copyright years.
5693
5694 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5695
5696 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5697 soft-fp targets.
5698
5699 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5700
5701 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5702 instead of abort to avoid dependency on stdlib.h.
5703
5704 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
5705
5706 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5707 to initialize call to __dl_fixup once.
5708
5709 2015-12-04 Nick Clifton <nickc@redhat.com>
5710
5711 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5712 Allow for the second argument being negative.
5713 * config.host (extra_parts): Define for MSP430. Create separate
5714 libraries for each of the hardware multiply formats.
5715 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5716 that are needed.
5717 * config/msp430/lib2mul.c: Likewise.
5718 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5719 Add rules to build hardware multiply libraries.
5720 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5721 __mspabi_divul function.
5722 (__mspabi_divllu): New stub function.
5723
5724 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
5725
5726 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5727 fixup values if saved GOT address doesn't match runtime address.
5728 (fixup_branch_offset): Reorder list.
5729
5730 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5731
5732 * Makefile.in (VTV_CFLAGS): New variable.
5733 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5734 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5735 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5736 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5737 to extra_parts if $enable_vtable_verify = yes.
5738
5739 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5740
5741 PR target/68059
5742 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5743 (write): ...this and fix the return type.
5744
5745 2015-11-19 DJ Delorie <dj@redhat.com>
5746
5747 * config/msp430/lib2hw_mul.S: Fix alignment.
5748
5749 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5750
5751 * config/nvptx/reduction.c: New.
5752 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5753
5754 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
5755
5756 * config/rs6000/on_exit.c: New file.
5757 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5758 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5759
5760 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5761
5762 * config/arc/dp-hack.h: Add support for ARCHS.
5763 * config/arc/ieee-754/divdf3.S: Likewise.
5764 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5765 * config/arc/ieee-754/muldf3.S: Likewise.
5766 * config/arc/ieee-754/mulsf3.S: Likewise
5767 * config/arc/lib1funcs.S: Likewise
5768 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5769 for ARCv2 cores.
5770 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5771 for ARCv2 cores.
5772 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5773 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5774 cores.
5775
5776 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5777
5778 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5779 value.
5780 * config/ia64/crtend.S: Likewise.
5781
5782 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5783
5784 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5785 __CHAR_BIT__ instead of BITS_PER_UNIT.
5786 * fixed-bit.h: Likewise.
5787 * fp-bit.h: Likewise.
5788 * libgcc2.c (__popcountSI2): Likewise.
5789 (__popcountDI2): Likewise.
5790 * libgcc2.h: Likewise.
5791 * libgcov.h: Likewise.
5792
5793 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
5794
5795 * config/rs6000/atexit.c: New file.
5796 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5797 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5798 * config/rs6000/cxa_finalize.c
5799 (catomic_compare_and_exchange_bool_acq): Negate return value.
5800
5801 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5802
5803 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5804 (processor_subtypes): Add znver1.
5805 (get_amd_cpu): Detect znver1.
5806
5807 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5808
5809 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5810 Include crtfastmath.o.
5811
5812 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5813
5814 PR libgcc/66883
5815 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5816
5817 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5818
5819 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5820 * config/rl78/divmodsi.S: Update return register to r8.
5821 * config/rl78/divmodhi.S: Update return register to r8,r9.
5822 Branch to main_loop_done_himode to pop registers before return.
5823
5824 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5825
5826 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5827 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5828
5829 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5830
5831 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5832
5833 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5834
5835 * config.host (xtensa*-*-uclinux*): New configuration.
5836
5837 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5838
5839 * config/i386/cpuinfo.c (processor_features): Add
5840 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5841
5842 2015-09-28 Joseph Myers <joseph@codesourcery.com>
5843
5844 * soft-fp/adddf3.c: Update from glibc.
5845 * soft-fp/addsf3.c: Likewise.
5846 * soft-fp/addtf3.c: Likewise.
5847 * soft-fp/divdf3.c: Likewise.
5848 * soft-fp/divsf3.c: Likewise.
5849 * soft-fp/divtf3.c: Likewise.
5850 * soft-fp/double.h: Likewise.
5851 * soft-fp/eqdf2.c: Likewise.
5852 * soft-fp/eqsf2.c: Likewise.
5853 * soft-fp/eqtf2.c: Likewise.
5854 * soft-fp/extenddftf2.c: Likewise.
5855 * soft-fp/extended.h: Likewise.
5856 * soft-fp/extendsfdf2.c: Likewise.
5857 * soft-fp/extendsftf2.c: Likewise.
5858 * soft-fp/extendxftf2.c: Likewise.
5859 * soft-fp/fixdfdi.c: Likewise.
5860 * soft-fp/fixdfsi.c: Likewise.
5861 * soft-fp/fixdfti.c: Likewise.
5862 * soft-fp/fixsfdi.c: Likewise.
5863 * soft-fp/fixsfsi.c: Likewise.
5864 * soft-fp/fixsfti.c: Likewise.
5865 * soft-fp/fixtfdi.c: Likewise.
5866 * soft-fp/fixtfsi.c: Likewise.
5867 * soft-fp/fixtfti.c: Likewise.
5868 * soft-fp/fixunsdfdi.c: Likewise.
5869 * soft-fp/fixunsdfsi.c: Likewise.
5870 * soft-fp/fixunsdfti.c: Likewise.
5871 * soft-fp/fixunssfdi.c: Likewise.
5872 * soft-fp/fixunssfsi.c: Likewise.
5873 * soft-fp/fixunssfti.c: Likewise.
5874 * soft-fp/fixunstfdi.c: Likewise.
5875 * soft-fp/fixunstfsi.c: Likewise.
5876 * soft-fp/fixunstfti.c: Likewise.
5877 * soft-fp/floatdidf.c: Likewise.
5878 * soft-fp/floatdisf.c: Likewise.
5879 * soft-fp/floatditf.c: Likewise.
5880 * soft-fp/floatsidf.c: Likewise.
5881 * soft-fp/floatsisf.c: Likewise.
5882 * soft-fp/floatsitf.c: Likewise.
5883 * soft-fp/floattidf.c: Likewise.
5884 * soft-fp/floattisf.c: Likewise.
5885 * soft-fp/floattitf.c: Likewise.
5886 * soft-fp/floatundidf.c: Likewise.
5887 * soft-fp/floatundisf.c: Likewise.
5888 * soft-fp/floatunditf.c: Likewise.
5889 * soft-fp/floatunsidf.c: Likewise.
5890 * soft-fp/floatunsisf.c: Likewise.
5891 * soft-fp/floatunsitf.c: Likewise.
5892 * soft-fp/floatuntidf.c: Likewise.
5893 * soft-fp/floatuntisf.c: Likewise.
5894 * soft-fp/floatuntitf.c: Likewise.
5895 * soft-fp/gedf2.c: Likewise.
5896 * soft-fp/gesf2.c: Likewise.
5897 * soft-fp/getf2.c: Likewise.
5898 * soft-fp/ledf2.c: Likewise.
5899 * soft-fp/lesf2.c: Likewise.
5900 * soft-fp/letf2.c: Likewise.
5901 * soft-fp/muldf3.c: Likewise.
5902 * soft-fp/mulsf3.c: Likewise.
5903 * soft-fp/multf3.c: Likewise.
5904 * soft-fp/negdf2.c: Likewise.
5905 * soft-fp/negsf2.c: Likewise.
5906 * soft-fp/negtf2.c: Likewise.
5907 * soft-fp/op-1.h: Likewise.
5908 * soft-fp/op-2.h: Likewise.
5909 * soft-fp/op-4.h: Likewise.
5910 * soft-fp/op-8.h: Likewise.
5911 * soft-fp/op-common.h: Likewise.
5912 * soft-fp/quad.h: Likewise.
5913 * soft-fp/single.h: Likewise.
5914 * soft-fp/soft-fp.h: Likewise.
5915 * soft-fp/subdf3.c: Likewise.
5916 * soft-fp/subsf3.c: Likewise.
5917 * soft-fp/subtf3.c: Likewise.
5918 * soft-fp/truncdfsf2.c: Likewise.
5919 * soft-fp/trunctfdf2.c: Likewise.
5920 * soft-fp/trunctfsf2.c: Likewise.
5921 * soft-fp/trunctfxf2.c: Likewise.
5922 * soft-fp/unorddf2.c: Likewise.
5923 * soft-fp/unordsf2.c: Likewise.
5924 * soft-fp/unordtf2.c: Likewise.
5925
5926 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
5927
5928 PR libgcc/67624
5929 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5930
5931 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5932
5933 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5934 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5935 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5936 messages.
5937 (internal_mcount): Likewise.
5938 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5939 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5940
5941 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5942
5943 * configure.ac (libgcc_cv_solaris_crts): New test.
5944 * configure: Regenerate.
5945 * config.in: Regenerate.
5946 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5947 * config/gmon-sol2.c: Rename to ...
5948 * config/sol2/gmon.c: ... this.
5949 Include auto-target.h.
5950 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5951 * config/t-sol2: Rename to ...
5952 * config/sol2/t-sol2: ... this.
5953 (gmon.o): Reflect renaming.
5954 (crtp.o, crtpg.o): New rules.
5955 * config.host (*-*-solaris2*): Reflect renaming.
5956 Use system CRTs if present.
5957 Remove default CRT case.
5958
5959 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
5960
5961 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5962 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5963 __kernel_cmpxchg2.
5964 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5965 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5966 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5967 (__sync_lock_test_and_set_##WIDTH): Likewise.
5968 (__sync_lock_release_##WIDTH): Likewise.
5969 (__sync_fetch_and_##OP##_4): Change result to match type of
5970 __kernel_cmpxchg.
5971 (__sync_##OP##_and_fetch_4): Likewise.
5972 (__sync_val_compare_and_swap_4): Likewise.
5973 (__sync_bool_compare_and_swap_4): likewise.
5974 (__sync_lock_test_and_set_4): Likewise.
5975 (__sync_lock_release_4): Likewise.
5976 (FETCH_AND_OP_2): Add long long variants.
5977 (OP_AND_FETCH_2): Likewise.
5978 (COMPARE_AND_SWAP_2 ): Likewise.
5979 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5980 (SYNC_LOCK_RELEASE_2): Likewise.
5981 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5982
5983 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
5984
5985 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5986 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5987 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5988 (get_available_features): Habdle new features.
5989
5990 2015-09-21 James Bowman <james.bowman@ftdichip.com>
5991
5992 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5993 memory layout. Deal correctly with BSS region larger than 32K.
5994 Handle a watchdog reset like a power-on reset. Clean up unused
5995 code.
5996
5997 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
5998 David Edelsohn <dje.gcc@gmail.com>
5999
6000 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6001 * config/rs6000/crtdbase.S: New file.
6002 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6003
6004 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6005
6006 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6007 Add support for call0 ABI.
6008
6009 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
6010
6011 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6012
6013 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6014
6015 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6016 (__GTHREAD_HAS_COND): Likewise.
6017 (__gthread_t): Likewise.
6018 (__gthread_cond_t): Likewise.
6019 (__gthread_time_t): Likewise.
6020 (__GTHREAD_MUTEX_INIT): Likewise.
6021 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6022 (__GTHREAD_COND_INIT): Likewise.
6023 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6024 (__GTHREAD_TIME_INIT): Likewise.
6025 (__gthread_create): Likewise.
6026 (__gthread_join): Likewise.
6027 (__gthread_detach): Likewise.
6028 (__gthread_equal): Likewise.
6029 (__gthread_self): Likewise.
6030 (__gthread_yield): Likewise.
6031 (__gthread_cond_broadcast): Likewise.
6032 (__gthread_cond_signal): Likewise.
6033 (__gthread_cond_wait): Likewise.
6034 (__gthread_cond_timedwait): Likewise.
6035 (__gthread_cond_wait_recursive): Likewise.
6036 (__gthread_cond_destroy): Likewise.
6037 (rtems_gxx_once): Delete.
6038 (rtems_gxx_key_create): Likewise.
6039 (rtems_gxx_key_delete): Likewise.
6040 (rtems_gxx_getspecific): Likewise.
6041 (rtems_gxx_setspecific): Likewise.
6042 (rtems_gxx_mutex_init): Likewise.
6043 (rtems_gxx_mutex_destroy): Likewise.
6044 (rtems_gxx_mutex_lock): Likewise.
6045 (rtems_gxx_mutex_trylock): Likewise.
6046 (rtems_gxx_mutex_unlock): Likewise.
6047 (rtems_gxx_recursive_mutex_init): Likewise.
6048 (rtems_gxx_recursive_mutex_lock): Likewise.
6049 (rtems_gxx_recursive_mutex_trylock): Likewise.
6050 (rtems_gxx_recursive_mutex_unlock): Likewise.
6051 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6052 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6053 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6054 (__gthread_once): Likewise.
6055 (__gthread_key_create): Likewise.
6056 (__gthread_key_delete): Likewise.
6057 (__gthread_getspecific): Likewise.
6058 (__gthread_setspecific): Likewise.
6059 (__gthread_key_t): Use <pthread.h> type.
6060 (__gthread_once_t): Likewise
6061 (__gthread_mutex_t): Use <sys/lock.h> type.
6062 (__gthread_recursive_mutex_t): Likewise
6063 (__gthread_mutex_lock): Use <sys/lock.h> function.
6064 (__gthread_mutex_trylock): Likewise.
6065 (__gthread_mutex_timedlock): Likewise.
6066 (__gthread_mutex_unlock): Likewise.
6067 (__gthread_mutex_destroy): Likewise.
6068 (__gthread_recursive_mutex_lock): Likewise.
6069 (__gthread_recursive_mutex_trylock): Likewise.
6070 (__gthread_recursive_mutex_timedlock): Likewise.
6071 (__gthread_recursive_mutex_unlock): Likewise.
6072 (__gthread_recursive_mutex_destroy): Likewise.
6073
6074 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6075
6076 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6077 context->sp instead of context->cfa.
6078
6079 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6080
6081 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6082 with unwind-dw2-fde-dip.
6083
6084 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6085
6086 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6087 CALL12 followed by series of ENTRY to spill windowed registers.
6088 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6089 instead of making linux spill syscall.
6090
6091 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6092
6093 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6094 (get_intel_cpu): Likewise.
6095
6096 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6097
6098 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6099 (get_intel_cpu): Add Knights Landing support.
6100
6101 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
6102
6103 PR target/66954
6104 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6105 (get_available_features): Handle FEATURE_PCLMUL.
6106
6107 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6108
6109 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6110 Broadwell.
6111
6112 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
6113
6114 PR target/66954
6115 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6116 (get_available_features): Handle FEATURE_AES.
6117
6118 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6119
6120 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6121 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6122
6123 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6124
6125 * offloadstuff.c: Constify host data.
6126
6127 2015-07-17 Jan Beulich <jbeulich@suse.com>
6128
6129 * config/t-softfp: Split up "else ifneq".
6130
6131 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6132 Cesar Philippidis <cesar@codesourcery.com>
6133 Chung-Lin Tang <cltang@codesourcery.com>
6134
6135 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6136 for __nios2_arch__ level.
6137
6138 2015-07-13 John Marino <gnugcc@marino.st>
6139
6140 * config/i386/t-dragonfly: New.
6141
6142 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
6143
6144 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6145 better match light-weight syscall argument order.
6146 (__kernel_cmpxchg2): Likewise.
6147 Adjust callers.
6148
6149 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6150
6151 * config.host: Support i[34567]86-*-elfiamcu target.
6152 * config/t-softfp-sfdftf: New file.
6153 * config/i386/32/t-iamcu: Likewise.
6154 * configure: Regenerated.
6155
6156 2015-06-23 James Lemke <jwlemke@codesourcery.com>
6157
6158 libgcc/config/arm/
6159 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6160
6161 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6162
6163 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6164
6165 2015-05-27 John Marino <gnugcc@marino.st>
6166
6167 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6168 md_unwind_header
6169 * config/i386/freebsd-unwind.h: New.
6170
6171 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6172
6173 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6174 i386/t-crtfm to tmake_file.
6175 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6176 (set_fast_math): Use set_fast_math_sse for SSE targets.
6177 * config/i386/t-crtfm: Remove.
6178
6179 2015-05-21 Alan Modra <amodra@gmail.com>
6180
6181 PR libgcc/66225
6182 * config/rs6000/morestack.S: Remove ".abiversion 1".
6183
6184 2015-05-20 Alan Modra <amodra@gmail.com>
6185
6186 * config/rs6000/morestack.S: New.
6187 * config/rs6000/t-stack-rs6000: New.
6188 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6189 to tmake_file.
6190 * generic-morestack.c: Don't build for powerpc 32-bit.
6191
6192 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6193
6194 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6195 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6196
6197 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6198
6199 * config.host: FT32 target added.
6200 * config/ft32/*: New files for FT32 target.
6201
6202 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6203
6204 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6205 New macros.
6206 * config/arm/ieee754-df.S: Add CFI directives.
6207 * config/arm/ieee754-sf.S: Add CFI directives.
6208
6209 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6210
6211 * configure.ac: Include config/sjlj.m4.
6212 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6213 * config.in: Regenerate.
6214 * configure: Likewise.
6215 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6216
6217 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6218
6219 * libgcov-util.c: Add space between string literal and macro name.
6220
6221 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6222 Chris Jones <chrisj@nvidia.com>
6223 Joshua Conner <jconner@nvidia.com>
6224
6225 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6226 (arm*-*-uclinux*): Likewise.
6227 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6228 * config/arm/crtfastmath.c: New file.
6229
6230 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6231
6232 * Makefile.in (real_host_noncanonical): New variable.
6233 (libsubdir): Use it.
6234 * configure.ac (real_host_noncanonical): Compute. Remove special
6235 case for intelmicemul.
6236 * configure: Regenerate.
6237
6238 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6239
6240 * config/frv/elf-lib.h: New file.
6241 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6242 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6243 to tm_file.
6244
6245 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6246
6247 * config/frv/frvbengin.c: Do not include defaults.h
6248 * config/frv/frvend.c: Ditto.
6249
6250 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6251
6252 * config.host: Add h8300-*-linux
6253 * config/h8300/t-linux: New file.
6254 * config/h8300/lib1funs.s: Change symbol prefix.
6255 * config/h8300/sfp-machine.h: 64bit double support.
6256
6257 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6258 Szabolcs Nagy <szabolcs.nagy@arm.com>
6259
6260 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6261 Linux if target provides dl_iterate_phdr.
6262
6263 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6264
6265 PR target/65612
6266 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6267 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6268 (__cpu_indicator_init@GCC_4.8.0): New.
6269 (__cpu_model@GCC_4.8.0): Likewise.
6270 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6271 -DUSE_ELF_SYMVER.
6272
6273 2015-04-16 Nick Clifton <nickc@redhat.com>
6274
6275 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6276 and __modhi3 functions.
6277 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6278 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6279
6280 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6281
6282 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6283 do-while loop as macro body to avoid warnings.
6284
6285 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6286 Iain Sandoe <iain@codesourcery.com>
6287
6288 PR target/65351
6289 * configure: Regenerate.
6290
6291 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6292 Iain Sandoe <iain@codesourcery.com>
6293
6294 PR target/65351
6295 * configure: Regenerate.
6296
6297 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6298
6299 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6300
6301 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6302
6303 Implement call0 ABI for xtensa
6304 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6305 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6306 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6307 use ret in call0 ABI.
6308 * config/xtensa/t-windowed: New file.
6309 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6310 * libgcc/configure: Regenerated.
6311 * libgcc/configure.ac: Check if xtensa target is configured for
6312 windowed ABI and thus needs to use custom unwind code.
6313
6314 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6315
6316 PR libgcc/64885
6317 * gthr-single.h: Use __unused__ attribute instead of unused.
6318 * config/gthr-vxworks.h: Likewise.
6319 * config/i386/gthr-win32.h: Likewise.
6320
6321 2015-02-27 Kai Tietz <ktietz@redhat.com>
6322
6323 PR target/65038
6324 * config.in: Regenerated.
6325 * configure: Likewise.
6326 * configure.ac (AC_HEADER_STDC): Added explicit.
6327 (AC_CHECK_HEADERS): Check for default headers plus
6328 for ftw.h header.
6329 * libgcov-util.c (gcov_read_profile_dir): Disable use
6330 of ftw-function, if header is not found.
6331 (ftw_read_file): Likewise.
6332
6333 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6334
6335 PR target/65181
6336 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6337 -Dinhibit_libc.
6338
6339 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6340
6341 * config/arm/bpabi.S (test_div_by_zero): Make label names
6342 consistent between thumb2 and arm mode cases. Separate the
6343 signed comparison on the high word of the numerator from the
6344 unsigned comparison on the low word.
6345 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6346 signed comparison.
6347
6348 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6349
6350 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6351 and <string.h>.
6352 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6353
6354 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6355
6356 PR gcov-profile/61889
6357 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6358
6359 2015-02-02 Nick Clifton <nickc@redhat.com>
6360
6361 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6362 rounding up the fraction.
6363
6364 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6365
6366 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6367 oldval and newval to const void *. Fix typo.
6368 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6369 (FETCH_AND_OP_WORD): Likewise.
6370 (OP_AND_FETCH_WORD): Likewise.
6371 (COMPARE_AND_SWAP_2): Likewise.
6372 (__sync_val_compare_and_swap_4): Likewise.
6373 (__sync_lock_test_and_set_4): Likewise.
6374 (SYNC_LOCK_RELEASE_2): Likewise.
6375 Remove support for long long atomic operations.
6376
6377 2015-01-27 Caroline Tice <cmtice@google.com>
6378
6379 Committing VTV Cywin/Ming patch for Patrick Wollgast
6380 * Makefile.in: Move rules to build vtv_*.o out of the check
6381 for CUSTOM_CRTSTUFF.
6382 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6383 i[34567]86-*-mingw*)
6384 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
6385 enable_vtable_verify.
6386
6387 2015-01-27 Nick Clifton <nickc@redhat.com>
6388
6389 * config/rl78/cmpsi2.S: Use function start and end macros.
6390 (__gcc_bcmp): New function.
6391 * config/rl78/lshrsi3.S: Use function start and end macros.
6392 * config/rl78/mulsi3.S: Add support for G10.
6393 (__mulqi3): New function for G10.
6394 * config/rl78/signbit.S: Use function start and end macros.
6395 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6396 fpmath-sf.S.
6397 (LIB2FUNCS_EXCLUDE): Define.
6398 (LIB2FUNCS_ST): Define.
6399 * config/rl78/trampoline.S: Use function start and end macros.
6400 * config/rl78/vregs.h (START_FUNC): New macro.
6401 (START_ANOTHER_FUNC): New macro.
6402 (END_FUNC): New macro.
6403 (END_ANOTHER_FUNC): New macro.
6404 * config/rl78/bit-count.S: New file. Contains assembler
6405 implementations of the bit counting functions: ___clzhi2,
6406 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6407 __paritysi2, __popcounthi2 and __popcountsi2.
6408 * config/rl78/fpbit-sf.S: New file. Contains assembler
6409 implementationas of the math functions: __negsf2, __cmpsf2,
6410 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6411 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6412 * config/rl78/fpmath-sf.S: New file. Contains assembler
6413 implementations of the math functions: __subsf3, __addsf3,
6414 __mulsf3 and __divsf3
6415
6416 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6417
6418 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6419 Add i386/elf-lib.h to tm_file.
6420 * config/i386/elf-lib.h: Fix comment.
6421 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6422 && __sun__ && __svr4__]: Remove workaround.
6423
6424 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6425
6426 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6427 FEATURE_BMI2.
6428 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6429
6430 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6431
6432 * config/i386/cpuinfo.c (processor_subtypes): Add
6433 INTEL_COREI7_BROADWELL.
6434 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6435 model numbers.
6436
6437 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
6438
6439 * config/i386/elf-lib.h: New file.
6440 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6441 Wrap definition in #ifdef __i386__.
6442 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6443 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6444 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6445 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6446 to tm_file.
6447
6448 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6449
6450 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6451 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6452
6453 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6454
6455 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6456 Update rt_sigframe format and address for current Nios II
6457 Linux conventions.
6458
6459 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6460
6461 * config.host (arm*-*-freebsd*): Add new configuration for
6462 arm*-*-freebsd*.
6463 * config/arm/freebsd-atomic.c: New file.
6464 * config/arm/t-freebsd: Likewise.
6465 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6466 'PC-relative indirect' OS's.
6467
6468 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6469
6470 * config.host: Add Visium support.
6471 * config/visium: New directory.
6472
6473 2015-01-05 Jakub Jelinek <jakub@redhat.com>
6474
6475 Update copyright years.
6476
6477 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6478
6479 * config.host: Support mipsisa32r6 and mipsisa64r6.
6480 * config/mips/mips16.S: Do not build for R6.
6481
6482 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6483
6484 * config/sh/crt.h: New.
6485 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6486 symbols.
6487 * config/sh/crt1.S: Likewise.
6488
6489 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
6490
6491 PR libgcc/63832
6492 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6493 func_ptr *dtor_list temporary variable to avoid "array subscript
6494 is above array bounds" warnings.
6495
6496 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
6497
6498 * Makefile.in (with_aix_soname): Define.
6499 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6500 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6501 * configure: Recreate.
6502
6503 2014-12-05 Olivier Hainque <hainque@adacore.com>
6504
6505 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6506 now provided by defaults.h.
6507
6508 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6509
6510 PR target/55351
6511 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6512 whether it's defined.
6513
6514 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6515
6516 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6517 * config/i386/cpuinfo.c (get_available_features): Detect it.
6518
6519 2014-11-27 Tony Wang <tony.wang@arm.com>
6520
6521 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6522 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6523 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6524
6525 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6526
6527 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6528
6529 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
6530
6531 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6532 instead.
6533
6534 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6535 John David Anglin <danglin@gcc.gnu.org>
6536
6537 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6538 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6539 (OP_AND_FETCH_2): Likewise.
6540 (COMPARE_AND_SWAP_2): Likewise.
6541 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6542 (SYNC_LOCK_RELEASE_2): Likewise.
6543 (SUBWORD_SYNC_OP): Remove.
6544 (SUBWORD_VAL_CAS): Likewise.
6545 (SUBWORD_BOOL_CAS): Likewise.
6546 (FETCH_AND_OP_WORD): Update.
6547 Consistently use signed types.
6548
6549 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6550 Thomas Schwinge <thomas@codesourcery.com>
6551 Ilya Verbin <ilya.verbin@intel.com>
6552 Andrey Turetskiy <andrey.turetskiy@intel.com>
6553
6554 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6555 (crtoffloadend$(objext)): Likewise.
6556 * configure: Regenerate.
6557 * configure.ac (accel_dir_suffix): Compute new variable.
6558 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6559 if enable_offload_targets is not empty.
6560 * offloadstuff.c: New file.
6561
6562 2014-11-13 Nick Clifton <nickc@redhat.com>
6563
6564 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6565 Use START_FUNC and END_FUNC macros to enable linker garbage
6566 collection.
6567 * config/rl78/divmodqi.S: Likewise.
6568 * config/rl78/divmodsi.S: Likewise.
6569 * config/rl78/mulsi3.S: Likewise.
6570 * config/rl78/lib2div.c: Remove G10 functions.
6571 * config/rl78/lib2muls.c: Likewise.
6572 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6573 * config/rl78/vregs.h (START_FUNC): New macro.
6574 (END_FUNC): New macro.
6575
6576 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6577
6578 * config/mips/mips16.S: Set .module when supported. Update O32
6579 FP64 calling convention and use for FPXX when possible. Add FPXX
6580 calling convention fallback case.
6581
6582 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6583
6584 * config.host: Handle nvptx-*-*.
6585 * shared-object.mk (as-flags-$o): Define.
6586 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6587 -xassembler-with-cpp.
6588 * static-object.mk: Identical changes.
6589 * config/nvptx/t-nvptx: New file.
6590 * config/nvptx/crt0.s: New file.
6591 * config/nvptx/free.asm: New file.
6592 * config/nvptx/malloc.asm: New file.
6593 * config/nvptx/realloc.c: New file.
6594
6595 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6596
6597 * Makefile.in (libgcc.map.in): New target.
6598 (libgcc.map): Use libgcc.map.in.
6599 * config/t-softfp (softfp_compat): New variable to be set by
6600 users.
6601 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6602 variables.
6603 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6604 directory.
6605 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6606 that use compat symbols and disable all code unless [SHARED].
6607 * config/t-softfp-compat: New file.
6608 * find-symver.awk: New file.
6609 * configure.ac (--with-glibc-version): New configure option.
6610 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6611 * configure: Regenerate.
6612 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6613 soft-float and e500.
6614
6615 2014-10-29 Joseph Myers <joseph@codesourcery.com>
6616
6617 * config/t-hardfp (hardfp_exclusions): Document new variable for
6618 user to define.
6619 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6620 * config/t-softfp (softfp_extras): Document new variable for user
6621 to define.
6622 (softfp_func_list): Add functions from $(softfp_extras).
6623 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6624 * config.host (powerpc*-*-linux*): For e500v1, use
6625 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6626 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6627 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6628
6629 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
6630
6631 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6632 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6633 memory read accesses are ok.
6634
6635 2014-10-25 Joseph Myers <joseph@codesourcery.com>
6636
6637 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6638 * configure: Regenerate.
6639 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6640 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6641 of soft-fp for 32-bit classic hard float. Do not use
6642 t-softfp-excl for soft float.
6643
6644 2014-10-22 Joseph Myers <joseph@codesourcery.com>
6645
6646 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6647 configurations.
6648 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6649 Remove variables.
6650
6651 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
6652
6653 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6654 introduced with 2014-10-21 trunk r216525.
6655
6656 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
6657 Vidya Praveen <vidya.praveen@atmel.com>
6658 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6659 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6660 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
6661
6662 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6663 order.
6664
6665 Updated library functions for AVRTINY arch.
6666 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6667 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6668 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6669 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6670 wsubi/wadi macors.
6671 (__mulsi3_helper): Update stack, preserve callee saved regs and
6672 argument from stack. Restore callee save registers.
6673 (__mulpsi3): Likewise.
6674 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6675 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6676 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6677 AVRTINY.
6678 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6679 (__do_copy_data): Added new definition for AVRTINY.
6680 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6681 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6682 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6683 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6684 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6685 macors.
6686 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6687 AVRTINY.
6688
6689 Fix broken long multiplication on tiny arch.
6690
6691 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6692
6693 * soft-fp/double.h: Update from glibc.
6694 * soft-fp/eqdf2.c: Likewise.
6695 * soft-fp/eqsf2.c: Likewise.
6696 * soft-fp/eqtf2.c: Likewise.
6697 * soft-fp/extenddftf2.c: Likewise.
6698 * soft-fp/extended.h: Likewise.
6699 * soft-fp/extendsfdf2.c: Likewise.
6700 * soft-fp/extendsftf2.c: Likewise.
6701 * soft-fp/extendxftf2.c: Likewise.
6702 * soft-fp/gedf2.c: Likewise.
6703 * soft-fp/gesf2.c: Likewise.
6704 * soft-fp/getf2.c: Likewise.
6705 * soft-fp/ledf2.c: Likewise.
6706 * soft-fp/lesf2.c: Likewise.
6707 * soft-fp/letf2.c: Likewise.
6708 * soft-fp/op-1.h: Likewise.
6709 * soft-fp/op-2.h: Likewise.
6710 * soft-fp/op-4.h: Likewise.
6711 * soft-fp/op-8.h: Likewise.
6712 * soft-fp/op-common.h: Likewise.
6713 * soft-fp/quad.h: Likewise.
6714 * soft-fp/single.h: Likewise.
6715 * soft-fp/soft-fp.h: Likewise.
6716 * soft-fp/unorddf2.c: Likewise.
6717 * soft-fp/unordsf2.c: Likewise.
6718 * soft-fp/unordtf2.c: Likewise.
6719 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6720 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6721 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6722 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6723 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6724 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6725 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6726 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6727 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6728 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6729
6730 2014-10-08 Rong Xu <xur@google.com>
6731
6732 * libgcov-util.c (read_gcda_file): Fix format.
6733 (find_match_gcov_info): Ditto.
6734 (calculate_2_entries): New.
6735 (compute_one_gcov): Ditto.
6736 (gcov_info_count_all_cold): Ditto.
6737 (gcov_info_count_all_zero): Ditto.
6738 (extract_file_basename): Ditto.
6739 (get_file_basename): Ditto.
6740 (set_flag): Ditto.
6741 (matched_gcov_info): Ditto.
6742 (calculate_overlap): Ditto.
6743 (gcov_profile_overlap): Ditto.
6744 * libgcov-driver.c (compute_summary): Make
6745 it avavilable for external calls.
6746
6747 2014-10-06 Rong Xu <xur@google.com>
6748
6749 * Makefile.in: Ditto.
6750 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6751 (gcov_sort_icall_topn_counter): Ditto.
6752 (gcov_sort_topn_counter_arrays): Ditto.
6753 (dump_one_gcov): Sort indirect_call topn counters.
6754 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6755 function.
6756 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6757 utility function.
6758 (__gcov_indirect_call_topn_profiler): New profiler function.
6759 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6760 * libgcov.h: New decls.
6761
6762 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6763
6764 * config.host: Remove support for score-*.
6765
6766 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6767
6768 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6769 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6770 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6771 __LIBGCC_XF_MANT_DIG__.
6772 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6773 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6774 __LIBGCC_TF_MANT_DIG__.
6775 * libgcc2.c (NOTRUNC): Define in terms of
6776 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6777 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6778
6779 2014-09-22 Joseph Myers <joseph@codesourcery.com>
6780
6781 PR target/63312
6782 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6783 New macros.
6784
6785 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
6786
6787 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6788 override USE_PT_GNU_EH_FRAME.
6789 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6790 check USE_EH_FRAME_REGISTRY_ALWAYS against
6791 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6792 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6793 variable for substituted force_explicit_eh_registry.
6794 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6795 * configure.ac (explicit-exception-frame-registration):
6796 New AC_ARG_ENABLE.
6797 * configure: Regenerate.
6798
6799 2014-09-19 Olivier Hainque <hainque@adacore.com>
6800
6801 * config.host (powerpc-wrs-vxworksmils): New configuration,
6802 same as vxworksae.
6803
6804 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6805
6806 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6807
6808 2014-09-18 Joseph Myers <joseph@codesourcery.com>
6809
6810 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6811 bits not set bits as indicating trapping exceptions.
6812
6813 2014-09-17 Nathan sidwell <nathan@acm.org>
6814
6815 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6816 (LIBGCOV_DRIVER): ... here.
6817 * libgcov-driver.c (gcov_master): New.
6818 (gcov_exit): Remove from master chain.
6819 (__gcov_init): Add to master chain if version compatible. Don't
6820 clear the version.
6821 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6822 (gcov_reset_int): Clear master chain, if compatible.
6823 (gcov_dump_int): New internal interface. Dump master chain, if
6824 compatible.
6825 (gcov_dump): Alias for gcov_dump_int.
6826 * libgcov.h (struct gcov_root): Add next and prev fields.
6827 (struct gcov_master): New struct.
6828 (__gcov_master): New.
6829 (gcov_dump_int): Declare.
6830
6831 2014-09-17 Olivier Hainque <hainque@adacore.com>
6832
6833 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6834 and crtbegin.o + crtend.o to extra_parts.
6835
6836 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6837
6838 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6839 __LIBGCC_HAS_SF_MODE__.
6840 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6841 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6842 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6843 * config/libbid/bid_gcc_intrinsics.h
6844 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6845 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6846 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6847 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6848 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6849 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6850
6851 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
6852
6853 PR target/63223
6854 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6855 and R24 as needed. Make work for all devices and .text locations.
6856 (__do_global_ctors, __do_global_dtors): Use word addresses.
6857 (__tablejump__, __tablejump_elpm__): Remove functions.
6858 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6859 Add _tablejump2.
6860 (XICALL, XIJMP): New macros.
6861
6862 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6863 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6864
6865 * config.host (aarch64*): Include crtfastmath.o and
6866 t-crtfm.
6867 * config/aarch64/crtfastmath.c: New file.
6868
6869 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6870
6871 * config.host: Remove picochip support.
6872 * config/picochip/adddi3.S: Remove.
6873 * config/picochip/ashlsi3.S: Remove.
6874 * config/picochip/ashlsi3.c: Remove.
6875 * config/picochip/ashrsi3.S: Remove.
6876 * config/picochip/ashrsi3.c: Remove.
6877 * config/picochip/clzsi2.S: Remove.
6878 * config/picochip/cmpsi2.S: Remove.
6879 * config/picochip/divmod15.S: Remove.
6880 * config/picochip/divmodhi4.S: Remove.
6881 * config/picochip/divmodsi4.S: Remove.
6882 * config/picochip/lib1funcs.S: Remove.
6883 * config/picochip/longjmp.S: Remove.
6884 * config/picochip/lshrsi3.S: Remove.
6885 * config/picochip/lshrsi3.c: Remove.
6886 * config/picochip/parityhi2.S: Remove.
6887 * config/picochip/popcounthi2.S: Remove.
6888 * config/picochip/setjmp.S: Remove.
6889 * config/picochip/subdi3.S: Remove.
6890 * config/picochip/t-picochip: Remove.
6891 * config/picochip/ucmpsi2.S: Remove.
6892 * config/picochip/udivmodhi4.S: Remove.
6893 * config/picochip/udivmodsi4.S: Remove.
6894
6895 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6896
6897 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6898 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6899 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6900 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6901 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6902 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6903 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6904 defined and LIBGCC2_HAS_DF_MODE is defined.
6905 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6906 defined and LIBGCC2_HAS_XF_MODE is defined.
6907 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6908 defined and LIBGCC2_HAS_TF_MODE is defined.
6909
6910 2014-09-08 Joseph Myers <joseph@codesourcery.com>
6911
6912 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6913 and ROUND_TOWARDS_ZERO conditionals.
6914
6915 2014-09-07 Nathan sidwell <nathan@acm.org>
6916
6917 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6918 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6919
6920 2014-09-05 Joseph Myers <joseph@codesourcery.com>
6921
6922 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6923 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6924 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6925 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6926 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6927 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6928 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6929 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6930 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6931 (DWARF_FRAME_REGISTERS): Change all uses to
6932 __LIBGCC_DWARF_FRAME_REGISTERS__.
6933 (EH_RETURN_STACKADJ_RTX): Change all uses to
6934 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6935 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6936 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6937 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6938 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6939 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6940 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6941 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6942 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6943 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6944 __LIBGCC_STACK_POINTER_REGNUM__.
6945 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6946 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6947 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6948 to __LIBGCC_STACK_POINTER_REGNUM__.
6949 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6950 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6951 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6952 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6953 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6954 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6955 (STACK_POINTER_REGNUM): Change all uses to
6956 __LIBGCC_STACK_POINTER_REGNUM__.
6957 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6958 use to __LIBGCC_STACK_POINTER_REGNUM__.
6959 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6960 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6961 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6962 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6963 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6964 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6965 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6966 to __LIBGCC_STACK_POINTER_REGNUM__.
6967 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6968 Remove conditional definition.
6969 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6970 __LIBGCC_TEXT_SECTION_ASM_OP__.
6971 (EH_FRAME_SECTION_NAME): Change all uses to
6972 __LIBGCC_EH_FRAME_SECTION_NAME__.
6973 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6974 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6975 (CTORS_SECTION_ASM_OP): Change all uses to
6976 __LIBGCC_CTORS_SECTION_ASM_OP__.
6977 (DTORS_SECTION_ASM_OP): Change all uses to
6978 __LIBGCC_DTORS_SECTION_ASM_OP__.
6979 (JCR_SECTION_NAME): Change all uses to
6980 __LIBGCC_JCR_SECTION_NAME__.
6981 (INIT_SECTION_ASM_OP): Change all uses to
6982 __LIBGCC_INIT_SECTION_ASM_OP__.
6983 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6984 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6985 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6986 __LIBGCC_STACK_GROWS_DOWNWARD__.
6987 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6988 __LIBGCC_INIT_SECTION_ASM_OP__.
6989 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6990 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6991 (EH_FRAME_SECTION_NAME): Change all uses to
6992 __LIBGCC_EH_FRAME_SECTION_NAME__.
6993 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6994 definitions. Change all uses to
6995 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6996 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6997 __LIBGCC_STACK_GROWS_DOWNWARD__.
6998 (DWARF_FRAME_REGISTERS): Change all uses to
6999 __LIBGCC_DWARF_FRAME_REGISTERS__.
7000 (EH_RETURN_STACKADJ_RTX): Change all uses to
7001 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7002 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7003 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7004 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7005 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7006 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7007
7008 2014-09-02 Nathan sidwell <nathan@acm.org>
7009
7010 * libgcov-interface.c (STRONG_ALIAS): New.
7011 (__gcov_flush): Call __gcov_reset_int.
7012 (__gcov_reset): Strong alias for ...
7013 (__gcov_reset_ing): ... this renamed hidden version.
7014 * libgcov.h (__gcov_reset_int): New declaration.
7015
7016 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7017
7018 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7019 call from here...
7020 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7021 (__dso_handle): Define on Cygwin.
7022 * config/i386/t-cygming (crtbeginS.o): New rule.
7023 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7024
7025 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7026 declaration syntax.
7027
7028 2014-08-13 Steve Ellcey <sellcey@mips.com>
7029
7030 * crtstuff.c: Undef caddr_t.
7031
7032 2014-08-12 Steve Ellcey <sellcey@mips.com>
7033
7034 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7035
7036 2014-08-07 Nathan Sidwell <nathan@acm.org>
7037
7038 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7039 (LIBGCOV_DRIVER): ... to here.
7040 * libgcov.h (gcov_do_dump): New #define.
7041 (struct gcov_root): New.
7042 (__gcov_root): New declaration.
7043 (__gcov_dump_one): Declare.
7044 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7045 run_accounted): Delete.
7046 (gcov_compute_histogram): Add LIST argument, adjust.
7047 (compute_summary): Adjust gcov_compute_histogram call.
7048 (gcov_do_dump): Not hidden, static in libgcov.
7049 (gcov_clear): Move to interface.c.
7050 (__gcov_dump_one): New, broken out of ...
7051 (gcov_exit): ... here. Make static.
7052 (__gcov_root): New.
7053 (__gcov_init): Adjust.
7054 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7055 declarations.
7056 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7057 (gcov_clear): Moved from driver.c. Add LIST argument.
7058 (__gcov_reset): Adjust for changed interfaces.
7059 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7060
7061 2014-08-04 Rohit <rohitarulraj@freescale.com>
7062
7063 PR target/60102
7064 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7065 based on change in SPE high register numbers and 3 HTM registers.
7066
7067 2014-08-01 Nathan Sidwell <nathan@acm.org>
7068
7069 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7070 LIBGCOV_INTERFACE): Reformat.
7071 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7072 IN_GCOV_TOOL.
7073 * libgcov-interface.c: Reformat some comments.
7074 (__gcov_flush_mx): Add declaration. Tidy up definition.
7075
7076 2014-07-31 Alan Modra <amodra@gmail.com>
7077 Peter Bergner <bergner@vnet.ibm.com>
7078
7079 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7080 (pack_ldouble): New function.
7081 (__gcc_qadd): Use it.
7082 (__gcc_qmul): Likewise.
7083 (__gcc_qdiv): Likewise.
7084 (__gcc_qneg): Likewise.
7085 (__gcc_stoq): Likewise.
7086 (__gcc_dtoq): Likewise.
7087
7088 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7089
7090 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7091 (__tpf_eh_return): Add original return address as second parameter.
7092 Handle cases where unwinder routines were called directly, instead
7093 of from within the C++ library.
7094
7095 2014-07-29 Nathan Sidwell <nathan@acm.org>
7096
7097 * libgcov.h: Move renaming of entry points to lib gcov specific
7098 portion.
7099 (gcov_do_dump): New rename.
7100 (gcov_rewrite): Remove inline, make HIDDEN.
7101 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7102 (gcov_exit_compute_summary): Rename to ...
7103 (compute_summary): ... here. Add LIST argument.
7104 (gcov_exit_merge_gcda): Rename to ...
7105 (merge_one_data): ... here.
7106 (gcov_exit_write_gcda): Rename to ...
7107 (write_one_data): ... here.
7108 (gcov_exit_merge_summary): Rename to ...
7109 (merge_summary): Add RUN_COUNTED argument.
7110 (gcov_exit_dump_gcov): Rename to ...
7111 (dump_one_gcov): Add RUN_COUNTED argument.
7112 (gcov_do_dump): New function, broken out of ...
7113 (gcov_exit): ... here. Call it.
7114
7115 2014-07-27 Anthony Green <green@moxielogic.com>
7116
7117 * config.host: Add moxiebox configuration suppport.
7118
7119 2014-07-27 Nathan Sidwell <nathan@acm.org>
7120
7121 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7122 (struct gcov_filename): ... here. Include buffer and max length
7123 fields.
7124 (gcov_max_filename): Remove.
7125 (gi_filename): Remove.
7126 (gcov_exit_compute_summary): Compute max filename here.
7127 (gcov_exit_merge_gcda): Add filename parm, adjust.
7128 (gcov_exit_merge_summary): Likewise.
7129 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7130 (gcov_exit): Likewise.
7131 (__gcov_init): Don't calculate max length here.
7132 * libgcov_util.c (max_filename_len): Remove.
7133 (read_gcda_file): Don't calculate max length here.
7134 (gcov_read_profile_dir): Don't propagate here.
7135 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7136 struct gcov_filename changes.
7137 (gcov_exit_open_gcda_file): Likewise.
7138
7139 2014-07-25 Nathan Sidwell <nathan@acm.org>
7140
7141 * libgcov-driver.c (set_gcov_dump_complete,
7142 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7143 functions polluting user's namespace.
7144 (gcov_exit): Set variable directly.
7145 (gcov_clear): Reset variable directly.
7146 * libgcov-interface.c (get_gcov_dymp_complete,
7147 reset_gov_dump_complete): Remove declarations.
7148 (__gcov_reset, __gcov_dump): Don't call them.
7149
7150 2014-07-24 DJ Delorie <dj@redhat.com>
7151
7152 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7153 (__gcc_deregister_frame): Move logic to detect deregister function
7154 to ...
7155 (__gcc_register_frame): here, so it's consistent with the register
7156 logic.
7157
7158 2014-07-23 Nathan Sidwell <nathan@acm.org>
7159
7160 * libgcov-driver.c (set_gcov_list): Remove.
7161 (gcov_list): Make non-static in GCOV_TOOL.
7162 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7163
7164 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
7165
7166 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7167 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7168 Don't use SYNC_LOCK_RELEASE for int type.
7169
7170 2014-07-14 Richard Biener <rguenther@suse.de>
7171
7172 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7173
7174 2014-07-11 Rong Xu <xur@google.com>
7175
7176 * libgcov-util.c (gcov_max_filename): Fix declartion.
7177
7178 2014-07-10 Rong Xu <xur@google.com>
7179
7180 Add gcov-tool: an offline gcda profile processing tool
7181 Support.
7182 * libgcov-driver.c (gcov_max_filename): Make available
7183 to gcov-tool.
7184 * libgcov-merge.c (__gcov_merge_add): Replace
7185 gcov_read_counter() with a Macro.
7186 (__gcov_merge_ior): Ditto.
7187 (__gcov_merge_time_profile): Ditto.
7188 (__gcov_merge_single): Ditto.
7189 (__gcov_merge_delta): Ditto.
7190 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7191 in the utility functions.
7192 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7193 gcov_list object link lists.
7194 (tag_function): Ditto.
7195 (tag_blocks): Ditto.
7196 (tag_arcs): Ditto.
7197 (tag_lines): Ditto.
7198 (tag_counters): Ditto.
7199 (tag_summary): Ditto.
7200 (read_gcda_finalize): Ditto.
7201 (read_gcda_file): Ditto.
7202 (ftw_read_file): Ditto.
7203 (read_profile_dir_init): Ditto.
7204 (gcov_read_profile_dir): Ditto.
7205 (gcov_read_counter_mem): Ditto.
7206 (gcov_get_merge_weight): Ditto.
7207 (merge_wrapper): A wrapper function that calls merging handler.
7208 (gcov_merge): Merge two gcov_info objects with weights.
7209 (find_match_gcov_info): Find the matched gcov_info in the list.
7210 (gcov_profile_merge): Merge two gcov_info object lists.
7211 (__gcov_add_counter_op): Process edge profile counter values.
7212 (__gcov_ior_counter_op): Process IOR profile counter values.
7213 (__gcov_delta_counter_op): Process delta profile counter values.
7214 (__gcov_single_counter_op): Process single profile counter values.
7215 (fp_scale): Callback function for float-point scaling.
7216 (int_scale): Callback function for integer fraction scaling.
7217 (gcov_profile_scale): Scaling profile counters.
7218 (gcov_profile_normalize): Normalize profile counters.
7219 * libgcov.h: Add headers and functions for gcov-tool use.
7220 (gcov_get_counter): New.
7221 (gcov_get_counter_target): Ditto.
7222 (struct gcov_info): Make the functions field mutable in gcov-tool
7223 compilation.
7224
7225 2014-06-23 Kai Tietz <ktietz@redhat.com>
7226
7227 PR libgcc/61585
7228 * unwind-seh.c (_Unwind_GetGR): Check for proper
7229 index range.
7230 (_Unwind_SetGR): Likewise.
7231
7232 2014-05-22 Nick Clifton <nickc@redhat.com>
7233
7234 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7235 -mhwmult=none.
7236
7237 2014-05-22 Teresa Johnson <tejohnson@google.com>
7238
7239 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7240 include.
7241
7242 2014-05-20 John Marino <gnugcc@marino.st>
7243
7244 * config.host (*-*-dragonfly*): New target.
7245 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7246 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7247 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7248 * config/i386/dragonfly-unwind.h: New.
7249
7250 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7251
7252 PR libgcc/60166
7253 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7254 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7255
7256 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7257
7258 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7259 implementation.
7260
7261 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7262
7263 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7264
7265 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7266
7267 PR libgcc/61097
7268 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7269 if --enable-shared.
7270
7271 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7272
7273 Work around for current cygwin32 build problems.
7274 * config/i386/cygming-crtbegin.c (__register_frame_info,
7275 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7276 functions only for 64-bit systems.
7277
7278 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7279
7280 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7281 (sigill_caught, sigill_hdlr): Remove.
7282
7283 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7284
7285 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7286 check.
7287 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7288 Solaris 9 single-threaded support.
7289 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7290 Solaris 9 single-threaded support. Add call_user_handler code
7291 sequences.
7292 (sparc_is_sighandler): Likewise.
7293
7294 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7295
7296 * config.host: Append t-floattodi to tmake_file depending on
7297 host_address.
7298
7299 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7300
7301 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7302
7303 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7304
7305 PR libgcc/60472
7306 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7307 variable to avoid "array subscript is above array bounds" warnings.
7308 Use __builtin_expect when checking *jcr_list for NULL.
7309
7310 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7311
7312 PR libgcc/59339
7313 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7314 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7315 vtv_*.o to extra_parts if enable_vtable_verify.
7316
7317 2014-03-06 Nick Clifton <nickc@redhat.com>
7318
7319 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7320 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7321
7322 2014-02-28 Joey Ye <joey.ye@arm.com>
7323
7324 PR libgcc/60166
7325 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7326 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7327 Set to zero.
7328
7329 2014-02-24 Walter Lee <walt@tilera.com>
7330
7331 * config.host: Support "tilegx*" and "tilepro*" triplets.
7332 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7333 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7334
7335 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7336 Chung-Lin Tang <cltang@codesourcery.com>
7337
7338 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7339 * config/nios2/crti.S: Remove .file directive.
7340 * config/nios2/crtn.S: Likewise.
7341
7342 2014-02-18 Kai Tietz <ktietz@redhat.com>
7343 Jonathan Schleifer <js@webkeks.org>
7344
7345 PR objc/56870
7346 * unwind-seh.c (_GCC_specific_handler): Pass proper
7347 value to unwind-handler.
7348
7349 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7350
7351 * soft-fp/adddf3.c: Update from glibc.
7352 * soft-fp/addsf3.c: Likewise.
7353 * soft-fp/addtf3.c: Likewise.
7354 * soft-fp/divdf3.c: Likewise.
7355 * soft-fp/divsf3.c: Likewise.
7356 * soft-fp/divtf3.c: Likewise.
7357 * soft-fp/double.h: Likewise.
7358 * soft-fp/eqdf2.c: Likewise.
7359 * soft-fp/eqsf2.c: Likewise.
7360 * soft-fp/eqtf2.c: Likewise.
7361 * soft-fp/extenddftf2.c: Likewise.
7362 * soft-fp/extended.h: Likewise.
7363 * soft-fp/extendsfdf2.c: Likewise.
7364 * soft-fp/extendsftf2.c: Likewise.
7365 * soft-fp/extendxftf2.c: Likewise.
7366 * soft-fp/fixdfdi.c: Likewise.
7367 * soft-fp/fixdfsi.c: Likewise.
7368 * soft-fp/fixdfti.c: Likewise.
7369 * soft-fp/fixsfdi.c: Likewise.
7370 * soft-fp/fixsfsi.c: Likewise.
7371 * soft-fp/fixsfti.c: Likewise.
7372 * soft-fp/fixtfdi.c: Likewise.
7373 * soft-fp/fixtfsi.c: Likewise.
7374 * soft-fp/fixtfti.c: Likewise.
7375 * soft-fp/fixunsdfdi.c: Likewise.
7376 * soft-fp/fixunsdfsi.c: Likewise.
7377 * soft-fp/fixunsdfti.c: Likewise.
7378 * soft-fp/fixunssfdi.c: Likewise.
7379 * soft-fp/fixunssfsi.c: Likewise.
7380 * soft-fp/fixunssfti.c: Likewise.
7381 * soft-fp/fixunstfdi.c: Likewise.
7382 * soft-fp/fixunstfsi.c: Likewise.
7383 * soft-fp/fixunstfti.c: Likewise.
7384 * soft-fp/floatdidf.c: Likewise.
7385 * soft-fp/floatdisf.c: Likewise.
7386 * soft-fp/floatditf.c: Likewise.
7387 * soft-fp/floatsidf.c: Likewise.
7388 * soft-fp/floatsisf.c: Likewise.
7389 * soft-fp/floatsitf.c: Likewise.
7390 * soft-fp/floattidf.c: Likewise.
7391 * soft-fp/floattisf.c: Likewise.
7392 * soft-fp/floattitf.c: Likewise.
7393 * soft-fp/floatundidf.c: Likewise.
7394 * soft-fp/floatundisf.c: Likewise.
7395 * soft-fp/floatunditf.c: Likewise.
7396 * soft-fp/floatunsidf.c: Likewise.
7397 * soft-fp/floatunsisf.c: Likewise.
7398 * soft-fp/floatunsitf.c: Likewise.
7399 * soft-fp/floatuntidf.c: Likewise.
7400 * soft-fp/floatuntisf.c: Likewise.
7401 * soft-fp/floatuntitf.c: Likewise.
7402 * soft-fp/gedf2.c: Likewise.
7403 * soft-fp/gesf2.c: Likewise.
7404 * soft-fp/getf2.c: Likewise.
7405 * soft-fp/ledf2.c: Likewise.
7406 * soft-fp/lesf2.c: Likewise.
7407 * soft-fp/letf2.c: Likewise.
7408 * soft-fp/muldf3.c: Likewise.
7409 * soft-fp/mulsf3.c: Likewise.
7410 * soft-fp/multf3.c: Likewise.
7411 * soft-fp/negdf2.c: Likewise.
7412 * soft-fp/negsf2.c: Likewise.
7413 * soft-fp/negtf2.c: Likewise.
7414 * soft-fp/op-1.h: Likewise.
7415 * soft-fp/op-2.h: Likewise.
7416 * soft-fp/op-4.h: Likewise.
7417 * soft-fp/op-8.h: Likewise.
7418 * soft-fp/op-common.h: Likewise.
7419 * soft-fp/quad.h: Likewise.
7420 * soft-fp/single.h: Likewise.
7421 * soft-fp/soft-fp.h: Likewise.
7422 * soft-fp/subdf3.c: Likewise.
7423 * soft-fp/subsf3.c: Likewise.
7424 * soft-fp/subtf3.c: Likewise.
7425 * soft-fp/truncdfsf2.c: Likewise.
7426 * soft-fp/trunctfdf2.c: Likewise.
7427 * soft-fp/trunctfsf2.c: Likewise.
7428 * soft-fp/trunctfxf2.c: Likewise.
7429 * soft-fp/unorddf2.c: Likewise.
7430 * soft-fp/unordsf2.c: Likewise.
7431 * soft-fp/unordtf2.c: Likewise.
7432 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7433 macro.
7434 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7435 Likewise.
7436 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7437 Likewise.
7438 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7439 Likewise.
7440 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7441 Likewise.
7442 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7443 Likewise.
7444 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7445 Likewise.
7446 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7447 Likewise.
7448 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7449 Likewise.
7450 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7451 Likewise.
7452 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7453 Likewise.
7454 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7455 Likewise.
7456 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7457 Likewise.
7458 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7459 Likewise.
7460 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7461 Likewise.
7462 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7463 Likewise.
7464
7465 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7466
7467 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7468 cannot be represented.
7469 * config/s390/32/_fixsfdi.c: Likewise.
7470 * config/s390/32/_fixtfdi.c: Likewise.
7471 * config/s390/32/_fixunsdfdi.c: Likewise.
7472 * config/s390/32/_fixunssfdi.c: Likewise.
7473 * config/s390/32/_fixunstfdi.c: Likewise.
7474
7475 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7476
7477 * configure.ac (libgcc_cv_mips_hard_float): New.
7478 * configure: Regenerate.
7479 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7480 t-softfp-sfdf for hard-float targets.
7481 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7482 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7483 (softfp_truncations, softfp_exclude_libgcc2): New.
7484 * config/t-hardfp: New file.
7485 * config/t-hardfp-sfdf: Likewise.
7486 * config/hardfp.c: Likewise.
7487
7488 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7489
7490 * config.host: Include t-floattodi also for s390x.
7491 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7492 * config/s390/32/_fixsfdi.c: Likewise.
7493 * config/s390/32/_fixtfdi.c: Likewise.
7494 * config/s390/32/_fixunsdfdi.c: Likewise.
7495 * config/s390/32/_fixunssfdi.c: Likewise.
7496 * config/s390/32/_fixunstfdi.c: Likewise.
7497
7498 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7499
7500 PR target/59788
7501 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7502 (install-libgcc-unwind-map-forbuild): New target.
7503 (all): Depend on install-libgcc-unwind-map-forbuild.
7504 (install-libgcc-unwind-map): New target.
7505 (install): Depend on install-libgcc-unwind-map.
7506
7507 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7508
7509 * config/nios2/crti.S (_init): Initialize GOT pointer from
7510 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7511
7512 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7513
7514 * configure.ac: Check __mips64 when setting host_address.
7515 * configure: Regenerate.
7516 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7517 mips/t-mips64 and t-softfp.
7518 (mips*-*-linux*): Don't add mips/t-tpbit.
7519 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7520 (DPBIT, DPBIT_CFLAGS): Delete.
7521 * config/mips/sfp-machine.h: New file.
7522 * config/mips/t-mips64: Likewise.
7523 * config/mips/t-softfp-tf: Likewise.
7524 * config/mips/t-tpbit: Delete.
7525
7526 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7527
7528 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7529 as long long.
7530
7531 2014-01-25 Walter Lee <walt@tilera.com>
7532
7533 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7534 config.h or system.h.
7535 (bool) Define.
7536
7537 2014-01-25 Walter Lee <walt@tilera.com>
7538
7539 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7540 (post_atomic_barrier): Ditto.
7541 (__fetch_and_do): New macro.
7542 (__atomic_fetch_and_do): Use __fetch_and_do.
7543 (__sync_fetch_and_do): New macro.
7544 (__sync_fetch_and_add_4): New function.
7545 (__sync_fetch_and_sub_4): New function.
7546 (__sync_fetch_and_or_4): New function.
7547 (__sync_fetch_and_and_4): New function.
7548 (__sync_fetch_and_xor_4): New function.
7549 (__sync_fetch_and_nand_4): New function.
7550 (__sync_fetch_and_add_8): New function.
7551 (__sync_fetch_and_sub_8): New function.
7552 (__sync_fetch_and_or_8): New function.
7553 (__sync_fetch_and_and_8): New function.
7554 (__sync_fetch_and_xor_8): New function.
7555 (__sync_fetch_and_nand_8): New function.
7556 (__do_and_fetch): New macro.
7557 (__atomic_do_and_fetch): Use __do_and_fetch.
7558 (__sync_do_and_fetch): New macro.
7559 (__sync_add_and_fetch_4): New function.
7560 (__sync_sub_and_fetch_4): New function.
7561 (__sync_or_and_fetch_4): New function.
7562 (__sync_and_and_fetch_4): New function.
7563 (__sync_xor_and_fetch_4): New function.
7564 (__sync_nand_and_fetch_4): New function.
7565 (__sync_add_and_fetch_8): New function.
7566 (__sync_sub_and_fetch_8): New function.
7567 (__sync_or_and_fetch_8): New function.
7568 (__sync_and_and_fetch_8): New function.
7569 (__sync_xor_and_fetch_8): New function.
7570 (__sync_nand_and_fetch_8): New function.
7571 (__sync_exchange_methods): New macro.
7572 (__sync_val_compare_and_swap_4): New function.
7573 (__sync_bool_compare_and_swap_4): New function.
7574 (__sync_lock_test_and_test_4): New function.
7575 (__sync_val_compare_and_swap_8): New function.
7576 (__sync_bool_compare_and_swap_8): New function.
7577 (__sync_lock_test_and_test_8): New function.
7578 (__subword_cmpxchg_body): New macro.
7579 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7580 (__atomic_compare_exchange_2): Ditto.
7581 (__sync_subword_cmpxchg): New macro.
7582 (__sync_val_compare_and_swap_1): New function.
7583 (__sync_bool_compare_and_swap_1): New function.
7584 (__sync_val_compare_and_swap_2): New function.
7585 (__sync_bool_compare_and_swap_2): New function.
7586 (__atomic_subword): Rename to ...
7587 (__subword): ... New name.
7588 (__atomic_subword_fetch): Use __subword.
7589 (__sync_subword_fetch): New macro.
7590 (__sync_fetch_and_add_1): New function.
7591 (__sync_fetch_and_sub_1): New function.
7592 (__sync_fetch_and_or_1): New function.
7593 (__sync_fetch_and_and_1): New function.
7594 (__sync_fetch_and_xor_1): New function.
7595 (__sync_fetch_and_nand_1): New function.
7596 (__sync_fetch_and_add_2): New function.
7597 (__sync_fetch_and_sub_2): New function.
7598 (__sync_fetch_and_or_2): New function.
7599 (__sync_fetch_and_and_2): New function.
7600 (__sync_fetch_and_xor_2): New function.
7601 (__sync_fetch_and_nand_2): New function.
7602 (__sync_add_and_fetch_1): New function.
7603 (__sync_sub_and_fetch_1): New function.
7604 (__sync_or_and_fetch_1): New function.
7605 (__sync_and_and_fetch_1): New function.
7606 (__sync_xor_and_fetch_1): New function.
7607 (__sync_nand_and_fetch_1): New function.
7608 (__sync_add_and_fetch_2): New function.
7609 (__sync_sub_and_fetch_2): New function.
7610 (__sync_or_and_fetch_2): New function.
7611 (__sync_and_and_fetch_2): New function.
7612 (__sync_xor_and_fetch_2): New function.
7613 (__sync_nand_and_fetch_2): New function.
7614 (__atomic_subword_lock): Use __subword.
7615 (__sync_subword_lock): New macro.
7616 (__sync_lock_test_and_set_1): New function.
7617 (__sync_lock_test_and_set_2): New function.
7618
7619 2014-01-25 Walter Lee <walt@tilera.com>
7620
7621 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7622 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7623 (__atomic_subword): Ditto.
7624
7625 2014-01-25 Walter Lee <walt@tilera.com>
7626
7627 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7628 a prefix op argument.
7629 (__atomic_nand_fetch_4): Add prefix op.
7630 (__atomic_nand_fetch_8): Ditto.
7631
7632 2014-01-21 Baruch Siach <barch@tkos.co.il>
7633
7634 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7635
7636 2014-01-09 Rong Xu <xur@google.com>
7637
7638 * libgcov-driver.c (this_prg): make it local to save
7639 bss space.
7640 (gcov_exit_compute_summary): Ditto.
7641 (gcov_exit_merge_gcda): Ditto.
7642 (gcov_exit_merge_summary): Ditto.
7643 (gcov_exit_dump_gcov): Ditto.
7644
7645 2014-01-08 Rong Xu <xur@google.com>
7646
7647 * libgcov-driver.c: Use libgcov.h.
7648 (buffer_fn_data): Use xmalloc instead of malloc.
7649 (gcov_exit_merge_gcda): Ditto.
7650 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7651 * libgcov.h: New common header files for libgcov-*.h.
7652 * libgcov-interface.c: Use libgcov.h
7653 * libgcov-merge.c: Ditto.
7654 * libgcov-profiler.c: Ditto.
7655 * Makefile.in: Add dependence to libgcov.h
7656
7657 2014-01-02 Joseph Myers <joseph@codesourcery.com>
7658
7659 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7660 case of small numerator and finite nonzero result.
7661
7662 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7663
7664 Update copyright years
7665
7666 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7667
7668 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7669 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7670 config/arc/dp-hack.h, config/arc/fp-hack.h,
7671 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7672 config/arc/ieee-754/arc600-dsp/divdf3.S,
7673 config/arc/ieee-754/arc600-dsp/divsf3.S,
7674 config/arc/ieee-754/arc600-dsp/muldf3.S,
7675 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7676 config/arc/ieee-754/arc600-mul64/divdf3.S,
7677 config/arc/ieee-754/arc600-mul64/divsf3.S,
7678 config/arc/ieee-754/arc600-mul64/muldf3.S,
7679 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7680 config/arc/ieee-754/arc600/divsf3.S,
7681 config/arc/ieee-754/arc600/mulsf3.S,
7682 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7683 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7684 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7685 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7686 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7687 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7688 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7689 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7690 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7691 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7692 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7693 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7694 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7695 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7696 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7697 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7698 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7699 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7700 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7701 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7702 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7703 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7704 vtv_start_preinit.c: Use the standard form for the copyright notice.
7705
7706 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7707 Chung-Lin Tang <cltang@codesourcery.com>
7708 Based on patches from Altera Corporation
7709
7710 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7711 * config/nios2/lib2-nios2.h: New file.
7712 * config/nios2/lib2-divmod-hi.c: New file.
7713 * config/nios2/linux-unwind.h: New file.
7714 * config/nios2/lib2-divmod.c: New file.
7715 * config/nios2/linux-atomic.c: New file.
7716 * config/nios2/t-nios2: New file.
7717 * config/nios2/crti.asm: New file.
7718 * config/nios2/t-linux: New file.
7719 * config/nios2/lib2-divtable.c: New file.
7720 * config/nios2/lib2-mul.c: New file.
7721 * config/nios2/tramp.c: New file.
7722 * config/nios2/crtn.asm: New file.
7723
7724 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
7725
7726 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7727 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7728 from cpuid.h to check vendor signatures.
7729
7730 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7731
7732 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7733 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7734 (get_amd_cpu): Likewise.
7735
7736 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7739 Haswell.
7740
7741 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7742 H.J. Lu <hongjiu.lu@intel.com>
7743
7744 PR target/59422
7745 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
7746 and AMD_JAGUAR.
7747 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7748 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7749 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7750 FEATURE_XOP and FEATURE_FMA.
7751 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7752 AMDFAM15H_BDVER3.
7753 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7754 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7755 FEATURE_FMA4 and FEATURE_XOP.
7756
7757 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7758
7759 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7760 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7761 (get_intel_cpu): Updated.
7762
7763 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7764
7765 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7766
7767 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
7768
7769 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7770 instructions when __SSE_MATH__ is defined.
7771
7772 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7773
7774 * config.host (microblaze-*-rtems*): New.
7775
7776 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7777
7778 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7779 architectures that do not have hardware divide instruction.
7780 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7781
7782 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7783
7784 * longlong.h: Delete (moved to include/).
7785
7786 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7787
7788 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7789 of normal number and qNaN to not raise an inexact exception.
7790
7791 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
7792
7793 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7794
7795 2013-11-28 Matthew Leach <matthew.leach@arm.com>
7796
7797 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7798 for correct opcodes on BE.
7799
7800 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
7801
7802 * soft-fp/op-4.h: Update from glibc.
7803
7804 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7805
7806 * libgcc2.c (__udivmoddi4): Define new implementation when
7807 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7808 divide instructions.
7809
7810 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7811
7812 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7813
7814 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7815
7816 * config/t-softfp (soft-fp-objects-base): New variable.
7817 (soft-fp-objects): Use it.
7818
7819 2013-11-23 David Edelson <dje.gcc@gmail.com>
7820 Andrew Dixie <andrewd@gentrack.com>
7821
7822 PR target/33704
7823 * config/rs6000/aixinitfini.c: New file.
7824 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7825 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7826 symbols.
7827
7828 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7829
7830 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7831
7832 2013-11-18 Jan Hubicka <jh@suse.cz>
7833
7834 * libgcov-driver.c (run_accounted): Make global level static.
7835 (gcov_exit_merge_summary): Silence warning; do not clear
7836 run_accounted here.
7837 (gcov_exit): Clear it here.
7838
7839 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7840 run_accounted.
7841
7842 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7843 (all_prg, crc32): Remove static vars.
7844 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7845 all_prg.
7846 (gcov_exit_merge_gcda): Add crc32 parameter.
7847 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7848 do not account run if it was already accounted.
7849 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7850 (gcov_exit): Initialize all_prg; update.
7851
7852 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7853
7854 * configure: Regenerate.
7855
7856 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7857 Alan Modra <amodra@gmail.com>
7858
7859 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7860 (frob_update_context): Use it.
7861
7862 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7863 Alan Modra <amodra@gmail.com>
7864
7865 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7866 (trampoline_initial): Provide ELFv2 variant.
7867 (__trampoline_setup): Likewise.
7868
7869 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7870 check for AIX indirect function call sequence if _CALL_ELF == 2.
7871
7872 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7873 Alan Modra <amodra@gmail.com>
7874
7875 * config/rs6000/linux-unwind.h (get_regs): Do not support
7876 old kernel versions if _CALL_ELF == 2.
7877 (frob_update_context): Do not support PLT stub variants only
7878 generated by old linkers if _CALL_ELF == 2.
7879
7880 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7881 Alan Modra <amodra@gmail.com>
7882
7883 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7884 location of CR save area for 64-bit little-endian systems.
7885
7886 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7887
7888 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7889 in tmake_file.
7890 * config/arm/t-vxworks: Delete.
7891
7892 2013-11-10 Kai Tietz <ktietz@redhat.com>
7893
7894 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7895 Increment load-count on use of LIBGCC_SONAME DLL.
7896 (hmod_libgcc): New static variable to hold handle of
7897 LIBGCC_SONAME DLL.
7898 (__gcc_deregister_frame): Decrement load-count of
7899 LIBGCC_SONAME DLL.
7900
7901 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7902
7903 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7904 availability.
7905 * configure: Regenerate
7906
7907 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
7908
7909 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7910 FP_EX_DENORM. Store result to volatile location after SSE division
7911 to close interrupt window. Remove unneeded fwait after x87
7912 division since interrupt window will be closed by emitted fstp.
7913 Rewrite FP_EX_INEXACT handling.
7914
7915 2013-11-06 Joseph Myers <joseph@codesourcery.com>
7916
7917 * soft-fp/README: Update.
7918 * soft-fp/adddf3.c: Update from glibc.
7919 * soft-fp/addsf3.c: Likewise.
7920 * soft-fp/addtf3.c: Likewise.
7921 * soft-fp/divdf3.c: Likewise.
7922 * soft-fp/divsf3.c: Likewise.
7923 * soft-fp/divtf3.c: Likewise.
7924 * soft-fp/double.h: Likewise.
7925 * soft-fp/eqdf2.c: Likewise.
7926 * soft-fp/eqsf2.c: Likewise.
7927 * soft-fp/eqtf2.c: Likewise.
7928 * soft-fp/extenddftf2.c: Likewise.
7929 * soft-fp/extended.h: Likewise.
7930 * soft-fp/extendsfdf2.c: Likewise.
7931 * soft-fp/extendsftf2.c: Likewise.
7932 * soft-fp/extendxftf2.c: Likewise.
7933 * soft-fp/fixdfdi.c: Likewise.
7934 * soft-fp/fixdfsi.c: Likewise.
7935 * soft-fp/fixdfti.c: Likewise.
7936 * soft-fp/fixsfdi.c: Likewise.
7937 * soft-fp/fixsfsi.c: Likewise.
7938 * soft-fp/fixsfti.c: Likewise.
7939 * soft-fp/fixtfdi.c: Likewise.
7940 * soft-fp/fixtfsi.c: Likewise.
7941 * soft-fp/fixtfti.c: Likewise.
7942 * soft-fp/fixunsdfdi.c: Likewise.
7943 * soft-fp/fixunsdfsi.c: Likewise.
7944 * soft-fp/fixunsdfti.c: Likewise.
7945 * soft-fp/fixunssfdi.c: Likewise.
7946 * soft-fp/fixunssfsi.c: Likewise.
7947 * soft-fp/fixunssfti.c: Likewise.
7948 * soft-fp/fixunstfdi.c: Likewise.
7949 * soft-fp/fixunstfsi.c: Likewise.
7950 * soft-fp/fixunstfti.c: Likewise.
7951 * soft-fp/floatdidf.c: Likewise.
7952 * soft-fp/floatdisf.c: Likewise.
7953 * soft-fp/floatditf.c: Likewise.
7954 * soft-fp/floatsidf.c: Likewise.
7955 * soft-fp/floatsisf.c: Likewise.
7956 * soft-fp/floatsitf.c: Likewise.
7957 * soft-fp/floattidf.c: Likewise.
7958 * soft-fp/floattisf.c: Likewise.
7959 * soft-fp/floattitf.c: Likewise.
7960 * soft-fp/floatundidf.c: Likewise.
7961 * soft-fp/floatundisf.c: Likewise.
7962 * soft-fp/floatunditf.c: Likewise.
7963 * soft-fp/floatunsidf.c: Likewise.
7964 * soft-fp/floatunsisf.c: Likewise.
7965 * soft-fp/floatunsitf.c: Likewise.
7966 * soft-fp/floatuntidf.c: Likewise.
7967 * soft-fp/floatuntisf.c: Likewise.
7968 * soft-fp/floatuntitf.c: Likewise.
7969 * soft-fp/gedf2.c: Likewise.
7970 * soft-fp/gesf2.c: Likewise.
7971 * soft-fp/getf2.c: Likewise.
7972 * soft-fp/ledf2.c: Likewise.
7973 * soft-fp/lesf2.c: Likewise.
7974 * soft-fp/letf2.c: Likewise.
7975 * soft-fp/muldf3.c: Likewise.
7976 * soft-fp/mulsf3.c: Likewise.
7977 * soft-fp/multf3.c: Likewise.
7978 * soft-fp/negdf2.c: Likewise.
7979 * soft-fp/negsf2.c: Likewise.
7980 * soft-fp/negtf2.c: Likewise.
7981 * soft-fp/op-1.h: Likewise.
7982 * soft-fp/op-2.h: Likewise.
7983 * soft-fp/op-4.h: Likewise.
7984 * soft-fp/op-8.h: Likewise.
7985 * soft-fp/op-common.h: Likewise.
7986 * soft-fp/quad.h: Likewise.
7987 * soft-fp/single.h: Likewise.
7988 * soft-fp/soft-fp.h: Likewise.
7989 * soft-fp/subdf3.c: Likewise.
7990 * soft-fp/subsf3.c: Likewise.
7991 * soft-fp/subtf3.c: Likewise.
7992 * soft-fp/truncdfsf2.c: Likewise.
7993 * soft-fp/trunctfdf2.c: Likewise.
7994 * soft-fp/trunctfsf2.c: Likewise.
7995 * soft-fp/trunctfxf2.c: Likewise.
7996 * soft-fp/unorddf2.c: Likewise.
7997 * soft-fp/unordsf2.c: Likewise.
7998 * soft-fp/unordtf2.c: Likewise.
7999
8000 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
8001
8002 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8003 (_FP_MUL_MEAT_D): Ditto.
8004 (_FP_DIV_MEAT_S): Ditto.
8005 (_FP_DIV_MEAT_D): Ditto.
8006 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8007 t-softfp-sfdf and t-softfp to tmake_file.
8008
8009 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
8010
8011 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8012 * config/i386/crtprec.c: Ditto.
8013
8014 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8015 Shiva Chen <shiva0217@gmail.com>
8016
8017 * config.host (nds32*-elf*): Add nds32 target.
8018 * config/nds32 : New directory and files.
8019
8020 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
8021
8022 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8023 * config.host (cpu_type) <Setting default>: Add entry for
8024 crisv32-*-*.
8025 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8026 <crisv32-*-linux*>: Adjust.
8027 * longlong.h: Wrap the whole CRIS section in a single
8028 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8029 and sub_ddmmss.
8030 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8031 defined.
8032 [__CRIS__] (__umulsidi3): Define.
8033 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8034 * config/cris/sfp-machine.h: New file.
8035 * config/cris/umulsidi3.S: New file.
8036 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8037 * config/cris/arit.c (SIGNMULT): New macro.
8038 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8039 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8040 saving 3 out of originally 33 cycles from the fastest
8041 path, 3 out of 54 from the medium path and one from the longest
8042 path. Improve comments.
8043
8044 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8045
8046 * sync.c: Remove static aliases and define each function directly
8047 under its real name.
8048
8049 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
8050
8051 * config.host (hppa*64*-*-linux*): Define extra_parts.
8052 (hppa*-*-linux*): Likewise.
8053
8054 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8055
8056 * config/arc/crtgend.S: Add 2013 to Copyright years.
8057 * config/arc/gmon/atomic.h: Likewise.
8058 * config/arc/gmon/auxreg.h: Likewise.
8059 * config/arc/gmon/sys/gmon_out.h: Likewise.
8060 * config/arc/gmon/sys/gmon.h: Likewise.
8061 * config/arc/gmon/prof-freq.c: Likewise.
8062 * config/arc/gmon/mcount.c: Likewise.
8063 * config/arc/gmon/prof-freq-stub.S: Likewise.
8064 * config/arc/gmon/gmon.c: Likewise.
8065 * config/arc/gmon/machine-gmon.h: Likewise.
8066 * config/arc/gmon/profil.S: Likewise.
8067 * config/arc/gmon/dcache_linesz.S: Likewise.
8068 * config/arc/crtg.S: Likewise.
8069 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8070 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8071 * config/arc/ieee-754/adddf3.S: Likewise.
8072 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8073 * config/arc/ieee-754/fixsfsi.S: Likewise.
8074 * config/arc/ieee-754/gtsf2.S: Likewise.
8075 * config/arc/ieee-754/floatsisf.S: Likewise.
8076 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8077 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8078 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8079 * config/arc/ieee-754/fixdfsi.S: Likewise.
8080 * config/arc/ieee-754/addsf3.S: Likewise.
8081 * config/arc/ieee-754/gesf2.S: Likewise.
8082 * config/arc/ieee-754/floatsidf.S: Likewise.
8083 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8084 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8085 * config/arc/ieee-754/gtdf2.S: Likewise.
8086 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8087 * config/arc/ieee-754/uneqdf2.S: Likewise.
8088 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8089 * config/arc/ieee-754/uneqsf2.S: Likewise.
8090 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8091 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8092 * config/arc/ieee-754/eqdf2.S: Likewise.
8093 * config/arc/ieee-754/ordsf2.S: Likewise.
8094 * config/arc/ieee-754/divsf3.S: Likewise.
8095 * config/arc/ieee-754/divdf3.S: Likewise.
8096 * config/arc/ieee-754/floatunsidf.S: Likewise.
8097 * config/arc/ieee-754/orddf2.S: Likewise.
8098 * config/arc/ieee-754/eqsf2.S: Likewise.
8099 * config/arc/ieee-754/gedf2.S: Likewise.
8100 * config/arc/crtn.S: Likewise.
8101 * config/arc/crti.S: Likewise.
8102 * config/arc/t-arc700-uClibc: Likewise.
8103 * config/arc/asm.h: Likewise.
8104 * config/arc/libgcc-excl.ver: Likewise.
8105 * config/arc/t-arc-newlib: Likewise.
8106 * config/arc/divtab-arc700.c: Likewise.
8107 * config/arc/initfini.c: Likewise.
8108 * config/arc/fp-hack.h: Likewise.
8109
8110 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8111 Diego Novillo <dnovillo@google.com>
8112
8113 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8114 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8115 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8116 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8117
8118 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8119 Brendan Kehoe <brendan@zen.org>
8120 Simon Cook <simon.cook@embecosm.com>
8121
8122 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8123 * config/arc: New directory.
8124 * longlong.h [__arc__] (umul_ppmm): Remove.
8125 [__arc__] (__umulsidi3): Define.
8126 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8127 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8128
8129 2013-09-17 Jacek Caban <jacek@codeweavers.com>
8130
8131 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8132 CreateSemaphoreA.
8133 * config/i386/gthr-win32.h: Likewise.
8134
8135 2013-09-16 DJ Delorie <dj@redhat.com>
8136
8137 * config/rl78/vregs.h: Add G10 register definitions.
8138 * config/rl78/lib2mul.c: Enable for RL78/G10.
8139 * config/rl78/lib2div.c: Likewise.
8140 * config/rl78/lshrsi3.S: Use vregs.h.
8141 * config/rl78/cmpsi2.S: Likewise.
8142 * config/rl78/trampoline.S: Likewise.
8143 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8144
8145 2013-09-14 DJ Delorie <dj@redhat.com>
8146 Nick Clifton <nickc@redhat.com>
8147
8148 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8149 * config/rl78/vregs.h: New.
8150 * config/rl78/signbit.S: New file. Implements signbit function.
8151 * config/rl78/divmodsi.S: New.
8152 * config/rl78/divmodhi.S: New.
8153 * config/rl78/divmodqi.S: New.
8154 * config/rl78/t-rl78: Build them here...
8155 * config/rl78/lib2div.c: ...but not here.
8156
8157 2013-09-12 DJ Delorie <dj@redhat.com>
8158
8159 * config.host (msp*-*-elf): New.
8160 * config/msp430/: New port.
8161
8162 2013-08-18 Iain Sandoe <iain@codesourcery.com>
8163
8164 PR gcov-profile/58127
8165 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8166 __thread var for emulated TLS.
8167 (__gcov_indirect_call_counters): Likewise.
8168
8169 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
8170 Catherine Moore <clm@codesourcery.com>
8171 Richard Sandiford <rdsandiford@googlemail.com>
8172
8173 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8174 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8175 (CALL_STUB_NO_RET): Likewise.
8176 (CALL_STUB_RET): Likewise.
8177 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8178 __mips16_ret call/return stub symbols.
8179 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8180 to tmake_file.
8181
8182 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8183
8184 * config.host <mips*-*-linux*>: Remove a stray comment.
8185
8186 2013-08-10 Jan Hubicka <jh@suse.cz>
8187
8188 Work around binutils PR14342
8189 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8190 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8191 (L_gcov_indirect_call_profiler_v2): New.
8192
8193 2013-08-06 Jan Hubicka <jh@suse.cz>
8194
8195 * libgcov.c (__gcov_indirect_call_callee,
8196 __gcov_indirect_call_counters): New global vars.
8197 (__gcov_indirect_call_profiler): replace by ...
8198 (__gcov_indirect_call_profiler_v2) ... this one.
8199
8200 2013-08-06 Caroline Tice <cmtice@google.com>
8201
8202 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8203 vtv_start_preinit.o and vtv_end_preinit.o.
8204 * configure.ac: Add code to check/set enable_vtable_verify.
8205 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8206 true.
8207 * vtv_start_preinit.c: New file.
8208 * vtv_end_preinit.c: New file.
8209 * vtv_start.c: New file.
8210 * vtv_end.c: New file.
8211 * configure: Regenerated.
8212
8213 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8214
8215 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8216 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8217 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8218 GPL-3.0-with-GCC-exception.
8219
8220 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8221
8222 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8223 ISA and up.
8224
8225 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8226
8227 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8228 mapping for FPRs when creating the fallback framestate.
8229
8230 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8231
8232 PR target/57516
8233 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8234 (__round_s2_const, __round_u2_const)
8235 (__round_s4_const, __round_u4_const, __round_x8):
8236 Saturate result if addition result cannot be represented.
8237
8238 2013-07-15 Matthias Klose <doko@ubuntu.com>
8239
8240 * libgcc2.c: Don't include <limits.h>.
8241
8242 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8243
8244 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8245
8246 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8247
8248 PR target/29776
8249 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8250
8251 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8252
8253 PR middle-end/36041
8254 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8255 Define.
8256 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8257 instead of table lookups.
8258 (__popcountDI2): Likewise.
8259
8260 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8261
8262 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8263 correctly.
8264
8265 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8266
8267 PR other/53317
8268 * soft-fp/adddf3.c: Update from glibc.
8269 * soft-fp/addsf3.c: Likewise.
8270 * soft-fp/addtf3.c: Likewise.
8271 * soft-fp/divdf3.c: Likewise.
8272 * soft-fp/divsf3.c: Likewise.
8273 * soft-fp/divtf3.c: Likewise.
8274 * soft-fp/double.h: Likewise.
8275 * soft-fp/eqdf2.c: Likewise.
8276 * soft-fp/eqsf2.c: Likewise.
8277 * soft-fp/eqtf2.c: Likewise.
8278 * soft-fp/extenddftf2.c: Likewise.
8279 * soft-fp/extended.h: Likewise.
8280 * soft-fp/extendsfdf2.c: Likewise.
8281 * soft-fp/extendsftf2.c: Likewise.
8282 * soft-fp/fixdfdi.c: Likewise.
8283 * soft-fp/fixdfsi.c: Likewise.
8284 * soft-fp/fixsfdi.c: Likewise.
8285 * soft-fp/fixsfsi.c: Likewise.
8286 * soft-fp/fixtfdi.c: Likewise.
8287 * soft-fp/fixtfsi.c: Likewise.
8288 * soft-fp/fixunsdfdi.c: Likewise.
8289 * soft-fp/fixunsdfsi.c: Likewise.
8290 * soft-fp/fixunssfdi.c: Likewise.
8291 * soft-fp/fixunssfsi.c: Likewise.
8292 * soft-fp/fixunstfdi.c: Likewise.
8293 * soft-fp/fixunstfsi.c: Likewise.
8294 * soft-fp/floatdidf.c: Likewise.
8295 * soft-fp/floatdisf.c: Likewise.
8296 * soft-fp/floatditf.c: Likewise.
8297 * soft-fp/floatsidf.c: Likewise.
8298 * soft-fp/floatsisf.c: Likewise.
8299 * soft-fp/floatsitf.c: Likewise.
8300 * soft-fp/floatundidf.c: Likewise.
8301 * soft-fp/floatundisf.c: Likewise.
8302 * soft-fp/floatunditf.c: Likewise.
8303 * soft-fp/floatunsidf.c: Likewise.
8304 * soft-fp/floatunsisf.c: Likewise.
8305 * soft-fp/floatunsitf.c: Likewise.
8306 * soft-fp/gedf2.c: Likewise.
8307 * soft-fp/gesf2.c: Likewise.
8308 * soft-fp/getf2.c: Likewise.
8309 * soft-fp/ledf2.c: Likewise.
8310 * soft-fp/lesf2.c: Likewise.
8311 * soft-fp/letf2.c: Likewise.
8312 * soft-fp/muldf3.c: Likewise.
8313 * soft-fp/mulsf3.c: Likewise.
8314 * soft-fp/multf3.c: Likewise.
8315 * soft-fp/negdf2.c: Likewise.
8316 * soft-fp/negsf2.c: Likewise.
8317 * soft-fp/negtf2.c: Likewise.
8318 * soft-fp/op-1.h: Likewise.
8319 * soft-fp/op-2.h: Likewise.
8320 * soft-fp/op-4.h: Likewise.
8321 * soft-fp/op-8.h: Likewise.
8322 * soft-fp/op-common.h: Likewise.
8323 * soft-fp/quad.h: Likewise.
8324 * soft-fp/single.h: Likewise.
8325 * soft-fp/soft-fp.h: Likewise.
8326 * soft-fp/subdf3.c: Likewise.
8327 * soft-fp/subsf3.c: Likewise.
8328 * soft-fp/subtf3.c: Likewise.
8329 * soft-fp/truncdfsf2.c: Likewise.
8330 * soft-fp/trunctfdf2.c: Likewise.
8331 * soft-fp/trunctfsf2.c: Likewise.
8332 * soft-fp/unorddf2.c: Likewise.
8333 * soft-fp/unordsf2.c: Likewise.
8334 * soft-fp/unordtf2.c: Likewise.
8335 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8336 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8337 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8338 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8339 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8340 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8341 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8342 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8343 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8344 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8345 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8346 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8347
8348 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8349
8350 * config/mips/lib2funcs.c: New file.
8351 * config/mips/t-mips (LIB2ADD_ST): Add it.
8352
8353 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8354
8355 PR target/6526
8356 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8357 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8358
8359 2013-06-08 Walter Lee <walt@tilera.com>
8360
8361 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8362 Replace int64_t with long long. Add __extension__ where
8363 appropriate.
8364 * config/tilepro/atomic.c: Include config.h.
8365
8366 2013-06-06 Douglas B Rupp <rupp@adacore.com>
8367
8368 * config.host (arm-wrs-vxworks): Configure with other soft float.
8369
8370 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8371
8372 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8373 (mips64r5900el-*-elf*): New configurations.
8374
8375 2013-06-04 Alan Modra <amodra@gmail.com>
8376
8377 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8378
8379 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8380
8381 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8382
8383 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8384
8385 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8386 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8387 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8388
8389 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8390
8391 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8392 (powerpc-wrs-vxworks): Likewise.
8393
8394 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8395
8396 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8397 signal frames as well.
8398 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8399 STACK_BIAS to the CFA offset.
8400
8401 2013-05-17 Richard Henderson <rth@redhat.com>
8402
8403 PR target/49146
8404 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8405 (execute_cfa_program): Use it when storing to fs->regs.
8406
8407 2013-05-08 Kai Tietz <ktietz@redhat.com>
8408
8409 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8410 (__deregister_frame_info): Likewise.
8411
8412 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8413
8414 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8415 NaN's payload.
8416
8417 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8418
8419 2013-04-25 Alan Modra <amodra@gmail.com>
8420
8421 * config.host: Match little-endian powerpc-linux.
8422
8423 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8424
8425 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8426 as 'unsigned long long' instead of 'unsigned long'.
8427 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8428 'signed long'.
8429
8430 2013-04-10 Julian Brown <julian@codesourcery.com>
8431
8432 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8433 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8434 unsigned char/unsigned short.
8435 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8436
8437 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8438
8439 PR other/55274
8440 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8441
8442 2013-04-04 Meador Inge <meadori@codesourcery.com>
8443
8444 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8445 computing the location of the link register.
8446 (aeabi_uldivmod): Ditto.
8447
8448 2013-03-27 Kai Tietz <ktietz@redhat.com>
8449
8450 * config.host: Add support for cygwin x64 target.
8451 * configure: Regenerated.
8452
8453 2013-03-26 Walter Lee <walt@tilera.com>
8454
8455 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8456 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8457
8458 2013-03-25 Kai Tietz <ktietz@redhat.com>
8459
8460 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8461
8462 2013-03-20 Robert Mason <rbmj@verizon.net>
8463
8464 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8465 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8466 (__gthread_leave_tsd_dtor_context): Add prototypes.
8467 (tls_delete_hook): Update.
8468
8469 2013-03-20 Catherine Moore <clm@codesourcery.com>
8470 Joseph Myers <joseph@codesourcery.com>
8471 Chao-ying Fu <fu@mips.com>
8472
8473 * config/mips/mips16.S: Don't build for microMIPS.
8474 * config/mips/linux-unwind.h: Handle microMIPS frame.
8475 * config/mips/crtn.S (fini, init): New labels.
8476
8477 2013-03-14 Jakub Jelinek <jakub@redhat.com>
8478
8479 PR tree-optimization/53265
8480 * unwind-dw2.c (execute_cfa_program): Avoid
8481 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8482 on targets with DWARF_FRAME_REGISTERS < 32.
8483
8484 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8485
8486 PR target/49880
8487 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8488 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8489
8490 2013-03-07 Sriraman Tallam <tmsriram@google.com>
8491
8492 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8493 sandybridge processors.
8494
8495 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8496
8497 PR target/56529
8498 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8499 inclusion list.
8500
8501 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8502
8503 * config/microblaze/crti.S: Setup stack protection at entry
8504
8505 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
8506
8507 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8508 (__rotldi3): Shift bytewise if applicable.
8509
8510 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8511
8512 * config/aarch64/sync-cache.c
8513 (__aarch64_sync_cache_range): Silence warnings.
8514
8515 2013-02-25 Catherine Moore <clm@codesourcery.com>
8516
8517 Revert:
8518 2013-02-24 Catherine Moore <clm@codesourcery.com>
8519 Joseph Myers <joseph@codesourcery.com>
8520 Chao-ying Fu <fu@mips.com>
8521
8522 * config/mips/mips16.S: Don't build for microMIPS.
8523 * config/mips/linux-unwind.h: Handle microMIPS frame.
8524 * config/mips/crtn.S (fini, init): New labels.
8525
8526 2013-02-24 Catherine Moore <clm@codesourcery.com>
8527 Joseph Myers <joseph@codesourcery.com>
8528 Chao-ying Fu <fu@mips.com>
8529
8530 * config/mips/mips16.S: Don't build for microMIPS.
8531 * config/mips/linux-unwind.h: Handle microMIPS frame.
8532 * config/mips/crtn.S (fini, init): New labels.
8533
8534 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8535 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
8536 as dividend.
8537
8538 2013-02-16 Alan Modra <amodra@gmail.com>
8539
8540 PR target/55431
8541 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8542 (ppc_fallback_frame_state): Always set up save locations for fp
8543 and altivec. Don't bother with non-callee-saved regs, r0-r13
8544 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8545
8546 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
8547
8548 PR target/54222
8549 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8550 _ssmulHA, _ssmulSA.
8551 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8552 _ssmulha3, _usmulusa3, _ssmulsa3.
8553 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8554 (__muldi3): XCALL __muldi3_6 instead of rcall.
8555 (__umulsidi3, __mulsidi3): New functions.
8556 (do_prologue_saves, do_epilogue_restores): New .macros.
8557 (__divdi3_moddi3): Use them.
8558 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8559 (__usmulusa3, __ssmulsa3): New functions.
8560
8561 2013-02-11 Iain Sandoe <iain@codesourcery.com>
8562 Jack Howarth <howarth@bromo.med.uc.edu>
8563 Patrick Marlier <patrick.marlier@gmail.com>
8564
8565 PR libitm/55693
8566 * config/darwin-crt-tm.c: Remove dummy functions hack.
8567
8568 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
8569
8570 PR target/54222
8571 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8572 * config/avr/lib2-object.mk: New iterator to build objects from it.
8573 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8574 lib2funcs.c.
8575 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8576 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8577 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8578 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8579 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8580 * config/avr/lib1funcs-fixed.S: Implement them.
8581
8582 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8583
8584 Update copyright years.
8585
8586 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
8587
8588 PR target/54601
8589 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8590 Add crtcxa to extra_parts.
8591 * config/rs6000/exit.h: New file.
8592 * config/rs6000/cxa_atexit.c: New file.
8593 * config/rs6000/cxa_finalize.c: New file.
8594 * config/rs6000/crtcxa.c: New file.
8595 * config/rs6000/t-aix-cxa: New file.
8596 * config/rs6000/libgcc-aix-cxa.ver: New file.
8597
8598 2013-01-31 Nick Clifton <nickc@redhat.com>
8599
8600 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8601 variant.
8602
8603 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
8604
8605 PR target/54222
8606 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8607 _mulQQ, _mulHQ, _mulHA, _mulSA,
8608 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8609 _divQQ, _divHQ, _divHA, _divSA,
8610 _divUQQ, _divUHQ, _divUHA, _divUSA.
8611
8612 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
8613
8614 * config.host(microblaze*-linux*): tmake_file: Remove
8615 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8616 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8617 to exclude functions from being built with libgcc.c and use
8618 the microblaze assembly.
8619
8620 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
8621
8622 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8623 extra_parts.
8624
8625 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8626
8627 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8628 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8629 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8630 alignment operation.
8631
8632 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8633
8634 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8635 loop start address for cache clearing.
8636
8637 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8638
8639 * config/avr/lib1funcs.S: Remove trailing blanks.
8640 * config/avr/lib1funcs-fixed.S: Ditto.
8641
8642 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8643
8644 * config/avr/avr-lib.h: Add GPL copyright notice.
8645
8646 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
8647
8648 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8649 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8650 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8651 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8652
8653 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
8654
8655 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8656 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8657
8658 2013-01-04 Nick Clifton <nickc@redhat.com>
8659
8660 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8661 the CALLT instruction is supported.
8662
8663 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8664
8665 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8666 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8667
8668 2012-12-13 John Tytgat <John@bass-software.com>
8669
8670 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8671 is 25.
8672
8673 2012-12-12 Jakub Jelinek <jakub@redhat.com>
8674
8675 PR libgcc/55451
8676 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8677 undefined signed overflows.
8678
8679 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
8680
8681 PR target/55344
8682 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8683
8684 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
8685
8686 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8687 (FP_TRAPPING_EXCEPTIONS): Define.
8688 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8689 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8690
8691 2012-12-04 Richard Henderson <rth@redhat.com>
8692
8693 PR bootstrap/55571
8694 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8695
8696 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8697
8698 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8699 (FP_EX_SHIFT): Define.
8700 (FP_TRAPPING_EXCEPTIONS): Define.
8701
8702 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
8703
8704 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8705 (FP_ROUNDMODE): Use FP_RND_MASK.
8706 * config/aarch64/sfp-exceptions.c: New.
8707 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8708 Use __sfp_handle_exceptions.
8709
8710 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
8711
8712 * config.host: (arm*-*-freebsd*): Remove.
8713 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8714 (arm*-*-elf*): Remove.
8715 (arm*-*-wince-pe*): Remove.
8716 * arm/unwind-arm.c (struct fpa_reg): Delete.
8717 (struct fpa_regs): Delete.
8718 (phase1_vrs): Remove fpa element.
8719 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8720 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8721 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8722 * ieee754-sf.S (floatundisf): Remove FPA support.
8723 (floatdisf): Likewise.
8724 * ieee75f-df.S (floatundidf): Likewise.
8725 (floatdidf): Likewise.
8726
8727 2012-11-29 Kai Tietz <ktietz@redhat.com>
8728
8729 PR target/55445
8730 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8731 * unwind-generic.h: Likewise.
8732 * unwind-seh.c: Likewise.
8733
8734 2012-11-28 Richard Henderson <rth@redhat.com>
8735
8736 PR libgcc/48076
8737 * emutls.c (__emutls_get_address): Avoid race condition between
8738 obj->loc.offset read and emutls_key initialization.
8739
8740 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
8741
8742 Adjust decimal point of signed accum mode to GCC default.
8743
8744 PR target/54222
8745 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8746 _divqq_helper.
8747 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8748 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8749 (__mulha3, __mulsa3)
8750 (__divqq3, __divha3, __divsa3): Adjust to new position of
8751 decimal point of signed accum types.
8752
8753 (__mulusa3_round): New function.
8754 (__mulusa3): Use it.
8755 (__divqq_helper): New function.
8756 (__udivuqq3): Use it.
8757
8758 2012-11-20 Jakub Jelinek <jakub@redhat.com>
8759
8760 PR bootstrap/55370
8761 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8762
8763 2012-11-18 Teresa Johnson <tejohnson@google.com>
8764
8765 PR bootstrap/55051
8766 * libgcov.c (gcov_exit): Remove merged program summary
8767 comparison unless !GCOV_LOCKED.
8768
8769 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
8770
8771 * soft-fp: Updated from glibc upstream.
8772
8773 2012-11-06 Ian Lance Taylor <iant@google.com>
8774
8775 * generic-morestack.c (__generic_morestack): Align the returned
8776 stack pointer to a 32 byte boundary.
8777 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8778 increment the return address until we have decided that we don't
8779 have a varargs function.
8780 (__morestack) [32-bit]: Align stack correctly when calling C
8781 functions.
8782 (__morestack) [64-bit]: Likewise.
8783
8784 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8785
8786 * configure: Regenerate.
8787
8788 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
8789
8790 PR target/55175
8791 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8792 * config/i386/sfp-machine.h: Guard exception handling
8793 code with _SOFT_FLOAT.
8794 * config/i386/32/sfp-machine.h: Guard rounding handling
8795 code with _SOFT_FLOAT.
8796 * config/i386/64/sfp-machine.h: Ditto.
8797
8798 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8799
8800 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8801 as extra_parts.
8802
8803 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
8804
8805 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8806 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8807 when appropriate. Correct structure element types.
8808 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8809 -minline-all-stringops from compile flags.
8810
8811 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8812
8813 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8814
8815 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
8816
8817 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8818
8819 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8820
8821 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8822 tmake_file.
8823
8824 2012-10-23 Ian Bolton <ian.bolton@arm.com>
8825 Jim MacArthur <jim.macarthur@arm.com>
8826 Marcus Shawcroft <marcus.shawcroft@arm.com>
8827 Nigel Stephens <nigel.stephens@arm.com>
8828 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8829 Richard Earnshaw <rearnsha@arm.com>
8830 Sofiane Naci <sofiane.naci@arm.com>
8831 Stephen Thomas <stephen.thomas@arm.com>
8832 Tejas Belagod <tejas.belagod@arm.com>
8833 Yufeng Zhang <yufeng.zhang@arm.com>
8834
8835 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8836 * config/aarch64/crti.S: New file.
8837 * config/aarch64/crtn.S: New file.
8838 * config/aarch64/linux-unwind.h: New file.
8839 * config/aarch64/sfp-machine.h: New file.
8840 * config/aarch64/sync-cache.c: New file.
8841 * config/aarch64/t-aarch64: New file.
8842 * config/aarch64/t-softfp: New file.
8843
8844 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8845
8846 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8847 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8848 no-longer-needed LDBU insns.
8849
8850 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
8851
8852 * config.host
8853 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8854 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8855
8856 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8857
8858 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8859
8860 2012-10-15 Matthias Klose <doko@ubuntu.com>
8861
8862 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8863
8864 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8865
8866 * configure: Regenerate.
8867 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8868
8869 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8870
8871 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8872 instructions for 64bit targets only.
8873
8874 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
8875
8876 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8877 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8878 * config/i386/32/sfp-machine.h: ... here.
8879 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8880 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8881 New defines.
8882
8883 2012-10-07 Matthias Klose <doko@ubuntu.com>
8884
8885 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8886 as unused.
8887 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8888
8889 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
8890
8891 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8892 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8893 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8894 (ElfW): Likewise.
8895
8896 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8897
8898 PR other/53889
8899 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8900 Fix parameter names.
8901
8902 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8903
8904 PR target/33135
8905 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8906 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8907 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8908
8909 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8910
8911 PR target/50457
8912 * config/sh/linux-atomic.S: Delete.
8913 * config/sh/linux-atomic.c: New.
8914 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8915 linux-atomic.c. Add cflags to disable warnings.
8916
8917 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8918
8919 PR other/53889
8920 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8921 function.
8922 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8923 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8924 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8925 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8926 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8927 Likewise.
8928 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8929 Likewise.
8930 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8931 Likewise.
8932 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8933 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8934
8935 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
8936
8937 * config.host (hppa-*-openbsd*): New target.
8938 * config/pa/t-openbsd: New file.
8939
8940 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
8941
8942 PR target/54222
8943 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8944 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8945 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8946 (__divsa3): Use __negsi2 to negate r_quoL.
8947 * config/avr/lib1funcs.S (FALIAS): New macro.
8948 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8949 (__negsi2): ...this new function.
8950 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8951 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8952 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8953 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8954 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8955 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8956
8957 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8958
8959 PR target/54089
8960 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8961 (lshrsi3): Reimplement as lshrsi3_r0.
8962
8963 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8964
8965 PR target/46191
8966 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8967 of libgcc.a.
8968
8969 2012-09-07 Teresa Johnson <tejohnson@google.com>
8970
8971 PR gcov-profile/54487
8972 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8973 differences.
8974
8975 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
8976
8977 PR target/54461
8978 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8979 not configured --with-avrlibc=no.
8980 * config/avr/t-avrlibc: New file.
8981 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8982 (DPBIT_FUNCS): Ditto.
8983 (TPBIT_FUNCS): Ditto.
8984
8985 2012-09-04 Teresa Johnson <tejohnson@google.com>
8986
8987 * libgcov.c (struct gcov_summary_buffer): New structure.
8988 (gcov_histogram_insert): New function.
8989 (gcov_compute_histogram): Ditto.
8990 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8991 histograms during summary merging.
8992
8993 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
8994
8995 * config.host (x86_64-*-openbsd*): New target.
8996
8997 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8998
8999 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9000 attribute.
9001
9002 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9003
9004 PR target/54222
9005 * config/avr/t-avr (conv_X): Rename to func_X.
9006
9007 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9008
9009 PR target/54222
9010 * config/avr/lib1funcs-fixed.S: New file.
9011 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9012 after they are used.
9013 (neg2, neg4): New macros.
9014 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9015 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9016 (__umulhisi3): Speed up MUL variant if there is enough flash.
9017 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9018 avr-modes.def.
9019 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9020 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9021 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9022 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9023 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9024 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9025 (LIB2FUNCS_EXCLUDE): Add supported functions.
9026
9027 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
9028
9029 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9030 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9031 libgcc-s-objects.
9032 * fixed-obj.mk: Only expand dependency if $o is not in
9033 LIB2FUNCS_EXCLUDE.
9034
9035 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9036
9037 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9038
9039 2012-08-22 Joseph Myers <joseph@codesourcery.com>
9040
9041 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9042 depend on --enable-shared.
9043 ($(lib1asmfuncs-o)): Use %.vis files independent of
9044 --enable-shared.
9045 * static-object.mk ($(base)$(objext), $(base).vis)
9046 ($(base)_s$(objext)): Use same rules for visibility handling as in
9047 shared-object.mk.
9048
9049 2012-08-21 Ian Lance Taylor <iant@google.com>
9050
9051 * config/i386/morestack.S (__morestack_non_split): Increase amount
9052 of space allocated for non-split code stack.
9053
9054 2012-08-19 Joseph Myers <joseph@codesourcery.com>
9055
9056 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9057 even if inhibit_libc.
9058
9059 2012-08-17 Julian Brown <julian@codesourcery.com>
9060
9061 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9062 -fexceptions -fnon-call-exceptions if not defined.
9063 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9064 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9065
9066 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9067
9068 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9069 type.
9070
9071 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
9072
9073 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9074 rs6000/t-slibgcc-aix.
9075
9076 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9077
9078 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9079
9080 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9081
9082 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9083
9084 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9085
9086 PR driver/54171
9087 * Makefile.in (version): Replace top_srcdir with srcdir.
9088
9089 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9090
9091 * Makefile.in (version): set to BASE-VER file from gcc directory.
9092
9093 2012-08-01 Nick Clifton <nickc@redhat.com>
9094
9095 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9096 Implements __clrsb for an HImode argument.
9097
9098 2012-07-31 Nick Clifton <nickc@redhat.com>
9099
9100 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9101 Implements __clrsb for an HImode argument.
9102 * config/stormy16/clrsbhi2.c: New file:
9103 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9104
9105 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9106
9107 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9108
9109 2012-07-19 Tristan Gingold <gingold@adacore.com>
9110 Richard Henderson <rth@redhat.com>
9111
9112 * unwind-seh.c: New file.
9113 * unwind-generic.h: Include windows.h for SEH.
9114 (_Unwind_Exception): Use 6 private fields for SEH.
9115 (_GCC_specific_handler): Declare.
9116 * unwind-c.c (__gcc_personality_seh0): New function.
9117 Adjust for SEH.
9118 * config/i386/libgcc-cygming.ver: New file.
9119 * config/i386/t-seh-eh: New file.
9120 * config.host (x86_64-*-mingw*): Default to seh.
9121
9122 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9123
9124 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9125
9126 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
9127
9128 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9129 __builtin_expect when checking for exceptions.
9130 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9131
9132 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9133
9134 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9135 function declaration.
9136 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9137 (FP_RND_MASK): New.
9138 * config/ia64/sfp-exceptions.c: New.
9139 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9140
9141 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9142
9143 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9144 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9145 * config/i386/64/sfp-machine: ... (delete here) ...
9146 * config/i386/sfp-machine.h: ... to here.
9147 (FP_EX_MASK): Remove.
9148 (FP_RND_MASK): New.
9149 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9150
9151 2012-06-11 Sriraman Tallam <tmsriram@google.com>
9152
9153 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9154 * config/i386/libgcc-sol2.ver: Ditto.
9155 * config/i386/libgcc-glibc.ver: Ditto.
9156
9157 2012-06-11 Roland McGrath <mcgrathr@google.com>
9158
9159 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9160 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9161 pthread_cancel.
9162
9163 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
9164
9165 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9166 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9167 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9168 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9169 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9170 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9171 * config/i386/64/sfp-machine: ... (delete here) ...
9172 * config/i386/sfp-machine.h: ... to here.
9173 (FP_EX_MASK): New.
9174 (__sfp_handle_exceptions): New function declaration.
9175 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9176 * config/i386/sfp-exceptions.c: New.
9177 * config/i386/t-softfp: New.
9178 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9179 i386/t-softfp to tmake_file.
9180
9181 2012-06-03 David S. Miller <davem@davemloft.net>
9182
9183 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9184 change.
9185
9186 2012-05-31 David S. Miller <davem@davemloft.net>
9187
9188 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9189 multiply and divide instructions on 32-bit when V9.
9190 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9191
9192 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9193
9194 * config/arm/ieee754-df.S: Fix typos.
9195 * config/arm/ieee754-sf.S: Fix typos.
9196 * config/c6x/libunwind.S: Fix typos.
9197 * config/epiphany/udivsi3-float.c: Fix typos.
9198 * config/microblaze/muldi3_hard.S: Fix typos.
9199 * config/picochip/adddi3.S: Fix typos.
9200 * config/picochip/ashlsi3.S: Fix typos.
9201 * config/picochip/ashrsi3.S: Fix typos.
9202 * config/picochip/clzsi2.S: Fix typos.
9203 * config/picochip/cmpsi2.S: Fix typos.
9204 * config/picochip/divmod15.S: Fix typos.
9205 * config/picochip/divmodhi4.S: Fix typos.
9206 * config/picochip/divmodsi4.S: Fix typos.
9207 * config/picochip/longjmp.S: Fix typos.
9208 * config/picochip/lshrsi3.S: Fix typos.
9209 * config/picochip/parityhi2.S: Fix typos.
9210 * config/picochip/popcounthi2.S: Fix typos.
9211 * config/picochip/setjmp.S: Fix typos.
9212 * config/picochip/subdi3.S: Fix typos.
9213 * config/picochip/ucmpsi2.S: Fix typos.
9214 * config/picochip/udivmodhi4.S: Fix typos.
9215 * config/picochip/udivmodsi4.S: Fix typos.
9216 * config/spu/divv2df3.c: Fix typos.
9217 * config/spu/mfc_multi_tag_release.c: Fix typos.
9218 * config/spu/mfc_tag_release.c: Fix typos.
9219 * configure.ac: Fix typos.
9220 * configure: Regenerate.
9221
9222 2012-05-25 Ian Lance Taylor <iant@google.com>
9223
9224 * config/i386/morestack.S (__morestack_non_split): Check whether
9225 caller is varargs and needs %bp to hold the stack frame on return.
9226
9227 2012-05-25 Olivier Hainque <hainque@adacore.com>
9228
9229 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9230 sequence in the non pic case on VxWorks.
9231
9232 2012-05-24 Olivier Hainque <hainque@adacore.com>
9233
9234 * Makefile.in: Move dependency on install-unwind_h from
9235 "install-leaf" to "install".
9236
9237 2012-05-24 Olivier Hainque <hainque@adacore.com>
9238
9239 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9240 Use a separate command for stamp removals.
9241
9242 2012-05-21 Andrew Pinski <apinski@cavium.com>
9243
9244 PR bootstrap/53183
9245 * configure.ac: Define the default includes to being none.
9246 * configure: Regenerate.
9247
9248 2012-05-16 Olivier Hainque <hainque@adacore.com>
9249
9250 * Makefile.in (install-unwind_h): Rename into ...
9251 (install-unwind_h-forbuild): New target.
9252 (all): Use it instead of the former install-unwind_h.
9253 (install-unwind_h): Reinstate, copy to user install destination
9254 for include files, not to the internal gcc object directory one.
9255 (install-leaf): Depend on it.
9256
9257 2012-05-15 Olivier Hainque <hainque@adacore.com>
9258
9259 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9260 register numbers. LR_REGNO replaces R_LR.
9261 (ucontext_for): New, helper for ...
9262 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9263 and 5.3 of ...
9264 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9265
9266 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9267
9268 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9269 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9270 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9271 i386/t-cpuinfo ...
9272 (i[34567]86-*-*, x86_64-*-*): ... here.
9273
9274 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9275 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9276
9277 * config/i386/i386-cpuinfo.c: Rename to ...
9278 * config/i386/cpuinfo.c: ... this.
9279 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9280
9281 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9282 (libgcc_cv_init_priority): New test.
9283 * configure: Regenerate.
9284 * config.in: New file.
9285 * Makefile.in (clean): Rename config.h to auto-target.h.
9286 (config.h): Likewise.
9287 (stamp-h): Likewise.
9288
9289 * config/i386/cpuinfo.c (auto-target.h): Include.
9290 (CONSTRUCTOR_PRIORITY): Define.
9291 (__cpu_indicator_init): Use it.
9292
9293 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9294
9295 * longlong.h: Use a URL instead of an FSF postal address.
9296 Replace spaces with tab.
9297
9298 2012-05-08 Teresa Johnson <tejohnson@google.com>
9299
9300 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9301 (__gcov_dump): Ditto.
9302 (gcov_dump_complete): New global variable.
9303 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9304 (__gcov_flush): Outline functionality now in gcov_clear.
9305 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9306
9307 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9308
9309 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9310 (mips*-*-linux*): Include mips/t-tpbit when long double is
9311 16 bytes long.
9312
9313 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9314
9315 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9316 (get_available_features): New argument. Check for AVX2.
9317 (__cpu_indicator_init): Modify call to get_available_features.
9318
9319 2012-04-25 Alan Modra <amodra@gmail.com>
9320
9321 * config/rs6000/crtsavevr.S: New file.
9322 * config/rs6000/crtrestvr.S: New file.
9323 * config/rs6000/t-savresfgpr: Build the above.
9324 * config/rs6000/t-netbsd: Likewise.
9325
9326 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9327
9328 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9329
9330 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9331
9332 * libgcc/config/i386/i386-cpuinfo.c: New file.
9333 * libgcc/config/i386/t-cpuinfo: New file.
9334 * libgcc/config.host: Include t-cpuinfo.
9335 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9336
9337 2012-04-24 Chao-ying Fu <fu@mips.com>
9338
9339 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9340
9341 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9342
9343 struct siginfo vs. siginfo_t
9344
9345 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9346 siginfo_t instead of struct siginfo.
9347 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9348 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9349 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9350 (ia64_handle_unwabi): Likewise.
9351 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9352 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9353 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9354 (sh_fallback_frame_state): Likewise.
9355 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9356 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9357
9358 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9359
9360 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9361 system call number.
9362
9363 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9364
9365 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9366 if it hasn't been previously saved.
9367
9368 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9369
9370 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9371 only for glibc.
9372
9373 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
9374
9375 PR target/52737
9376 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9377 instead of __AVR_HAVE_8BIT_SP__.
9378
9379 2012-03-26 Tristan Gingold <gingold@adacore.com>
9380
9381 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9382 (unw_table_entry): Use unw_word instead of unsigned long.
9383 (_Unwind_FindTableEntry): Likewise.
9384 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9385 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9386 (_Unwind_FindTableEntry): Likewise.
9387 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9388 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9389 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9390 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9391 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9392 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9393 (uw_init_context_1, uw_install_context): Likewise.
9394 (unw_word): Move to unwind-ia64.h
9395
9396 2012-03-26 Tristan Gingold <gingold@adacore.com>
9397
9398 * config/vms/vms-ucrt0.c: Update copyright years.
9399 Add a sanity check.
9400 (___gcc_main_flags): Declare.
9401 (__main): Check flags to remap argv and exit code.
9402 * config.host (*-*-*vms*): Adjust extra_parts.
9403 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9404 (crt0.o): Add.
9405
9406 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
9407
9408 * arm/lib1funcs.asm (ctzsi2): New function.
9409 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9410 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9411 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9412 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9413 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9414 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9415
9416 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
9417
9418 * config.host: Add bits to support powerpc64-*-freebsd*.
9419 * config/rs6000/freebsd-unwind.h: New file.
9420 * config/rs6000/t-freebsd64: New file.
9421
9422 2012-03-20 Richard Guenther <rguenther@suse.de>
9423
9424 PR gcov-profile/52627
9425 * libgcov.c (init_mx): Fix mutex name.
9426
9427 2012-03-16 Tristan Gingold <gingold@adacore.com>
9428
9429 * config/ia64/vms-unwind.h: Remove ulong (and replace
9430 it by unw_reg where used). Define unw_reg with __int64.
9431
9432 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9433
9434 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9435 Solaris 8 handling.
9436 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9437 Solaris 8 handling.
9438 (sparc_is_sighandler): Likewise.
9439
9440 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9441
9442 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9443 <= saved reg size.
9444
9445 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9446
9447 * config/arm/crtn.S: Fix typo.
9448
9449 2012-03-13 Richard Guenther <rguenther@suse.de>
9450
9451 * libgcov.c: Remove stdio.h include and NULL un-define.
9452
9453 2012-03-13 Richard Guenther <rguenther@suse.de>
9454
9455 PR target/52569
9456 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9457
9458 2012-03-13 Richard Guenther <rguenther@suse.de>
9459
9460 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9461
9462 2012-03-13 Richard Guenther <rguenther@suse.de>
9463
9464 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9465 and __gthread_mutex_init_function definitions.
9466
9467 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9468
9469 * config.host (mips*-*-openbsd*): Remove.
9470
9471 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9472
9473 * config.host: Remove alpha*-dec-osf5.1* handling.
9474 * config/alpha/gthr-posix.c: Remove.
9475 * config/alpha/libgcc-osf5.ver: Remove.
9476 * config/alpha/osf5-unwind.h: Remove.
9477 * config/alpha/t-osf-pthread: Remove.
9478 * config/alpha/t-slibgcc-osf: Remove.
9479 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9480 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9481 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9482 * mkmap-flat.awk: Remove osf_export handling.
9483
9484 2012-03-12 Richard Guenther <rguenther@suse.de>
9485
9486 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9487 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9488 (__gthread_mutex_init_function): New function.
9489 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9490
9491 PR gcov/49484
9492 * libgcov.c: Include gthr.h.
9493 (__gcov_flush_mx): New global variable.
9494 (init_mx, init_mx_once): New functions.
9495 (__gcov_flush): Protect self with a mutex.
9496 (__gcov_fork): Re-initialize mutex after forking.
9497 * unwind-dw2-fde.c: Change condition under which to use
9498 __GTHREAD_MUTEX_INIT_FUNCTION.
9499
9500 2012-03-12 Tristan Gingold <gingold@adacore.com>
9501
9502 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9503 * config/ia64/t-vms: Likewise.
9504
9505 2012-03-11 Michael Hope <michael.hope@linaro.org>
9506
9507 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9508 for Thumb-2.
9509
9510 2012-03-07 Walter Lee <walt@tilera.com>
9511
9512 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9513 "arch_atomic_".
9514 (atomic_xor): Rename and move definition to
9515 config/tilepro/atomic.h.
9516 (atomic_nand): Ditto.
9517 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9518 "arch_atomic_".
9519 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9520 (arch_atomic_nand): Ditto.
9521
9522 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9523
9524 PR target/52507
9525 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9526
9527 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9528
9529 PR target/52505
9530 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9531 from RAM.
9532
9533 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
9534
9535 PR target/52461
9536 PR target/52508
9537 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9538 if RAMPZ affects reading from RAM.
9539 (__tablejump_elpm__): Ditto.
9540 (.xload): Ditto.
9541 (__movmemx_hi): Ditto.
9542 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9543 (__do_global_dtors): Ditto.
9544 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9545 (__movmemx_hi): Ditto.
9546
9547 2012-03-05 Richard Henderson <rth@redhat.com>
9548
9549 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9550 [ARM] (count_trailing_zeros): Use the builtin.
9551
9552 2012-03-01 Kai Tietz <ktietz@redhat.com>
9553
9554 * soft-fp: Imported from glibc upstream.
9555
9556 2012-02-28 Kai Tietz <ktietz@redhat.com>
9557
9558 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9559 for mingw-targets as attribute gcc_struct.
9560
9561 2012-02-28 Ian Lance Taylor <iant@google.com>
9562
9563 * generic-morestack.c (__splitstack_releasecontext): Correct call
9564 to __morestack_release_segments.
9565
9566 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9567
9568 PR target/52390
9569 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9570 for __linux__ when removing signals from __morestack_fullmask.
9571
9572 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
9573
9574 PR target/52261
9575 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9576
9577 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9578
9579 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9580 instead of HAVE_INITFINI_ARRAY.
9581 * config/ia64/crtend.S: Likewise.
9582
9583 2012-02-20 Kai Tietz <ktietz@redhat.com>
9584
9585 PR libstdc++/52300
9586 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9587
9588 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9589 to w32-unwind.h header.
9590
9591 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9592
9593 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9594 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9595 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9596 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9597
9598 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9599
9600 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9601
9602 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9603
9604 PR libitm/52220
9605 * config/darwin-crt-tm.c: Correct typo.
9606
9607 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9608 Patrick Marlier <patrick.marlier@gmail.com>
9609
9610 PR libitm/52220
9611 * config/darwin-crt-tm.c: Generate dummy functions.
9612
9613 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9614 Patrick Marlier <patrick.marlier@gmail.com>
9615
9616 PR libitm/52042
9617 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9618 (__doTMRegistrations): Call it.
9619 (__doTMdeRegistrations): Likewise.
9620
9621 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
9622 Anatoly Sokolov <aesok@post.ru>
9623 Eric Weddington <eric.weddington@atmel.com>
9624
9625 PR target/52261
9626 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9627 (__epilogue_restores__): Ditto.
9628
9629 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9630
9631 PR target/51921
9632 PR target/52205
9633 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9634 Solaris 11 and slightly reformat.
9635 (sparc_is_sighandler): Likewise.
9636
9637 2012-02-14 Walter Lee <walt@tilera.com>
9638
9639 * config.host: Handle tilegx and tilepro.
9640 * config/tilegx/sfp-machine.h: New file.
9641 * config/tilegx/sfp-machine32.h: New file.
9642 * config/tilegx/sfp-machine64.h: New file.
9643 * config/tilegx/t-crtstuff: New file.
9644 * config/tilegx/t-softfp: New file.
9645 * config/tilegx/t-tilegx: New file.
9646 * config/tilepro/atomic.c: New file.
9647 * config/tilepro/atomic.h: New file.
9648 * config/tilepro/linux-unwind.h: New file.
9649 * config/tilepro/sfp-machine.h: New file.
9650 * config/tilepro/softdivide.c: New file.
9651 * config/tilepro/softmpy.S: New file.
9652 * config/tilepro/t-crtstuff: New file.
9653 * config/tilepro/t-tilepro: New file.
9654
9655 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9656
9657 PR libstdc++/51296
9658 PR libstdc++/51906
9659 * gthr-posix.h: Allow static initializer macros to be disabled.
9660 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9661
9662 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9663
9664 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9665 Add t-slibgcc-libgcc to tmake_file.
9666 * config/mips/libgcc-mips16.ver: Revert previous patch.
9667 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9668
9669 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9670 Jayant R Sonar <jayant.sonar@kpitcummins.com>
9671
9672 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9673 * config/cr16/crti.S: New file.
9674 * config/cr16/crtlibid.S: New file.
9675 * config/cr16/crtn.S: New file.
9676 * config/cr16/lib1funcs.S: New file.
9677 * config/cr16/t-cr16: New file.
9678 * config/cr16/t-crtlibid: New file.
9679 * config/cr16/unwind-dw2.h: New file.
9680 * config/cr16/unwind-cr16.c: New file.
9681 * config/cr16/divmodhi3.c: New file.
9682
9683 2012-01-25 Alan Modra <amodra@gmail.com>
9684
9685 * config/rs6000/t-linux64: Delete. Move..
9686 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9687 * config/rs6000/t-linux: ..and libgcc flags to here.
9688
9689 2012-01-22 Douglas B Rupp <rupp@gnat.com>
9690
9691 * config.host (i[34567]86-*-interix3*):
9692 Change triplet to i[34567]86-*-interix[3-9]*.
9693 * configure: Regenerate.
9694
9695 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9696 Richard Sandiford <rdsandiford@googlemail.com>
9697
9698 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9699 * config/mips/mips16.S (__mips16_rdhwr): New function.
9700 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9701
9702 2012-01-11 Nathan Sidwell <nathan@acm.org>
9703
9704 * libgcov.c (__gcov_init): Ignore objects with no functions.
9705
9706 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
9707
9708 PR target/49868
9709 Extend __pgmx semantics to linearize memory.
9710 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9711 * config/avr/lib1funcs.S (__xload_1): New function.
9712 (__movmemx_qi, __movmemx_hi): New functions.
9713 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9714 semantics.
9715
9716 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9717
9718 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9719 purported sigacthandler address isn't null before dereferencing it.
9720 (sparc_is_sighandler): Likewise.
9721
9722 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9723
9724 PR ada/41929
9725 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9726 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9727 (sparc_is_sighandler): Likewise.
9728 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9729
9730 2012-01-06 Tristan Gingold <gingold@adacore.com>
9731
9732 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9733 compatibility thunks...
9734 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9735 (crtbeginS.o, crtendS.o): ... and these to ...
9736 * config/ia64/t-ia64-elf: ... this new file.
9737 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9738 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9739
9740 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9741
9742 * configure: Regenerate.
9743 * config/s390/t-crtstuff: Remove -fPIC.
9744
9745 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9746
9747 PR bootstrap/51006
9748 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9749 for NetBSD.
9750
9751 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9752
9753 PR target/51345
9754 * config/avr/lib1funcs.S: Remove FIXME comments.
9755 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9756
9757 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
9758
9759 Implement light-weight DImode support.
9760 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9761 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9762 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9763 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9764
9765 2011-12-30 Nathan Sidwell <nathan@acm.org>
9766
9767 * libgcov.c (gcov_crc32): Remove global var.
9768 (free_fn_data): New function.
9769 (buffer_fn_data): Pass in filename, more robust error recovery.
9770 (crc32_unsigned): New function.
9771 (gcov_exit): More robust detection of new program. More robust
9772 error recovery.
9773 (__gcov_init): Do not update program's crc here.
9774
9775 2011-12-21 Tristan Gingold <gingold@adacore.com>
9776
9777 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9778
9779 2011-12-21 Ian Lance Taylor <iant@google.com>
9780
9781 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9782
9783 2011-12-20 Ian Lance Taylor <iant@google.com>
9784
9785 * config/i386/morestack.S (__morestack_non_split): If there is
9786 enough stack space already, don't split. Ask for more stack space
9787 than we required.
9788
9789 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9790
9791 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9792 `sys/sdt.h'.
9793 (_Unwind_DebugHook): New function.
9794 (uw_restore_core_regs): New define.
9795 (unwind_phase2): Use uw_restore_core_regs instead of
9796 restore_core_regs.
9797 (unwind_phase2_forced): Likewise.
9798 (__gnu_Unwind_Resume): Likewise.
9799
9800 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
9801
9802 * config/alpha/linux-unwind.h: Update copyright years.
9803 (MD_FROB_UPDATE_CONTEXT): New define.
9804 (alpha_frob_update_context): New function.
9805
9806 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9807
9808 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9809 tmake_file rather replacing it.
9810
9811 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9812
9813 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9814 function is not used for PPC64.
9815 (save_world): Amend comments. Update the VRsave mask to reflect the
9816 saved regs.
9817 (rest_world): Update comments, do not clobber r10, do not use r8.
9818 (eh_rest_world_r10): Amend comments, do not use r8.
9819 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9820 no longer used, move restore of CR and target address to the end of
9821 the routine.
9822
9823 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9824
9825 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9826 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9827
9828 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
9829
9830 PR target/49313
9831 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9832 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9833
9834 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9835
9836 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9837
9838 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
9839
9840 PR target/49313
9841 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9842 * config/avr/lib1funcs.S (__muldi3): New function.
9843
9844 2011-12-06 Andrew Pinski <apinski@cavium.com>
9845
9846 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9847 size of func_ptr.
9848 (__frame_dummy_init_array_entry): Likewise.
9849
9850 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
9851
9852 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9853
9854 PR target/51345
9855 PR target/51002
9856 * config/avr/lib1funcs.S (__prologue_saves__,
9857 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9858 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9859
9860 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9861
9862 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9863
9864 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9865
9866 PR other/51272
9867 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9868 (_ITM_deregisterTMCloneTable): Likewise.
9869 (__register_frame_info): Fix unused warning.
9870 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9871 pthread_default_stacksize_np): Likewise.
9872 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9873
9874 2011-11-29 DJ Delorie <dj@redhat.com>
9875
9876 * config.host (rl78-*-elf): New case.
9877 * config/rl78: New directory for the Renesas RL78.
9878
9879 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9880
9881 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9882 formatting.
9883
9884 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9885
9886 PR other/51022
9887 * config/rs6000/t-savresfgpr: New file.
9888 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9889 $(srcdir)/config/rs6000/eabi.S.
9890 * config/rs6000/t-ppccomm-ldbl: Remove.
9891 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9892 tmake_file.
9893 (powerpc-*-eabispe*): Likewise.
9894 (powerpc-*-eabi*): Likewise.
9895 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9896 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9897 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9898 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9899 tmake_file.
9900 (powerpc-*-eabisim*): Likewise.
9901 (powerpc-*-elf*): Likewise.
9902 (powerpc-*-eabialtivec*): Likewise.
9903 (powerpc-xilinx-eabi*): Likewise.
9904 (powerpc-*-rtems*): Likewise.
9905 (powerpcle-*-elf*): Likewise.
9906 (powerpcle-*-eabisim*): Likewise.
9907 (powerpcle-*-eabi*): Likewise.
9908
9909 2011-11-27 Ian Lance Taylor <iant@google.com>
9910
9911 * generic-morestack.c (__splitstack_find): Check for NULL old
9912 stack value.
9913 (__splitstack_resetcontext): New function.
9914 (__splitstack_releasecontext): New function.
9915 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9916
9917 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9918
9919 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9920
9921 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9922
9923 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9924
9925 2011-11-26 Richard Henderson <rth@redhat.com>
9926
9927 * config/m68k/linux-atomic.c: New file.
9928 * config/m68k/t-linux: New file.
9929 * config.host (m68k-uclinux, m68k-linux): Use it.
9930
9931 2011-11-26 Richard Henderson <rth@redhat.com>
9932
9933 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9934 (__TMC_END__): Only declare if hidden is available; in the definition,
9935 if hidden is unavailable add a null record.
9936 (deregister_tm_clones, register_tm_clones): New.
9937 (__do_global_dtors_aux, frame_dummy): Use them.
9938 (__do_global_dtors, __do_global_ctors_1): Likewise.
9939
9940 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9941
9942 * config/darwin-crt-tm.c: New file.
9943 * config.host (darwin): Build crttms.o crttme.o to provide
9944 startup and shutdown for tm clones.
9945 * config/t-darwin (crttms.o): New build rule.
9946 (crttme.o): Likewise.
9947
9948 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
9949
9950 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9951 et al.
9952
9953 2011-11-21 Richard Henderson <rth@redhat.com>
9954
9955 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9956 (__TMC_LIST__, __TMC_END__): New.
9957 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9958 (__do_global_dtors): Likewise.
9959 (frame_dummy): Call _ITM_registerTMCloneTable.
9960 (__do_global_ctors_1): Likewise.
9961
9962 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9963
9964 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9965 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9966 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9967 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9968 * config/i386/t-darwin64: Remove.
9969 * config/sh/t-netbsd (LIB2ADD): Remove.
9970
9971 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
9972
9973 PR target/49313
9974 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9975 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9976 * config/avr/lib1funcs.S (wmov): New assembler macro.
9977 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9978 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9979 (__udivmod64): New function.
9980 (__negdi2): New function.
9981
9982 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9983
9984 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9985 *-*-freebsd*aout*): Remove.
9986
9987 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
9988
9989 * static-object.mk (c_flags-$o): Save c_flags.
9990 ($(base)$(objext)): Use it.
9991
9992 2011-11-18 Steve Ellcey <sje@cup.hp.com>
9993
9994 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9995
9996 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
9997
9998 PR target/49868
9999 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10000 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10001 New functions.
10002
10003 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10004
10005 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10006 functions.
10007 (aeabi_uidivmod): Likewise.
10008 (umodsi3): Likewise.
10009 (divsi3): Likewise.
10010 (aeabi_idivmod): Likewise.
10011 (modsi3): Likewise.
10012
10013 2011-11-16 Tristan Gingold <gingold@adacore.com>
10014
10015 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10016
10017 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
10018
10019 PR target/49868
10020 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10021 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10022
10023 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10024
10025 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10026 tmake_file list.
10027 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10028 * config/pa/t-stublib64: Delete.
10029
10030 2011-11-12 Richard Henderson <rth@redhat.com>
10031
10032 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10033 cast the pointer argument to _Unwind_SetGRPtr.
10034
10035 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10036
10037 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10038
10039 2011-11-09 Ian Lance Taylor <iant@google.com>
10040
10041 * generic-morestack.c: Include <string.h>.
10042 (uintptr_type): Define.
10043 (struct initial_sp): Add dont_block_signals field. Reduce size of
10044 extra array by 1.
10045 (allocate_segment): Set prev field to NULL. Don't set
10046 __morestack_current_segment or __morestack_segments.
10047 (__generic_morestack): Update current->prev and *pp after calling
10048 allocate_segment.
10049 (__morestack_block_signals): Don't do anything if
10050 dont_block_signals is set.
10051 (__morestack_unblock_signals): Likewise.
10052 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10053 uintptr_type.
10054 (__splitstack_block_signals): New function.
10055 (enum __splitstack_content_offsets): Define.
10056 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10057 (__splitstack_makecontext): New function.
10058 (__splitstack_block_signals_context): New function.
10059 (__splitstack_find_context): New function.
10060 * config/i386/morestack.S (__morestack_get_guard): New function.
10061 (__morestack_set_guard, __morestack_make_guard): New functions.
10062 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10063
10064 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10065
10066 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10067 (i[34567]86-*-mingw*): ... here.
10068 (x86_64-*-mingw*): ... here.
10069
10070 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10071
10072 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10073
10074 2011-11-07 Nathan Sidwell <nathan@acm.org>
10075
10076 * libgcov.c (struct gcov_fn_buffer): New struct.
10077 (buffer_fn_data): New helper.
10078 (gcov_exit): Rework for new gcov data structures.
10079
10080 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
10081
10082 PR target/49313
10083 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10084
10085 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10086
10087 * config.host (tmake_file): Correct comment.
10088 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10089 t-libgcc-pic.
10090 (bfin*-uclinux*): Likewise.
10091 (bfin*-linux-uclibc*): Likewise.
10092 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10093
10094 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10095 assigning.
10096 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10097 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10098 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10099 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10100 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10101 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10102 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10103 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10104 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10105 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10106 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10107 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10108 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10109
10110 * config/bfin/t-elf: Remove.
10111 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10112
10113 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10114
10115 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10116 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10117 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10118 (lm32-*-elf*): ... this.
10119 (lm32-*-rtems*): ... and this.
10120 Add to tmake_file.
10121 (m32r-*-rtems*): Add to tmake_file.
10122 (moxie-*-rtems*): Likewise.
10123 (sparc-*-rtems*): Likewise.
10124 Remove t-rtems from tmake_file.
10125 (sparc64-*-rtems*): Likewise.
10126 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10127 instead.
10128
10129 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10130
10131 PR bootstrap/50982
10132 * config/gthr-posix.h: Move ...
10133 * gthr-posix.h: ... here.
10134 * config/gthr-lynx.h: Reflect this.
10135 * config/gthr-vxworks.h: Likewise.
10136 * config/rs6000/gthr-aix.h: Likewise.
10137 * configure.ac (target_thread_file): Likewise.
10138 * configure: Regenerate.
10139
10140 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10141
10142 * config.host (arm*-*-rtemseabi*): New target.
10143
10144 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10145
10146 PR other/50991
10147 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10148 extra-parts.
10149
10150 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10151
10152 * config.host (epiphany-*-elf*): New configuration.
10153 * config/epiphany: New Directory.
10154
10155 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10156
10157 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10158 * config/avr/t-rtems: New.
10159 Filter out _exit from LIB1ASMFUNCS.
10160
10161 2011-11-04 David S. Miller <davem@davemloft.net>
10162
10163 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10164 * configure: Rebuild.
10165
10166 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10167
10168 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10169 variable.
10170
10171 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10172
10173 PR target/50931
10174 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10175 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10176
10177 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10178
10179 PR target/50989
10180 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10181
10182 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10183
10184 * config/c6x/t-elf (LIB2ADDEH): Set.
10185 * config/c6x/t-c6x-elf: Remove.
10186
10187 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10188
10189 * config/i386/sol2-ci.S: Rename to ...
10190 * config/i386/crti.S: ... this.
10191 * config/i386/sol2-cn.S: Rename to ...
10192 * config/i386/crtn.S: ... this.
10193 * config/sparc/sol2-ci.S: Rename to ...
10194 * config/sparc/crti.S: ... this.
10195 * config/sparc/sol2-cn.S: Rename to ...
10196 * config/sparc/crtn.S: ... this.
10197 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10198 (crti.o, crtn.o): Remove.
10199
10200 2011-11-04 Tristan Gingold <gingold@adacore.com>
10201
10202 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10203
10204 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10205
10206 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10207
10208 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10209
10210 * config.host (crisv32-*-none, cris-*-none): Remove.
10211 (crisv32-*-elf): Append to tmake_file, don't just set it.
10212 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10213
10214 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10215
10216 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10217 (ecrtn$(objext)): Likewise.
10218 (ncrti$(objext)): Likewise.
10219 (ncrtn$(objext)): Likewise.
10220
10221 2011-11-03 Andreas Schwab <schwab@redhat.com>
10222
10223 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10224
10225 2011-11-02 David S. Miller <davem@davemloft.net>
10226
10227 * configure.ac: Set host_address on sparc too.
10228 * configure: Regenerate.
10229 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10230 based upon host_address.
10231 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10232
10233 2011-11-02 Jason Merrill <jason@redhat.com>
10234
10235 * config/rs6000/t-ppccomm: Add missing \.
10236
10237 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10238
10239 * gthr-single.h, gthr.h: New files.
10240 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10241 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10242 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10243 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10244 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10245 * configure.ac (thread_header): New variable.
10246 Set it depending on target_thread_file.
10247 (gthr-default.h): Link from $thread_header.
10248 * configure: Regenerate.
10249 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10250
10251 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10252
10253 * configure.ac (tm_file_): New variable.
10254 Determine from tm_file.
10255 (tm_file, tm_defines): Substitute.
10256 * configure: Regenerate.
10257 * mkheader.sh: New file.
10258 * Makefile.in (clean): Remove libgcc_tm.h.
10259 ($(objects)): Depend on libgcc_tm.h.
10260 (libgcc_tm_defines, libgcc_tm_file): New variables.
10261 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10262 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10263 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10264 ($(extra-parts)): Depend on libgcc_tm.h.
10265 * config.host (tm_defines, tm_file): New variable.
10266 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10267 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10268 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10269 (avr-*-rtems*): Likewise.
10270 (avr-*-*): Likewise.
10271 (frv-*-elf): Likewise.
10272 (frv-*-*linux*): Likewise.
10273 (h8300-*-rtems*): Likewise.
10274 (h8300-*-elf*): Likewise.
10275 (i[34567]86-*-darwin*): Likewise.
10276 (x86_64-*-darwin*): Likewise.
10277 (rx-*-elf): Likewise.
10278 (tic6x-*-uclinux): Likewise.
10279 (tic6x-*-elf): Likewise.
10280 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10281 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10282 * config/i386/cygming-crtbegin.c: Likewise.
10283 * config/i386/cygming-crtend.c: Likewise.
10284 * config/ia64/fde-vms.c: Likewise.
10285 * config/ia64/unwind-ia64.c: Likewise.
10286 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10287 * config/rs6000/darwin-fallback.c: Likewise.
10288 * config/stormy16/lib2funcs.c: Likewise.
10289 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10290 * crtstuff.c: Likewise.
10291 * dfp-bit.h: Likewise.
10292 * emutls.c: Likewise.
10293 * fixed-bit.c: Likewise.
10294 * fp-bit.c: Likewise.
10295 * generic-morestack-thread.c: Likewise.
10296 * generic-morestack.c: Likewise.
10297 * libgcc2.c: Likewise.
10298 * libgcov.c: Likewise.
10299 * unwind-dw2-fde-dip.c: Likewise.
10300 * unwind-dw2-fde.c: Likewise.
10301 * unwind-dw2.c: Likewise.
10302 * unwind-sjlj.c: Likewise.
10303
10304 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10305
10306 * configure.ac: Include ../config/picflag.m4.
10307 (GCC_PICFLAG): Call it.
10308 Substitute.
10309 * configure: Regenerate.
10310 * Makefile.in (gcc_srcdir): Remove.
10311 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10312 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10313 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10314 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10315 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10316 Use $<.
10317 Remove comment.
10318 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10319 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10320 to refer to libgcc2.c.
10321 Use $<.
10322 * config/darwin-64.c: New file.
10323 * config/darwin-crt3.c: Remove comment.
10324 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10325 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10326 config/udivmodsi4.c: New files.
10327 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10328 config/memset.c: New files.
10329 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10330 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10331 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10332 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10333 * config/t-openbsd-thread: New file.
10334 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10335 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10336 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10337 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10338 qrnnd.S.
10339 Adapt filename.
10340 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10341 to refer to gthr-posix.c.
10342 * config/alpha/t-vms (LIB2ADD): Set.
10343 * config/alpha/vms-gcc_shell_handler.c: New file.
10344 * config/arm/bpabi.c, config/arm/fp16.c,
10345 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10346 config/arm/unaligned-funcs.c: New files.
10347 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10348 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10349 * config/arm/t-linux: Likewise.
10350 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10351 * config/arm/t-netbsd: New file.
10352 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10353 * config/arm/t-symbian (LIB2ADD_ST): Set.
10354 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10355 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10356 * config/bfin/t-elf: New file.
10357 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10358 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10359 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10360 config/c6x/ltf.c: New files.
10361 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10362 (HOST_LIBGCC2_CFLAGS): Set.
10363 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10364 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10365 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10366 New files.
10367 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10368 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10369 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10370 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10371 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10372 files.
10373 * config/frv/t-frv (LIB2ADD): Set.
10374 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10375 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10376 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10377 config/h8300/popcounthi2.c: New files.
10378 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10379 * config/i386/gthr-win32.c: New file.
10380 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10381 * config/i386/t-cygwin: Likewise.
10382 * config/i386/t-darwin, config/i386/t-darwin64,
10383 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10384 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10385 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10386 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10387 * config/ia64/quadlib.c: New file.
10388 * config/ia64/t-hpux (LIB2ADD): Set.
10389 * config/ia64/t-ia64: Add comment.
10390 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10391 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10392 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10393 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10394 * config/m32c/t-m32c (LIB2ADD): Set.
10395 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10396 * config/m32r/t-m32r: Likewise.
10397 * config/m68k/fpgnulib.c: New file.
10398 * config/m68k/t-floatlib (LIB2ADD): Set.
10399 (xfgnulib.c): New target.
10400 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10401 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10402 * config/mep/t-mep (LIB2ADD): Set.
10403 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10404 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10405 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10406 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10407 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10408 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10409 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10410 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10411 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10412 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10413 New files.
10414 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10415 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10416 * config/pa/fptr.c, config/pa/lib2funcs.S,
10417 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10418 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10419 (LIB2ADD, LIB2ADD_ST): Set.
10420 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10421 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10422 Set.
10423 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10424 * config/pdp11/t-pdp11: New file.
10425 * config/picochip/libgccExtras/adddi3.S,
10426 config/picochip/libgccExtras/ashlsi3.S,
10427 config/picochip/libgccExtras/ashrsi3.S,
10428 config/picochip/libgccExtras/clzsi2.S,
10429 config/picochip/libgccExtras/cmpsi2.S,
10430 config/picochip/libgccExtras/divmod15.S,
10431 config/picochip/libgccExtras/divmodhi4.S,
10432 config/picochip/libgccExtras/divmodsi4.S,
10433 config/picochip/libgccExtras/lshrsi3.S,
10434 config/picochip/libgccExtras/parityhi2.S,
10435 config/picochip/libgccExtras/popcounthi2.S,
10436 config/picochip/libgccExtras/subdi3.S,
10437 config/picochip/libgccExtras/ucmpsi2.S,
10438 config/picochip/libgccExtras/udivmodhi4.S,
10439 config/picochip/libgccExtras/udivmodsi4.S: New files.
10440 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10441 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10442 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10443 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10444 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10445 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10446 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10447 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10448 files.
10449 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10450 (HOST_LIBGCC2_CFLAGS): Set.
10451 * config/rs6000/t-darwin64: New file.
10452 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10453 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10454 * config/rs6000/t-ppccomm (LIB2ADD): Add
10455 $(srcdir)/config/rs6000/tramp.S.
10456 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10457 Add $(srcdir)/config/rs6000/eabi.S.
10458 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10459 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10460 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10461 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10462 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10463 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10464 * config/rs6000/tramp.S: New file.
10465 * config/s390/t-tpf: Remove.
10466 * config/sh/linux-atomic.S: New file.
10467 * config/sh/t-linux (LIB2ADD): Set.
10468 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10469 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10470 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10471 to unwind-dw2.c.
10472 (HOST_LIBGCC2_CFLAGS): Set.
10473 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10474 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10475 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10476 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10477 config/spu/mfc_multi_tag_release.c,
10478 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10479 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10480 config/spu/multi3.c: New files.
10481 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10482 (HOST_LIBGCC2_CFLAGS): Set.
10483 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10484 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10485 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10486 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10487 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10488 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10489 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10490 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10491 config/stormy16/umodsi3.c: New files.
10492 * config/xtensa/lib2funcs.S: New file.
10493 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10494 * config/xtensa/t-xtensa (LIB2ADD): Set.
10495 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10496 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10497 Add t-freebsd-thread to tmake_file for posix threads.
10498 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10499 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10500 (*-*-lynxos*): Likewise.
10501 (*-*-netbsd*): Likewise.
10502 (*-*-openbsd*): Likewise.
10503 Add t-openbsd-thread to tmake_file for posix threads.
10504 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10505 (*-*-vxworks*): Set tmake_file.
10506 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10507 (alpha*-*-freebsd*): Likewise.
10508 (alpha*-*-netbsd*): Likewise.
10509 (alpha*-*-openbsd*): Likewise.
10510 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10511 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10512 (alpha*-dec-*vms*): Likewise.
10513 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10514 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10515 (bfin*-uclinux*): Likewise.
10516 (bfin*-linux-uclibc*): Likewise.
10517 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10518 (crisv32-*-none): Likewise.
10519 (cris-*-elf): Likewise.
10520 (cris-*-none): Likewise.
10521 (cris-*-linux*, crisv32-*-linux*): Likewise.
10522 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10523 tmake_file.
10524 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10525 tmake_file.
10526 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10527 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10528 (x86_64-*-elf*): Likewise.
10529 (i[34567]86-*-nto-qnx*): Likewise.
10530 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10531 win32 threads.
10532 (x86_64-*-mingw*): Likewise.
10533 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10534 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10535 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10536 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10537 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10538 tmake_file.
10539 (mipsisa64sr71k-*-elf*): Likewise.
10540 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10541 (mips-*-elf*, mipsel-*-elf*): Likewise.
10542 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10543 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10544 (mips*-*-rtems*): Likewise.
10545 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10546 to tmake_file.
10547 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10548 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10549 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10550 (spu-*-elf*): Likewise.
10551 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10552
10553 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10554
10555 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10556 $(srcdir) to refer to $(LIB1ASMSRC).
10557 Use $<.
10558 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10559 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10560 config/arm/lib1funcs.S: New files.
10561 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10562 * config/arm/t-arm: New file.
10563 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10564 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10565 config/arm/t-strongarm-elf: New files.
10566 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10567 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10568 * config/avr/lib1funcs.S: New file.
10569 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10570 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10571 * config/c6x/lib1funcs.S: New file.
10572 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10573 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10574 * config/frv/lib1funcs.S: New file.
10575 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10576 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10577 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10578 * config/ia64/__divxf3.asm: Rename to ...
10579 * config/ia64/__divxf3.S: ... this.
10580 Adapt lib1funcs.asm filename.
10581 * config/ia64/_fixtfdi.asm: Rename to ...
10582 * config/ia64/_fixtfdi.S: ... this.
10583 Adapt lib1funcs.asm filename.
10584 * config/ia64/_fixunstfdi.asm: Rename to ...
10585 * config/ia64/_fixunstfdi.S: ... this.
10586 Adapt lib1funcs.asm filename.
10587 * config/ia64/_floatditf.asm: Rename to ...
10588 * config/ia64/_floatditf.S: ... this.
10589 Adapt lib1funcs.asm filename.
10590 * config/ia64/lib1funcs.S: New file.
10591 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10592 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10593 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10594 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10595 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10596 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10597 * config/mep/lib1funcs.S: New file.
10598 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10599 * config/mips/mips16.S: New file.
10600 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10601 * config/pa/milli64.S: New file.
10602 * config/pa/t-linux, config/pa/t-linux64: New files.
10603 * config/picochip/lib1funcs.S: New file.
10604 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10605 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10606 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10607 * config/sh/t-netbsd: New file.
10608 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10609 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10610 * config/sh/t-sh64: New file.
10611 * config/sparc/lb1spc.S: New file.
10612 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10613 filename.
10614 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10615 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10616 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10617 config/xtensa/lib1funcs.S: New files.
10618 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10619 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10620 tmake_file.
10621 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10622 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10623 (arm*-*-linux*): Likewise.
10624 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10625 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10626 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10627 (arm*-*-ecos-elf): Likewise.
10628 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10629 (arm*-*-rtems*): Likewise.
10630 (arm*-*-elf): Likewise.
10631 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10632 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10633 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10634 (bfin*-uclinux*): Likewise.
10635 (bfin*-linux-uclibc*): Likewise.
10636 (bfin*-rtems*): Likewise.
10637 (bfin*-*): Likewise.
10638 (fido-*-elf): Merge into m68k-*-elf*.
10639 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10640 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10641 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10642 (h8300-*-elf*): Likewise.
10643 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10644 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10645 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10646 (i[34567]86-*-mingw*): Likewise.
10647 (x86_64-*-mingw*): Likewise.
10648 (i[34567]86-*-interix3*): Likewise.
10649 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10650 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10651 (m68k-*-elf*): Also handle fido-*-elf.
10652 Add m68k/t-floatlib to tmake_file.
10653 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10654 (m68k-*-linux*): Likewise.
10655 (m68k-*-rtems*): Likewise.
10656 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10657 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10658 sh64*-*-*.
10659 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10660 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10661 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10662 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10663 sh/t-netbsd to tmake_file.
10664 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10665 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10666 (sh-wrs-vxworks): Likewise.
10667 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10668 *-leon[3-9]*.
10669 (v850*-*-*): Add v850/t-v850 to tmake_file.
10670 (vax-*-linux*): Add vax/t-linux to tmake_file.
10671 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10672
10673 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10674
10675 * crtstuff.c: New file.
10676 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10677 (CRTSTUFF_T_CFLAGS): Define.
10678 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10679 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10680 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10681 crtstuff.c.
10682 Use $<.
10683 (crtbeginT.o): Use $(objext).
10684 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10685 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10686 (gcc-extra-parts): Remove.
10687 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10688 Set extra_parts.
10689 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10690 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10691 Add t-crtstuff-pic to tmake_file.
10692 (*-*-lynxos*): New case.
10693 Set tmake_file, extra_parts.
10694 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10695 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10696 *-*-netbsdelf[2-9]*.
10697 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10698 (*-*-rtems*): Set extra_parts.
10699 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10700 (*-*-uclinux*): New case.
10701 Set extra_parts.
10702 (*-*-vms*): New case.
10703 Set tmake_file, extra_parts.
10704 (*-*-elf): Set extra_parts.
10705 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10706 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10707 vms/t-vms64.
10708 Set extra_parts.
10709 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10710 Set extra_parts.
10711 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10712 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10713 (arm-wrs-vxworks): Append to tmake_file.
10714 Set extra_parts.
10715 (arm*-*-uclinux*): Set extra_parts.
10716 (arm*-*-ecos-elf): Likewise.
10717 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10718 arm*-*-eabi*.
10719 (arm*-*-rtems*): Set extra_parts.
10720 (arm*-*-elf): Likewise.
10721 (avr-*-rtems*): Clear extra_parts.
10722 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10723 Set extra_parts.
10724 (bfin*-uclinux*): Likewise.
10725 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10726 (bfin*-rtems*): Append to tmake_file.
10727 Set extra_parts.
10728 (bfin*-*): Likewise.
10729 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10730 (crisv32-*-elf): ... this.
10731 (crisv32-*-none): ... this.
10732 (cris-*-elf, cris-*-none): New cases.
10733 Add cris/t-elfmulti to tmake_file.
10734 (fr30-*-elf): Append to tmake_file.
10735 Set extra_parts.
10736 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10737 Set extra_parts.
10738 (h8300-*-rtems*): Append to tmake_file.
10739 Set extra_parts.
10740 (h8300-*-elf*): Likewise.
10741 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10742 Set extra_parts.
10743 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10744 Set extra_parts.
10745 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10746 (x86_64-*-elf*): Likewise.
10747 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10748 (x86_64-*-freebsd*): Likewise.
10749 (x86_64-*-netbsd*): Likewise.
10750 (i[34567]86-*-linux*): Likewise.
10751 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10752 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10753 (x86_64-*-linux*): Likewise.
10754 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10755 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10756 tmake_file.
10757 Set extra_parts.
10758 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10759 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10760 Append to extra_parts, remove crtbegin.o, crtend.o.
10761 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10762 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10763 crtend.o, crtbeginS.o, crtendS.o.
10764 (ia64*-*-linux*): Comment extra_parts.
10765 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10766 Set extra_parts.
10767 (iq2000*-*-elf*): Clear extra_parts.
10768 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10769 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10770 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10771 (m32r-*-rtems*): ... this.
10772 Add m32r/t-m32r to tmake_file.
10773 (m68k-*-elf*): Add t-crtin to tmake_file.
10774 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10775 (mcore-*-elf): Likewise.
10776 (microblaze*-*-*): Set extra_parts.
10777 (mips*-sde-elf*): New case.
10778 Set tmake_file, extra_parts.
10779 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10780 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10781 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10782 tmake_file.
10783 Set extra_parts.
10784 (mipsisa64sr71k-*-elf*): Likewise.
10785 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10786 (mips-*-elf*, mipsel-*-elf*): Likewise.
10787 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10788 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10789 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10790 (mips*-*-rtems*): Likewise.
10791 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10792 (moxie-*-*): Split into ...
10793 (moxie-*-elf, moxie-*-uclinux*): ... this.
10794 Add to extra_parts, remove crtbegin.o, crtend.o.
10795 (moxie-*-rtems*): New case.
10796 Set tmake_file.
10797 Clear extra_parts.
10798 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10799 Set extra_parts.
10800 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10801 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10802 tmake_file.
10803 Set extra_parts.
10804 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10805 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10806 Set extra_parts.
10807 (powerpc-*-eabisim*): Likewise.
10808 (powerpc-*-elf*): Likewise.
10809 (powerpc-*-eabialtivec*): Likewise.
10810 (powerpc-xilinx-eabi*): Likewise.
10811 (powerpc-*-eabi*): Likewise.
10812 (powerpc-*-rtems*): Likewise.
10813 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10814 tmake_file.
10815 Set extra_parts.
10816 (powerpc-*-lynxos*): Add to tmake_file.
10817 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10818 rs6000/t-crtstuff, t-crtstuff-pic.
10819 Set extra_parts.
10820 (powerpcle-*-eabisim*): Likewise.
10821 (powerpcle-*-eabi*): Likewise.
10822 (rx-*-elf): Remove extra_parts.
10823 (s390x-ibm-tpf*): Set extra_parts.
10824 (score-*-elf): Set extra_parts.
10825 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10826 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10827 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10828 (sh64l*-*-netbsd*): Split into ...
10829 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10830 Add t-crtstuff-pic to tmake_file.
10831 Set extra_parts.
10832 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10833 Set extra_parts.
10834 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10835 (sparc-*-elf*): Remove t-crtin from tmake_file.
10836 Add to extra_parts, remove crtbegin.o, crtend.o.
10837 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10838 (sparc64-*-linux*): Likewise.
10839 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10840 Add to extra_parts, remove crtbegin.o, crtend.o.
10841 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10842 Add to extra_parts, remove crtbegin.o, crtend.o.
10843 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10844 Add to extra_parts, remove crtbegin.o, crtend.o.
10845 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10846 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10847 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10848 Set extra_parts.
10849 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10850 Set extra_parts.
10851 (tic6x-*-*): Change to ...
10852 (tic6x-*-elf): ... this.
10853 Set extra_parts.
10854 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10855 Set extra_parts.
10856 (am33_2.0-*-linux*): Add comment.
10857 (mep*-*-*): Add mep/t-mep to tmake_file.
10858 Set extra_parts.
10859 * config/alpha/t-vms: New file.
10860 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10861 * config/arm/crti.S, config/arm/crtn.S: New files.
10862 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10863 * config/bfin/crtlibid.S: New file.
10864 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10865 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10866 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10867 (crti.o, crtin.o): New rules.
10868 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10869 * config/c6x/t-uclinux: New file.
10870 * config/cris/t-elfmulti: New file.
10871 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10872 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10873 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10874 * config/frv/t-frv: New file.
10875 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10876 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10877 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10878 New files.
10879 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10880 refer to cygming-crtbegin.c, cygming-crtend.c.
10881 Use $<.
10882 * config/i386/t-nto: New file.
10883 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10884 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10885 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10886 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10887 Use .S extension.
10888 Use $<.
10889 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10890 (crtinitS.o): New rule.
10891 * config/ia64/vms-crtinit.S: New file.
10892 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10893 * config/m32r/initfini.c: New file.
10894 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10895 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10896 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10897 * config/mep/t-mep: New file.
10898 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10899 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10900 * config/mips/crti.S, config/mips/crtn.S: New files.
10901 * config/mips/t-crtstuff: New file.
10902 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10903 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10904 (CUSTOM_CRTIN): Set.
10905 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10906 dependencies.
10907 Use $(srcdir) to refer to crti.S, crtn.S.
10908 Use .S extension, $<.
10909 * config/moxie/crti.asm: Rename to ...
10910 * config/moxie/crti.S: ... this.
10911 * config/moxie/crtn.asm: Rename to ...
10912 * config/moxie/crtn.S: ... this.
10913 * config/moxie/t-moxie: Remove.
10914 * config/pa/stublib.c: New file.
10915 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10916 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10917 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10918 * config/rs6000/t-crtstuff: New file.
10919 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10920 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10921 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10922 Make output file explicit.
10923 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10924 Make output file explicit.
10925 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10926 Make output file explicit.
10927 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10928 Make output file explicit.
10929 * config/score/crti.S, config/score/crtn.S: New files.
10930 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10931 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10932 files.
10933 * config/sh/t-sh, config/sh/t-superh: New files.
10934 * config/sparc/t-linux64: New file.
10935 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10936 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10937 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10938 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10939 * config/t-crtin: Remove.
10940 * config/t-crtstuff-pic: New file.
10941 * config/t-sol2 (CUSTOM_CRTIN): Set.
10942 (crti.o, crtn.o): New rules.
10943 * config/vms/t-vms: New file.
10944 * config/vms/vms-ucrt0.c: New file.
10945 * config/xtensa/t-elf: New file.
10946
10947 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10948
10949 * Makefile.in (SHLIB_NM_FLAGS): Set.
10950 * mkmap-flat.awk, mkmap-symver.awk: New files.
10951 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10952 exceptions.
10953 * configure: Regenerate.
10954 * config/libgcc-glibc.ver: New file.
10955 * config/libgcc-libsystem.ver: New file.
10956 * config/t-libunwind (SHLIB_LC): Set.
10957 * config/t-linux: New file.
10958 * config/t-slibgcc (INSTALL_SHLIB): New.
10959 (SHLIB_INSTALL): Use it.
10960 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10961 to mkmap-symver.awk.
10962 (SHLIB_MAPFILES): Don't append, adapt pathname.
10963 (SHLIB_VERPFX): Set.
10964 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10965 to mkmap-symver.awk.
10966 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10967 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10968 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10969 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10970 to mkmap-flat.awk.
10971 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10972 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10973 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10974 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10975 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10976 * config/i386/libgcc-darwin.10.4.ver,
10977 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10978 New files.
10979 * config/i386/t-darwin: Remove.
10980 * config/i386/t-darwin64: Likewise.
10981 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10982 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10983 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10984 * config/i386/t-linux: New file.
10985 * config/i386/t-mingw32: New file.
10986 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10987 * config/ia64/t-glibc: Rename to ...
10988 * config/ia64/t-linux: ... this.
10989 (SHLIB_MAPFILES): Set.
10990 * config/ia64/t-glibc-libunwind: Rename to ...
10991 * config/ia64/t-linux-libunwind: ... this.
10992 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10993 * config/ia64/t-slibgcc-hpux: New file.
10994 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10995 * config/m68k/t-slibgcc-elf-ver: New file.
10996 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10997 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10998 to mkmap-flat.awk.
10999 * config/pa/t-slibgcc-hpux: New file.
11000 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11001 files.
11002 * config/rs6000/libgcc-darwin.10.4.ver,
11003 config/rs6000/libgcc-darwin.10.5.ver: New files.
11004 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11005 config/rs6000/libgcc-glibc.ver.
11006 * config/rs6000/libgcc-ppc64.ver: Rename to
11007 config/rs6000/libgcc-ibm-ldouble.ver.
11008 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11009 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11010 * config/rs6000/t-ldbl128: Rename to ...
11011 * config/rs6000/t-linux: ... this.
11012 (SHLIB_MAPFILES): Adapt filename.
11013 * config/rs6000/t-slibgcc-aix: New file.
11014 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11015 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11016 libgcc-excl.ver, libgcc-glibc.ver.
11017 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11018 * config/sparc/libgcc-glibc.ver: New file.
11019 * config/sparc/t-linux: New file.
11020 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11021 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11022 t-slibgcc-elf-ver to tmake_file.
11023 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11024 *-*-freebsd[34].
11025 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11026 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11027 t-slibgcc-elf-ver, t-linux to tmake_file.
11028 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11029 tmake_file.
11030 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11031 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11032 (alpha*-dec-*vms*): Likewise.
11033 (arm*-*-freebsd*): Append to tmake_file.
11034 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11035 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11036 arm*-*-linux-*eabi.
11037 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11038 tmake_file for arm*-*-symbianelf*.
11039 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11040 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11041 cris/t-linux.
11042 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11043 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11044 pa/t-slibgcc-dwarf-ver to tmake_file.
11045 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11046 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11047 (hppa*64*-*-hpux11*): Likewise.
11048 (hppa[12]*-*-hpux11*): Likewise.
11049 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11050 i386/t-crtpc, i386/t-crtfm.
11051 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11052 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11053 to tmake_file.
11054 Add i386/t-cygwin to tmake_file.
11055 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11056 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11057 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11058 to tmake_file.
11059 Add i386/t-mingw32 to tmake_file.
11060 (x86_64-*-mingw*): Likewise.
11061 (ia64*-*-freebsd*): Append to tmake_file.
11062 (ia64*-*-linux*): Append to tmake_file.
11063 Replace ia64/t-glibc by ia64/t-linux.
11064 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11065 system libunwind.
11066 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11067 t-slibgcc-hpux to tmake_file.
11068 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11069 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11070 (m32rle-*-linux*): Likewise.
11071 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11072 sjlj exceptions.
11073 (microblaze*-linux*): New case.
11074 Append to tmake_file, add t-slibgcc-nolc-override.
11075 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11076 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11077 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11078 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11079 rs6000/t-slibgcc-aix to tmake_file.
11080 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11081 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11082 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11083 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11084 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11085 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11086 sh*-*-linux*.
11087 (sparc-*-linux*): Append to tmake_file for *-leon*.
11088 Add sparc/t-linux to tmake_file for non-Leon targets.
11089 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11090 (tic6x-*-uclinux): New case.
11091 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11092 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11093 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11094 (am33_2.0-*-linux*): Append to tmake_file.
11095 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11096 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11097 x86_64-*-kfreebsd*-gnu.
11098 Add i386/t-linux to tmake_file.
11099
11100 2011-10-28 Ian Lance Taylor <iant@google.com>
11101
11102 * config/i386/morestack.S: Correct CFI information to do proper
11103 returns throughout function. In 32-bit mode, save %ebx so that it
11104 is restored on unwind.
11105
11106 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11107
11108 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11109 case where B3 isn't the return register.
11110
11111 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11112 logic for doubleword pops.
11113
11114 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
11115
11116 * config/rs6000/t-freebsd: Add wildcard.
11117
11118 2011-10-21 Paul Brook <paul@codesourcery.com>
11119
11120 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11121
11122 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
11123 Eric Botcazou <ebotcazou@adacore.com>
11124
11125 PR target/50737
11126 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11127 fs->signal_frame to 1.
11128
11129 2011-10-07 Ian Lance Taylor <iant@google.com>
11130
11131 * generic-morestack-thread.c: #include <errno.h>.
11132
11133 2011-10-07 Ian Lance Taylor <iant@google.com>
11134
11135 PR target/46093
11136 * generic-morestack.c (__generic_morestack): Make sure the segment
11137 is large enough for both the stack frame and the copied
11138 parameters.
11139
11140 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11141
11142 PR bootstrap/49804
11143 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11144 extra_parts.
11145
11146 2011-09-28 Nick Clifton <nickc@redhat.com>
11147
11148 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11149 64-bit doubles are not enabled.
11150 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11151 and floatunsisf functions.
11152
11153 2011-09-13 Paul Brook <paul@codesourcery.com>
11154
11155 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11156 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11157 * unwind-arm-common.inc: New file.
11158 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11159 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11160 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11161 * config/c6x/libunwind.S: New file.
11162 * config/c6x/pr-support.c: New file.
11163 * config/c6x/unwind-c6x.c: New file.
11164 * config/c6x/unwind-c6x.h: New file.
11165 * config/c6x/t-c6x-elf: New file.
11166
11167 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
11168
11169 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11170 (ASM_DIVZERO): Ditto.
11171 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11172
11173 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11174
11175 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11176
11177 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11178
11179 PR target/50090
11180 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11181 instead of an assembly one.
11182
11183 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11184
11185 PR bootstrap/50047
11186 * Makefile.in (install-unwind_h): Create
11187 $(gcc_objdir)/include/unwind.h atomically.
11188
11189 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11190
11191 * Makefile.in (install-unwind_h): Remove destination file first.
11192
11193 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11194
11195 * sync.c: New file.
11196 * config/mips/t-mips16: New file.
11197 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11198 (mips*-*-linux*): Likewise.
11199 (mips*-sde-elf*): Likewise.
11200 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11201 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11202 Add mips/t-mips16 to tmake_file.
11203 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11204 (mips-*-elf*): Likewise.
11205 (mips64-*-elf*): Likewise.
11206 (mips64orion-*-elf*): Likewise.
11207 (mips*-*-rtems*): Likewise.
11208 (mipstx39-*-elf*): Likewise.
11209 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11210 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11211 LIBGCC_SYNC_CFLAGS.
11212 Use $(srcdir) to refer to sync.c.
11213 Use $<.
11214 ($(libgcc-sync-funcs-o)): Likewise.
11215 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11216 ($(libgcc-sync-funcs-s-o)): Likewise.
11217
11218 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11219
11220 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11221 t-libunwind.
11222
11223 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11224
11225 PR other/48007
11226 * config/i386/value-unwind.h: New.
11227
11228 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11229
11230 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11231 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11232 Add to tmake_file rather than overriding it.
11233
11234 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11235
11236 * config/t-softfp: Remove.
11237 * soft-fp: Moved from ../gcc/config.
11238 * soft-fp/README: Remove t-softfp reference.
11239 * soft-fp/t-softfp: Move to config/t-softfp.
11240 (softfp_machine_header): Remove.
11241 (softfp_file_list): Remove config subdir.
11242 (soft-fp-objects): New variable.
11243 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11244 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11245 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11246 * config/t-softfp-excl: New file.
11247 * config/t-softfp-sfdf: New file.
11248 * config/t-softfp-tf: New file.
11249 * config/no-sfp-machine.h: New file.
11250 * config/arm/sfp-machine.h: New file.
11251 * config/arm/t-softfp: New file.
11252 * config/c6x/sfp-machine.h: New file.
11253 * config/i386/32/t-fprules-softfp: Rename to ...
11254 * config/i386/32/t-softfp: ... this.
11255 (tifunctions, LIB2ADD): Remove.
11256 (softfp_int_modes): Override.
11257 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11258 subdir.
11259 * config/i386/64/eqtf2.c: Likewise.
11260 * config/i386/64/getf2.c: Likewise.
11261 * config/i386/64/letf2.c: Likewise.
11262 * config/ia64/sft-machine.h: New file.
11263 * config/ia64/t-fprules-softfp: Rename to ...
11264 * config/ia64/t-softfp: ... this.
11265 * config/lm32/sfp-machine.h: New file.
11266 * config/moxie/t-moxie-softfp: Remove.
11267 * config/rs6000/ibm-ldouble-format: New file.
11268 * config/rs6000/ibm-ldouble.c: New file.
11269 * config/rs6000/libgcc-ppc-glibc.ver: New file
11270 * config/rs6000/libgcc-ppc64.ver: New file
11271 * config/rs6000/sfp-machine.h: New file.
11272 * config/rs6000/t-freebsd: New file.
11273 * config/rs6000/t-ibm-ldouble: New file.
11274 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11275 libgcc-ppc-glibc.ver.
11276 * config/rs6000/t-linux64: New file.
11277 * config/rs6000/t-ppccomm (LIB2ADD): Add
11278 $(srcdir)/config/rs6000/ibm-ldouble.c.
11279 * config/rs6000/t-ppccomm-ldbl: New file.
11280 * config/score/sfp-machine.h: New file.
11281 * config.host (sfp_machine_header): Explain.
11282 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11283 t-softfp to tmake_file.
11284 (arm*-*-uclinux*): Likewise.
11285 (arm*-*-ecos-elf): Likewise.
11286 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11287 (arm*-*-rtems*): Likewise.
11288 (arm*-*-elf): Likewise.
11289 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11290 in tmake_file.
11291 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11292 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11293 (lm32-*-uclinux*): Likewise.
11294 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11295 t-softfp-excl, t-softfp.
11296 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11297 (powerpc64-*-darwin*): Likewise.
11298 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11299 to tmake_file.
11300 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11301 tmake_file.
11302 (powerpc-*-eabisim*): Likewise.
11303 (powerpc-*-elf*): Likewise.
11304 (powerpc-*-eabialtivec*): Likewise.
11305 (powerpc-xilinx-eabi*): Likewise.
11306 (powerpc-*-rtems*): Likewise.
11307 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11308 t-softfp-excl, t-softfp to tmake_file.
11309 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11310 rs6000/t-ppccomm-ldbl to tmake_file.
11311 (powerpcle-*-elf*): Likewise.
11312 (powerpcle-*-eabisim*): Likewise.
11313 (powerpcle-*-eabi*): Likewise.
11314 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11315 rs6000/t-ibm-ldouble to tmake_file.
11316 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11317 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11318 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11319 (tic6x-*-*): Likewise.
11320 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11321 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11322 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11323 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11324 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11325 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11326 t-softfp to tmake_file.
11327 * configure.ac (sfp_machine_header): Provide default if unset.
11328 Substitute.
11329 Link sfp-machine.h to config/$sfp_machine_header.
11330 * configure: Regenerate.
11331
11332 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11333
11334 * Makefile.in (double_type_size, long_double_type_size): Set.
11335 Remove $(fpbit-in-libgcc) support.
11336 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11337 (fpbit-src): New variable.
11338 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11339 Compile with -DFLOAT $(FPBIT_CFLAGS).
11340 Use $<.
11341 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11342 Compile with $(FPBIT_CFLAGS).
11343 Use $<.
11344 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11345 Compile with -DFLOAT $(TPBIT_CFLAGS).
11346 Use $<.
11347 * configure.ac (double_type_size, long_double_type_size):
11348 Determine and substitute.
11349 * configure: Regenerate.
11350 * fp-bit.c, fp-bit.h: New files.
11351 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11352 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11353 * config/mips/t-mips: New file.
11354 * config/mips/t-sdemtk: New file.
11355 * config/rs6000/ppc64-fp.c: New file.
11356 * config/rs6000/t-darwin (LIB2ADD): Add
11357 $(srcdir)/config/rs6000/ppc64-fp.c.
11358 * config/rs6000/t-ppc64-fp: New file.
11359 * config/rx/rx-lib.h: New file.
11360 * config/rx/t-rx (FPBIT): Set to true.
11361 ($(gcc_objdir)/fp-bit.c): Remove.
11362 (DPBIT): Set to true only with -m64bit-doubles.
11363 ($(gcc_objdir)/dp-bit.c): Remove.
11364 * config/sparc/t-softfp: Remove.
11365 * config/spu/t-elf: New file.
11366 * config/t-fdpbit, config/t-fpbit: New files.
11367 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11368 (mips*-*-*): Likewise.
11369 (arm-wrs-vxworks): Likewise.
11370 (arm*-*-freebsd*): Likewise.
11371 (avr-*-rtems*): Add t-fpbit to tmake_file.
11372 (avr-*-*): Likewise.
11373 (bfin*-elf*): Add t-fdpbit to tmake_file.
11374 (bfin*-uclinux*): Likewise.
11375 (bfin*-linux-uclibc*): Likewise.
11376 (bfin*-rtems*): New case.
11377 Add t-fdpbit to tmake_file.
11378 (bfin*-*): Add t-fdpbit to tmake_file.
11379 (crisv32-*-elf): Likewise.
11380 (cris-*-linux*): Likewise.
11381 (fr30-*-elf): Likewise.
11382 (frv-*-elf, frv-*-*linux*): Likewise.
11383 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11384 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11385 (m32r-*-elf*): Likewise.
11386 (m32rle-*-elf*): Likewise.
11387 (m32r-*-linux*): Likewise.
11388 (m32rle-*-linux*): Likewise.
11389 (mcore-*-elf): Add t-fdpbit to tmake_file.
11390 (microblaze*-*-*): Likewise.
11391 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11392 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11393 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11394 Fix typo.
11395 Add mips/t-tpbit to tmake-file.
11396 (mips*-*-linux*): Fix typo.
11397 (mips*-sde-elf*): New case
11398 Add mips/t-sdemtk unless using newlib.
11399 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11400 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11401 (mn10300-*-*): Likewise.
11402 (pdp11-*-*): Likewise.
11403 (picochip-*-*): Add t-fpbit to tmake_file.
11404 (powerpc-*-eabisimaltivec*): Likewise.
11405 (powerpc-*-eabisim*): Likewise.
11406 (powerpc-*-elf*): Likewise.
11407 (powerpc-*-eabialtivec*): Likewise.
11408 (powerpc-xilinx-eabi*): New case.
11409 Add t-fdpbit to tmake_file.
11410 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11411 (powerpc-*-rtems*): Likewise.
11412 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11413 tmake_file.
11414 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11415 tmake_file.
11416 (powerpc-*-lynxos*): Likewise.
11417 (powerpcle-*-elf*): Likewise.
11418 (powerpcle-*-eabisim*): Likewise.
11419 (powerpcle-*-eabi*): Likewise.
11420 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11421 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11422 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11423 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11424 (rx-*-elf): Add t-fdpbit to tmake_file.
11425 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11426 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11427 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11428 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11429 sh*-*-netbsd*.
11430 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11431 (sh-wrs-vxworks): Likewise.
11432 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11433 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11434 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11435 (sparc64-*-rtems*): ... new case.
11436 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11437 (spu-*-elf*): Likewise.
11438 Add spu/t-elf to tmake_file.
11439 (v850*-*-*): Add t-fdpbit to tmake_file.
11440 (xstormy16-*-elf): Likewise.
11441 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11442 (mep*-*-*): Likewise.
11443
11444 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11445
11446 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11447 variables.
11448 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11449 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11450 (install-unwind_h): New target.
11451 (all): Depend on it.
11452 * config.host (unwind_header): New variable.
11453 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11454 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11455 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11456 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11457 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11458 Set unwind_header.
11459 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11460 Set unwind_header.
11461 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11462 arm*-*-eabi*.
11463 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11464 Set unwind_header.
11465 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11466 (ia64*-*-freebsd*): Likewise.
11467 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11468 tmake_file.
11469 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11470 $with_system_libunwind.
11471 (ia64*-*-hpux*): Set tmake_file.
11472 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11473 (picochip-*-*): Set tmake_file.
11474 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11475 md_unwind_header.
11476 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11477 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11478 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11479 (xtensa*-*-elf*): Set tmake_file.
11480 (xtensa*-*-linux*): Likewise.
11481 * configure.ac: Include ../config/unwind_ipinfo.m4.
11482 Call GCC_CHECK_UNWIND_GETIPINFO.
11483 Link unwind.h to $unwind_header.
11484 * configure: Regenerate.
11485 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11486 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11487 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11488 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11489 * config/unwind-dw2-fde-darwin.c: New file.
11490 * config/arm/libunwind.S, config/arm/pr-support.c,
11491 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11492 config/arm/unwind-arm.h,: New files.
11493 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11494 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11495 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11496 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11497 config/ia64/unwind-ia64.h: New files.
11498 * config/picochip/t-picochip: New file.
11499 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11500 files.
11501 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11502 * config/s390/t-tpf (LIB2ADDEH): Remove.
11503 * config/t-darwin (LIB2ADDEH): Set.
11504 * config/t-eh-dw2-dip: New file.
11505 * config/t-libunwind, config/t-libunwind-elf: New files.
11506 * config/t-sol2 (LIB2ADDEH): Remove.
11507 * config/xtensa/t-xtensa: New file.
11508
11509 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11510
11511 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11512 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11513 long long to check rt_sigreturn syscall.
11514
11515 2011-08-02 Alan Modra <amodra@gmail.com>
11516
11517 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11518 Restore for indirect call bcrtl from correct stack slot, and only
11519 if cfa+40 isn't valid.
11520
11521 2011-08-01 Julian Brown <julian@codesourcery.com>
11522
11523 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11524 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11525 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11526
11527 2011-08-01 Julian Brown <julian@codesourcery.com>
11528
11529 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11530 (libgcc-std.ver.in): Use above.
11531 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11532 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11533 throughout file.
11534 * config/t-fixedpoint-gnu-prefix: New file.
11535 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11536 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11537 instead of __PFX__.
11538
11539 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11540
11541 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11542 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11543 for x86-64. Properly check __x86_64__ and __LP64__.
11544
11545 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11546
11547 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11548 version.
11549 (_FP_WS_TYPE): Likewise.
11550 (_FP_I_TYPE): Likewise.
11551
11552 2011-07-28 Alan Modra <amodra@gmail.com>
11553
11554 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11555 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11556 in a plt call stub. Do restore r2 if stopped on bctrl.
11557
11558 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11559
11560 * config.host (i[3456x]86-*-netware*): Remove.
11561 * config/i386/netware-crt0.c, config/i386/t-nwld,
11562 config/i386/t-slibgcc-nwld: Remove.
11563
11564 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11565
11566 * config.host: Handle tic6x-*-*.
11567 * config/c6x/c6x-abi.h: New file.
11568
11569 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11570
11571 * config/i386/crtprec.c: New file.
11572 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11573 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11574 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11575 (x86_64-*-darwin*): Likewise.
11576 (i[34567]86-*-solaris2*: Likewise.
11577
11578 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11579
11580 * config/alpha/crtfastmath.c: New file.
11581 * config/i386/crtfastmath.c: New file.
11582 * config/ia64/crtfastmath.c: New file.
11583 * config/mips/crtfastmath.c: New file.
11584 * config/sparc/crtfastmath.c: New file.
11585
11586 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11587 crtfastmath.c.
11588 Add -frandom-seed=gcc-crtfastmath.
11589 * config/alpha/t-crtfm: Remove.
11590 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11591 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11592
11593 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11594 (alpha*-dec-osf5.1*): Likewise.
11595 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11596 Add crtfastmath.o to extra_parts.
11597 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11598 Add crtfastmath.o to extra_parts.
11599 (x86_64-*-darwin*): Likewise.
11600 (x86_64-*-mingw*): Likewise.
11601 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11602 (ia64*-*-freebsd*): Likewise.
11603 (ia64*-*-linux*): Likewise.
11604 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11605 Add crtfastmath.o to extra_parts.
11606
11607 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11608
11609 * config/darwin-crt3.o: New file.
11610 * config/rs6000/darwin-crt2.c: New file.
11611 * config/t-darwin: New file.
11612 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11613 (crt2.o): New rule.
11614 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11615 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11616 (powerpc64-*-darwin*): Likewise.
11617
11618 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11619
11620 * config/i386/netware-crt0.c: New file.
11621 * config/i386/t-nwld: Rename to ...
11622 * config/i386/t-slibgcc-nwld: ... this.
11623 * config/i386/t-nwld: New file.
11624 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11625 tmake_file.
11626 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11627 extra_parts.
11628
11629 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11630
11631 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11632 i386/t-crtstuff.
11633 * configure: Regenerate.
11634
11635 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11636
11637 * dfp-bit.c, dfp-bit.h: New files.
11638 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11639 variables.
11640 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11641 ($(d64pbit-o)): Likewise.
11642 ($(d128pbit-o)): Likewise.
11643 * config/t-dfprules: New file.
11644 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11645 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11646 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11647 (x86_64-*-linux*): Likewise.
11648 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11649 (i[34567]86-*-cygwin*): Likewise.
11650 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11651 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11652
11653 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11654
11655 * Makfile.in (LIBGCOV): New variable.
11656 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11657 * libgcov.c: New file.
11658
11659 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11660
11661 * fixed-bit.c, fixed-bit.h: New files.
11662 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11663 refer to fixed-bit.c.
11664
11665 2011-07-07 Joseph Myers <joseph@codesourcery.com>
11666
11667 * config.host (*local*): Remove.
11668
11669 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11670
11671 PR target/39150
11672 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11673 like i?86-*-solaris2.1[0-9]*.
11674 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11675 * configure.ac (i?86-*-solaris2*): Likewise.
11676 * configure: Regenerate.
11677
11678 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
11679
11680 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11681 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11682 md_unwind_header by splitting out of...
11683 (i[34567]86-*-linux*): ... this.
11684 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11685 Remove md_unwind_header by splitting out of...
11686 (x86_64-*-linux*): ... this.
11687
11688 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
11689
11690 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11691
11692 2011-06-28 Nick Clifton <nickc@redhat.com>
11693
11694 * config.host: Recognize all V850 variants.
11695
11696 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
11697
11698 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11699
11700 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11701
11702 * shared-object.mk (c_flags-$o): Save c_flags.
11703 ($(base)$(objext)): Use it.
11704 ($(base)_s$(objext)): Likewise.
11705
11706 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11707
11708 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11709 * libgcc-std.ver.in (GCC_4.7.0): New section.
11710
11711 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
11712
11713 PR target/49313
11714 PR target/29524
11715 * config/avr/t-avr: Fix line endings.
11716 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11717 _parityXX2.
11718
11719 2011-06-14 Olivier Hainque <hainque@adacore.com>
11720 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11721
11722 * config/mips/irix6-unwind.h: New file.
11723 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11724
11725 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11726
11727 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11728 (sparc64_fallback_frame_state): Use it.
11729 (sparc64_frob_update_context): Further adjust context.
11730 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11731 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11732 * config/sparc/sol2-cn.S: Likewise.
11733
11734 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11735
11736 * enable-execute-stack-empty.c: New file.
11737 * enable-execute-stack-mprotect.c: New file.
11738 * config/i386/enable-execute-stack-mingw32.c: New file.
11739 * config.host (enable_execute_stack): New variable.
11740 Select appropriate variants.
11741 * configure.ac: Link enable-execute-stack.c to
11742 $enable_execute_stack.
11743 * configure: Regenerate.
11744 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11745 (lib2funcs): Remove _enable_execute_stack.
11746
11747 2011-06-09 David S. Miller <davem@davemloft.net>
11748 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11749
11750 * config.host (sparc-*-linux*): Correct md_unwind_header
11751 filename.
11752 (s390x-ibm-tpf*): Fix typo.
11753
11754 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11755
11756 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11757 Add crtfastmath.o to extra_parts.
11758 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11759 mips/t-crtfm.
11760 * config/mips/t-crtfm: Remove.
11761
11762 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11763
11764 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11765
11766 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11767
11768 * config.host (sh*-*-linux*): Fix typo.
11769
11770 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11771
11772 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11773 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11774 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11775 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11776 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11777 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11778 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11779 Wrap in !__MINGW64__.
11780 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11781 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11782 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11783 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11784 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11785 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11786 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11787 Wrap in !__LP64__.
11788 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11789 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11790 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11791 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11792 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11793 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11794 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11795 * config/no-unwind.h: New file.
11796 * config.host (md_unwind_header): Document.
11797 Define.
11798 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11799 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11800 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11801 hppa[12]*-*-hpux11*): Set md_unwind_header.
11802 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11803 Set md_unwind_header.
11804 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11805 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11806 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11807 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11808 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11809 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11810 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11811 md_unwind_header.
11812 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11813 * configure: Regenerate.
11814
11815 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11816
11817 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11818 Set tmake_file, extra_parts.
11819 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11820 Remove O32 support.
11821 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11822 Remove O32 support.
11823 * config/mips/t-irix6: New file.
11824 * config/mips/t-slibgcc-irix: New file.
11825
11826 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11827
11828 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11829 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11830
11831 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11832
11833 * configure.ac (target_thread_file): Determine thread model.
11834 * configure: Regenerate.
11835 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11836 * config/alpha/t-alpha: New file.
11837 * config/alpha/t-crtfm: Use $<.
11838 * config/alpha/t-ieee: New file.
11839 * config/alpha/t-osf-pthread: New file.
11840 * config/alpha/t-slibgcc-osf: New file.
11841 * config/alpha/libgcc-osf5.ver: New file.
11842
11843 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11844
11845 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11846 tmake_file.
11847 Add crtfastmath.o to extra_parts.
11848
11849 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11850
11851 * config/gmon-sol2.c: Reindent.
11852 Cleanup comments.
11853 Remove, correct casts.
11854 Use STDERR_FILENO, NULL.
11855 (BASEADDRESS): Remove.
11856 (minbrk): Remove.
11857 (errno, sbrk): Remove declarations.
11858 (monstartup) [hp300]: Remove.
11859 (mcount): Remove.
11860
11861 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11862
11863 * Makefile.in (cpu_type): Define.
11864 * config.host (i[34567]86-*-rtems*): Handle it.
11865 (i[34567]86-*-solaris2*): Move body ...
11866 (*-*-solaris2*): ... here.
11867 New case, generalize.
11868 (sparc-*-elf*): Handle it.
11869 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11870 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11871 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11872 Fold into ...
11873 (sparc*-*-solaris2*): ... this.
11874 New case.
11875 (sparc64-*-elf*): Handle it.
11876 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11877 Merge ../gcc/config/i386/gmon-sol2.c.
11878 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11879 Use C comments.
11880 Merge ../gcc/config/i386/sol2-gc1.asm.
11881 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11882 Use C comments.
11883 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11884 Use C comments.
11885 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11886 * config/i386/t-crtstuff: New file.
11887 * config/i386/t-softfp: New file.
11888 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11889 $(T)crti.o, $(T)crtn.o): Remove.
11890 (gcrt1.o): New rule.
11891 (TARGET_LIBGCC2_CFLAGS): Remove.
11892 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11893 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11894 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11895 * config/sparc/t-sol2: New file.
11896 * config/sparc/t-crtfm: Move to ...
11897 * config/t-crtfm: ... this.
11898 Use $(cpu_type), $<.
11899 * config/t-crtin: New file.
11900 * config/sparc/t-softfp: New file.
11901 * config/sparc/t-softmul: New file.
11902 * config/t-rtems: New file.
11903 * config/t-slibgcc: New file.
11904 * config/t-slibgcc-elf-ver: New file.
11905 * config/t-slibgcc-gld: New file.
11906 * config/t-slibgcc-sld: New file.
11907 * config/t-sol2: New file.
11908 * configure.ac: Include ../config/lib-ld.m4.
11909 Call AC_LIB_PROG_LD_GNU.
11910 Substitute cpu_type.
11911 * configure: Regenerate.
11912
11913 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11914
11915 PR bootstrap/49173
11916 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11917 libgcc-std.ver in the build directory.
11918 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11919 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11920
11921 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11922
11923 * libgcc-std.ver.in: New file.
11924 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11925 variables.
11926 (libgcc-std.ver): New rule.
11927 * config/t-gnu-prefix: New file.
11928
11929 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11930
11931 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11932
11933 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11934
11935 * config/i386/darwin-lib.h: New file.
11936
11937 2011-05-10 Joseph Myers <joseph@codesourcery.com>
11938
11939 * config/arm/symbian-lib.h: New.
11940
11941 2011-05-04 Chris Demetriou <cgd@google.com>
11942
11943 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11944 (__x86.get_pc_thunk.bx): ...this.
11945 (__morestack): Adjust for rename, remove undef of __i686.
11946
11947 2011-05-03 Chris Demetriou <cgd@google.com>
11948
11949 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11950
11951 2011-03-22 Joseph Myers <joseph@codesourcery.com>
11952
11953 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11954 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11955 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11956 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11957 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11958 Remove cases.
11959
11960 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
11961
11962 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11963 Adjust copyright year.
11964
11965 2011-03-07 Ian Lance Taylor <iant@google.com>
11966
11967 * generic-morestack.c (__splitstack_find): Adjust returned stack
11968 pointer to include all registers pushed by __morestack.
11969
11970 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11971
11972 PR target/40125
11973 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11974 (toolexecdir): Calculate and AC_SUBST.
11975 (toolexeclibdir): Likewise.
11976 * Makefile.in (target_noncanonical): Import.
11977 (toolexecdir): Likewise.
11978 (toolexeclibdir): Likewise.
11979 * configure: Regenerate.
11980
11981 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11982
11983 PR target/46040
11984 * config/arm/bpabi.h: Rename to...
11985 * config/arm/bpabi-lib.h: ...this.
11986
11987 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11988
11989 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11990 appropriate.
11991 * configure: Regenerate.
11992
11993 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11994
11995 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11996 __FLOAT_WORD_ORDER__.
11997 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11998 Delete.
11999
12000 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12001
12002 PR other/46202
12003 * Makefile.in (install-strip): New phony target.
12004
12005 2010-11-07 Ian Lance Taylor <iant@google.com>
12006
12007 PR target/46089
12008 * config/i386/morestack.S (__morestack_large_model): New
12009 function.
12010
12011 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12012
12013 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12014 Delete.
12015 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12016
12017 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12018
12019 * config/arm/bpabi.h: New file.
12020 * config/frv/frv-abi.h: New file.
12021
12022 2010-10-01 Ian Lance Taylor <iant@google.com>
12023
12024 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12025 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12026
12027 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12028
12029 PR target/45858
12030 * config.host: Add the missing `$'.
12031
12032 2010-09-30 Michael Eager <eager@eagercon.com>
12033
12034 * config.host: Add microblaze*-*-*.
12035 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12036 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12037 udivsi3.asm,umodsi3.asm}: New.
12038
12039 2010-09-28 Ian Lance Taylor <iant@google.com>
12040
12041 * configure.ac: Adjust CFI test to test assembler directly rather
12042 than checking gcc preprocessor macro.
12043 * configure: Rebuild.
12044
12045 2010-09-27 Ian Lance Taylor <iant@google.com>
12046
12047 * configure.ac: Test whether assembler supports CFI directives.
12048 * config.host: Only add t-stack and i386/t-stack-i386 to
12049 tmake_file if libgcc_cv_cfi is "yes".
12050 * configure: Rebuild.
12051
12052 2010-09-27 Ian Lance Taylor <iant@google.com>
12053
12054 * generic-morestack.h: New file.
12055 * generic-morestack.c: New file.
12056 * generic-morestack-thread.c: New file.
12057 * config/i386/morestack.S: New file.
12058 * config/t-stack: New file.
12059 * config/i386/t-stack-i386: New file.
12060 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12061 i386/t-stack-i386 to tmake_file.
12062
12063 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12064
12065 * Makefile.in (libgcc-extra-parts): Check for static archives and
12066 invoke ranlib after installing them.
12067 (gcc-extra-parts): Likewise.
12068 (install-leaf): Likewise.
12069
12070 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12071
12072 * configure: Regenerated.
12073
12074 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
12075
12076 * configure: Regenerated.
12077
12078 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12079 Andrew Pinski <pinskia@gmail.com>
12080
12081 PR target/40959
12082 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12083
12084 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12085
12086 PR target/45524
12087 * configure: Regenerated.
12088
12089 2010-09-06 Andreas Schwab <schwab@redhat.com>
12090
12091 * configure: Regenerate.
12092
12093 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12094
12095 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12096 64bit targets.
12097 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12098 for 64bit targets.
12099
12100 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12101 Iain Sandoe <iains@gcc.gnu.org>
12102
12103 PR target/45476
12104 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12105 LIB2FUNCS_EXCLUDE functions.
12106
12107 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12108
12109 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12110 Include dfp.m4.
12111 * configure: Regenerate.
12112
12113 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
12114
12115 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12116 i386/t-freebsd to tmake_file.
12117 * config/i386/t-freebsd: New file.
12118 * config/i386/libgcc-bsd.ver: New file.
12119
12120 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12121
12122 * config.host (powerpc*-eabispe*): Set tmake_file.
12123 (powerpc*-eabi*): Likewise.
12124 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12125 crtbeginS, crtendS, crtbeginT.
12126
12127 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
12128
12129 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12130 to tmake_file. Add crtfastmath.o to extra_parts.
12131 * config/mips/t-crtfm: New.
12132
12133 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
12134
12135 * config.host (sparc64-*-rtems*): New target.
12136
12137 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12138
12139 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12140 assembler syntax.
12141
12142 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12143
12144 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12145
12146 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12147
12148 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12149 alpha-dec-osf5.0* support.
12150
12151 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
12152
12153 * config.host: Add lm32-*-rtems*.
12154
12155 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12156 Uros Bizjak <ubizjak@gmail.com>
12157
12158 PR target/39048
12159 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12160 like other remaining 32-bit x86 OSes.
12161 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12162 assembler syntax.
12163 * config/i386/libgcc-sol2.ver: New file.
12164 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12165
12166 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
12167
12168 PR c/43553
12169 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12170 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12171 is used and substitute set_use_emutls.
12172 * configure: Regenerated.
12173
12174 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12175
12176 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12177
12178 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12179
12180 PR target/38085
12181 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12182 MULTILIB_CFLAGS.
12183 ($(T)gcrt1.o): Likewise.
12184 ($(T)crt1.o): Likewise.
12185 ($(T)crti.o): Likewise.
12186 ($(T)crtn.o): Likewise.
12187
12188 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12189
12190 PR other/42980
12191 * Makefile.in (install): Use $(MAKE) string in rule, for
12192 parallel make.
12193
12194 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12195
12196 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12197 * config/mmix/t-mmix: New file.
12198 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12199
12200 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12201
12202 PR java/41991
12203 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12204 SHLIB_MAPFILES.
12205
12206 2010-01-04 Anthony Green <green@moxielogic.com>
12207
12208 * config/moxie/crti.asm, config/moxie/crtn.asm,
12209 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12210 config/moxie/t-moxie: New files.
12211 * config.host: Add t-moxie-softfp reference.
12212
12213 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12214
12215 PR other/39888
12216 * config/t-slibgcc-darwin: Fix embedded rpaths for
12217 --enable-version-specific-runtime-libs, build extension stub
12218 libs exposing features available from current libgcc_s.
12219
12220 2009-11-11 Jon Beniston <jon@beniston.com>
12221
12222 * config.host: Add lm32 targets.
12223 * config/lm32: New directory.
12224 * config/lm32/libgcc_lm32.h: New file.
12225 * config/lm32/_mulsi3.c: New file.
12226 * config/lm32/_udivmodsi4.c: New file.
12227 * config/lm32/_divsi3.c: New file.
12228 * config/lm32/_modsi3.c: New file.
12229 * config/lm32/_udivsi3.c: New file.
12230 * config/lm32/_umodsi3.c: New file.
12231 * config/lm32/_lshrsi3.S: New file.
12232 * config/lm32/_ashrsi3.S: New file.
12233 * config/lm32/_ashlsi3.S: New file.
12234 * config/lm32/crti.S: New file.
12235 * config/lm32/crtn.S: New file.
12236 * config/lm32/t-lm32: New file.
12237 * config/lm32/t-elf: New file.
12238 * config/lm32/t-uclinux: New file.
12239
12240 2009-10-26 Nick Clifton <nickc@redhat.com>
12241
12242 * config.host: Add support for RX target.
12243 * config/rx: New directory.
12244 * config/rx/rx-abi-functions.c: New file. Supplementary
12245 functions for libgcc to support the RX ABI.
12246 * config/rx/rx-abi.h: New file. Supplementary header file for
12247 libgcc RX ABI functions.
12248 * config/rx/t-rx: New file: Makefile fragment for building
12249 libgcc for the RX.
12250
12251 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12252
12253 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12254 constraint of y0 to "g".
12255
12256 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12257
12258 * config.host: Include the s390 makefile fragments.
12259 * config/s390/32/_fixdfdi.c: New file.
12260 * config/s390/32/_fixsfdi.c: New file.
12261 * config/s390/32/_fixtfdi.c: New file.
12262 * config/s390/32/_fixunsdfdi.c: New file.
12263 * config/s390/32/_fixunssfdi.c: New file.
12264 * config/s390/32/_fixunstfdi.c: New file.
12265 * config/s390/32/t-floattodi: New file.
12266 * config/s390/libgcc-glibc.ver: New file.
12267 * config/s390/t-crtstuff: New file.
12268 * config/s390/t-linux: New file.
12269 * config/s390/t-tpf: New file.
12270
12271 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12272
12273 * configure.ac (AC_PREREQ): Bump to 2.64.
12274
12275 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12276
12277 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12278
12279 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12280
12281 * configure: Regenerate.
12282
12283 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12284
12285 * config.host (ia64-hp-*vms*): New target.
12286 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12287 with ia64-hp-*vms*.
12288
12289 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12290
12291 * configure.ac: Add snippet for maintainer-mode.
12292 * configure: Regenerate.
12293 * Makefile.in (AUTOCONF, configure_deps): New variables.
12294 ($(srcdir)/configure)): New rule, active only with maintainer
12295 mode turned on.
12296
12297 2009-06-23 DJ Delorie <dj@redhat.com>
12298
12299 Add MeP port.
12300 * config.host: Add mep support.
12301
12302 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12303
12304 * config.host: Add i386/${host_address}/t-fprules-softfp and
12305 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12306
12307 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12308 for mingw targets.
12309 * config/i386/64/_multc3.c: Likewise.
12310 * config/i386/64/_powitf2.c: Likewise.
12311 * config/i386/64/eqtf2.c: Likewise.
12312 * config/i386/64/getf2.c: Likewise.
12313 * config/i386/64/letf2.c: Likewise.
12314 * config/i386/64/letf2.c: Likewise.
12315 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12316 unsigned long long for x64 mingw targets.
12317 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12318 (_FP_I_TYPE): Define as long long for x64 mingw target.
12319
12320 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12321
12322 * config.host (vax-*-linux*): New.
12323
12324 2009-05-31 Anthony Green <green@moxielogic.com>
12325
12326 * config.host: Add moxie support.
12327 * config/moxie/t-moxie: New file.
12328
12329 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12330
12331 * config.host: Add i386/${host_address}/t-fprules-softfp and
12332 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12333
12334 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12335
12336 * config.host: Add i386/${host_address}/t-fprules-softfp to
12337 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12338
12339 2009-04-09 Nick Clifton <nickc@redhat.com>
12340
12341 * config/ia64/tf-signs.c: Change copyright header to refer to
12342 version 3 of the GNU General Public License with version 3.1
12343 of the GCC Runtime Library Exception and to point readers at
12344 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12345 web page.
12346 * config/i386/32/tf-signs.c: Likewise.
12347 * config/libbid/_addsub_dd.c: Likewise.
12348 * config/libbid/_addsub_sd.c: Likewise.
12349 * config/libbid/_addsub_td.c: Likewise.
12350 * config/libbid/_dd_to_df.c: Likewise.
12351 * config/libbid/_dd_to_di.c: Likewise.
12352 * config/libbid/_dd_to_sd.c: Likewise.
12353 * config/libbid/_dd_to_sf.c: Likewise.
12354 * config/libbid/_dd_to_si.c: Likewise.
12355 * config/libbid/_dd_to_td.c: Likewise.
12356 * config/libbid/_dd_to_tf.c: Likewise.
12357 * config/libbid/_dd_to_udi.c: Likewise.
12358 * config/libbid/_dd_to_usi.c: Likewise.
12359 * config/libbid/_dd_to_xf.c: Likewise.
12360 * config/libbid/_df_to_dd.c: Likewise.
12361 * config/libbid/_df_to_sd.c: Likewise.
12362 * config/libbid/_df_to_td.c: Likewise.
12363 * config/libbid/_di_to_dd.c: Likewise.
12364 * config/libbid/_di_to_sd.c: Likewise.
12365 * config/libbid/_di_to_td.c: Likewise.
12366 * config/libbid/_div_dd.c: Likewise.
12367 * config/libbid/_div_sd.c: Likewise.
12368 * config/libbid/_div_td.c: Likewise.
12369 * config/libbid/_eq_dd.c: Likewise.
12370 * config/libbid/_eq_sd.c: Likewise.
12371 * config/libbid/_eq_td.c: Likewise.
12372 * config/libbid/_ge_dd.c: Likewise.
12373 * config/libbid/_ge_sd.c: Likewise.
12374 * config/libbid/_ge_td.c: Likewise.
12375 * config/libbid/_gt_dd.c: Likewise.
12376 * config/libbid/_gt_sd.c: Likewise.
12377 * config/libbid/_gt_td.c: Likewise.
12378 * config/libbid/_isinfd128.c: Likewise.
12379 * config/libbid/_isinfd32.c: Likewise.
12380 * config/libbid/_isinfd64.c: Likewise.
12381 * config/libbid/_le_dd.c: Likewise.
12382 * config/libbid/_le_sd.c: Likewise.
12383 * config/libbid/_le_td.c: Likewise.
12384 * config/libbid/_lt_dd.c: Likewise.
12385 * config/libbid/_lt_sd.c: Likewise.
12386 * config/libbid/_lt_td.c: Likewise.
12387 * config/libbid/_mul_dd.c: Likewise.
12388 * config/libbid/_mul_sd.c: Likewise.
12389 * config/libbid/_mul_td.c: Likewise.
12390 * config/libbid/_ne_dd.c: Likewise.
12391 * config/libbid/_ne_sd.c: Likewise.
12392 * config/libbid/_ne_td.c: Likewise.
12393 * config/libbid/_sd_to_dd.c: Likewise.
12394 * config/libbid/_sd_to_df.c: Likewise.
12395 * config/libbid/_sd_to_di.c: Likewise.
12396 * config/libbid/_sd_to_sf.c: Likewise.
12397 * config/libbid/_sd_to_si.c: Likewise.
12398 * config/libbid/_sd_to_td.c: Likewise.
12399 * config/libbid/_sd_to_tf.c: Likewise.
12400 * config/libbid/_sd_to_udi.c: Likewise.
12401 * config/libbid/_sd_to_usi.c: Likewise.
12402 * config/libbid/_sd_to_xf.c: Likewise.
12403 * config/libbid/_sf_to_dd.c: Likewise.
12404 * config/libbid/_sf_to_sd.c: Likewise.
12405 * config/libbid/_sf_to_td.c: Likewise.
12406 * config/libbid/_si_to_dd.c: Likewise.
12407 * config/libbid/_si_to_sd.c: Likewise.
12408 * config/libbid/_si_to_td.c: Likewise.
12409 * config/libbid/_td_to_dd.c: Likewise.
12410 * config/libbid/_td_to_df.c: Likewise.
12411 * config/libbid/_td_to_di.c: Likewise.
12412 * config/libbid/_td_to_sd.c: Likewise.
12413 * config/libbid/_td_to_sf.c: Likewise.
12414 * config/libbid/_td_to_si.c: Likewise.
12415 * config/libbid/_td_to_tf.c: Likewise.
12416 * config/libbid/_td_to_udi.c: Likewise.
12417 * config/libbid/_td_to_usi.c: Likewise.
12418 * config/libbid/_td_to_xf.c: Likewise.
12419 * config/libbid/_tf_to_dd.c: Likewise.
12420 * config/libbid/_tf_to_sd.c: Likewise.
12421 * config/libbid/_tf_to_td.c: Likewise.
12422 * config/libbid/_udi_to_dd.c: Likewise.
12423 * config/libbid/_udi_to_sd.c: Likewise.
12424 * config/libbid/_udi_to_td.c: Likewise.
12425 * config/libbid/_unord_dd.c: Likewise.
12426 * config/libbid/_unord_sd.c: Likewise.
12427 * config/libbid/_unord_td.c: Likewise.
12428 * config/libbid/_usi_to_dd.c: Likewise.
12429 * config/libbid/_usi_to_sd.c: Likewise.
12430 * config/libbid/_usi_to_td.c: Likewise.
12431 * config/libbid/_xf_to_dd.c: Likewise.
12432 * config/libbid/_xf_to_sd.c: Likewise.
12433 * config/libbid/_xf_to_td.c: Likewise.
12434 * config/libbid/bid128.c: Likewise.
12435 * config/libbid/bid128_2_str.h: Likewise.
12436 * config/libbid/bid128_2_str_macros.h: Likewise.
12437 * config/libbid/bid128_2_str_tables.c: Likewise.
12438 * config/libbid/bid128_add.c: Likewise.
12439 * config/libbid/bid128_compare.c: Likewise.
12440 * config/libbid/bid128_div.c: Likewise.
12441 * config/libbid/bid128_fma.c: Likewise.
12442 * config/libbid/bid128_logb.c: Likewise.
12443 * config/libbid/bid128_minmax.c: Likewise.
12444 * config/libbid/bid128_mul.c: Likewise.
12445 * config/libbid/bid128_next.c: Likewise.
12446 * config/libbid/bid128_noncomp.c: Likewise.
12447 * config/libbid/bid128_quantize.c: Likewise.
12448 * config/libbid/bid128_rem.c: Likewise.
12449 * config/libbid/bid128_round_integral.c: Likewise.
12450 * config/libbid/bid128_scalb.c: Likewise.
12451 * config/libbid/bid128_sqrt.c: Likewise.
12452 * config/libbid/bid128_string.c: Likewise.
12453 * config/libbid/bid128_to_int16.c: Likewise.
12454 * config/libbid/bid128_to_int32.c: Likewise.
12455 * config/libbid/bid128_to_int64.c: Likewise.
12456 * config/libbid/bid128_to_int8.c: Likewise.
12457 * config/libbid/bid128_to_uint16.c: Likewise.
12458 * config/libbid/bid128_to_uint32.c: Likewise.
12459 * config/libbid/bid128_to_uint64.c: Likewise.
12460 * config/libbid/bid128_to_uint8.c: Likewise.
12461 * config/libbid/bid32_to_bid128.c: Likewise.
12462 * config/libbid/bid32_to_bid64.c: Likewise.
12463 * config/libbid/bid64_add.c: Likewise.
12464 * config/libbid/bid64_compare.c: Likewise.
12465 * config/libbid/bid64_div.c: Likewise.
12466 * config/libbid/bid64_fma.c: Likewise.
12467 * config/libbid/bid64_logb.c: Likewise.
12468 * config/libbid/bid64_minmax.c: Likewise.
12469 * config/libbid/bid64_mul.c: Likewise.
12470 * config/libbid/bid64_next.c: Likewise.
12471 * config/libbid/bid64_noncomp.c: Likewise.
12472 * config/libbid/bid64_quantize.c: Likewise.
12473 * config/libbid/bid64_rem.c: Likewise.
12474 * config/libbid/bid64_round_integral.c: Likewise.
12475 * config/libbid/bid64_scalb.c: Likewise.
12476 * config/libbid/bid64_sqrt.c: Likewise.
12477 * config/libbid/bid64_string.c: Likewise.
12478 * config/libbid/bid64_to_bid128.c: Likewise.
12479 * config/libbid/bid64_to_int16.c: Likewise.
12480 * config/libbid/bid64_to_int32.c: Likewise.
12481 * config/libbid/bid64_to_int64.c: Likewise.
12482 * config/libbid/bid64_to_int8.c: Likewise.
12483 * config/libbid/bid64_to_uint16.c: Likewise.
12484 * config/libbid/bid64_to_uint32.c: Likewise.
12485 * config/libbid/bid64_to_uint64.c: Likewise.
12486 * config/libbid/bid64_to_uint8.c: Likewise.
12487 * config/libbid/bid_b2d.h: Likewise.
12488 * config/libbid/bid_binarydecimal.c: Likewise.
12489 * config/libbid/bid_conf.h: Likewise.
12490 * config/libbid/bid_convert_data.c: Likewise.
12491 * config/libbid/bid_decimal_data.c: Likewise.
12492 * config/libbid/bid_decimal_globals.c: Likewise.
12493 * config/libbid/bid_div_macros.h: Likewise.
12494 * config/libbid/bid_dpd.c: Likewise.
12495 * config/libbid/bid_flag_operations.c: Likewise.
12496 * config/libbid/bid_from_int.c: Likewise.
12497 * config/libbid/bid_functions.h: Likewise.
12498 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12499 * config/libbid/bid_inline_add.h: Likewise.
12500 * config/libbid/bid_internal.h: Likewise.
12501 * config/libbid/bid_round.c: Likewise.
12502 * config/libbid/bid_sqrt_macros.h: Likewise.
12503
12504 2009-04-09 Jakub Jelinek <jakub@redhat.com>
12505
12506 * Makefile.in: Change copyright header to refer to version
12507 3 of the GNU General Public License and to point readers at the
12508 COPYING3 file and the FSF's license web page.
12509 * config.host: Likewise.
12510
12511 2009-04-07 Alan Modra <amodra@bigpond.net.au>
12512
12513 * config.host: Reorder and merge to match config.gcc change.
12514
12515 2009-04-03 Alan Modra <amodra@bigpond.net.au>
12516
12517 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12518
12519 2009-03-28 Joseph Myers <joseph@codesourcery.com>
12520
12521 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12522 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12523 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12524 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12525
12526 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
12527
12528 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12529 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12530
12531 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12532
12533 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12534 ia64/t-softfp-compat to tmake_file.
12535
12536 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12537
12538 * config/ia64/__divxf3.asm: New.
12539 * config/ia64/_fixtfdi.asm: Likewise.
12540 * config/ia64/_fixunstfdi.asm: Likewise.
12541 * config/ia64/_floatditf.asm: Likewise.
12542 * config/ia64/t-fprules-softfp: Likewise.
12543 * config/ia64/t-softfp-compat: Likewise.
12544 * config/ia64/tf-signs.c: Likewise.
12545
12546 2009-01-18 Ben Elliston <bje@au.ibm.com>
12547
12548 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12549
12550 2009-01-16 Ben Elliston <bje@au.ibm.com>
12551
12552 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12553 to tmake_file.
12554
12555 2009-01-13 Ben Elliston <bje@au.ibm.com>
12556
12557 * config/t-softfp: New file.
12558 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12559 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12560
12561 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
12562
12563 * config.host: Add m32r*-*-rtems*.
12564
12565 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
12566
12567 * config.host: Add m32c*-*-rtems*.
12568
12569 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12570
12571 PR bootstrap/33100
12572 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12573 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12574 * configure: Regenerate.
12575 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12576 tmake_file here from gcc/config.gcc.
12577 Move extra_parts here from gcc/config.gcc.
12578 * config/i386/t-sol2: Move here from gcc/config/i386.
12579 Use gcc_srcdir instead of srcdir.
12580
12581 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12582
12583 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12584 case.
12585
12586 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12587
12588 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12589
12590 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12591
12592 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12593
12594 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12595
12596 Add picoChip port.
12597 * config.host: Add picochip-*-*.
12598
12599 2008-08-06 Bob Wilson <bob.wilson@acm.org>
12600
12601 * config.host: Match more processor names for Xtensa.
12602
12603 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12604
12605 * config/i386/64/t-softfp-compat: Update comments.
12606
12607 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12608
12609 * config/i386/64/_divtc3-compat.c: Moved to ...
12610 * config/i386/64/_divtc3.c: Here.
12611
12612 * config/i386/64/_multc3-compat.c: Moved to ...
12613 * config/i386/64/_multc3.c: Here.
12614
12615 * config/i386/64/_powitf2-compat.c: Moved to ...
12616 * config/i386/64/_powitf2.c: Here.
12617
12618 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12619 .c suffix instead of -compat.c.
12620
12621 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
12622
12623 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12624 (_FP_MUL_MEAT_D): Ditto.
12625 (_FP_DIV_MEAT_S): Ditto.
12626 (_FP_DIV_MEAT_D): Ditto.
12627
12628 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12629
12630 * Makefile.in: Add support for __sync_* libgcc functions.
12631
12632 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12633
12634 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12635
12636 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12637
12638 PR boostrap/36702
12639 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12640 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12641
12642 * config/i386/64/t-fprules-softfp: Moved to ...
12643 * config/i386/64/t-softfp-compat: This. New.
12644
12645 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
12646
12647 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12648 Initialize f with 0.0.
12649
12650 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12651
12652 PR target/36669
12653 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12654
12655 * config/i386/64/_divtc3-compat.c: New.
12656 * config/i386/64/_multc3-compat.c: Likewise.
12657 * config/i386/64/_powitf2-compat.c: Likewise.
12658 * config/i386/64/eqtf2.c: Likewise.
12659 * config/i386/64/getf2.c: Likewise.
12660 * config/i386/64/letf2.c: Likewise.
12661 * config/i386/64/t-fprules-softfp: Likewise.
12662
12663 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12664
12665 * config.host: Add i386/${host_address}/t-fprules-softfp to
12666 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12667 i[34567]86-*-linux*, x86_64-*-linux*.
12668
12669 * configure.ac: Set host_address to 64 or 32 for x86.
12670 * configure: Regenerated.
12671
12672 * Makefile.in (config.status): Also depend on
12673 $(srcdir)/config.host.
12674
12675 * config/i386/32/t-fprules-softfp: New.
12676 * config/i386/32/tf-signs.c: Likewise.
12677
12678 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12679
12680 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12681 Uros Bizjak <ubizjak@gmail.com>
12682
12683 * config/i386/32/sfp-machine.h: New.
12684
12685 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12686
12687 * config/rs6000/t-ppccomm: Remove rules that conflict with
12688 auto-generated rules.
12689
12690 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12691
12692 * configure.ac: sinclude override.m4.
12693 * configure: Regenerate.
12694
12695 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12696
12697 * configure: Regenerate.
12698
12699 2008-06-10 Joseph Myers <joseph@codesourcery.com>
12700
12701 * Makefile.in (DECNUMINC): Remove
12702 -I$(MULTIBUILDTOP)../../libdecnumber.
12703 * gstdint.h: New.
12704
12705 2008-06-07 Joseph Myers <joseph@codesourcery.com>
12706
12707 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12708 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12709 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12710 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12711 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12712 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12713 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12714 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12715 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12716 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12717 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12718 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12719 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12720 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12721
12722 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12723
12724 * config.host (sh2[lbe]*-*-linux*): Allow target.
12725
12726 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12727
12728 * config/rs6000/t-ppccomm: Add build rules for new files.
12729 (LIB2ADD_ST): New variable.
12730
12731 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12732
12733 PR target/34210
12734 PR target/35508
12735 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12736 * config/t-avr: New file. Build 16bit libgcc functions.
12737
12738 2008-03-02 Jakub Jelinek <jakub@redhat.com>
12739
12740 PR target/35401
12741 * config/t-slibgcc-darwin: Make install-leaf dependent on
12742 install-darwin-libgcc-stubs instead of install.
12743
12744 2008-01-25 Joseph Myers <joseph@codesourcery.com>
12745
12746 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12747 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12748 sh-*-rtemscoff*): Remove cases.
12749
12750 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12751
12752 * Makefile.in (all): Use install-leaf rather than install.
12753 (install): Split most of the rule into...
12754 (install-leaf): ...this new one.
12755
12756 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
12757 Paolo Bonzini <bonzini@gnu.org>
12758
12759 PR target/30572
12760 * Makefile.in: Use @shlib_slibdir@ substitution to get
12761 correct install name on darwin.
12762 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12763
12764 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
12765
12766 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12767 cris-*-elf and cris-*-none.
12768 (crisv32-*-linux*): Similar, as cris-*-linux*.
12769
12770 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12771
12772 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12773
12774 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12775
12776 PR regression/33926
12777 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12778 * configure: Regenerated.
12779
12780 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12781
12782 * Makefile.in (dfp-filenames): Replace decimal_globals,
12783 decimal_data, binarydecimal and convert_data with
12784 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12785 and bid_convert_data, respectively.
12786
12787 2007-09-17 Chao-ying Fu <fu@mips.com>
12788 Nigel Stephens <nigel@mips.com>
12789
12790 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12791 * Makefile.in (fixed_point): Define.
12792 Check if fixed_point is yes to build support functions.
12793 * configure.ac: Check for fixed_point support.
12794 * configure: Regenerated.
12795 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12796 funcs, modes, from, to.
12797
12798 2007-09-11 Janis Johnson <janis187@us.ibm.com
12799
12800 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12801
12802 2007-09-10 Janis Johnson <janis187@us.ibm.com>
12803
12804 * Makefile.in (dfp-filenames): Remove decUtility, add
12805 decDouble, decPacked, decQuad, decSingle.
12806
12807 2007-08-27 Hans Kester <hans.kester@ellips.nl>
12808
12809 * config.host : Add x86_64-elf target.
12810
12811 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12812
12813 * configure.ac (set_have_cc_tls): Add a missing =.
12814 * configure: Regenerated.
12815
12816 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12817
12818 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12819 and x86_64-*-linux*.
12820
12821 * config/t-tls: New file.
12822
12823 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12824
12825 * configure.ac: Include ../config/enable.m4 and
12826 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12827 supports TLS and substitute set_have_cc_tls.
12828 * configure: Regenerated.
12829
12830 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12831
12832 * Makefile.in: Use libbid for DFP when BID is enabled.
12833
12834 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12835
12836 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12837 extra_parts. Add config/i386/t-cygming to tmake_file.
12838 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12839
12840 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
12841 Danny Smith <dannysmith@users.sourceforge.net>
12842
12843 PR target/29498
12844 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12845 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12846 * config/i386/t-crtfm: Compile crtfastmath.o with
12847 -minline-all-stringops.
12848
12849 2007-05-10 Richard Sandiford <richard@codesourcery.com>
12850
12851 * config.host (sparc-wrs-vxworks): New target.
12852
12853 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
12854
12855 * config.host: Recognize fido.
12856
12857 2007-04-04 Janis Johnson <janis187@us.ibm.com>
12858
12859 * configure: Check host, not target, for decimal float support.
12860
12861 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
12862
12863 * config/i386/t-crtpc: New file.
12864 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12865 (x86_64-*-linux*): Ditto.
12866
12867 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
12868
12869 * config.host (x86_64-*-mingw*): New target.
12870
12871 2007-03-23 Michael Meissner <michael.meissner@amd.com>
12872 H.J. Lu <hongjiu.lu@intel.com>
12873
12874 * Makefile.in (enable_decimal_float): New.
12875 (DECNUMINC): Add
12876 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12877 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12878 (decbits-filenames): This.
12879 (decbits-objects): New.
12880 (libgcc-objects): Add $(decbits-objects).
12881
12882 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12883 Substitute enable_decimal_float.
12884 * configure: Regenerated.
12885
12886 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
12887
12888 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12889
12890 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12891
12892 * Makefile.in (install-info): New dummy target.
12893
12894 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12895
12896 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12897
12898 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12899
12900 * Makefile.in: Add install-html and install-pdf dummy
12901 targets.
12902
12903 2007-02-05 Roger Sayle <roger@eyesopen.com>
12904 Daniel Jacobowitz <dan@codesourcery.com>
12905
12906 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12907 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12908 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12909
12910 2007-01-29 Janis Johnson <janis187@us.ibm.com>
12911
12912 * Makefile.in (dec-filenames): Add decExcept.
12913
12914 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12915
12916 PR bootstrap/30469
12917 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12918 -fprofile-use.
12919
12920 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12921
12922 * configure.ac: Add --enable-version-specific-runtime-libs.
12923 Correct $slibdir default.
12924 * configure: Regenerated.
12925
12926 2007-01-23 Joseph Myers <joseph@codesourcery.com>
12927
12928 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12929
12930 2007-01-21 Andrew Pinski <pinskia@gmail.com>
12931
12932 PR target/30519
12933 * config.host (alpha*-*-linux*): Set extra_parts.
12934
12935 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12936
12937 * config/sh/t-linux: New.
12938 * config.host (sh*-*-linux*): Set tmake_file.
12939
12940 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12941
12942 * Makefile.in (install): Handle multilibs.
12943
12944 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12945
12946 * Makefile.in: Added .PHONY entry for documentation targets.
12947
12948 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12949
12950 * Makefile.in: Add empty info, html, dvi, pdf targets.
12951
12952 2007-01-04 Mike Stump <mrs@apple.com>
12953
12954 * Makefile.in (MAKEINFO): Remove.
12955 (PERL): Likewise.
12956
12957 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
12958
12959 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12960 * configure: Regenerate.
12961 * Makefile.in (host_subdir): Substitute it.
12962 (gcc_objdir): Use it.
12963
12964 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12965
12966 * config.host (ia64*-*-linux*): Set tmake_file.
12967
12968 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12969
12970 * Makefile.in (version): Define.
12971
12972 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12973 Paolo Bonzini <bonzini@gnu.org>
12974
12975 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12976 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12977 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12978 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12979 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12980 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12981 * configure: Generated.
12982 \f
12983 Copyright (C) 2007-2023 Free Software Foundation, Inc.
12984
12985 Copying and distribution of this file, with or without modification,
12986 are permitted in any medium without royalty provided the copyright
12987 notice and this notice are preserved.