]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
738808bd
GA
12023-07-06 Kito Cheng <kito.cheng@sifive.com>
2
3 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
4 (FP_HANDLE_EXCEPTIONS): Ditto.
5
e517d3f5
GA
62023-06-19 Andrew Stubbs <ams@codesourcery.com>
7
8 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
9 * config/gcn/lib2-divmod.c: Likewise.
10 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
11 new vector libfuncs.
12 * config/gcn/t-amdgcn: Add new files.
13 * config/gcn/amdgcn_veclib.h: New file.
14 * config/gcn/lib2-vec_divmod-di.c: New file.
15 * config/gcn/lib2-vec_divmod-hi.c: New file.
16 * config/gcn/lib2-vec_divmod-qi.c: New file.
17 * config/gcn/lib2-vec_divmod.c: New file.
18
192023-06-19 Andrew Stubbs <ams@codesourcery.com>
20
21 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
22 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
23 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
24 * config/gcn/lib2-divmod-hi.c: Removed.
25
8c5b1365
GA
262023-06-07 Florian Weimer <fweimer@redhat.com>
27
28 PR libgcc/109712
29 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
30 parsing eh_frame.
31
14da7648
GA
322023-06-05 Kewen Lin <linkw@linux.ibm.com>
33
34 * config/i386/morestack.S: Use @init_array rather than
35 @progbits for section type of section .init_array.
36 * config/rs6000/morestack.S: Likewise.
37 * config/s390/morestack.S: Likewise.
38
392023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
40
41 * config/mips/lib1funcs.S: New file.
42 define __speculation_barrier and include mips16.S.
43 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
44 define LIB1ASMFUNCS as _speculation_barrier.
45 set version info for __speculation_barrier.
46 * config/mips/libgcc-mips.ver: New file.
47 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
48 included in lib1funcs.S now.
49
321cee7e
GA
502023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
51
52 PR libgcc/109670
53 * unwind-dw2-fde.c: Fix radix sort buffer management.
54
552023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
56
57 PR libgcc/109685
58 * unwind-dw2-fde.c: Free sort array in atomic fast path.
59
5df01f89
GA
602023-05-19 Iain Sandoe <iain@sandoe.co.uk>
61
62 * config.host: Arrange to set min Darwin OS versions from
63 the configured host version.
64 * config/darwin10-unwind-find-enc-func.c: Do not use current
65 headers, but declare the nexessary structures locally to the
66 versions in use for Mac OSX 10.6.
67 * config/t-darwin: Amend to handle configured min OS
68 versions.
69 * config/t-darwin-min-1: New.
70 * config/t-darwin-min-5: New.
71 * config/t-darwin-min-8: New.
72
3427b51b
GA
732023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
74
75 * unwind-dw2-fde.c: Fix assert in non-atomic path.
76
772023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
78
79 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
80
d7cb9720
GA
812023-05-02 Patrick O'Neill <patrick@rivosinc.com>
82
83 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
84 sequentially consistent LR.aqrl/SC.rl pairs.
85
1fc8da95
GA
862023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
87
88 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
89 -DTARGET_HAS_NO_HW_DIVIDE.
90
4a3dbcbd
GA
912023-04-27 Hans-Peter Nilsson <hp@axis.com>
92
93 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
94 -DTARGET_HAS_NO_HW_DIVIDE.
95
962023-04-26 Patrick O'Neill <patrick@rivosinc.com>
97
98 PR target/104338
99 * config/riscv/atomic.c: Add reference to duplicate logic.
100
0f04ebb4
GA
1012023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
102
103 PR target/109402
104 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
105 stack manipulations.
106
5229788d
GA
1072023-04-05 John David Anglin <danglin@gcc.gnu.org>
108
109 PR target/109374
110 * config/pa/milli64.S (RETURN_COLUMN): Define.
111 ($$divI): Add CFI directives.
112 ($$divU): Likewise.
113 ($$remI): Likewise.
114 ($$remU): Likewise.
115
09abeb73
GA
1162023-03-19 Stafford Horne <shorne@gmail.com>
117
118 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
119 statement clearing existing exceptions.
120
a9835599
GA
1212023-03-13 Max Filippov <jcmvbkbc@gmail.com>
122
123 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
124 * config/xtensa/crtn.S: Likewise.
125 * config/xtensa/lib1funcs.S: Likewise.
126 * config/xtensa/lib2funcs.S: Likewise.
127
44ea7318
GA
1282023-03-12 Jakub Jelinek <jakub@redhat.com>
129
130 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
131 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
132 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
133 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
134 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
135 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
136 * soft-fp/floatundibf.c: New file.
137 * soft-fp/floatdibf.c: New file.
138
c8065441
GA
1392023-03-10 Jakub Jelinek <jakub@redhat.com>
140
141 PR target/107703
142 * soft-fp/floattibf.c: New file.
143 * soft-fp/floatuntibf.c: New file.
144 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
145 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
146 floatuntibf.
147 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
148
6a87fdd3
GA
1492023-03-08 Kewen Lin <linkw@linux.ibm.com>
150
151 PR libgcc/108727
152 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
153 bump size.
154
3dd4ada4
GA
1552023-03-06 Michael Meissner <meissner@linux.ibm.com>
156
157 PR target/107299
158 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
159 whether long double is IBM or IEEE.
160 (INFINITY): Likewise.
161 (FABS): Likewise.
162 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
163 (INFINITY): Likewise.
164 * config/rs6000/quad-float128.h (TF): Remove definition.
165 (TFtype): Define to be long double or _Float128.
166 (TCtype): Define to be _Complex long double or _Complex _Float128.
167 * libgcc2.h (TFtype): Allow machine config files to override this.
168 (TCtype): Likewise.
169 * soft-fp/quad.h (TFtype): Likewise.
170
ae719781
GA
1712023-02-13 Kito Cheng <kito.cheng@sifive.com>
172
173 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
174 * config/riscv/value-unwind.h: New.
175
49e52115
GA
1762023-02-03 Christophe Lyon <christophe.lyon@arm.com>
177
178 * config/arm/pr-support.c (__gnu_unwind_execute): Use
179 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
180
897a0502
GA
1812023-01-30 Flavio Cruz <flaviocruz@gmail.com>
182
183 * config.host: Recognize x86_64-*-gnu* targets.
184 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
185 TODO for now.
186
607f278a
GA
1872023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
188
189 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
190 "0xb5".
191
1922023-01-23 Andrea Corallo <andrea.corallo@arm.com>
193 Tejas Belagod <tbelagod@arm.com>
194 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
195
196 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
197 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
198 with AUTG if found.
199 * config/arm/unwind-arm.c (struct pseudo_regs): New.
200 (phase1_vrs): Introduce new field to store pseudo-reg state.
201 (phase2_vrs): Likewise.
202 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
203 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
204 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
205
9f98cfa5
GA
2062023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
207
208 PR target/107678
209 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
210 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
211 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
212 encode the return address signing state.
213 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
214 Check current return address signing state.
215 (aarch64_frob_update_contex): Remove.
216
5013c3bb
GA
2172023-01-13 John David Anglin <danglin@gcc.gnu.org>
218
219 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
220 pa/t-pa64-linux.
221 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
222 instead of pa/t-hpux and pa/t-pa64.
223 * config/pa/linux-atomic.c: Define u32 type.
224 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
225 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
226 defines to use atomic_load calls for type.
227 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
228 * config/pa/sync-libfuncs.c: New file.
229 * config/pa/t-netbsd (LIB2ADD_ST): Define.
230 * config/pa/t-openbsd (LIB2ADD_ST): Define.
231 * config/pa/t-pa64-hpux: New file.
232 * config/pa/t-pa64-linux: New file.
233
2342023-01-13 Jonathan Wakely <jwakely@redhat.com>
235
236 PR libstdc++/108331
237 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
238 struct matching the previous __gthread_mutex_t struct.
239 (__GTHREAD_LEGACY_MUTEX_T): Define.
240
2412023-01-13 Seija Kijin <doremylover456@gmail.com>
242
243 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
244 unified syntax.
245
d901bf8a
GA
2462023-01-07 LIU Hao <lh_mouse@126.com>
247
248 PR middle-end/108300
249 * config/i386/enable-execute-stack-mingw32.c: Define
250 `WIN32_LEAN_AND_MEAN` before <windows.h>.
251 * libgcc2.c: Likewise.
252 * unwind-generic.h: Likewise.
253
0f8fbb57
GA
2542023-01-03 Florian Weimer <fweimer@redhat.com>
255
256 * unwind-dw2-execute_cfa.h: New file. Extracted from
257 the execute_cfa_program function in unwind-dw2.c.
258 * unwind-dw2.c (execute_cfa_program_generic): New function.
259 (execute_cfa_program_specialized): Likewise.
260 (execute_cfa_program): Call execute_cfa_program_specialized
261 or execute_cfa_program_generic, as appropriate.
262
2632023-01-03 Florian Weimer <fweimer@redhat.com>
264
265 Revert:
266 2023-01-03 Florian Weimer <fweimer@redhat.com>
267
268 * unwind-dw2.c (dwarf_reg_size): New function.
269 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
270 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
271 (uw_init_context_1): Do not initialize dwarf_reg_size_table
272 if not in use.
273
2742023-01-03 Florian Weimer <fweimer@redhat.com>
275
276 Revert:
277 2023-01-03 Florian Weimer <fweimer@redhat.com>
278
279 * unwind-dw2-execute_cfa.h: New file. Extracted from
280 the execute_cfa_program function in unwind-dw2.c.
281 * unwind-dw2.c (execute_cfa_program_generic): New function.
282 (execute_cfa_program_specialized): Likewise.
283 (execute_cfa_program): Call execute_cfa_program_specialized
284 or execute_cfa_program_generic, as appropriate.
285
fee53a31
GA
2862023-01-02 Florian Weimer <fweimer@redhat.com>
287
288 * unwind-dw2-execute_cfa.h: New file. Extracted from
289 the execute_cfa_program function in unwind-dw2.c.
290 * unwind-dw2.c (execute_cfa_program_generic): New function.
291 (execute_cfa_program_specialized): Likewise.
292 (execute_cfa_program): Call execute_cfa_program_specialized
293 or execute_cfa_program_generic, as appropriate.
294
2952023-01-02 Florian Weimer <fweimer@redhat.com>
296
297 * unwind-dw2.c (dwarf_reg_size): New function.
298 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
299 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
300 (uw_init_context_1): Do not initialize dwarf_reg_size_table
301 if not in use.
302
bc38aee7
GA
3032022-12-25 Jonathan Yong <10walls@gmail.com>
304
305 * config/i386/gthr-win32.h: undef CC_NONE
306
843c4d2f
GA
3072022-12-24 Iain Sandoe <iain@sandoe.co.uk>
308
309 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
310 install of libgcc_s.1.dylib when the installation is into the build
311 gcc directory.
312
376d6b8c
GA
3132022-12-23 Eric Botcazou <ebotcazou@adacore.com>
314
315 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
316 as well as new i386/t-slibgcc-mingw fragment.
317 (x86_64-*-mingw*): Likewise.
318 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
319 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
320 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
321 Include stdlib.h instead of errno.h and do not include _mingw.h.
322 (CONST_CAST2): Add specific definition for C++.
323 (ATTRIBUTE_UNUSED): New macro.
324 (__UNUSED_PARAM): Delete.
325 Define WIN32_LEAN_AND_MEAN before including windows.h.
326 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
327 (__gthread_objc_init_thread_system): Likewise.
328 (__gthread_objc_thread_get_data): Minor tweak.
329 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
330 (__gthread_objc_condition_deallocate): Likewise.
331 (__gthread_objc_condition_wait): Likewise.
332 (__gthread_objc_condition_broadcast): Likewise.
333 (__gthread_objc_condition_signal): Likewise.
334 Include sys/time.h.
335 (__gthr_win32_DWORD): New typedef.
336 (__gthr_win32_HANDLE): Likewise.
337 (__gthr_win32_CRITICAL_SECTION): Likewise.
338 (__gthr_win32_CONDITION_VARIABLE): Likewise.
339 (__gthread_t): Adjust.
340 (__gthread_key_t): Likewise.
341 (__gthread_mutex_t): Likewise.
342 (__gthread_recursive_mutex_t): Likewise.
343 (__gthread_cond_t): New typedef.
344 (__gthread_time_t): Likewise.
345 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
346 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
347 (__GTHREAD_COND_INIT_FUNCTION): Define.
348 (__GTHREAD_TIME_INIT): Likewise.
349 (__gthr_i486_lock_cmp_xchg): Delete.
350 (__gthr_win32_create): Declare.
351 (__gthr_win32_join): Likewise.
352 (__gthr_win32_self): Likewise.
353 (__gthr_win32_detach): Likewise.
354 (__gthr_win32_equal): Likewise.
355 (__gthr_win32_yield): Likewise.
356 (__gthr_win32_mutex_destroy): Likewise.
357 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
358 (__gthr_win32_cond_broadcast): Likewise.
359 (__gthr_win32_cond_signal): Likewise.
360 (__gthr_win32_cond_wait): Likewise.
361 (__gthr_win32_cond_timedwait): Likewise.
362 (__gthr_win32_recursive_mutex_init_function): Delete.
363 (__gthr_win32_recursive_mutex_lock): Likewise.
364 (__gthr_win32_recursive_mutex_unlock): Likewise.
365 (__gthr_win32_recursive_mutex_destroy): Likewise.
366 (__gthread_create): New inline function.
367 (__gthread_join): Likewise.
368 (__gthread_self): Likewise.
369 (__gthread_detach): Likewise.
370 (__gthread_equal): Likewise.
371 (__gthread_yield): Likewise.
372 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
373 (__gthread_cond_broadcast): Likewise.
374 (__gthread_cond_signal): Likewise.
375 (__gthread_cond_wait): Likewise.
376 (__gthread_cond_timedwait): Likewise.
377 (__GTHREAD_WIN32_INLINE): New macro.
378 (__GTHREAD_WIN32_COND_INLINE): Likewise.
379 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
380 Define WIN32_LEAN_AND_MEAN before including windows.h.
381 (__gthread_once): Minor tweaks.
382 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
383 (__gthread_key_delete): Minor tweak.
384 (__gthread_getspecific): Likewise.
385 (__gthread_setspecific): Likewise.
386 (__gthread_mutex_init_function): Reimplement.
387 (__gthread_mutex_destroy): Likewise.
388 (__gthread_mutex_lock): Likewise.
389 (__gthread_mutex_trylock): Likewise.
390 (__gthread_mutex_unlock): Likewise.
391 (__gthr_win32_abs_to_rel_time): Declare.
392 (__gthread_recursive_mutex_init_function): Reimplement.
393 (__gthread_recursive_mutex_destroy): Likewise.
394 (__gthread_recursive_mutex_lock): Likewise.
395 (__gthread_recursive_mutex_trylock): Likewise.
396 (__gthread_recursive_mutex_unlock): Likewise.
397 (__gthread_cond_destroy): New inline function.
398 (__gthread_cond_wait_recursive): Likewise.
399 * config/i386/gthr-win32.c: Delete everything.
400 Include gthr-win32.h to get the out-of-line version of inline routines.
401 Add compile-time checks for the local version of the Win32 types.
402 * config/i386/gthr-win32-cond.c: New file.
403 * config/i386/gthr-win32-thread.c: Likewise.
404 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
405 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
406 the static version of libgcc.
407 * config/i386/t-slibgcc-mingw: New file.
408 * config/i386/libgcc-mingw.ver: Likewise.
409
5fb1e674
GA
4102022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
411
412 * unwind-dw2-fde.c: Initialize fde object lazily when
413 the first exception tries to pass through.
414
4152022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
416
417 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
418
e6110da4
GA
4192022-12-08 Max Filippov <jcmvbkbc@gmail.com>
420
421 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
422 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
423 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
424 (XSHAL_ABI): Remove stray symbols from macro definitions.
425
4bc2d9f6
GA
4262022-12-07 Max Filippov <jcmvbkbc@gmail.com>
427
428 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
429 xtensa-config-builtin.h.
430 * config/xtensa/crtn.S: Likewise.
431 * config/xtensa/lib1funcs.S: Likewise.
432 * config/xtensa/lib2funcs.S: Likewise.
433 * config/xtensa/xtensa-config-builtin.h: New File.
434
05788e9b
GA
4352022-11-04 Florian Weimer <fweimer@redhat.com>
436
437 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
438 values actually used by BFD ld.
439
00716b77
GA
4402022-10-23 LIU Hao <lh_mouse@126.com>
441
442 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
443 libobjc, instead of 'gthr.h'
444
87f9c4a4
GA
4452022-10-19 LIU Hao <lh_mouse@126.com>
446
447 * config.host: Add new cases for `mcf` thread model
448 * config/i386/gthr-mcf.h: New file
449 * config/i386/t-mingw-mcfgthread: New file
450 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
451 * configure: Regenerate
452
21de009f
GA
4532022-10-18 Jonathan Wakely <jwakely@redhat.com>
454
455 * Makefile.in: Quote variable.
456
6237663c
GA
4572022-10-17 H.J. Lu <hjl.tools@gmail.com>
458
459 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
460 argument.
461 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
462 _Unwind_Frames_Increment.
463 (_Unwind_ForcedUnwind_Phase2): Likewise.
464 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
465 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
466 return address on normal stack doesn't match the return address
467 on shadow stack.
468
4692022-10-17 Florian Weimer <fweimer@redhat.com>
470
471 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
472 and reduce its size.
473
baeec7cc
GA
4742022-10-14 Jakub Jelinek <jakub@redhat.com>
475
476 * config/i386/t-softfp (softfp_extensions): Add bfsf.
477 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
478 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
479 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
480 -msse2.
481 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
482 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
483 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
484 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
485 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
486 * soft-fp/brain.h: New file.
487 * soft-fp/truncsfbf2.c: New file.
488 * soft-fp/truncdfbf2.c: New file.
489 * soft-fp/truncxfbf2.c: New file.
490 * soft-fp/trunctfbf2.c: New file.
491 * soft-fp/trunchfbf2.c: New file.
492 * soft-fp/truncbfhf2.c: New file.
493 * soft-fp/extendbfsf2.c: New file.
494
781f477a
GA
4952022-10-12 Martin Liska <mliska@suse.cz>
496
497 * libgcov-driver.c: Use new function.
498 * libgcov.h (gcov_write_summary): Rename to ...
499 (gcov_write_object_summary): ... this.
500
ab332cd7
GA
5012022-10-11 Olivier Hainque <hainque@adacore.com>
502
503 * config.host (*vxworks*): When enable_shared, add
504 libgcc and crtstuff "shared" fragments for rtp except
505 large code model.
506 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
507 the list of fragments.
508
629d04d3
GA
5092022-10-06 Jakub Jelinek <jakub@redhat.com>
510
511 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
512 fs->regs.how[X] instead of fs->regs.reg[X].how.
513
5142022-10-06 Jakub Jelinek <jakub@redhat.com>
515
516 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
517 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
518 REG_UNDEFINED): New anonymous enum, moved from inside of
519 struct frame_state_reg_info.
520 (struct frame_state_reg_info): Remove reg[].how element and the
521 anonymous enum there. Add how element.
522 * unwind-dw2.c: Include stddef.h.
523 (uw_frame_state_for): Don't clear first
524 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
525 (execute_cfa_program, __frame_state_for, uw_update_context_1,
526 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
527 or fs.regs.how[X] instead of fs.regs.reg[X].how.
528 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
529 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
530 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
531 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
532 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
533 Likewise.
534 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
535 Likewise.
536 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
537 * config/arc/linux-unwind.h (arc_fallback_frame_state,
538 arc_frob_update_context): Likewise.
539 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
540 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
541 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
542 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
543 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
544 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
545 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
546 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
547 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
548 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
549 x86_fallback_frame_state): Likewise.
550 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
551 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
552 x86_fallback_frame_state): Likewise.
553 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
554 Likewise.
555 * config/i386/dragonfly-unwind.h
556 (x86_64_dragonfly_fallback_frame_state): Likewise.
557 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
558 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
559 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
560 Likewise.
561 * config/aarch64/freebsd-unwind.h
562 (aarch64_freebsd_fallback_frame_state): Likewise.
563 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
564 Likewise.
565 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
566 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
567 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
568 Likewise.
569 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
570 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
571 Likewise.
572 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
573 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
574 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
575 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
576
42231015
GA
5772022-10-02 Olivier Hainque <hainque@adacore.com>
578
579 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
580 -I options for gcc/include and gcc/include-fixed at the end
581 and make them -isystem.
582
5832022-10-02 Olivier Hainque <hainque@adacore.com>
584
585 * config/gthr-vxworks.h: Prevent Wpragma warning for the
586 pragma diagnostics on Wstrict-prototypes.
587
bbdcdf5c
GA
5882022-09-29 Olivier Hainque <hainque@adacore.com>
589
590 * config/vxcrtstuff.c: Improve the comment attached to the use
591 of auto-host.h and of __dso_handle. Remove redundant guard on
592 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
593
220c4d8e
GA
5942022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
595
596 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
597 for the non-fast-path case. Drop destructor priority.
598
279c6715
GA
5992022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
600
601 * unwind-dw2-fde.c: (release_register_frames) Remember
602 when the btree has been destroyed.
603 (__deregister_frame_info_bases) Disable the assert when
604 shutting down.
605
0990a778
GA
6062022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
607
608 * unwind-dw2-fde.c: Replace uintptr_t with typedef
609 for __UINTPTR_TYPE__.
610 * unwind-dw2-btree.h: Likewise.
611
7ee0fa10
GA
6122022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
613
614 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
615 (__register_frame_info_table_bases): Use btree in atomic fast path.
616 (__deregister_frame_info_bases): Likewise.
617 (_Unwind_Find_FDE): Likewise.
618 (base_from_object): Make parameter const.
619 (classify_object_over_fdes): Add query-only mode.
620 (get_pc_range): Compute PC range for lookup.
621 * unwind-dw2-fde.h (last_fde): Make parameter const.
622 * unwind-dw2-btree.h: New file.
623
542c60c4
GA
6242022-08-31 Martin Liska <mliska@suse.cz>
625
626 * config.host: Remove hppa.
627
3de9fb32
GA
6282022-08-30 Martin Liska <mliska@suse.cz>
629
630 * config.host: Remove the port.
631
16f542d6
GA
6322022-08-26 Martin Liska <mliska@suse.cz>
633
634 * config.host: Remove cr16 related stuff.
635 * config/cr16/crti.S: Removed.
636 * config/cr16/crtlibid.S: Removed.
637 * config/cr16/crtn.S: Removed.
638 * config/cr16/divmodhi3.c: Removed.
639 * config/cr16/lib1funcs.S: Removed.
640 * config/cr16/t-cr16: Removed.
641 * config/cr16/t-crtlibid: Removed.
642 * config/cr16/unwind-cr16.c: Removed.
643 * config/cr16/unwind-dw2.h: Removed.
644
47a61e65
GA
6452022-08-16 Kito Cheng <kito.cheng@sifive.com>
646
647 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
648 (_FP_NANFRAC_H): Ditto.
649 (_FP_NANSIGN_H): Ditto.
650 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
651 routines.
652 (softfp_truncations): Ditto.
653 (softfp_extras): Ditto.
654 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
655
6562022-08-16 Kito Cheng <kito.cheng@sifive.com>
657
658 * soft-fp/fixhfdi.c: New.
659 * soft-fp/fixhfsi.c: Likewise.
660 * soft-fp/fixunshfdi.c: Likewise.
661 * soft-fp/fixunshfsi.c: Likewise.
662 * soft-fp/floatdihf.c: Likewise.
663 * soft-fp/floatsihf.c: Likewise.
664 * soft-fp/floatundihf.c: Likewise.
665 * soft-fp/floatunsihf.c: Likewise.
666 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
667 lines and update URL for license.
668 * soft-fp/addsf3.c: Likewise.
669 * soft-fp/addtf3.c: Likewise.
670 * soft-fp/divdf3.c: Likewise.
671 * soft-fp/divsf3.c: Likewise.
672 * soft-fp/divtf3.c: Likewise.
673 * soft-fp/double.h: Likewise.
674 * soft-fp/eqdf2.c: Likewise.
675 * soft-fp/eqhf2.c: Likewise.
676 * soft-fp/eqsf2.c: Likewise.
677 * soft-fp/eqtf2.c: Likewise.
678 * soft-fp/extenddftf2.c: Likewise.
679 * soft-fp/extended.h: Likewise.
680 * soft-fp/extendhfdf2.c: Likewise.
681 * soft-fp/extendhfsf2.c: Likewise.
682 * soft-fp/extendhftf2.c: Likewise.
683 * soft-fp/extendhfxf2.c: Likewise.
684 * soft-fp/extendsfdf2.c: Likewise.
685 * soft-fp/extendsftf2.c: Likewise.
686 * soft-fp/extendxftf2.c: Likewise.
687 * soft-fp/fixdfdi.c: Likewise.
688 * soft-fp/fixdfsi.c: Likewise.
689 * soft-fp/fixdfti.c: Likewise.
690 * soft-fp/fixhfti.c: Likewise.
691 * soft-fp/fixsfdi.c: Likewise.
692 * soft-fp/fixsfsi.c: Likewise.
693 * soft-fp/fixsfti.c: Likewise.
694 * soft-fp/fixtfdi.c: Likewise.
695 * soft-fp/fixtfsi.c: Likewise.
696 * soft-fp/fixtfti.c: Likewise.
697 * soft-fp/fixunsdfdi.c: Likewise.
698 * soft-fp/fixunsdfsi.c: Likewise.
699 * soft-fp/fixunsdfti.c: Likewise.
700 * soft-fp/fixunshfti.c: Likewise.
701 * soft-fp/fixunssfdi.c: Likewise.
702 * soft-fp/fixunssfsi.c: Likewise.
703 * soft-fp/fixunssfti.c: Likewise.
704 * soft-fp/fixunstfdi.c: Likewise.
705 * soft-fp/fixunstfsi.c: Likewise.
706 * soft-fp/fixunstfti.c: Likewise.
707 * soft-fp/floatdidf.c: Likewise.
708 * soft-fp/floatdisf.c: Likewise.
709 * soft-fp/floatditf.c: Likewise.
710 * soft-fp/floatsidf.c: Likewise.
711 * soft-fp/floatsisf.c: Likewise.
712 * soft-fp/floatsitf.c: Likewise.
713 * soft-fp/floattidf.c: Likewise.
714 * soft-fp/floattihf.c: Likewise.
715 * soft-fp/floattisf.c: Likewise.
716 * soft-fp/floattitf.c: Likewise.
717 * soft-fp/floatundidf.c: Likewise.
718 * soft-fp/floatundisf.c: Likewise.
719 * soft-fp/floatunditf.c: Likewise.
720 * soft-fp/floatunsidf.c: Likewise.
721 * soft-fp/floatunsisf.c: Likewise.
722 * soft-fp/floatunsitf.c: Likewise.
723 * soft-fp/floatuntidf.c: Likewise.
724 * soft-fp/floatuntihf.c: Likewise.
725 * soft-fp/floatuntisf.c: Likewise.
726 * soft-fp/floatuntitf.c: Likewise.
727 * soft-fp/gedf2.c: Likewise.
728 * soft-fp/gesf2.c: Likewise.
729 * soft-fp/getf2.c: Likewise.
730 * soft-fp/half.h: Likewise.
731 * soft-fp/ledf2.c: Likewise.
732 * soft-fp/lesf2.c: Likewise.
733 * soft-fp/letf2.c: Likewise.
734 * soft-fp/muldf3.c: Likewise.
735 * soft-fp/mulsf3.c: Likewise.
736 * soft-fp/multf3.c: Likewise.
737 * soft-fp/negdf2.c: Likewise.
738 * soft-fp/negsf2.c: Likewise.
739 * soft-fp/negtf2.c: Likewise.
740 * soft-fp/op-1.h: Likewise.
741 * soft-fp/op-2.h: Likewise.
742 * soft-fp/op-4.h: Likewise.
743 * soft-fp/op-8.h: Likewise.
744 * soft-fp/op-common.h: Likewise.
745 * soft-fp/quad.h: Likewise.
746 * soft-fp/single.h: Likewise.
747 * soft-fp/soft-fp.h: Likewise.
748 * soft-fp/subdf3.c: Likewise.
749 * soft-fp/subsf3.c: Likewise.
750 * soft-fp/subtf3.c: Likewise.
751 * soft-fp/truncdfhf2.c: Likewise.
752 * soft-fp/truncdfsf2.c: Likewise.
753 * soft-fp/truncsfhf2.c: Likewise.
754 * soft-fp/trunctfdf2.c: Likewise.
755 * soft-fp/trunctfhf2.c: Likewise.
756 * soft-fp/trunctfsf2.c: Likewise.
757 * soft-fp/trunctfxf2.c: Likewise.
758 * soft-fp/truncxfhf2.c: Likewise.
759 * soft-fp/unorddf2.c: Likewise.
760 * soft-fp/unordsf2.c: Likewise.
761 * soft-fp/unordtf2.c: Likewise.
762
79fb1124
GA
7632022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
764
765 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
766 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
767 configurations.
768
87509781
GA
7692022-06-25 Jeff Law <jeffreyalaw@gmail.com>
770
771 * config.host: Removed tilegx and tilepro entries.
772 * config/tilegx/sfp-machine.h: Removed.
773 * config/tilegx/sfp-machine32.h: Removed.
774 * config/tilegx/sfp-machine64.h: Removed.
775 * config/tilegx/t-crtstuff: Removed.
776 * config/tilegx/t-softfp: Removed.
777 * config/tilegx/t-tilegx: Removed.
778 * config/tilepro/atomic.c: Removed.
779 * config/tilepro/atomic.h: Removed.
780 * config/tilepro/linux-unwind.h: Removed.
781 * config/tilepro/sfp-machine.h: Removed.
782 * config/tilepro/softdivide.c: Removed.
783 * config/tilepro/softmpy.S: Removed.
784 * config/tilepro/t-crtstuff: Removed.
785 * config/tilepro/t-tilepro: Removed.
786
e3bba42f
GA
7872022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
788
789 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
790 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
791
3164de6a
GA
7922022-06-01 H.J. Lu <hjl.tools@gmail.com>
793
794 PR libgcc/27576
795 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
796
3dff965c
GA
7972022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
798
799 PR libgcc/105708
800 * config/aarch64/lse-init.c: Increase constructor priority.
801
8022022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
803
804 PR target/104689
805 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
806 Handle the !REG_UNSAVED case.
807 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
808
57f2ce6a
GA
8092022-05-20 Christophe Lyon <christophe.lyon@arm.com>
810
811 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
812 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
813 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
814
8152022-05-20 Christophe Lyon <christophe.lyon@arm.com>
816
817 * config.host: Add t-dfprules to AArch64 targets.
818
8192022-05-20 Christophe Lyon <christophe.lyon@arm.com>
820
821 * configure: Regenerate.
822
9df4ffe4
GA
8232022-05-13 Sebastian Pop <spop@amazon.com>
824
825 PR target/105162
826 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
827 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
828
e8778989
GA
8292022-05-10 Martin Liska <mliska@suse.cz>
830 Hans-Peter Helfert <peter-helfert@t-online.de>
831
832 PR gcov-profile/105535
833 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
834 n_functions.
835
6259d8aa
GA
8362022-05-02 Martin Liska <mliska@suse.cz>
837
838 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
839
6b6f53d8
GA
8402022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
841
842 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
843 (gcov_profile_merge_stream): Likewise.
844
8452022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
846
847 * libgcov-util.c (consume_stream): New.
848 (get_target_profiles_for_merge): Likewise.
849 (gcov_profile_merge_stream): Likewise.
850
8512022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
852
853 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
854
8552022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
856
857 * libgcov-util.c (read_gcda_file): Do not open file.
858 (ftw_read_file): Open file here.
859
8602022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
861
862 * libgcov-util.c (read_gcda_file): Prepend new info object to global
863 list.
864 (ftw_read_file): Remove list append here.
865
8662022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
867
868 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
869 (ftw_read_file): Duplicate filename for read_gcda_file().
870
8712022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
872
873 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
874 (__gcov_filename_to_gcfn): Declare and document.
875 * libgcov-driver.c (dump_string): New.
876 (__gcov_filename_to_gcfn): Likewise.
877 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
878
8792022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
880
881 * libgcov.h (gcov_seek): Remove define and declaration.
882
8832022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
884
885 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
886 parameter. Pass mode to gcov_open() calls.
887 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
888 gcov_exit_open_gcda_file() call.
889 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
890 calls.
891 (__gcov_dump_one): Open file for reading and writing.
892
8932022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
894
895 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
896 reading and writing.
897 * libgcov-util.c (read_gcda_file): Open file for reading.
898 * libgcov.h (gcov_open): Delete declaration.
899
9002022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
901
902 * libgcov-util.c (gcov_profile_merge): Return the list of merged
903 profiles. Accept empty target and source profile lists.
904
405eda0d
GA
9052022-04-08 Sergei Trofimovich <siarheit@google.com>
906
907 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
908
9f774626
GA
9092022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
910 Lulu Cheng <chenglulu@loongson.cn>
911
912 * configure: Regenerate file.
913
9142022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
915 Lulu Cheng <chenglulu@loongson.cn>
916
917 * config/loongarch/crtfastmath.c: New file.
918 * config/loongarch/linux-unwind.h: Like wise.
919 * config/loongarch/sfp-machine.h: Like wise.
920 * config/loongarch/t-crtstuff: Like wise.
921 * config/loongarch/t-loongarch: Like wise.
922 * config/loongarch/t-loongarch64: Like wise.
923 * config/loongarch/t-softfp-tf: Like wise.
924 * config.host: Add LoongArch tuples.
925 * configure.ac: Add LoongArch support.
926
d7f00da1
GA
9272022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
928
929 PR libgcc/86224
930 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
931 for __mulsi3.
932 (__udivsi3_internal, __divsi3_internal): Similarly.
933 (__umodsi3, __modsi3): Use the internal function names.
934
8cc4f9cd
GA
9352022-03-09 Tobias Burnus <tobias@codesourcery.com>
936
937 PR target/102215
938 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
939 a line up to non-arg-dependent value first.
940 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
941 __atomic_compare_exchange_{1,2}.
942
8d96e14c
GA
9432022-03-04 Iain Sandoe <iain@sandoe.co.uk>
944
945 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
946 * config/t-darwin-ehs: Add dependency on unwind.h.
947
756a6185
GA
9482022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
949
950 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
951 with 0 instead of NULL.
952
9532022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
954
955 PR target/104656
956 * configure.ac: --disable-gcov if targetting bpf-*.
957 * configure: Regenerate.
958
e0b8716f
GA
9592022-01-25 Florian Weimer <fweimer@redhat.com>
960
961 PR libgcc/104207
962 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
963
fc829782
GA
9642022-01-17 Martin Liska <mliska@suse.cz>
965
966 * libgcov-driver.c: Rename .c names to .cc.
967
9248ee41
GA
9682022-01-15 David <gccbugzilla@limegreensocks.com>
969
970 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
971 Remove inlined version, Windows 95 is no longer relevant.
972 * config/i386/gthr-win32.h
973 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
974
617db51d
GA
9752022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
976
977 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
978 DWARF_ALT_FRAME_RETURN_COLUMN macro.
979
7d11b64b
GA
9802022-01-04 Florian Weimer <fweimer@redhat.com>
981
982 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
983 if available.
984
5da23a13
GA
9852022-01-02 John David Anglin <danglin@gcc.gnu.org>
986
987 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
988 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
989 return is not equal _ASM_EFAULT.
990 (__kernel_cmpxchg2): Likewise.
991
2554e2da
GA
9922021-12-17 Iain Sandoe <iain@sandoe.co.uk>
993
994 * config.host: Add shim declaration header to powerpc*-darwin builds.
995 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
996 file.
997 * config/t-darwin-ehs: Add dependencies to the shared unwinder
998 objects.
999 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1000 the shared EH lib. Add all-multi to the dependencies for the
1001 libgcc_s.1.dylib redirections.
1002
7f1239cb
GA
10032021-12-13 Olivier Hainque <hainque@adacore.com>
1004
1005 * config.host (powerpc*-*-vxworks7*): Remove
1006 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1007
10082021-12-13 Olivier Hainque <hainque@adacore.com>
1009
1010 * config.host (*vxworks*): Remove special case for
1011 arm on the use of vxcrtstuff.
1012
10132021-12-13 Fred Konrad <konrad@adacore.com>
1014 Olivier Hainque <hainque@adacore.com>
1015
1016 * config/t-vxcrtstuffS: New Makefile fragment.
1017 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1018 functions for INITFINI_ARRAY support in shared libs and guard
1019 the definition of eh table registration functions on conditions
1020 indicating they are needed.
1021
10222021-12-13 Olivier Hainque <hainque@adacore.com>
1023
1024 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1025 ahead of the other files in tmake_files.
1026 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1027 overriding it.
1028
10292021-12-13 Olivier Hainque <hainque@adacore.com>
1030
1031 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1032 both VxWorks7 and earlier.
1033 * config/t-vxworks7: Remove.
1034 * config.host: Remove special case for vxworks7.
1035
e8decbe7
GA
10362021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1037
1038 * config/vxcrtstuff.c: Make constructor and destructor
1039 functions static when possible.
1040
10412021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1042
1043 * config/vxcrtstuff.c: Remove constructor/destructor
1044 declarations.
1045
0bceef16
GA
10462021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1047
1048 * config/t-darwin: Add libgcc_tm.h to the dependencies
1049 for darwin10-unwind-find-enc-func.
1050
10512021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1052
1053 * config/rs6000/t-vxworks: New file.
1054 * config.host (powerpc*-*-vxworks*): Use it instead of
1055 t-ppccomm.
1056
4b4839e3
GA
10572021-12-09 Fred Konrad <konrad@adacore.com>
1058
1059 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1060 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1061
10622021-12-09 Olivier Hainque <hainque@adacore.com>
1063 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1064
1065 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1066 $(LIBGCC2_INCLUDES).
1067 * config/t-vxworks7: Likewise.
1068
641ff219
GA
10692021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1070
1071 * config.host (*-*-darwin*): Add logic to build a shared
1072 unwinder library for Darwin8-10.
1073 * config/i386/t-darwin: Build legacy libgcc_s.1.
1074 * config/rs6000/t-darwin: Likewise.
1075 * config/t-darwin: Reorganise the EH fragments to place
1076 them for inclusion in a shared EH lib.
1077 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1078 the supporting pieces (all FAT libs).
1079 * config/t-darwin-noeh: Removed.
1080 * config/darwin-unwind.ver: New file.
1081 * config/rs6000/t-darwin-ehs: New file.
1082 * config/t-darwin-ehs: New file.
1083
3a580f96
GA
10842021-12-06 Nelson Chu <nelson.chu@sifive.com>
1085
1086 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1087 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1088 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1089 HIDDEN_DEF.
1090
c177e806
GA
10912021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1092
1093 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1094 ssize_t and vfork after including auto-host.h.
1095
87cd82c8
GA
10962021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1097
1098 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1099 crtend.o to extra_parts.
1100
d62c8c74
GA
11012021-11-27 John David Anglin <danglin@gcc.gnu.org>
1102
1103 * config/pa/t-dimode (lib2difuncs): Fix typo.
1104
091ccc06
GA
11052021-11-25 Florian Weimer <fweimer@redhat.com>
1106
1107 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1108 Remove func, ret.
1109 (find_fde_tail): New function. Split from
1110 _Unwind_IteratePhdrCallback. Move the result initialization
1111 from _Unwind_Find_FDE.
1112 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1113
06be28f6
GA
11142021-11-22 Florian Weimer <fweimer@redhat.com>
1115
1116 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1117 (struct unw_eh_callback_data): Make dbase member conditional.
1118 (unw_eh_callback_data_dbase): New function.
1119 (base_from_cb_data): Simplify for the non-dbase case.
1120 (_Unwind_IteratePhdrCallback): Adjust.
1121 (_Unwind_Find_FDE): Likewise.
1122
11232021-11-22 Florian Weimer <fweimer@redhat.com>
1124
1125 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1126 tbase member.
1127 (base_from_cb_data): Adjust.
1128 (_Unwind_IteratePhdrCallback): Likewise.
1129 (_Unwind_Find_FDE): Likewise.
1130
9c077398
GA
11312021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1132
1133 * config.host: Add weak emutls crt to the extra_parts.
1134 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1135 workaround.
1136 * config/libgcc-libsystem.ver: Add exclude list for the system-
1137 provided unwinder.
1138 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1139 * config/i386/libgcc-darwin.10.4.ver: Removed.
1140 * config/i386/libgcc-darwin.10.5.ver: Removed.
1141 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1142 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1143 * config/t-darwin-noeh: New file.
1144
11452021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1146
1147 * config/t-darwin: Build weak-defined emutls objects.
1148 * emutls.c (__emutls_get_address): Add optional attributes.
1149 (__emutls_register_common): Likewise.
1150 (EMUTLS_ATTR): New.
1151
b39265d4
GA
11522021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1153
1154 PR libgcc/103044
1155 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1156 called with a null argument or at the end of the backtrace and return.
1157 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1158
8d36a0d2
GA
11592021-11-10 Jakub Jelinek <jakub@redhat.com>
1160
1161 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1162 formatting fix.
1163
851dff04
GA
11642021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1165
1166 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1167 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1168
11692021-11-05 John David Anglin <danglin@gcc.gnu.org>
1170
1171 PR libgomp/96661
1172 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1173 (hppa*64*-*-hpux11*): Likewise.
1174 * config/pa/sfp-exceptions.c: New.
1175 * config/pa/sfp-machine.h: New.
1176 * config/pa/t-dimode: New.
1177 * config/pa/t-softfp-sfdftf: New.
1178
04a2cf3f
GA
11792021-10-27 John David Anglin <danglin@gcc.gnu.org>
1180
1181 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1182 tmake_file.
1183 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1184 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1185 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1186 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1187 (LIB1ASMFUNCS): Revise.
1188 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1189
c2bd5d8a
GA
11902021-10-22 Stafford Horne <shorne@gmail.com>
1191
1192 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1193 Change to 0.
1194
5d5885c9
GA
11952021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1196
1197 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1198 outside of get_regs() in order to use it in another function, this
1199 is done twice: for __powerpc64__ and for !__powerpc64__.
1200 (struct trace_arg): New struct.
1201 (struct layout): New struct.
1202 (ppc_backchain_fallback): New function.
1203 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1204 state and call MD_BACKCHAIN_FALLBACK.
1205
9eb28a0f
GA
12062021-10-13 Martin Liska <mliska@suse.cz>
1207
1208 PR gcov-profile/90364
1209 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1210 checksums.
1211 (write_one_data): Write also checksum.
1212 * libgcov-util.c (read_gcda_file): Read also checksum field.
1213 * libgcov.h (struct gcov_info): Add new field.
1214
ce6eec39
GA
12152021-10-08 Ian Lance Taylor <iant@golang.org>
1216
1217 * config/i386/morestack.S: Use .init_array for constructor if
1218 available.
1219 * config/rs6000/morestack.S: Likewise.
1220 * config/s390/morestack.S: Likewise.
1221
154fd089
GA
12222021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1223
1224 PR target/101104
1225 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1226 Use more correct values for native IBM 128-bit.
1227
fd133479
GA
12282021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1229
1230 * config/i386/libgcc-darwin.ver: Add Symbols for
1231 __cpu_model, __cpu_indicator_init.
1232
e4777439
GA
12332021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1234
1235 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1236 using __APPLE__.
1237
34fac9ef
GA
12382021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1239
1240 * config/t-slibgcc-darwin: Delete unused code.
1241
12422021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1243
1244 * config/i386/t-darwin: Add in a vers file for X86-specific
1245 symbols.
1246 * config/t-darwin: Add the generic symbol maps here...
1247 * config/t-slibgcc-darwin: ... removing from here.
1248 * config/i386/libgcc-darwin.ver: New file.
1249
12502021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1251
1252 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1253 and __mulhc3.
1254
12552021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1256
1257 * config.host: Use convenience library for Darwin10
1258 unwinder shim.
1259 * config/t-darwin: Build Darwin10 unwinder shim as a
1260 convenience library.
1261
07985c47
GA
12622021-09-13 Andrew Pinski <apinski@marvell.com>
1263
1264 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1265 * config/m32r/libgcc-glibc.ver: Removed.
1266 * config/m32r/t-linux: Removed.
1267
b6db7cd4
GA
12682021-09-08 liuhongt <hongtao.liu@intel.com>
1269
1270 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1271 libgcc_s.so.1.
1272
12732021-09-08 Jakub Jelinek <jakub@redhat.com>
1274 Iain Sandoe <iain@sandoe.co.uk>
1275
1276 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1277 and export *hf* and *hc* functions at GCC_12.0.0.
1278
9f99555f
GA
12792021-09-06 liuhongt <hongtao.liu@intel.com>
1280
1281 * Makefile.in: Adjust to support specific CFLAGS for each
1282 libgcc source file.
1283 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1284 related libgcc source files.
1285 * config/i386/t-softfp: Ditto.
1286 * config/i386/_divhc3.c: New file.
1287 * config/i386/_mulhc3.c: New file.
1288
7b739540
GA
12892021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1290
1291 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1292 alias_DFtype, alias_TFtype): New.
1293 (ALIAS_SELECTOR): New.
1294 (strong_alias): Use __typeof and a _Generic selector to
1295 provide the type to the synthesized function.
1296
9f7c2bad
GA
12972021-09-02 liuhongt <hongtao.liu@intel.com>
1298
1299 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1300 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1301 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1302 * config/i386/t-softfp: Add hf soft-fp.
1303 * config.host: Add i386/64/t-softfp.
1304 * config/i386/64/t-softfp: New file.
1305
13062021-09-02 liuhongt <hongtao.liu@intel.com>
1307
1308 * soft-fp/eqhf2.c: New file.
1309 * soft-fp/extendhfdf2.c: New file.
1310 * soft-fp/extendhfsf2.c: New file.
1311 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1312 * soft-fp/truncdfhf2.c: New file
1313 * soft-fp/truncsfhf2.c: New file
1314
e11c6046
GA
13152021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1316
1317 * unwind-arm-common.inc (abort): Remove.
1318
6d51ee43
GA
13192021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1320
1321 * config/aarch64/value-unwind.h: Add missing runtime exception
1322 paragraph.
1323 * config/frv/frv-abi.h: Likewise.
1324 * config/i386/value-unwind.h: Likewise.
1325 * config/pa/pa64-hpux-lib.h: Likewise.
1326
ccc19145
GA
13272021-08-26 David Edelsohn <dje.gcc@gmail.com>
1328
1329 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1330 __gcc_qadd.
1331 (__gcc_qadd): Call ldouble_qadd_internal.
1332 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1333 argument negated.
1334
13352021-08-26 Jonathan Yong <10walls@gmail.com>
1336
1337 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1338 and register_frame_dtor warnings.
1339
05ace294
GA
13402021-08-24 Richard Earnshaw <rearnsha@arm.com>
1341
1342 PR target/102035
1343 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1344 Add vlldm erratum work-around.
1345
4be4fa4e
GA
13462021-08-21 John David Anglin <danglin@gcc.gnu.org>
1347
1348 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1349
9d1d9fc8
GA
13502021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1351
1352 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1353 (gcov_type_unsigned): Likewise.
1354
7dd8f198
GA
13552021-08-14 Stafford Horne <shorne@gmail.com>
1356
1357 PR target/99783
1358 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1359 * config/or1k/t-crtstuff: New file.
1360
f92f4778
GA
13612021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1362
1363 * libgcov-driver.c (#include <stdint.h>): Remove.
1364 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1365
13662021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1367
1368 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1369 * gcov.h (gcov_info): Declare.
1370 (__gcov_info_to_gdca): Likewise.
1371 * libgcov.h (gcov_write_counter): Remove.
1372 (gcov_write_tag_length): Likewise.
1373 * libgcov-driver.c (#include <stdint.h>): New.
1374 (#include <string.h>): Remove.
1375 (NEED_L_GCOV): Conditionally define.
1376 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1377 (are_all_counters_zero): New.
1378 (gcov_dump_handler): Likewise.
1379 (gcov_allocate_handler): Likewise.
1380 (dump_unsigned): Likewise.
1381 (dump_counter): Likewise.
1382 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1383 Use dump_unsigned() and dump_counter().
1384 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1385 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1386 (__gcov_info_to_gcda): New.
1387
8ebf4fb5
GA
13882021-08-05 Jakub Jelinek <jakub@redhat.com>
1389
1390 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1391 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1392 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1393 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1394
2697f832
GA
13952021-08-04 Jakub Jelinek <jakub@redhat.com>
1396
1397 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1398
d97d71a1
GA
13992021-07-15 Alan Modra <amodra@gmail.com>
1400
1401 * config/rs6000/morestack.S (R2_SAVE): Define.
1402 (__morestack): Save and restore r2. Set up r2 for called
1403 functions.
1404
bea7c16a
GA
14052021-07-01 H.J. Lu <hjl.tools@gmail.com>
1406
1407 * soft-fp/extendhfxf2.c: New file.
1408 * soft-fp/truncxfhf2.c: Likewise.
1409
6bc18203
GA
14102021-06-29 Julian Brown <julian@codesourcery.com>
1411
1412 * config/gcn/lib2-bswapti2.c: New file.
1413 * config/gcn/lib2-divmod-di.c: New file.
1414 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1415 typedefs.
1416 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1417 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1418 lib2-bswapti2.c.
1419
14202021-06-29 Julian Brown <julian@codesourcery.com>
1421
1422 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1423 return types to USItype.
1424 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1425
fcf617f0
GA
14262021-06-23 Kewen Lin <linkw@linux.ibm.com>
1427
1428 * configure: Regenerate.
1429 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1430 typos among the name, CFLAGS and the test.
1431 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1432 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1433 Remove.
1434 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1435 macro FLOAT128_HW_INSNS_ISA3_1.
1436 (FP128_3_1_CFLAGS_HW): Fix option typo.
1437 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1438 FLOAT128_HW_INSNS_ISA3_1.
1439 (__floattikf_resolve): Likewise.
1440 (__floatuntikf_resolve): Likewise.
1441 (__fixkfti_resolve): Likewise.
1442 (__fixunskfti_resolve): Likewise.
1443 (__floattikf): Likewise.
1444 (__floatuntikf): Likewise.
1445 (__fixkfti): Likewise.
1446 (__fixunskfti): Likewise.
1447
f16f65f8
GA
14482021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1449
1450 PR target/99939
1451 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1452 macro.
1453 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1454 on passing -mcmse option.
1455
43c35d0d
GA
14562021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1457
1458 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1459 _ARCH_PPC64 .
1460
4f625f47
GA
14612021-06-09 Carl Love <cel@us.ibm.com>
1462
1463 * config.host: Add if test and set for
1464 libgcc_cv_powerpc_3_1_float128_hw.
1465 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1466 Change calls of __fixkfti to __fixkfti_sw.
1467 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1468 Change calls of __fixunskfti to __fixunskfti_sw.
1469 * config/rs6000/float128-p10.c (__floattikf_hw,
1470 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1471 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1472 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1473 __fixunskfti_resolve): Add resolve functions.
1474 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1475 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1476 __fixtfti, __fixunstfti): Add editor commands to change names.
1477 * config/rs6000/float128-sed-hw (__floattitf,
1478 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1479 change names.
1480 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1481 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1482 * config/rs6000/quad-float128.h (__floattikf_sw,
1483 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1484 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1485 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1486 * config/rs6000/t-float128 (floattikf, floatuntikf,
1487 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1488 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1489 file names to fp128_ppc_funcs.
1490 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1491 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1492 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1493 * config/rs6000/t-float128-p10-hw: New file.
1494 * configure: Update script for isa 3.1 128-bit float support.
1495 * configure.ac: Add check for 128-bit float hardware support.
1496 * config/rs6000/fixkfti-sw.c: New file.
1497 * config/rs6000/fixunskfti-sw.c: New file.
1498 * config/rs6000/floattikf-sw.c: New file.
1499 * config/rs6000/floatuntikf-sw.c: New file.
1500
f9af11c7
GA
15012021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1502
1503 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1504
4d0385df 15052021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1506
1507 * libgcov-driver.c: Fix GNU coding style.
1508
aa891c56
GA
15092021-05-10 Martin Liska <mliska@suse.cz>
1510
1511 * libgcov-driver.c (gcov_version): Use different name that does
1512 not clash with newly introduced macro.
1513
3c8e539d
GA
15142021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1515
1516 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1517 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1518 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1519
e4ff4ffb
GA
15202021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1521
1522 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1523 Define.
1524 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1525 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1526 Define.
1527 (__divkc3): Improve complex divide.
1528
05ec629f
GA
15292021-04-23 Michael Meissner <meissner@linux.ibm.com>
1530
1531 PR target/98952
1532 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1533 trampoline size comparison in 32-bit by reversing test and
1534 combining load immediate with compare.
1535 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1536 in 32-bit by reversing test and combining load immediate with
1537 compare.
1538
b1da9916
GA
15392021-04-05 Florian Weimer <fweimer@redhat.com>
1540 Michael Meissner <meissner@linux.ibm.com>
1541
1542 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1543 point functions for $(decimal_float) only.
1544
c0756c4e
GA
15452021-04-03 Jakub Jelinek <jakub@redhat.com>
1546
1547 PR target/97653
1548 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1549 $(objext) instead of $(object). Use _floatunditf instead of
1550 _floatunsditf. Add tf <-> ti conversion objects.
1551 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1552
65374af2
GA
15532021-03-29 Michael Meissner <meissner@linux.ibm.com>
1554
1555 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1556 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1557 (fp128_decstr_objs): Delete.
1558 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1559 _Float128 to a Decimal type. Call __strtoieee128 to do
1560 conversions from a Decimal type to _Float128.
1561 * config/rs6000/_sprintfkf.c: Delete file.
1562 * config/rs6000/_sprintfkf.h: Delete file.
1563 * config/rs6000/_strtokf.c: Delete file.
1564 * config/rs6000/_strtokf.h: Delete file.
1565
bf1f3168
GA
15662021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1567
1568 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1569 to __BYTE_ORDER__.
1570
0ad6a2e2
GA
15712021-03-06 Jakub Jelinek <jakub@redhat.com>
1572
1573 PR gcov-profile/99406
1574 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1575 defined, define these macros if not defined already.
1576
67f10d28
GA
15772021-03-04 Martin Liska <mliska@suse.cz>
1578
1579 PR gcov-profile/99105
1580 * libgcov-driver.c (write_top_counters): Rename to ...
1581 (write_topn_counters): ... this.
1582 (write_one_data): Pre-allocate buffer for number of items
1583 in the corresponding linked lists.
1584 * libgcov.h (malloc_mmap): New function.
1585 (allocate_gcov_kvp): Use it.
1586
15872021-03-04 Martin Liska <mliska@suse.cz>
1588
1589 PR gcov-profile/99385
1590 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1591
f3641ac7
GA
15922021-03-03 Martin Liska <mliska@suse.cz>
1593
1594 PR gcov-profile/97461
1595 * config.in: Regenerate.
1596 * configure: Likewise.
1597 * configure.ac: Check sys/mman.h header file
1598 * libgcov-driver.c (struct gcov_kvp): Remove static
1599 pre-allocated pool and use a dynamic one.
1600 * libgcov.h (MMAP_CHUNK_SIZE): New.
1601 (gcov_counter_add): Use mmap to allocate pool for struct
1602 gcov_kvp.
1603
d97a92dc
GA
16042021-03-02 Michael Meissner <meissner@linux.ibm.com>
1605
1606 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1607 the function.
1608 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1609
4028d01a
GA
16102021-02-24 Jakub Jelinek <jakub@redhat.com>
1611
1612 PR libgcc/99236
1613 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1614 negation of m in unsigned type.
1615
16162021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1617 Hau Hsu <hsuhau617@gmail.com>
1618
1619 PR target/99157
1620 * config/arm/t-arm: Fix cmse support detection.
1621
2f5765cf
GA
16222021-02-22 Michael Meissner <meissner@linux.ibm.com>
1623
1624 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1625
16262021-02-22 Michael Meissner <meissner@linux.ibm.com>
1627
1628 * config/rs6000/_dd_to_kf.c: New file.
1629 * config/rs6000/_kf_to_dd.c: New file.
1630 * config/rs6000/_kf_to_sd.c: New file.
1631 * config/rs6000/_kf_to_td.c: New file.
1632 * config/rs6000/_sd_to_kf.c: New file.
1633 * config/rs6000/_sprintfkf.c: New file.
1634 * config/rs6000/_sprintfkf.h: New file.
1635 * config/rs6000/_strtokf.h: New file.
1636 * config/rs6000/_strtokf.c: New file.
1637 * config/rs6000/_td_to_kf.c: New file.
1638 * config/rs6000/quad-float128.h: Add new declarations.
1639 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1640 (fp128_decstr_funcs): New macro.
1641 (ibm128_dec_funcs): New macro.
1642 (fp128_ppc_funcs): Add the new conversions.
1643 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1644 compiled with -mabi=ieeelongdouble.
1645 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1646 compiled with -mabi=ibmlongdouble.
1647 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1648 compiled with -mabi=ieeelongdouble.
1649 (FP128_CFLAGS_DECIMAL): New macro.
1650 (IBM128_CFLAGS_DECIMAL): New macro.
1651 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1652 (BFP_TO_DFP): Add PowerPC _Float128 support.
1653 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1654 IEEE 128-bit floating point.
1655 (DFP_TO_BFP): Add PowerPC _Float128 support.
1656 (BFP_TO_DFP): Add PowerPC _Float128 support.
1657 (BFP_SPRINTF): New macro.
1658
aa69f0a8
GA
16592021-01-27 Jakub Jelinek <jakub@redhat.com>
1660
1661 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1662 * config/i386/savms64f.h: Likewise.
1663 * config/i386/resms64.h: Likewise.
1664 * config/i386/resms64f.h: Likewise.
1665 * config/i386/resms64x.h: Likewise.
1666 * config/i386/resms64fx.h: Likewise.
1667
e62bb7f0
GA
16682021-01-26 Martin Liska <mliska@suse.cz>
1669
1670 PR gcov-profile/98739
1671 * libgcov.h (gcov_topn_add_value): Do not train when
1672 we have a merged profile with a negative number of total
1673 value.
1674
161e4c08
GA
16752021-01-25 Martin Liska <mliska@suse.cz>
1676
1677 PR gcov-profile/98739
1678 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1679 ends with a dropped counter.
1680 * libgcov.h (gcov_topn_add_value): Add return value.
1681
be0851b8
GA
16822021-01-13 Stafford Horne <shorne@gmail.com>
1683
1684 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1685 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1686 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1687 FP_EX_ALL): New constant macros.
1688 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1689 FP_HANDLE_EXCEPTIONS): New macros.
1690 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1691
16922021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1693
1694 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1695 posix siginfo case to struct handler_args. Detect between legacy
1696 and siginfo from the second parameter, which is a small sigcode in
1697 the legacy case, and a pointer in the siginfo case.
1698
108beb75
GA
16992020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1700
1701 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1702 functions.
1703 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1704 _bswapdi2.
1705
f6e8e279
GA
17062020-12-08 Ian Lance Taylor <iant@golang.org>
1707
1708 * generic-morestack-thread.c (free_segments): Block signals during
1709 thread exit.
1710
b8dd0ef7
GA
17112020-12-03 Michael Meissner <meissner@linux.ibm.com>
1712
1713 PR libgcc/97543
1714 PR libgcc/97643
1715 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1716 (IBM128_SHARED_OBJS): New make variable.
1717 (IBM128_OBJS): New make variable. Set all objects to use the
1718 explicit IBM format, and disable gnu attributes.
1719 (IBM128_CFLAGS): New make variable.
1720 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1721 modules.
1722
17232020-12-03 Alexandre Oliva <oliva@adacore.com>
1724
1725 * config/t-vxworks (LIB2ADD): Drop.
1726 * config/t-vxworks7 (LIB2ADD): Likewise.
1727 * config/vxcache.c: Remove.
1728
94358e47
GA
17292020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1730
1731 * libgcc2.c (bswapsi2): Make constants unsigned.
1732
360258da
GA
17332020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1734
1735 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1736 builtin_add_overflow.
1737 (absvsi2, absvDI2): Likewise.
1738
82e5048e
GA
17392020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1740
1741 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1742 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1743
25bb75f8
GA
17442020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1745
1746 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1747 (if MUL_32): Use mult64_hw for __muldi3.
1748 (if MUL_F5): Use mult64_hw for __muldi3.
1749 * config/msp430/lib2mul.c (__muldi3): New.
1750 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1751
29c5d9ce
GA
17522020-11-17 Alan Modra <amodra@gmail.com>
1753
1754 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1755 (LIB2_SIDITI_CONV_FUNCS): Define.
1756 * config/rs6000/ppc64-fp.c: Delete file.
1757
cba30651
GA
17582020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1759
1760 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1761 hwmult library functions.
1762
bb622641
GA
17632020-11-10 Jeff Law <law@redhat.com>
1764
1765 * libgcc2.c: Fix whitespace issues in most recent change.
1766
17672020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1768
1769 * libgcc2.c (__addvSI3): Use overflow builtins.
1770 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1771 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1772 (__negvsi2, __negvDI2): Likewise.
1773 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1774 generated code.
1775 * libgcc2.h (__ucmpdi2): Adjust prototype.
1776
fd2325ea
GA
17772020-11-03 Pat Bernardi <bernardi@adacore.com>
1778 Olivier Hainque <hainque@adacore.com>
1779
1780 * config.host (aarch64-vxworks7*, tmake_file): Add
1781 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1782
17832020-11-03 Martin Storsjö <martin@martin.st>
1784
1785 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1786 before calling the callback.
1787
88ce3d5f
GA
17882020-10-30 Olivier Hainque <hainque@adacore.com>
1789 Douglas Rupp <rupp@adacore.com>
1790 Pat Bernardi <bernardi@adacore.com>
1791
1792 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1793 to apply to VxWorks 7 as well.
1794
4f0606fe
GA
17952020-10-29 Olivier Hainque <hainque@adacore.com>
1796
1797 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1798 controlling the definition of VX_ENTER_TLS_DTOR and
1799 VX_LEAVE_TLS_DTOR based on a version major check.
1800
18012020-10-29 Olivier Hainque <hainque@adacore.com>
1802
1803 * config/gthr-vxworks-thread.c: Fix name of macro used
1804 to condition the inclusion of an actual implementation.
1805
89bb01e7
GA
18062020-10-27 Martin Liska <mliska@suse.cz>
1807
1808 PR gcov-profile/97461
1809 * libgcov.h (gcov_counter_add): Use first static counters
1810 as it should help to have malloc wrappers set up.
1811
efe71fcc
GA
18122020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1813
1814 * config/gthr-vxworks-thread.c: #include gthr.h before
1815 testing the guard defined there.
1816 * config/gthr-vxworks-cond.c: Likewise.
1817
56ddd5e2
GA
18182020-10-21 Douglas Rupp <rupp@adacore.com>
1819 Olivier Hainque <hainque@adacore.com>
1820
1821 * config.host (powerpc*-wrs-vxworks7*): New case.
1822 * configure.ac: Handle powerpc*-*-vxworks7* as
1823 powerpc*-*-linux* for ppc-fp_type.
1824 * configure: Regenerate.
1825
56e4eee9
GA
18262020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1827
1828 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1829 section on VxWorks >= 6.
1830 * config/gthr-vxworks-thread.c: Condition the entire
1831 implementation on __GTHREAD_CXX0X.
1832
18332020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1834
1835 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1836 section on VxWorks >= 6.
1837 * config/gthr-vxworks-cond.c: Condition the entire
1838 implementation on __GTHREAD_HAS_COND.
1839
18402020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1841
1842 * config/gthr-vxworks.c: #include <taskLib.h>.
1843
18442020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1845
1846 * config/gthr-vxworks.h: Rewrite remaining occurrence
1847 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1848
18492020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1850 Olivier Hainque <hainque@adacore.com>
1851
1852 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1853 except on VxWorks 6.
1854
18552020-10-16 Olivier Hainque <hainque@adacore.com>
1856
1857 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1858
b2698c21
GA
18592020-10-14 Alexandre Oliva <oliva@adacore.com>
1860
1861 * config/gthr-vxworks-thread.c: Include stdlib.h.
1862 (tls_delete_hook): Prototype it.
1863 (__gthread_cond_signal): Return early if no waiters. Consume
1864 signal in case the semaphore got full. Use semInfoGet instead
1865 of kernel-mode-only semInfo.
1866 (__gthread_cond_timedwait): Use semExchange. Always take the
1867 mutex again before returning.
1868 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1869
18702020-10-14 Olivier Hainque <hainque@adacore.com>
1871
1872 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1873 $(MULTISUBDIR) to the -I path for fixed headers, as we
1874 arrange to have different sets of such headers for different
1875 multilibs when they are activated.
1876 * config/t-vxworks7: Likewise.
1877
18782020-10-14 Olivier Hainque <hainque@adacore.com>
1879
1880 * config/t-vxworks: Add include-fixed to include search
1881 paths for libgcc on VxWorks.
1882 * config/t-vxworks7: Likewise.
1883
c74a0e82
GA
18842020-10-09 H.J. Lu <hjl.tools@gmail.com>
1885
1886 PR target/97148
1887 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1888 instead of <cetintrin.h>.
1889
6c2675fa
GA
18902020-10-01 Alan Modra <amodra@gmail.com>
1891
1892 * config/rs6000/morestack.S,
1893 * config/rs6000/tramp.S: Support __PCREL__ code.
1894
18952020-10-01 Alan Modra <amodra@gmail.com>
1896
1897 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1898
93bca37c
GA
18992020-09-29 Maciej W. Rozycki <macro@wdc.com>
1900
1901 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1902 variable.
1903
e84761c6
GA
19042020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1905
1906 * config/aarch64/libgcc-softfp.ver: New file.
1907 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1908
4383c595
GA
19092020-09-27 Clement Chigot <clement.chigot@atos.net>
1910
1911 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1912
521d2711
GA
19132020-09-22 Sergei Trofimovich <siarheit@google.com>
1914
1915 PR gcov-profile/96913
1916 * libgcov-driver.c (write_one_data): Avoid function pointer
1917 comparison in TOP streaming decision.
1918
2aad20c0
GA
19192020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1920 Christophe Lyon <christophe.lyon@linaro.org>
1921
1922 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1923 qualifier.
1924 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1925 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1926 missing prototypes.
1927
19282020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1929
1930 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1931 unused variable warning.
1932
ecde1b0a
GA
19332020-09-16 Jojo R <jiejie_rong@c-sky.com>
1934
1935 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1936
80f86e78
GA
19372020-09-09 Tom de Vries <tdevries@suse.de>
1938
1939 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1940 Wbuiltin-declaration-mismatch.
1941
57ea0894
GA
19422020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1943
1944 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1945 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1946 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1947
b3cb5606
GA
19482020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1949
1950 * config/nvptx/atomic.c: New.
1951 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1952
6a1ad710
GA
19532020-08-03 Ian Lance Taylor <iant@golang.org>
1954
1955 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1956
19572020-08-03 Jakub Jelinek <jakub@redhat.com>
1958
1959 PR target/96402
1960 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1961 of x(tmp0), x(tmp1) in STXP arguments.
1962
48cc2e46
GA
19632020-07-31 Maciej W. Rozycki <macro@wdc.com>
1964
1965 * config/riscv/save-restore.S [__riscv_xlen == 64]
1966 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1967 (__riscv_save_2): Replace negative immediates used for the final
1968 stack pointer adjustment with positive ones, right-shifted by 4.
1969
19702020-07-31 Martin Liska <mliska@suse.cz>
1971
1972 * libgcov-driver.c: Add __gcov_kvp_pool
1973 and __gcov_kvp_pool_index variables.
1974 * libgcov.h (allocate_gcov_kvp): New.
1975 (gcov_topn_add_value): Use it.
1976
53256ee3
GA
19772020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1978
1979 * config/aarch64/lse.S: Add PAC property note.
1980
9bb403dc
GA
19812020-07-23 Martin Liska <mliska@suse.cz>
1982
1983 PR gcov-profile/96035
1984 * libgcov-driver-system.c: Create gcov folders with 0777
1985 so that it respects a system umask.
1986
8ca07a30
GA
19872020-07-14 David Edelsohn <dje.gcc@gmail.com>
1988
1989 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1990
ea69fcf9
GA
19912020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1992
1993 PR target/94891
1994 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1995 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1996 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1997 (MD_DEMANGLE_RETURN_ADDR): This.
1998 (aarch64_post_extract_frame_addr): Rename to ...
1999 (aarch64_demangle_return_addr): This.
2000 (aarch64_post_frob_eh_handler_addr): Remove.
2001 * unwind-dw2.c (uw_update_context): Demangle return address.
2002 (uw_frob_return_addr): Remove.
2003
3f8ca9cb
GA
20042020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2005
2006 PR target/96001
2007 * config/aarch64/lse.S: Add BTI marking and related definitions,
2008 and add BTI c to function entries.
2009
20102020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2011
2012 * config/aarch64/lse.S: Add stack note.
2013
b5f24739
GA
20142020-07-02 Martin Liska <mliska@suse.cz>
2015
2016 PR gcov-profile/95348
2017 * libgcov-driver.c (merge_one_data): Merge only profiles
2018 that are not of non-zero type.
2019 (write_one_data): Write counters only if there's one non-zero
2020 value.
2021 * libgcov-util.c (tag_function): Change signature from unsigned
2022 to int.
2023 (tag_blocks): Likewise.
2024 (tag_arcs): Likewise.
2025 (tag_counters): Likewise.
2026 (tag_summary): Likewise.
2027 (tag_lines): Read only if COUNTERS is non-zero.
2028 (read_gcda_file): Handle negative length for COUNTERS type.
2029
d61ffe12
GA
20302020-06-25 Martin Liska <mliska@suse.cz>
2031
2032 * libgcov-driver.c (merge_summary): Remove function as its name
2033 is misleading and doing something different.
2034 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2035 in gcov-tool.
2036 * libgcov-util.c (curr_object_summary): Remove.
2037 (read_gcda_file): Remove unused curr_object_summary.
2038 (gcov_merge): Merge summaries.
2039 * libgcov.h: Add summary argument for gcov_info struct.
2040
2e546c26
GA
20412020-06-24 H.J. Lu <hjl.tools@gmail.com>
2042
2043 PR target/95259
2044 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2045 "common/config/i386/i386-cpuinfo.h" and
2046 "common/config/i386/cpuinfo.h".
2047 (__cpu_features2): Changed to array.
2048 (get_amd_cpu): Removed.
2049 (get_intel_cpu): Likewise.
2050 (get_available_features): Likewise.
2051 (__cpu_indicator_init): Call cpu_indicator_init.
2052 * config/i386/cpuinfo.h: Removed.
2053
4543acc8
GA
20542020-06-23 David Edelsohn <dje.gcc@gmail.com>
2055
2056 * Makefile.in: Remove uses of empty.mk. Use -include.
2057 * config/avr/t-avr: Use -include.
2058 * empty.mk: Delete.
2059
f86e11a2
GA
20602020-06-21 David Edelsohn <dje.gcc@gmail.com>
2061
2062 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2063 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2064 and 64 bit with -maix64.
2065 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2066 Build and install AIX-style FAT libraries.
2067
aff95ee7
GA
20682020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2069
2070 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2071 'i386/gnu-unwind.h'
2072 * config/i386/gnu-unwind.h: New file.
2073
20742020-06-17 Martin Liska <mliska@suse.cz>
2075
2076 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2077 (merge_wrapper): Add both counts and use them properly.
2078 (topn_to_memory_representation): New function.
2079 (gcov_merge): Covert on disk representation to in memory
2080 representation.
2081 * libgcov.h: Remove const operator.
2082
6fb94d67
GA
20832020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2084
2085 * configure: Regenerate.
2086 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2087 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2088
b952c2cf
GA
20892020-06-09 Martin Liska <mliska@suse.cz>
2090
2091 PR gcov-profile/95494
2092 * libgcov-driver.c (write_top_counters): Cast first to
2093 intptr_t as sizeof(*) != sizeof(gcov_type).
2094 * libgcov.h (gcov_counter_set_if_null): Remove.
2095 (gcov_topn_add_value): Cast first to intptr_t and update
2096 linked list directly.
2097
20982020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2099
2100 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2101 with uw_install_context_1.
2102
3add3425
GA
21032020-06-04 Andreas Schwab <schwab@suse.de>
2104
2105 PR target/59230
2106 PR libfortran/59227
2107 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2108 soft-fp/divtf3.c.
2109 (LIB2ADD): Add config/ia64/divtf3.c.
2110 * config/ia64/divtf3.c: New file.
2111
9a5b7438
GA
21122020-06-03 Martin Liska <mliska@suse.cz>
2113
2114 PR gcov-profile/95480
2115 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2116 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2117 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2118 (gcov_counter_set_if_null): Likewise.
2119
a9312a79
GA
21202020-06-02 Jim Wilson <jimw@sifive.com>
2121
2122 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2123 to bgtz.
2124
21252020-06-02 Martin Liska <mliska@suse.cz>
2126
2127 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2128 of xmalloc.
2129
21302020-06-02 Martin Liska <mliska@suse.cz>
2131
2132 * libgcov-driver.c (prune_topn_counter): Remove.
2133 (prune_counters): Likewise.
2134 (merge_one_data): Special case TOP N counters
2135 as they have variable length.
2136 (write_top_counters): New.
2137 (write_one_data): Special case TOP N.
2138 (dump_one_gcov): Do not prune TOP N counters.
2139 * libgcov-merge.c (merge_topn_values_set): Remove.
2140 (__gcov_merge_topn): Use gcov_topn_add_value.
2141 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2142 Likewise here.
2143 * libgcov.h (gcov_counter_add): New.
2144 (gcov_counter_set_if_null): Likewise.
2145 (gcov_topn_add_value): New.
2146
4a9aa9de
GA
21472020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2148
2149 * config/i386/sfp-exceptions.c (struct fenv):
2150 Add __attribute__ ((gcc_struct)).
2151
885ef72f
GA
21522020-05-29 H.J. Lu <hjl.tools@gmail.com>
2153
2154 PR bootstrap/95413
2155 * configure: Regenerated.
2156
53ffb43a
GA
21572020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2158
2159 PR gcov-profile/95332
2160 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2161 * libgcov.h (gcov_magic): Disable GCC poison.
2162
5855bdfa
L
21632020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2164
2165 PR target/95212
2166 * config/i386/cpuinfo.h (processor_features): Move
2167 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2168
35b98036
L
21692020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 PR target/91695
2172 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2173 check.
2174
45395445
L
21752020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2176
2177 PR target/95212
2178 PR target/95220
2179 * config/i386/cpuinfo.c (get_available_features): Fix
2180 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2181 * config/i386/cpuinfo.h (processor_features): Add
2182 FEATURE_AVX512VP2INTERSECT.
2183
4c1a5d8b
L
21842020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2185
2186 PR bootstrap/95147
2187 * configure: Regenerated.
2188
8d286dd1
L
21892020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2190
2191 * configure: Regenerated.
2192
39748a89
HPN
21932020-05-09 Hans-Peter Nilsson <hp@axis.com>
2194
2195 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2196 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2197
d3a1459c
UB
21982020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2199
2200 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2201 (__math_force_eval_div): New define.
2202 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2203 generic division to generate INVALID, DIVZERO and INEXACT
2204 exceptions.
2205
12667785
KT
22062020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2207
2208 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2209 instead of getauxval.
2210 (AT_HWCAP): Define.
2211 (HWCAP_ATOMICS): Define.
2212 Guard detection on __gnu_linux__.
2213
ef836167
MM
22142020-05-05 Michael Meissner <meissner@linux.ibm.com>
2215
2216 * config.host: Delete changes meant for a private branch.
2217 * config/rs6000/t-float128: Likewise.
2218 * configure.ac: Likewise.
2219 * configure: Likewise.
2220
811b7636
ML
22212020-05-05 Martin Liska <mliska@suse.cz>
2222
2223 PR gcov-profile/93623
2224 * Makefile.in: Remove __gcov_flush.
2225 * gcov.h (__gcov_flush): Remove.
2226 * libgcov-interface.c (__gcov_flush): Remove.
2227 (init_mx): Use renamed mutex.
2228 (__gcov_lock): Likewise.
2229 (__gcov_unlock): Likewise.
2230 (__gcov_fork): Likewise.
2231 (__gcov_flush): Remove.
2232
c0532db4
ML
22332020-05-05 Martin Liska <mliska@suse.cz>
2234
2235 PR gcov-profile/93623
2236 * libgcov-interface.c (__gcov_fork): Do not flush
2237 and reset only in child process.
2238 (__gcov_execl): Dump counters only and reset them
2239 only if exec* fails.
2240 (__gcov_execlp): Likewise.
2241 (__gcov_execle): Likewise.
2242 (__gcov_execv): Likewise.
2243 (__gcov_execvp): Likewise.
2244 (__gcov_execve): Likewise.
2245
d39f7dc8
ML
22462020-05-05 Martin Liska <mliska@suse.cz>
2247
2248 PR gcov-profile/93623
2249 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2250 * libgcov-interface.c (ALIAS_void_fn): Remove.
2251 (__gcov_lock): New.
2252 (__gcov_unlock): New.
2253 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2254 (__gcov_reset): Likewise.
2255 (__gcov_dump): Likewise.
2256 * libgcov.h (__gcov_lock): New declaration.
2257 (__gcov_unlock): Likewise.
2258
afb9b710
UB
22592020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2260
2261 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2262 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2263 generic division to generate INVALID and DIVZERO exceptions.
2264
66711279
SH
22652020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2266
2267 * config/rs6000/crtresfpr.S: Use .machine ppc.
2268 * config/rs6000/crtresxfpr.S: Likewise.
2269 * config/rs6000/crtsavfpr.S: Likewise.
2270
fb22faf4
SN
22712020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2272
2273 PR target/94514
2274 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2275 Update context->flags accroding to the frame state.
2276
df73e584
UB
22772020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2278
2279 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2280 Remove unneeded assignments to volatile memory.
2281
5b2f76e3
JJ
22822020-04-15 Jakub Jelinek <jakub@redhat.com>
2283
2284 PR target/93053
2285 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2286 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2287 is not defined, use just .arch armv8-a.
2288 (B, M, N, OPN): Define.
2289 (COMMENT): New .macro.
2290 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2291 defined. Otherwise, move the operands right after the glue? and
2292 comment out operands where the macros are used.
2293 * configure: Regenerated.
2294 * config.in: Regenerated.
2295
50c78532
ILT
22962020-04-07 Ian Lance Taylor <iant@golang.org>
2297
2298 PR libgcc/94513
2299 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2300 syscall instead.
2301
458ca332
ILT
23022020-04-04 Ian Lance Taylor <iant@golang.org>
2303
2304 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2305
710d54ed
ILT
23062020-04-03 Ian Lance Taylor <iant@golang.org>
2307
2308 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2309 than mmap/munmap, to avoid hooks.
2310
b749b5ec
JJ
23112020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2312
2313 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2314 (TPFRA_OFFSET): Macros removed.
2315 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2316 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2317 (PG3_SKIPPING_OFFSET): New macros.
2318 (__isPATrange): Use cinfc_fast for the check.
2319 (__isSkipResetAddr): New function.
2320 (s390_fallback_frame_state): Check for skip trace addresses. Use
2321 either ICST_CRET or ICST_SRET to calculate return address
2322 location.
2323 (__tpf_eh_return): Handle skip trace addresses.
2324
a9cd2d78
RE
23252020-03-26 Richard Earnshaw <rearnsha@arm.com>
2326
2327 PR target/94220
2328 * config/arm/lib1funcs.asm (COND): Use a single definition for
2329 unified syntax.
2330 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2331 (aeabi_idivmod): Likewise.
2332 (divsi3_skip_div0_test): Likewise.
2333
f582ca0f
MI
23342020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2335
2336 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2337
068fe0a9
AK
23382020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2339
2340 * config.host: Include the new makefile fragment.
2341 * config/s390/t-tpf: New file.
2342
6b9ce2b4
RE
23432020-03-03 Richard Earnshaw <rearnsha@arm.com>
2344
2345 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2346 syntax.
2347 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2348 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2349 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2350 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2351 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2352 syntax.
2353 (divsi3, modsi3): Likewise.
2354 (clzdi2, ctzsi2): Likewise.
2355 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2356 unified syntax.
2357 (UNWIND_WRAPPER): Likewise.
2358
8dd5d8f3
ML
23592020-03-02 Martin Liska <mliska@suse.cz>
2360
2361 * libgcov-interface.c: Remove duplicate
2362 declaration of __gcov_flush_mx.
2363
ea0b1252
ML
23642020-02-18 Martin Liska <mliska@suse.cz>
2365
2366 PR ipa/92924
2367 * libgcov-merge.c (merge_topn_values_set): Record
2368 when a TOP N counter becomes invalid. When merging
2369 remove a smallest value if the space is needed.
2370
02ce382c
SL
23712020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2372
2373 PR libstdc++/79193
2374 PR libstdc++/88999
2375
2376 * configure: Regenerated.
2377
7214fce3
JL
23782020-02-10 Jeff Law <law@redhat.com>
2379
2380 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2381 sections.
2382 * config/frv/frvend.c: Similarly.
2383
cf0f07ef
L
23842020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2385
2386 PR libgcc/85334
2387 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2388 New.
2389
5602b48b
CL
23902020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2391
2392 PR target/93615
2393 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2394 _Unwind_gnu_Find_got.
2395 * unwind-pe.h: Likewise.
2396
811a475e
JJ
23972020-02-07 Jakub Jelinek <jakub@redhat.com>
2398
2399 PR target/93615
2400 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2401 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2402 trailing :s in asm. Formatting fixes.
2403 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2404
2d33dcfe
SL
24052020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2406
2407 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2408
2409 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2410 * config/nios2-elf-lib.h: New.
2411 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2412 code for finding GOT base for nios2.
2413
3ae37f92
ML
24142020-01-27 Martin Liska <mliska@suse.cz>
2415
2416 PR gcov-profile/93403
2417 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2418 Call __gcov_indirect_call_profiler_body.
2419 (__gcov_indirect_call_profiler_body): New.
2420 (__gcov_indirect_call_profiler_v4_atomic): New.
2421 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2422 New declaration.
2423
2744b8b2
CZ
24242020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2425
2426 * config/arc/crti.S: Add RF16 object attribute.
2427 * config/arc/crtn.S: Likewise.
2428 * config/arc/crttls.S: Likewise.
2429 * config/arc/lib1funcs.S: Likewise.
2430 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2431 * config/arc/lib2funcs.c: New file.
2432 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2433
e8e66971
MR
24342020-01-24 Maciej W. Rozycki <macro@wdc.com>
2435
2436 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2437 * configure.ac: Handle `--with-toolexeclibdir='.
2438 * configure: Regenerate.
2439
54b3d52c
DM
24402020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2441
2442 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2443
a3c1e1f2
DM
24442020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2445
2446 * config/mips/gnustack.h: New file.
2447 * config/mips/crti.S: Include gnustack.h.
2448 * config/mips/crtn.S: Likewise.
2449 * config/mips/mips16.S: Likewise.
2450 * config/mips/vr4120-div.S: Likewise.
2451
e9ee848d
ML
24522020-01-23 Martin Liska <mliska@suse.cz>
2453
2454 * libgcov-driver.c (prune_topn_counter): Remove
2455 check for -1 as we only prune run-time counters
2456 that do not generate an invalid state.
2457
7491c17f
ML
24582020-01-22 Martin Liska <mliska@suse.cz>
2459
2460 PR tree-optimization/92924
2461 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2462 try to find an existing value, then find an empty slot
2463 if not found.
2464
5f32f9cf
ML
24652020-01-22 Martin Liska <mliska@suse.cz>
2466
2467 PR tree-optimization/92924
2468 * libgcov-driver.c (prune_topn_counter): New.
2469 (prune_counters): Likewise.
2470 (dump_one_gcov): Prune a run-time counter.
2471 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2472 For a known value, add GCOV_TOPN_VALUES to value.
2473 Otherwise, decrement all counters by one.
2474
463f6499
HPN
24752020-01-18 Hans-Peter Nilsson <hp@axis.com>
2476
2477 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2478
84479e3a
JDA
24792020-01-18 John David Anglin <danglin@gcc.gnu.org>
2480
2481 PR libgcc/92988
2482 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2483 DEFAULT_USE_CXA_ATEXIT is true.
2484
e953433f 24852020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 2486 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
2487
2488 * config/arm/t-arm: Check return value of gcc rather than lack of
2489 output.
2490
03e87724
GJL
24912020-01-14 Georg-Johann Lay <avr@gjlay.de>
2492
2493 * config/avr/lib1funcs.S (skip): Simplify.
2494
af9bd920
KCY
24952020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2496
2497 * config/gcn/atomic.c: Remove include of stdint.h.
2498 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2499 __UINTPTR_TYPE__.
2500
d6491d15
KCY
25012020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2502
2503 * config/gcn/atomic.c: New.
2504 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2505
f30dd607
GJL
25062020-01-08 Georg-Johann Lay <avr@gjlay.de>
2507
2508 Implement 64-bit double functions.
2509
2510 PR target/92055
2511 * config.host (tmake_file) [target=avr]: Add t-libf7,
2512 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2513 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2514 depending on sizeof (double) or sizeof (long double).
2515 * config/avr/libf7: New folder.
2516
5205a445
OH
25172020-01-05 Olivier Hainque <hainque@adacore.com>
2518
2519 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2520 by IN_LIBGCC2.
2521
8d9254fc
JJ
25222020-01-01 Jakub Jelinek <jakub@redhat.com>
2523
2524 Update copyright years.
2525
abb6c3ee
OH
25262019-12-30 Olivier Hainque <hainque@adacore.com>
2527
2528 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2529 * config/gthr-vxworks-tls.c: Likewise.
2530
d7f5094a
OH
25312019-12-30 Olivier Hainque <hainque@adacore.com>
2532
2533 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2534 standard zero-initializer syntax.
2535
49cfaa2a
OH
25362019-12-30 Olivier Hainque <hainque@adacore.com>
2537
2538 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2539 reference to the internal VX_GET_TLS_DATA interface.
2540
89b9a554
OH
25412019-12-30 Olivier Hainque <hainque@adacore.com>
2542
2543 * config/vxcrtstuff.c: Fix incorrect spelling of
2544 USE_INITFINI_ARRAY in guard.
2545
e8aa9f55
JL
25462019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2547
2548 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2549 Override default "extra_parts" variable.
2550 * configure: Regenerate.
2551 * configure.ac: Disable TM clone registry by default for
2552 msp430-elfbare.
2553
a9046e98
JL
25542019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2555
2556 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2557 "extra_parts".
2558 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2559
34a53788
JL
25602019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2561
2562 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2563 true.
2564
21a098f4
JL
25652019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2566
2567 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2568 defined instead of its value.
2569
ad8b7783
JL
25702019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2571
2572 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2573 if it will have contents.
2574
08d7ff78
GJL
25752019-12-05 Georg-Johann Lay <avr@gjlay.de>
2576
2577 PR target/92055
2578 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2579
3d3a96a2
SN
25802019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2581
34b4d99d 2582 PR libgcc/91737
3d3a96a2
SN
2583 * config.host: Add t-gthr-noweak on *-*-musl*.
2584 * config/t-gthr-noweak: New file.
2585
632b5e3d
JDA
25862019-11-17 John David Anglin <danglin@gcc.gnu.org>
2587
2588 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2589 volatile void *. Remove trap check.
2590 (__kernel_cmpxchg2): Likewise.
2591 (FETCH_AND_OP_2): Adjust operand types.
2592 (OP_AND_FETCH_2): Likewise.
2593 (FETCH_AND_OP_WORD): Likewise.
2594 (OP_AND_FETCH_WORD): Likewise.
2595 (COMPARE_AND_SWAP_2): Likewise.
2596 (__sync_val_compare_and_swap_4): Likewise.
2597 (__sync_bool_compare_and_swap_4): Likewise.
2598 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2599 (__sync_lock_test_and_set_4): Likewise.
2600 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2601 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2602 for release.
2603 (__sync_lock_release_8): Remove.
2604
838fd641
SN
26052019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2606
2607 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2608 of __sigset_t.
2609
27204060
JL
26102019-11-14 Jerome Lambourg <lambourg@adacore.com>
2611 Doug Rupp <rupp@adacore.com>
2612 Olivier Hainque <hainque@adacore.com>
2613
2614 * config.host: Collapse the arm-vxworks entries into
2615 a single arm-wrs-vxworks7* one.
2616 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2617 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2618 kernel modules, to be overriden by libstdc++ when we link with
2619 it. Rely on externally provided __exidx_start/end.
2620
3004f893
DR
26212019-11-14 Doug Rupp <rupp@adacore.com>
2622 Olivier Hainque <hainque@adacore.com>
2623
2624 * config.host: Handle aarch64*-wrs-vxworks7*.
2625
36e5f4d4
OH
26262019-11-12 Olivier Hainque <hainque@adacore.com>
2627
2628 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2629 sources except the cxx0x support to LIB2ADDEH. We don't support
2630 cxx0x on AE/653.
2631 * config/t-vxworksae: New file.
2632 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2633 Makefile fragment files at their expected position in the tmake_file
2634 list, in accordance with what is done for other VxWorks variants.
2635
806dd047
CG
26362019-11-12 Corentin Gay <gay@adacore.com>
2637 Jerome Lambourg <lambourg@adacore.com>
2638 Olivier Hainque <hainque@adacore.com>
2639
2640 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2641 sources to LIB2ADDEH.
2642 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2643 * config/t-vxworks7: Likewise.
2644
2645 * config.host: Append a block at the end of the file to add the
2646 t-gthr files to the tmake_file list for VxWorks after everything
2647 else.
2648
2649 * config/vxlib.c: Rename as gthr-vxworks.c.
2650 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2651
2652 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2653 API and a basic error checking API, both internal. Simplify the
2654 __gthread_once_t type definition and initializers. Add sections
2655 for condition variables support and for the C++0x thread support,
2656 conditioned against Vx653 for the latter.
2657
2658 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2659 implementation, leveraging the TAS internal API.
2660 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2661 API, leveraging the general availability of TLS services in VxWorks7
2662 post SR6xxx.
2663 (__gthread_setspecific, __gthread_setspecific): Use it.
2664 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2665 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2666 support based on VxWorks primitives.
2667 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2668 based on VxWorks primitives.
2669
78e49fb1
JL
26702019-11-06 Jerome Lambourg <lambourg@adacore.com>
2671 Olivier Hainque <hainque@adacore.com>
2672
2673 * config/vxcrtstuff.c: New file.
2674 * config/t-vxcrtstuff: New Makefile fragment.
2675 * config.host: Append t-vxcrtstuff to the tmake_file list
2676 on all VxWorks ports using dwarf for table based EH.
2677
29f3def3
GJL
26782019-11-07 Georg-Johann Lay <avr@gjlay.de>
2679
2680 Support 64-bit double and 64-bit long double configurations.
2681
2682 PR target/92055
2683 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2684 long double is a 32-bit type.
2685 * config/avr/t-avrlibc: Copy double64 and long-double64
2686 multilib(s) from the vanilla one.
2687 * config/avr/t-copy-libgcc: New Makefile snip.
2688
62ec242e
JL
26892019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2690
2691 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2692 the target output object format is not ELF.
2693 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2694
da5c1bbe
OE
26952019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2696
2697 PR libgcc/78804
2698 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2699 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2700 FLOAT_BIT_ORDER_MISMATCH.
2701 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2702
8dc56a22
JW
27032019-11-01 Jim Wilson <jimw@sifive.com>
2704
2705 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2706
91c64455
JL
27072019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2708
2709 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2710 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2711 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2712 Define symbols for 32-bit and f5series hardware multiply
2713 register addresses.
2714 Replace hard-coded register addresses with symbols.
2715 Fix "_mspabi*" typo.
2716 Fix whitespace.
2717 * config/msp430/lib2mul.c: Add comment.
2718
85093ac6
JDA
27192019-10-15 John David Anglin <danglin@gcc.gnu.org>
2720
2721 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2722 unsigned int. Adjust callers.
2723 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2724 unsigned int *. Load relocation offset before function pointer.
2725 Add barrier to ensure ordering.
2726
1aea083d
JDA
27272019-10-12 John David Anglin <danglin@gcc.gnu.org>
2728
2729 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2730 Load PIC register after branch target. Fix white space.
2731 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2732 implementations. Load PIC register after branch target. Don't
2733 clobber function pointer when it points to function descriptor.
2734 Use nullification instead of branch in LINUX implementation.
2735
c49af82c
JDA
27362019-10-03 John David Anglin <danglin@gcc.gnu.org>
2737
2738 * config/pa/fptr.c: Disable -Warray-bounds warning.
2739
88a51d68
RH
27402019-09-25 Richard Henderson <richard.henderson@linaro.org>
2741
9e46fd07
RH
2742 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2743 not the ubuntu modified 2.69.
2744
58d169ba
RH
2745 PR target/91833
2746 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2747 initialization if !HAVE_SYS_AUXV_H.
2748 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2749 * config.in, configure: Rebuild.
2750
88a51d68
RH
2751 PR target/91834
2752 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2753 overlap the inputs.
2754
761e6bb9
SZ
27552019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2756
2757 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2758 CTR_EL0.IDC and CTR_EL0.DIC.
2759
76c93295
CL
27602019-09-20 Christophe Lyon <christophe.lyon@st.com>
2761
2762 Revert:
2763 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2764 Mickaël Guêné <mickael.guene@st.com>
2765
2766 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2767 architecture.
2768
33befddc
RH
27692019-09-19 Richard Henderson <richard.henderson@linaro.org>
2770
2771 * config/aarch64/lse-init.c: New file.
2772 * config/aarch64/lse.S: New file.
2773 * config/aarch64/t-lse: New file.
2774 * config.host: Add t-lse to all aarch64 tuples.
2775
ae1152e5
CL
27762019-09-10 Christophe Lyon <christophe.lyon@st.com>
2777 Mickaël Guêné <mickael.guene@st.com>
2778
84818dbb
CL
2779 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2780 architecture.
2781
27822019-09-10 Christophe Lyon <christophe.lyon@st.com>
2783 Mickaël Guêné <mickael.guene@st.com>
2784
ae1152e5
CL
2785 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2786 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2787 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2788 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2789 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2790 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2791 (__gnu_personality_sigframe_fdpic): New.
2792 (get_eit_entry): Add FDPIC signal frame support.
2793
5d727a4b
CL
27942019-09-10 Christophe Lyon <christophe.lyon@st.com>
2795 Mickaël Guêné <mickael.guene@st.com>
2796
2797 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2798 (__kernel_dmb): Likewise.
2799 (__fdpic_cmpxchg): New function.
2800 (__fdpic_dmb): New function.
2801 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2802 (gnu_Unwind_Find_got): New function.
2803 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2804 * unwind-arm-common.inc (UCB_PR_GOT): New.
2805 (funcdesc_t): New struct.
2806 (get_eit_entry): Add FDPIC support.
2807 (unwind_phase2): Likewise.
2808 (unwind_phase2_forced): Likewise.
2809 (__gnu_Unwind_RaiseException): Likewise.
2810 (__gnu_Unwind_Resume): Likewise.
2811 (__gnu_Unwind_Backtrace): Likewise.
2812 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2813
b1e21e5a 28142019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2815 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2816
11189793
CL
2817 * libgcc/crtstuff.c: Add support for FDPIC.
2818
28192019-09-10 Christophe Lyon <christophe.lyon@st.com>
2820
2821 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2822
91dfef96
JM
28232019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2824
2825 * config.host: Set cpu_type for bpf-*-* targets.
2826 * config/bpf/t-bpf: Likewise.
2827 * config/bpf/crtn.S: Likewise.
2828 * config/bpf/crti.S: New file.
2829
2f4d8951
JW
28302019-09-06 Jim Wilson <jimw@sifive.com>
2831
2832 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2833 (riscv*-*-freebsd*): Likewise.
2834
2f2aeda9
UW
28352019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2836
2837 * config.host: Remove references to spu.
2838 * config/spu/: Remove directory.
2839
d16017da
JL
28402019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2841
2842 PR target/91306
2843 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2844 element type, instead of "sizeof" the element type.
2845 (__DTOR_LIST__): Likewise.
2846 (__TMC_LIST__): Likewise.
2847 (__do_global_dtors_aux_fini_array_entry): Likewise.
2848 (__frame_dummy_init_array_entry): Likewise.
2849 (__CTOR_END__): Likewise.
2850 (__DTOR_END__): Likweise.
2851 (__FRAME_END__): Likewise.
2852 (__TMC_END__): Likewise.
2853
a9fcfec3
HL
28542019-08-20 Lili Cui <lilicui@intel.com>
2855
2856 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2857 INTEL_COREI7_COOPERLAKE.
2858
428642b1
MT
28592019-07-31 Matt Thomas <matt@3am-software.com>
2860 Nick Hudson <nick@nthcliff.demon.co.uk>
2861 Matthew Green <mrg@eterna.com.au>
2862 Maya Rashish <coypu@sdf.org>
2863
2864 * config.host (hppa*-*-netbsd*): New case.
2865 * config/pa/t-netbsd: New file.
2866
f0efd925
JH
28672019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2868
2869 * config/arm/cmse.c (cmse_check_address_range): Add
2870 warn_unused_result attribute.
2871
a861990d
ML
28722019-07-22 Martin Liska <mliska@suse.cz>
2873
2874 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2875 * config/pa/t-stublib: Likewise.
2876
9c0dba7c
SH
28772019-07-22 Stafford Horne <shorne@gmail.com>
2878
2879 PR target/90362
2880 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2881 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2882 instructions are not available on every processor. Change a
2883 l.bnf to l.bf to fix logic issue.
2884
61afc8f8
IS
28852019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2886
2887 * config.host: Remove reference to t-darwin8.
2888
179c7ef5
IS
28892019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2890
2891 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2892 list.
2893 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2894 mmacosx-version-min for crts to run across all system versions.
2895 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2896 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2897 system versions >= 10.4.
2898
596341c7
ML
28992019-07-03 Martin Liska <mliska@suse.cz>
2900
2901 * Makefile.in: Use topn_values instead of one_value names.
2902 * libgcov-merge.c (__gcov_merge_single): Move to ...
2903 (__gcov_merge_topn): ... this.
2904 (merge_single_value_set): Move to ...
2905 (merge_topn_values_set): ... this.
2906 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2907 ...
2908 (__gcov_topn_values_profiler_body): ... this.
2909 (__gcov_one_value_profiler_v2): Move to ...
2910 (__gcov_topn_values_profiler): ... this.
2911 (__gcov_one_value_profiler_v2_atomic): Move to ...
2912 (__gcov_topn_values_profiler_atomic): ... this.
2913 (__gcov_indirect_call_profiler_v4): Remove.
2914 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2915 (__gcov_topn_counter_op): ... this.
2916 * libgcov.h (L_gcov_merge_single): Remove.
2917 (L_gcov_merge_topn): New.
2918 (__gcov_merge_single): Remove.
2919 (__gcov_merge_topn): New.
2920 (__gcov_one_value_profiler_v2): Move to ..
2921 (__gcov_topn_values_profiler): ... this.
2922 (__gcov_one_value_profiler_v2_atomic): Move to ...
2923 (__gcov_topn_values_profiler_atomic): ... this.
2924
1b309ca5
ML
29252019-07-03 Martin Liska <mliska@suse.cz>
2926
2927 * libgcov-merge.c (merge_single_value_set): Support N values.
2928 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2929
5a460280
ID
29302019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2931
2932 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2933 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2934 * configure.ac: Add --disable-tm-clone-registry option.
2935 * configure: Regenerate.
2936
45309d28
ML
29372019-06-27 Martin Liska <mliska@suse.cz>
2938
2939 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2940 dead assignments.
2941 * libgcov-util.c: Likewise.
2942
c2f7a665
ML
29432019-06-27 Martin Liska <mliska@suse.cz>
2944
2945 * libgcov-util.c (gcov_profile_merge): Release allocated
2946 memory.
2947 (calculate_overlap): Likewise.
2948
a8e55c61
IS
29492019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2950
2951 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2952 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2953 Build objects for the out of line save/restore register functions
2954 so that they can be used for any supported Darwin version.
2955 * config/t-darwin: Default the build Darwin version to Darwin8
2956 (MacOS 10.4).
2957
e5ce4cbc
ML
29582019-06-25 Martin Liska <mliska@suse.cz>
2959
2960 * libgcov-driver-system.c (replace_filename_variables): Do not
2961 call strlen with NULL argument.
2962
52a47d28
AS
29632019-06-25 Andrew Stubbs <ams@codesourcery.com>
2964
2965 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2966 * config/gcn/unwind-gcn.c: New file.
2967
76d46331
KCY
29682019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2969 Andrew Stubbs <ams@codesourcery.com>
2970
2971 * configure: Regenerate.
2972 * config/gcn/gthr-gcn.h: New.
2973
787783a0
TV
29742019-06-18 Tom de Vries <tdevries@suse.de>
2975
2976 * config/nvptx/crt0.c (__main): Declare.
2977
f32f7585
MG
29782019-06-17 Matthew Green <mrg@eterna.com.au>
2979 Maya Rashish <coypu@sdf.org>
2980
2981 * config.host (aarch64*-*-netbsd*): New case.
2982
0fcc78f7
JL
29832019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2984
2985 * config/msp430/slli.S (__mspabi_sllll): New library function for
2986 performing a logical left shift of a 64-bit value.
2987 * config/msp430/srai.S (__mspabi_srall): New library function for
2988 performing a arithmetic right shift of a 64-bit value.
2989 * config/msp430/srll.S (__mspabi_srlll): New library function for
2990 performing a logical right shift of a 64-bit value.
2991
b27c1082
MT
29922019-06-14 Matt Thomas <matt@3am-software.com>
2993 Matthew Green <mrg@eterna.com.au>
2994 Nick Hudson <skrll@netbsd.org>
2995 Maya Rashish <coypu@sdf.org>
2996
2997 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2998 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2999 functions to build.
3000 * config/arm/t-netbsd-eabi: New file.
3001
ae7deb4b
DD
30022019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3003
3004 * config.host: Add PRU target.
3005 * config/pru/asri.c: New file.
3006 * config/pru/eqd.c: New file.
3007 * config/pru/eqf.c: New file.
3008 * config/pru/ged.c: New file.
3009 * config/pru/gef.c: New file.
3010 * config/pru/gtd.c: New file.
3011 * config/pru/gtf.c: New file.
3012 * config/pru/led.c: New file.
3013 * config/pru/lef.c: New file.
3014 * config/pru/lib2bitcountHI.c: New file.
3015 * config/pru/lib2divHI.c: New file.
3016 * config/pru/lib2divQI.c: New file.
3017 * config/pru/lib2divSI.c: New file.
3018 * config/pru/libgcc-eabi.ver: New file.
3019 * config/pru/ltd.c: New file.
3020 * config/pru/ltf.c: New file.
3021 * config/pru/mpyll.S: New file.
3022 * config/pru/pru-abi.h: New file.
3023 * config/pru/pru-asm.h: New file.
3024 * config/pru/pru-divmod.h: New file.
3025 * config/pru/sfp-machine.h: New file.
3026 * config/pru/t-pru: New file.
3027
0d7b3e47
JJ
30282019-06-11 Jakub Jelinek <jakub@redhat.com>
3029
3030 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3031
54e2d83c
ML
30322019-06-10 Martin Liska <mliska@suse.cz>
3033
3034 PR bootstrap/90808
3035 * libgcov.h: Add ATTRIBUTE_UNUSED.
3036
92d41717
ML
30372019-06-10 Martin Liska <mliska@suse.cz>
3038
3039 * Makefile.in: Add __gcov_one_value_profiler_v2,
3040 __gcov_one_value_profiler_v2_atomic and
3041 __gcov_indirect_call_profiler_v4.
3042 * libgcov-merge.c (__gcov_merge_single): Change
3043 function signature.
3044 (merge_single_value_set): New.
3045 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3046 Update functionality.
3047 (__gcov_one_value_profiler): Remove.
3048 (__gcov_one_value_profiler_v2): ... this.
3049 (__gcov_one_value_profiler_atomic): Rename to ...
3050 (__gcov_one_value_profiler_v2_atomic): this.
3051 (__gcov_indirect_call_profiler_v3): Rename to ...
3052 (__gcov_indirect_call_profiler_v4): ... this.
3053 * libgcov.h (__gcov_one_value_profiler): Remove.
3054 (__gcov_one_value_profiler_atomic): Remove.
3055 (__gcov_one_value_profiler_v2_atomic): New.
3056 (__gcov_indirect_call_profiler_v3): Remove.
3057 (__gcov_one_value_profiler_v2): New.
3058 (__gcov_indirect_call_profiler_v4): New.
3059 (gcov_get_counter_ignore_scaling): New function.
3060
e37333ba
ML
30612019-06-07 Martin Liska <mliska@suse.cz>
3062
3063 * Makefile.in: Remove usage of
3064 _gcov_merge_icall_topn.
3065 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3066 (gcov_sort_icall_topn_counter): Likewise.
3067 (gcov_sort_topn_counter_arrays): Likewise.
3068 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3069 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3070 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3071 Likewise.
3072 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3073 (struct indirect_call_tuple): Remove.
3074 (__gcov_indirect_call_topn_profiler): Remove.
3075 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3076 * libgcov.h (gcov_sort_n_vals): Remove.
3077 (L_gcov_merge_icall_topn): Likewise.
3078 (__gcov_merge_icall_topn): Likewise.
3079 (__gcov_indirect_call_topn_profiler): Likewise.
3080
34a4a9c2
IS
30812019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3082
3083 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3084 altivec enabled.
3085
d1b2f85f
JL
30862019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3087
3088 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3089 section.
3090 (__mspabi_slli): Likewise.
3091 (__mspabi_slll_n): Likewise.
3092 (__mspabi_slll): Likewise.
3093 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3094 (__mspabi_srai): Likewise.
3095 (__mspabi_sral_n): Likewise.
3096 (__mspabi_sral): Likewise.
3097 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3098 (__mspabi_srli): Likewise.
3099 (__mspabi_srll_n): Likewise.
3100 (__mspabi_srll): Likewise.
3101
e69a13d1
YS
31022019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3103
3104 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3105 Add appropriate tm_file clause as well.
3106 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3107
b009eac1
JC
31082019-06-05 James Clarke <jrtc27@jrtc27.com>
3109
3110 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3111 rather than .data/.bss so it can be accessed via gp-relative
3112 addressing.
3113
781d39f2
DE
31142019-06-05 David Edelsohn <dje.gcc@gmail.com>
3115
3116 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3117 (CR2_REGNO): Rename to R_CR2.
3118 (XER_REGNO): Rename to R_XER.
3119 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3120 (VRSAVE_REGNO): Rename to R_VRSAVE.
3121 (VSCR_REGNO): R_VSCR.
3122
76aaa9cd
YS
31232019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3124
3125 * config.host (rx-*-linux*): Add new case.
3126 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3127
8fc16d72
ST
31282019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3129
3130 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3131 function.
3132 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3133 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3134 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3135 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3136 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3137 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3138 string.
3139 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3140 string.
3141 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3142
e54b1a92
RO
31432019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3144
3145 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3146 Remove Solaris 9 and 10 support.
3147 (sparc_is_sighandler): Likewise.
3148
abbb8307
JDA
31492019-05-26 John David Anglin <danglin@gcc.gnu.org>
3150
3151 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3152
2581344d
L
31532019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3156 4_FP_W_TYPEs are used for IEEE quad precision.
3157 * soft-fp/extendhftf2.c: Likewise.
3158 * soft-fp/extendsftf2.c: Likewise.
3159 * soft-fp/extendxftf2.c: Likewise.
3160 * soft-fp/trunctfdf2.c: Likewise.
3161 * soft-fp/trunctfhf2.c: Likewise.
3162 * soft-fp/trunctfsf2.c: Likewise.
3163 * soft-fp/trunctfxf2.c: Likewise.
3164 * config/rs6000/ibm-ldouble.c: Likewise.
3165
ccd1242e
RO
31662019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3167
3168 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3169 *-*-solaris2*.
3170 * configure.ac: Likewise.
3171 * configure: Regenerate.
3172
3173 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3174 Solaris 10 and Solaris 11 < snv_125 handling.
3175
ef5eb79d
IS
31762019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3177
3178 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3179
4f0e90fa
HL
31802019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3181
3182 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3183 * config/i386/cpuinfo.h (enum processor_features): Add
3184 FEATURE_AVX512BF16.
3185
48528842
RR
31862019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3187 Bernd Edlinger <bernd.edlinger@hotmail.de>
3188 Jakub Jelinek <jakub@redhat.com>
3189
3190 PR target/89093
3191 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3192 * config/arm/unwind-arm.c: Likewise.
3193 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3194 attribute for ARM.
3195
887e182f
MC
31962019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3197
3198 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3199 (RT_SIGRETURN): Update.
3200 (nds32_fallback_frame_state): Update.
3201
a90b0cdd
MS
32022019-02-21 Martin Sebor <msebor@redhat.com>
3203
3204 * libgcc2.h (__clear_cache): Correct signature.
3205 * libgcc2.c (__clear_cache): Same.
3206
1ed28eda
UB
32072019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3208
3209 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3210 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3211
fe95aee9
UB
32122019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3213
3214 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3215 regno instead of index to DWARF_ZERO_REG.
3216
bf7988f1
EB
32172019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3218
3219 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3220 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3221
ba2c1ca8
UB
32222019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3223
3224 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3225 to HOST_LIBGCC2_CFLAGS.
3226
6395ba73
L
32272019-01-23 Joseph Myers <joseph@codesourcery.com>
3228
3229 PR libgcc/88931
ba2c1ca8 3230 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3231
756721ba
ML
32322019-01-18 Martin Liska <mliska@suse.cz>
3233
3234 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3235 to ...
3236 (__gcov_indirect_call_profiler_v3): ... this.
3237 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3238 (__gcov_indirect_call_profiler_v3): Likewise.
3239 * Makefile.in: Bump function name.
3240
d273c40a
ML
32412019-01-18 Martin Liska <mliska@suse.cz>
3242
3243 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3244 (gcov_version): Use in gcov_error.
3245 (merge_one_data): Likewise.
3246 (dump_one_gcov): Likewise.
3247
be9d9fdb
ML
32482019-01-18 Martin Liska <mliska@suse.cz>
3249
3250 * libgcov-driver.c (gcov_version_string): New function.
3251 (gcov_version): Convert version integer into string.
3252
91d7b7fe
AS
32532019-01-17 Andrew Stubbs <ams@codesourcery.com>
3254 Kwok Cheung Yeung <kcy@codesourcery.com>
3255 Julian Brown <julian@codesourcery.com>
3256 Tom de Vries <tom@codesourcery.com>
3257
3258 * config.host: Recognize amdgcn*-*-amdhsa.
3259 * config/gcn/crt0.c: New file.
3260 * config/gcn/lib2-divmod-hi.c: New file.
3261 * config/gcn/lib2-divmod.c: New file.
3262 * config/gcn/lib2-gcn.h: New file.
3263 * config/gcn/sfp-machine.h: New file.
3264 * config/gcn/t-amdgcn: New file.
3265
67914693
SL
32662019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3267
3268 PR other/16615
3269
3270 * config/c6x/libunwind.S: Mechanically replace "can not" with
3271 "cannot".
3272 * config/tilepro/atomic.h: Likewise.
3273 * config/vxlib-tls.c: Likewise.
3274 * generic-morestack-thread.c: Likewise.
3275 * generic-morestack.c: Likewise.
3276 * mkmap-symver.awk: Likewise.
3277
a5544970
JJ
32782019-01-01 Jakub Jelinek <jakub@redhat.com>
3279
3280 Update copyright years.
3281
da77eace
L
32822018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3283
3284 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3285 to ignore -Waddress-of-packed-member.
3286
72e3a529
TP
32872018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3288
3289 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3290 parameter and corresponding code.
3291 (ARM_FUNC_START): Likewise in both definitions.
3292 Also update footer comment about condition that need to match with
3293 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3294 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3295 defined. Weakly define it in this case.
3296 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3297 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3298 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3299 comment to keep condition in sync with the one in
3300 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3301
5d54c798
WX
33022018-12-18 Wei Xiao <wei3.xiao@intel.com>
3303
3304 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3305 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3306
5a2580b6
RV
33072018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3308
3309 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3310 and .cfi_endproc directives for VxWorks targets.
3311
c0c5112b
PK
33122018-12-05 Paul Koning <ni1d@arrl.net>
3313
3314 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3315
1ea7ea18
AM
33162018-11-27 Alan Modra <amodra@gmail.com>
3317
3318 * config/rs6000/morestack.S (__stack_split_initialize),
3319 (__morestack_get_guard, __morestack_set_guard),
3320 (__morestack_make_guard): Provide CFI covering these functions.
3321 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3322
ff641ae1
XQ
33232018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3324
1ea7ea18 3325 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3326 (sc_pt_regs_lr): Update for kernel.
3327 (sc_pt_regs_tls): Update for kernel.
3328
28209372
XQ
33292018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3330
3331 * config/csky/linux-unwind.h: Fix coding style.
3332
b2a71af6
XQ
33332018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3334
3335 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3336 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3337 instructions to adapt to changes in the kernel
3338
d929e137
SH
33392018-11-09 Stafford Horne <shorne@gmail.com>
3340 Richard Henderson <rth@twiddle.net>
3341
3342 * config.host: Add OpenRISC support.
3343 * config/or1k/*: New.
3344
222cfefa
KC
33452018-11-08 Kito Cheng <kito@andestech.com>
3346
3347 * soft-fp/adddf3.c: Update from glibc.
3348 * soft-fp/addsf3.c: Likewise.
3349 * soft-fp/addtf3.c: Likewise.
3350 * soft-fp/divdf3.c: Likewise.
3351 * soft-fp/divsf3.c: Likewise.
3352 * soft-fp/divtf3.c: Likewise.
3353 * soft-fp/double.h: Likewise.
3354 * soft-fp/eqdf2.c: Likewise.
3355 * soft-fp/eqsf2.c: Likewise.
3356 * soft-fp/eqtf2.c: Likewise.
3357 * soft-fp/extenddftf2.c: Likewise.
3358 * soft-fp/extended.h: Likewise.
3359 * soft-fp/extendhftf2.c: Likewise.
3360 * soft-fp/extendsfdf2.c: Likewise.
3361 * soft-fp/extendsftf2.c: Likewise.
3362 * soft-fp/extendxftf2.c: Likewise.
3363 * soft-fp/fixdfdi.c: Likewise.
3364 * soft-fp/fixdfsi.c: Likewise.
3365 * soft-fp/fixdfti.c: Likewise.
3366 * soft-fp/fixhfti.c: Likewise.
3367 * soft-fp/fixsfdi.c: Likewise.
3368 * soft-fp/fixsfsi.c: Likewise.
3369 * soft-fp/fixsfti.c: Likewise.
3370 * soft-fp/fixtfdi.c: Likewise.
3371 * soft-fp/fixtfsi.c: Likewise.
3372 * soft-fp/fixtfti.c: Likewise.
3373 * soft-fp/fixunsdfdi.c: Likewise.
3374 * soft-fp/fixunsdfsi.c: Likewise.
3375 * soft-fp/fixunsdfti.c: Likewise.
3376 * soft-fp/fixunshfti.c: Likewise.
3377 * soft-fp/fixunssfdi.c: Likewise.
3378 * soft-fp/fixunssfsi.c: Likewise.
3379 * soft-fp/fixunssfti.c: Likewise.
3380 * soft-fp/fixunstfdi.c: Likewise.
3381 * soft-fp/fixunstfsi.c: Likewise.
3382 * soft-fp/fixunstfti.c: Likewise.
3383 * soft-fp/floatdidf.c: Likewise.
3384 * soft-fp/floatdisf.c: Likewise.
3385 * soft-fp/floatditf.c: Likewise.
3386 * soft-fp/floatsidf.c: Likewise.
3387 * soft-fp/floatsisf.c: Likewise.
3388 * soft-fp/floatsitf.c: Likewise.
3389 * soft-fp/floattidf.c: Likewise.
3390 * soft-fp/floattihf.c: Likewise.
3391 * soft-fp/floattisf.c: Likewise.
3392 * soft-fp/floattitf.c: Likewise.
3393 * soft-fp/floatundidf.c: Likewise.
3394 * soft-fp/floatundisf.c: Likewise.
3395 * soft-fp/floatunditf.c: Likewise.
3396 * soft-fp/floatunsidf.c: Likewise.
3397 * soft-fp/floatunsisf.c: Likewise.
3398 * soft-fp/floatunsitf.c: Likewise.
3399 * soft-fp/floatuntidf.c: Likewise.
3400 * soft-fp/floatuntihf.c: Likewise.
3401 * soft-fp/floatuntisf.c: Likewise.
3402 * soft-fp/floatuntitf.c: Likewise.
3403 * soft-fp/gedf2.c: Likewise.
3404 * soft-fp/gesf2.c: Likewise.
3405 * soft-fp/getf2.c: Likewise.
3406 * soft-fp/half.h: Likewise.
3407 * soft-fp/ledf2.c: Likewise.
3408 * soft-fp/lesf2.c: Likewise.
3409 * soft-fp/letf2.c: Likewise.
3410 * soft-fp/muldf3.c: Likewise.
3411 * soft-fp/mulsf3.c: Likewise.
3412 * soft-fp/multf3.c: Likewise.
3413 * soft-fp/negdf2.c: Likewise.
3414 * soft-fp/negsf2.c: Likewise.
3415 * soft-fp/negtf2.c: Likewise.
3416 * soft-fp/op-1.h: Likewise.
3417 * soft-fp/op-2.h: Likewise.
3418 * soft-fp/op-4.h: Likewise.
3419 * soft-fp/op-8.h: Likewise.
3420 * soft-fp/op-common.h: Likewise.
3421 * soft-fp/quad.h: Likewise.
3422 * soft-fp/single.h: Likewise.
3423 * soft-fp/soft-fp.h: Likewise.
3424 * soft-fp/subdf3.c: Likewise.
3425 * soft-fp/subsf3.c: Likewise.
3426 * soft-fp/subtf3.c: Likewise.
3427 * soft-fp/truncdfsf2.c: Likewise.
3428 * soft-fp/trunctfdf2.c: Likewise.
3429 * soft-fp/trunctfhf2.c: Likewise.
3430 * soft-fp/trunctfsf2.c: Likewise.
3431 * soft-fp/trunctfxf2.c: Likewise.
3432 * soft-fp/unorddf2.c: Likewise.
3433 * soft-fp/unordsf2.c: Likewise.
3434 * soft-fp/unordtf2.c: Likewise.
3435
2901f42f
VK
34362018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3437
3438 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3439 * config/i386/cpuinfo.h (processor_types): Add znver2.
3440
4310ca66
PK
34412018-11-01 Paul Koning <ni1d@arrl.net>
3442
3443 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3444 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3445
22e05272
JM
34462018-10-31 Joseph Myers <joseph@codesourcery.com>
3447
3448 PR bootstrap/82856
3449 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3450 * configure: Regenerate.
3451
8180cde0
CZ
34522018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3453
3454 * config/arc/lib1funcs.S (_muldi3): New function.
3455 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3456
be7b071e
RV
34572018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3458
3459 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3460
3239d726
ML
34612018-10-25 Martin Liska <mliska@suse.cz>
3462
3463 PR other/87735
3464 * libgcov-profiler.c: Revert.
3465
19b55958
ML
34662018-10-24 Martin Liska <mliska@suse.cz>
3467
3468 * libgcov-profiler.c: Start from 1 in order to distinguish
3469 functions which were seen and these that were not.
3470
a9a2fddb
PK
34712018-10-18 Paul Koning <ni1d@arrl.net>
3472
3473 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3474 standard.
3475 * divmod.c: Update references to __udivmodsi4.
3476 * udivmod.c: Ditto.
3477 * udivhi3.c: New file.
3478 * udivmodhi4.c: New file.
3479 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3480
fc8abc46
RV
34812018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3482
3483 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3484
87f918e3
OH
34852018-10-12 Olivier Hainque <hainque@adacore.com>
3486
3487 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3488 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3489
be86efa7
PK
34902018-10-08 Paul Koning <ni1d@arrl.net>
3491
3492 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3493
3edbcdbe
ML
34942018-10-04 Martin Liska <mliska@suse.cz>
3495
3496 PR gcov-profile/84107
3497 * libgcov-profiler.c (__gcov_indirect_call):
3498 Change type to indirect_call_tuple.
3499 (struct indirect_call_tuple): New struct.
3500 (__gcov_indirect_call_topn_profiler): Change type.
3501 (__gcov_indirect_call_profiler_v2): Use the new
3502 variables.
3503 * libgcov.h (struct indirect_call_tuple): New struct
3504 definition.
3505
af8096fc
UB
35062018-10-03 Uros Bizjak <ubizjak@gmail.com>
3507
3508 * libgcc2.c (isnan): Use __builtin_isnan.
3509 (isfinite): Use __builtin_isfinite.
3510 (isinf): Use __builtin_isinf.
3511
0a76bba4
UB
35122018-09-26 Uros Bizjak <ubizjak@gmail.com>
3513
3514 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3515
5244089f
OH
35162018-09-21 Alexandre Oliva <oliva@adacore.com>
3517
3518 * config/vxcache.c: New file. Provide __clear_cache, based on
3519 the cacheTextUpdate VxWorks service.
3520 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3521 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3522 * config/t-vxwoks7: Likewise.
3523
512cc015
ML
35242018-09-21 Martin Liska <mliska@suse.cz>
3525
3526 * libgcov-driver.c (crc32_unsigned): Remove.
3527 (gcov_histogram_insert): Likewise.
3528 (gcov_compute_histogram): Likewise.
3529 (compute_summary): Simplify rapidly.
3530 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3531 (merge_summary): Rapidly simplify.
3532 (dump_one_gcov): Ignore gcov_summary.
3533 (gcov_do_dump): Do not handle program summary, it's not
3534 used.
3535 * libgcov-util.c (tag_summary): Remove.
3536 (read_gcda_finalize): Fix coding style.
3537 (read_gcda_file): Initialize curr_object_summary.
3538 (compute_summary): Remove.
3539 (calculate_overlap): Remove settings of run_max.
3540
36ff254b
MC
35412018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3542
3543 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3544 ucontext_t type instead.
3545 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3546
229a033d
KC
35472018-09-21 Kito Cheng <kito.cheng@gmail.com>
3548
3549 * config/nds32/t-nds32-glibc: New file.
3550
53c6feb2
RO
35512018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3552
3553 * configure.ac (solaris_ld_v2_maps): New test.
3554 * configure: Regenerate.
3555 * Makefile.in (solaris_ld_v2_maps): New variable.
3556 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3557 if supported.
3558
ebdb6f23
RE
35592018-08-23 Richard Earnshaw <rearnsha@arm.com>
3560
3561 PR target/86951
3562 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3563 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3564 to build.
3565
a49c064e
IS
35662018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3567
1ea7ea18 3568 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3569 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3570 * config/darwin10-unwind-find-enc-func.c: … to here.
3571 * config/t-darwin: Build Darwin10 unwinder shim crt.
3572 * libgcc/config.host: Add the Darwin10 unwinder shim.
3573
9a5b8df7
RV
35742018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3575
3576 * config.host: Add crtbegin.o and crtend.o for
3577 powerpc-wrs-vxworks target.
3578
4cd0bc3b
J
35792018-08-17 Jojo <jijie_rong@c-sky.com>
3580 Huibin Wang <huibin_wang@c-sky.com>
3581 Sandra Loosemore <sandra@codesourcery.com>
3582 Chung-Lin Tang <cltang@codesourcery.com>
3583
3584 C-SKY port: libgcc
3585
3586 * config.host: Add C-SKY support.
3587 * config/csky/*: New.
3588
a4931745
CJW
35892018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3590
3591 * config/nds32/t-nds32-isr: Rearrange object dependency.
3592 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3593 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3594 and registers usage.
3595 * config/nds32/isr-library/excp_isr.S: Ditto.
3596 * config/nds32/isr-library/intr_isr.S: Ditto.
3597 * config/nds32/isr-library/reset.S: Ditto.
3598 * config/nds32/isr-library/restore_all.inc: Ditto.
3599 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3600 * config/nds32/isr-library/restore_partial.inc: Ditto.
3601 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3602 * config/nds32/isr-library/save_all.inc: Ditto.
3603 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3604 * config/nds32/isr-library/save_partial.inc: Ditto.
3605 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3606 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3607
2b1969f6
JDA
36082018-08-11 John David Anglin <danglin@gcc.gnu.org>
3609
3610 * config/pa/linux-atomic.c: Update comment.
3611 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3612 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3613 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3614 __ATOMIC_RELAXED for atomic loads.
3615 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3616 unordered store to release lock.
3617 (__sync_lock_release_8): Likewise.
3618 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3619
89fff9cc
NP
36202018-08-02 Nicolas Pitre <nico@fluxnic.net>
3621
3622 PR libgcc/86512
3623 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3624 exponent goes negative. Update my email address.
3625 * config/arm/ieee754-sf.S: Likewise.
3626
fd2e1dcd
ML
36272018-08-01 Martin Liska <mliska@suse.cz>
3628
3629 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3630 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3631
b7415975
CL
36322018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3633
3634 * config/arm/ieee754-df.S: Fix comment for code working on
3635 architectures >= 4.
3636 * config/arm/ieee754-sf.S: Likewise.
3637
b72e71a3
L
36382018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3639
3640 PR libgcc/85334
3641 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3642 Removed.
3643
1c686aa4
JC
36442018-07-05 James Clarke <jrtc27@jrtc27.com>
3645
3646 * configure: Regenerated.
3647
b61c9b99
RO
36482018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3649
3650 * Makefile.in (install_leaf): Use enable_gcov instead of
3651 enable_libgcov.
3652
1765b023
RV
36532018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3654
3655 * configure.ac: Add --disable-gcov option.
3656 * configure: Regenerate.
3657 * Makefile.in: Honour @enable_gcov@.
3658
9b2e34ef
CL
36592018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3660
3661 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3662 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3663 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3664 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3665 __ARM_ARCH__.
3666 * config/arm/ieee754-sf.S: Likewise.
3667 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3668
d1b0dd54
CL
36692018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3670
3671 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3672 longer supported.
3673 * config/arm/ieee754-sf.S: Likewise.
3674
1f3fa525
TM
36752018-06-20 Than McIntosh <thanm@google.com>
3676
3677 PR libgcc/86213
3678 * generic-morestack.c (allocate_segment): Move calls to getenv and
3679 getpagesize to __morestack_load_mmap.
3680 (__morestack_load_mmap) Initialize static_pagesize and
3681 use_guard_page here so as to avoid clobbering SSE regs during a
3682 __morestack call.
3683
6a8886e4
MM
36842018-06-18 Michael Meissner <meissner@linux.ibm.com>
3685
3686 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3687 support modules with -mno-gnu-attribute.
3688 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3689
fb997097
OH
36902018-06-07 Olivier Hainque <hainque@adacore.com>
3691
3692 * config/t-vxworks (LIBGCC_INCLUDES): Add
3693 -I$(MULTIBUILDTOP)../../gcc/include.
3694 * config/t-vxworks7: Likewise. Reformat a bit to match
3695 the t-vxworks layout.
3696
a548a5a1
OM
36972018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3698
3699 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3700
244aebfd
ML
37012018-06-07 Martin Liska <mliska@suse.cz>
3702
3703 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3704 all_prg.
244aebfd 3705
6c086e8c
ML
37062018-06-07 Martin Liska <mliska@suse.cz>
3707
92a285c1 3708 PR bootstrap/86057
6c086e8c 3709 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3710 memcpy instead of mempcpy.
6c086e8c 3711 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3712 prefix and set it.
6c086e8c 3713 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3714 here and properly copy content into it.
6c086e8c 3715 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3716 field, change prefix from size_t into char *.
6c086e8c
ML
3717 (compute_summary): Do not calculate longest filename.
3718 (gcov_do_dump): Release memory of gf.filename after each file.
3719 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3720 compute_summary.
6c086e8c
ML
3721 (calculate_overlap): Likewise.
3722
97a53d1d
ML
37232018-06-05 Martin Liska <mliska@suse.cz>
3724
3725 PR gcov-profile/47618
3726 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3727 function.
97a53d1d
ML
3728 (gcov_exit_open_gcda_file): Use it.
3729
7f3577f5
ML
37302018-06-05 Martin Liska <mliska@suse.cz>
3731
3732 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3733 of gcov_ctr_summary.
3734 (compute_summary): Do it just for a single summary.
3735 (merge_one_data): Likewise.
3736 (merge_summary): Simplify as we read just single summary.
3737 (dump_one_gcov): Pass proper argument.
3738 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3739 single summary.
3740 (gcov_info_count_all_cold): Likewise.
3741 (calculate_overlap): Likewise.
3742
cf3cd43d
CJW
37432018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3744 Monk Chiang <sh.chiang04@gmail.com>
3745
3746 * config.host (nds32*-linux*): New.
3747 * config/nds32/linux-atomic.c: New file.
3748 * config/nds32/linux-unwind.h: New file.
3749
8b8003ed
UB
37502018-05-31 Uros Bizjak <ubizjak@gmail.com>
3751
3752 PR target/85591
3753 * config/i386/cpuinfo.c (get_amd_cpu): Return
3754 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3755
bbdf026f
RV
37562018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3757
92a285c1 3758 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 3759
0e8f29da
ML
37602018-05-29 Martin Liska <mliska@suse.cz>
3761
92a285c1 3762 PR gcov-profile/85759
0e8f29da 3763 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 3764 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 3765 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 3766 overwrite a gcov file with a different timestamp.
0e8f29da 3767
54fd1590
K
37682018-05-23 Kalamatee <kalamatee@gmail.com>
3769
3770 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3771 path to Lf$finfty.
3772
09baee1a
KC
37732018-05-18 Kito Cheng <kito.cheng@gmail.com>
3774 Monk Chiang <sh.chiang04@gmail.com>
3775 Jim Wilson <jimw@sifive.com>
3776
3777 * config/riscv/save-restore.S: Add support for rv32e.
3778
c3f808d3
KT
37792018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3780
3781 * config/arm/libunwind.S: Update comment relating to armv5.
3782
fcf4f831
JL
37832018-05-17 Jerome Lambourg <lambourg@adacore.com>
3784
3785 * config/arm/cmse.c (cmse_check_address_range): Replace
3786 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3787
74b2bb19
OM
37882018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3789
3790 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3791 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3792
50e461df
OM
37932018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3794
3795 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3796 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3797
e5f1cdb1
AC
37982018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3799
3800 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3801
8f479d7a
AT
38022018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3803 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3804
3805 PR libgcc/84292
3806 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3807 op_and_fetch to return the right result.
3808
ae043291
AM
38092018-04-27 Alan Modra <amodra@gmail.com>
3810
3811 PR libgcc/85532
3812 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3813 -fno-asynchronous-unwind-tables.
3814
ba169b74
CJW
38152018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3816
3817 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3818 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3819
ffc2fc06
L
38202018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3821
3822 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3823 when including "config/i386/shadow-stack-unwind.h".
3824
7b47ecf2
L
38252018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3826
3827 * configure: Regenerated.
3828
661eb8f9
MM
38292018-04-20 Michael Meissner <meissner@linux.ibm.com>
3830
3831 PR target/85456
3832 * config/rs6000/_powikf2.c: New file. Add support for the
3833 __builtin_powil function when long double is IEEE 128-bit floating
3834 point.
3835 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3836 __powikf2 support.
3837 (__powikf2): Likewise.
3838 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3839 (__powikf2_hw): Likewise.
3840 (__powikf2): Likewise.
3841 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3842 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3843 (_powikf2-hw.c): Likewise.
3844
5707be3c
L
38452018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3846
3847 PR libgcc/85334
3848 * unwind-generic.h (_Unwind_Frames_Increment): New.
3849 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3850 Likewise.
3851 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3852 count with _Unwind_Frames_Increment.
3853 (_Unwind_ForcedUnwind_Phase2): Likewise.
3854
5f9ca0b8
L
38552018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3856
3857 PR libgcc/85379
3858 * config/i386/morestack.S (__stack_split_initialize): Add
3859 _CET_ENDBR.
3860
a0e1df88
JJ
38612018-04-19 Jakub Jelinek <jakub@redhat.com>
3862
3863 * configure: Regenerated.
3864
001ddaa8
DM
38652018-04-18 David Malcolm <dmalcolm@redhat.com>
3866
3867 PR jit/85384
3868 * configure: Regenerate.
3869
a57f99ba
JJ
38702018-04-16 Jakub Jelinek <jakub@redhat.com>
3871
3872 PR target/84945
3873 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3874 -Wdangling-else warnings. Mask shift counts to avoid
3875 -Wshift-count-negative and -Wshift-count-overflow false positives.
3876
4d47fe5a
RB
38772018-04-06 Ruslan Bukin <br@bsdpad.com>
3878
3879 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3880
059cc8ac
L
38812018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3882
3883 PR target/85100
3884 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3885 (XSTATE_FP): Likewise.
3886 (XSTATE_SSE): Likewise.
3887 (XSTATE_YMM): Likewise.
3888 (XSTATE_OPMASK): Likewise.
3889 (XSTATE_ZMM): Likewise.
3890 (XSTATE_HI_ZMM): Likewise.
3891 (XCR_AVX_ENABLED_MASK): Likewise.
3892 (XCR_AVX512F_ENABLED_MASK): Likewise.
3893 (get_available_features): Enable AVX and AVX512 features only
3894 if their states are supported by OSXSAVE.
3895
f2620385
IT
38962018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3897
3898 PR target/85025
3899 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3900 Fix a typo, tmp => 255.
3901
ae6dca8c
JJ
39022018-03-20 Jakub Jelinek <jakub@redhat.com>
3903
3904 PR target/84945
3905 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3906 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3907 ifndef SHARED only.
3908 (set_feature): Define.
3909 (get_available_features): Use set_feature macro. Set __cpu_features2
3910 to the second word of features ifndef SHARED.
3911
c36b04c1
JK
39122018-03-15 Julia Koval <julia.koval@intel.com>
3913
3914 * config/i386/cpuinfo.c (get_available_features): Add
3915 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3916 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3917 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3918 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3919 FEATURE_AVX512BITALG.
3920
79ab5364
JK
39212018-03-14 Julia Koval <julia.koval@intel.com>
3922
3923 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3924 icelake client and icelake server.
3925
66a00b11
JDA
39262018-03-06 John David Anglin <danglin@gcc.gnu.org>
3927
3928 * config/pa/fptr.c (_dl_read_access_allowed): New.
3929 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3930
ce579a4f
JJ
39312018-02-28 Jakub Jelinek <jakub@redhat.com>
3932
3933 PR debug/83917
3934 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3935 $asm_hidden_op if visibility ("hidden") attribute works.
3936 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3937 * config/i386/i386-asm.h: Don't include auto-host.h.
3938 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3939 PACKAGE_URL): Don't undefine.
3940 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3941 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3942 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3943 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3944 definition instead of hardcoded .hidden.
3945 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3946 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3947 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3948 (USE_GAS_CFI_DIRECTIVES): Don't define.
3949 * configure: Regenerated.
3950 * config.in: Likewise.
3951
e5868319
JJ
39522018-02-26 Jakub Jelinek <jakub@redhat.com>
3953
3954 PR debug/83917
3955 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3956 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3957 inclusion of auto-target.h and auto-host.h.
3958 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3959 __GCC_HAVE_DWARF2_CFI_ASM.
3960 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3961 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3962 cfi_pop): Define.
3963 * config/i386/cygwin.S: Don't include auto-host.h here, just
3964 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3965 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3966 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3967 * config/i386/resms64fx.h: Add cfi_* directives.
3968 * config/i386/resms64x.h: Likewise.
3969
faef260e
MF
39702018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3971
3972 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3973 .literal_position directive.
3974 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3975
14e335ed
IT
39762018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3977
3978 PR target/84148
3979 * configure: Regenerate.
3980
95df0433
IT
39812018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3982
3983 PR target/84239
3984 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3985 Include cetintrin.h not x86intrin.h.
3986
f8de876d
IT
39872018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3988
3989 PR target/84239
95df0433 3990 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3991 Use new _get_ssp and _inc_ssp intrinsics.
3992
02da1e9c
JK
39932018-02-02 Julia Koval <julia.koval@intel.com>
3994
3995 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3996
048c6a9a
CZ
39972018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3998
3999 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4000 option.
4001 (__divsi3): Use RF16 safe registers.
4002 (__modsi3): Likewise.
4003
0889f168
MF
40042018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4005
4006 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4007 (__divsf3): Make NaN return value quiet.
4008 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4009 (__divdf3): Make NaN return value quiet.
4010
bc8b0d04
SP
40112018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4012
4013 * config/rl78/anddi3.S: New assembly file.
4014 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4015
99cc06ea
SP
40162018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4017
4018 * config/rl78/umindi3.S: New assembly file.
4019 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4020
6e9007a0
SP
40212018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4022
4023 * config/rl78/smindi3.S: New assembly file.
4024 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4025
d975e494 40262018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4027
d975e494
SP
4028 * config/rl78/smaxdi3.S: New assembly file.
4029 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4030
6a18c146 40312018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4032
5dd16013
SP
4033 * config/rl78/umaxdi3.S: New assembly file.
4034 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 4035
07baf4a5
JDA
40362018-01-21 John David Anglin <danglin@gcc.gnu.org>
4037
4038 PR lto/83452
4039 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4040 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 4041
dbc3af4f
RS
40422018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4043
4044 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4045 (DWARF_LAZY_REGISTER_VALUE): Define.
4046 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4047 to provide a fallback register value.
4048
68df9882
MM
40492018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4050
4051 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4052 __ibm128, instead of trying to use long double.
4053 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4054 accomidate -mabi=ieeelongdouble multilibs.
4055 (CVT_IBM128_TO_FLOAT128): Likewise.
4056 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4057 the appropriate IBM extended double type.
4058 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4059 (__gcc_qsub): Likewise.
4060 (__gcc_qmul): Likewise.
4061 (__gcc_qdiv): Likewise.
4062 (pack_ldouble): Likewise.
4063 (__gcc_qneg): Likewise.
4064 (__gcc_qeq): Likewise.
4065 (__gcc_qne): Likewise.
4066 (__gcc_qge): Likewise.
4067 (__gcc_qle): Likewise.
4068 (__gcc_stoq): Likewise.
4069 (__gcc_dtoq): Likewise.
4070 (__gcc_itoq): Likewise.
4071 (__gcc_utoq): Likewise.
4072 (__gcc_qunord): Likewise.
4073 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4074 quad-float128.h for the definitions.
4075 (COPYSIGN): Use the f128 version instead of the q version.
4076 (INFINITY): Likewise.
4077 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4078 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4079 quad-float128.h for the definitions.
4080 (COPYSIGN): Use the f128 version instead of the q version.
4081 (INFINITY): Likewise.
4082 (FABS): Likewise.
4083 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4084 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4085 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4086
64b371b1
SH
40872018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4088
4089 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4090 configuration.
4091
85ec4feb
JJ
40922018-01-03 Jakub Jelinek <jakub@redhat.com>
4093
4094 Update copyright years.
4095
40962017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
4097
4098 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4099 * config/riscv/multi3.c: New file.
4100 * config/riscv/multi3.S: Remove.
4101
3a4c600f
JW
41022017-12-08 Jim Wilson <jimw@sifive.com>
4103
4104 * config/riscv/div.S: Use FUNC_* macros.
4105 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4106 * config/riscv/save-restore.S: Likewise.
4107 * config/riscv/riscv-asm.h: New.
4108
75ad35b5
MM
41092017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4110
6ae3512c
MM
4111 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4112 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4113
75ad35b5
MM
4114 PR libgcc/83112
4115 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4116 correct type for all ifunc resolvers to silence -Wattribute-alias
4117 warnings. Eliminate the forward declaration of the resolver
4118 functions which is no longer needed.
4119 (__subkf3_resolve): Likewise.
4120 (__mulkf3_resolve): Likewise.
4121 (__divkf3_resolve): Likewise.
4122 (__negkf2_resolve): Likewise.
4123 (__eqkf2_resolve): Likewise.
4124 (__nekf2_resolve): Likewise.
4125 (__gekf2_resolve): Likewise.
4126 (__gtkf2_resolve): Likewise.
4127 (__lekf2_resolve): Likewise.
4128 (__ltkf2_resolve): Likewise.
4129 (__unordkf2_resolve): Likewise.
4130 (__extendsfkf2_resolve): Likewise.
4131 (__extenddfkf2_resolve): Likewise.
4132 (__trunckfsf2_resolve): Likewise.
4133 (__trunckfdf2_resolve): Likewise.
4134 (__fixkfsi_resolve): Likewise.
4135 (__fixkfdi_resolve): Likewise.
4136 (__fixunskfsi_resolve): Likewise.
4137 (__fixunskfdi_resolve): Likewise.
4138 (__floatsikf_resolve): Likewise.
4139 (__floatdikf_resolve): Likewise.
4140 (__floatunsikf_resolve): Likewise.
4141 (__floatundikf_resolve): Likewise.
4142 (__extendkftf2_resolve): Likewise.
4143 (__trunctfkf2_resolve): Likewise.
4144
4145 PR libgcc/83103
4146 * config/rs6000/quad-float128.h (TF): Don't define if long double
4147 is IEEE 128-bit floating point.
4148 (TCtype): Define as either TCmode or KCmode, depending on whether
4149 long double is IEEE 128-bit floating point.
4150 (__mulkc3_sw): Add declarations for software/hardware versions of
4151 complex multiply/divide.
4152 (__divkc3_sw): Likewise.
4153 (__mulkc3_hw): Likewise.
4154 (__divkc3_hw): Likewise.
4155 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4156 handlers to switch between using software emulation and hardware
4157 float128 instructions, build the complex multiply/divide functions
4158 for both software and hardware support.
4159 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4160 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4161 (__divkc3_resolve): Likewise.
4162 (__mulkc3): Likewise.
4163 (__divkc3): Likewise.
4164 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4165 (fp128_hw_src): Likewise.
4166 (fp128_hw_static_obj): Likewise.
4167 (fp128_hw_shared_obj): Likewise.
4168 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4169 _mulkc3.c and _divkc3.c, changing the function name.
4170 (_divkc3-hw.c): Likewise.
4171 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4172 and _divkc3-hw.c.
4173
c234d831
UB
41742017-11-26 Julia Koval <julia.koval@intel.com>
4175
4176 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4177 * config/i386/cpuinfo.h (processor_subtypes): Add
4178 INTEL_COREI7_CANNONLAKE.
4179
1ebafce0
IT
41802017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4181
4182 PR bootstrap/83015
4183 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4184 parameter.
4185 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4186 * config/ia64/unwind-ia64.c: Add frames parameter.
4187 * unwind-sjlj.c: Likewise.
4188
6a10fff4
IT
41892017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4190
4191 * config/i386/linux-unwind.h: Include
4192 config/i386/shadow-stack-unwind.h.
4193 * config/i386/shadow-stack-unwind.h: New file.
4194 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4195 pass it to _Unwind_Frames_Extra.
4196 * unwind-generic.h (_Unwind_Frames_Extra): New.
4197 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4198 parameter. Add local variable frames to count number of frames.
4199 (_Unwind_ForcedUnwind_Phase2): Likewise.
4200 (_Unwind_RaiseException): Add local variable frames to count
4201 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4202 uw_install_context.
4203 (_Unwind_ForcedUnwind): Likewise.
4204 (_Unwind_Resume): Likewise.
4205 (_Unwind_Resume_or_Rethrow): Likewise.
4206
1ecae1fc
IT
42072017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4208
4209 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4210 (CET_FLAGS): New.
4211 * config/i386/morestack.S: Include <cet.h>.
4212 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4213 * config/i386/resms64.h: Include <cet.h>.
4214 * config/i386/resms64f.h: Likewise.
4215 * config/i386/resms64fx.h: Likewise.
4216 * config/i386/resms64x.h: Likewise.
4217 * config/i386/savms64.h: Likewise.
4218 * config/i386/savms64f.h: Likewise.
4219 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4220 (CRTSTUFF_T_CFLAGS): Likewise.
4221 * configure.ac: Include ../config/cet.m4.
4222 Set and substitute CET_FLAGS.
4223 * configure: Regenerated.
4224
f021f1d3
RO
42252017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4226
4227 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4228 renaming.
4229 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4230 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4231 * configure: Regenerate.
4232
65f480c7
TV
42332017-11-07 Tom de Vries <tom@codesourcery.com>
4234
4235 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4236 after "do {} while (0)".
4237
2a321acb
TV
42382017-11-07 Tom de Vries <tom@codesourcery.com>
4239
4240 PR other/82784
4241 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4242 semicolon after "do {} while (0)".
4243 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4244 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4245 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4246 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4247
59fcf6c3
AT
42482017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4249
4250 PR libgcc/82635
4251 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4252 sysctl to determine whether we're in a trampoline.
4253 Keep the pattern matching method for systems without
4254 KERN_PROC_SIGTRAMP sysctl.
4255
b0c7ddf8
CM
42562017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4257 Vineet Gupta <vgupta@synopsys.com>
4258
4259 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4260 * config/arc/linux-unwind-reg.def: New file.
4261 * config/arc/linux-unwind-reg.h: Likewise.
4262
5feee954
SP
42632017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4264
4265 * config/rl78/subdi3.S: New assembly file.
4266 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4267
a0bf6cf7
SP
42682017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4269
4270 * config/rl78/adddi3.S: New assembly file.
4271 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4272
e7176f75
JJ
42732017-10-13 Jakub Jelinek <jakub@redhat.com>
4274
4275 PR target/82274
4276 * libgcc2.c (__mulvDI3): If both operands have
4277 the same highpart of -1 and the topmost bit of lowpart is 0,
4278 multiplication overflows even if both lowparts are 0.
4279
db6601d2
JB
42802017-09-28 James Bowman <james.bowman@ftdichip.com>
4281
4282 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4283
938b6f1e
JM
42842017-09-26 Joseph Myers <joseph@codesourcery.com>
4285
4286 * config/microblaze/crti.S, config/microblaze/crtn.S,
4287 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4288 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4289 config/microblaze/mulsi3.S,
4290 config/microblaze/stack_overflow_exit.S,
4291 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4292 config/pa/milli64.S: Add .note.GNU-stack section.
4293
89762a83
DS
42942017-09-23 Daniel Santos <daniel.santos@pobox.com>
4295
4296 * configure.ac: Add Check for HAVE_AS_AVX.
4297 * config.in: Regenerate.
4298 * configure: Likewise.
4299 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4300 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4301 Correct out-of-date comments.
4302
cace2309
SP
43032017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4304
4305 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4306 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4307
3cb626e4
DS
43082017-09-17 Daniel Santos <daniel.santos@pobox.com>
4309
cace2309 4310 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4311 (ASMNAME): Modify to use PASTE2.
4312 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4313 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4314 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4315 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4316 * config/i386/resms64f.S: Likewise.
4317 * config/i386/resms64fx.S: Likewise.
4318 * config/i386/resms64x.S: Likewise.
4319 * config/i386/savms64.S: Likewise.
4320 * config/i386/savms64f.S: Likewise.
4321 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4322 includes it's corresponding header file.
cace2309
SP
4323 * config/i386/avx_resms64f.S: Likewise.
4324 * config/i386/avx_resms64fx.S: Likewise.
4325 * config/i386/avx_resms64x.S: Likewise.
4326 * config/i386/avx_savms64.S: Likewise.
4327 * config/i386/avx_savms64f.S: Likewise.
4328 * config/i386/sse_resms64.S: Likewise.
4329 * config/i386/sse_resms64f.S: Likewise.
4330 * config/i386/sse_resms64fx.S: Likewise.
4331 * config/i386/sse_resms64x.S: Likewise.
4332 * config/i386/sse_savms64.S: Likewise.
4333 * config/i386/sse_savms64f.S: Likewise.
4334 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4335
2f19c491 43362017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4337 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4338
611e7036
OH
43392017-08-31 Olivier Hainque <hainque@adacore.com>
4340
4341 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4342 match as powerpc-wrs-vxworks*.
4343
c8f34527
JY
43442017-08-07 Jonathan Yong <10walls@gmail.com>
4345
4346 * config.host (*-cygwin): Include file from mingw
4347 config/i386/enable-execute-stack-mingw32.c
4348
0b458d2b 43492017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
4350 Doug Rupp <rupp@adacore.com>
4351 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
4352
4353 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4354 as well as arm-wrs-vxworks.
4355 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4356 LIB2ADDEH.
4357 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4358 __exidx_start and __exidx_end for downloadable modules.
4359
4df612fa
OH
43602017-08-01 Olivier Hainque <hainque@adacore.com>
4361
4362 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4363 * config/t-vxworks7: Likewise.
4364
5560e8c0
OH
43652017-08-01 Olivier Hainque <hainque@adacore.com>
4366
4367 * config/t-vxworks: Instead of redefining LIB2ADD,
4368 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4369
16bab95a
SH
43702017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4371
4372 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4373
9cbc07cc
DS
43742017-07-24 Daniel Santos <daniel.santos@pobox.com>
4375
4376 PR testsuite/80759
4377 * config.host: include i386/t-msabi for darwin and solaris.
4378 * config/i386/i386-asm.h
4379 (ELFFN): Rename to FN_TYPE.
4380 (FN_SIZE): New macro.
4381 (FN_HIDDEN): Likewise.
4382 (ASMNAME): Likewise.
4383 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4384 .globl.
4385 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4386 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4387 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4388 .macro.
4389 * config/i386/resms64f.S: Likewise.
4390 * config/i386/resms64fx.S: Likewise.
4391 * config/i386/resms64x.S: Likewise.
4392 * config/i386/savms64.S: Likewise.
4393 * config/i386/savms64f.S: Likewise.
4394
de742204
JM
43952017-07-19 John Marino <gnugcc@marino.st>
4396
4397 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4398
3787ee47
MM
43992017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4400
4401 PR target/81193
4402 * configure.ac (PowerPC float128 hardware support): Test whether
4403 we can use __builtin_cpu_supports before enabling the ifunc
4404 handler.
4405 * configure: Regenerate.
4406
b1938888
VG
44072017-07-10 Vineet Gupta <vgupta@synopsys.com>
4408
4409 * config.host: Remove uclibc from arc target spec.
4410
bec75e53
KW
44112017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4412
4413 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4414
d4391a62
PB
44152017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4416
4417 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4418 (have_ieee_hw_p): Delete function.
4419 (SW_OR_HW) Use __builtin_cpu_supports().
4420
9296dd9b
TP
44212017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4422
4423 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4424
b85a969e
OH
44252017-07-03 Olivier Hainque <hainque@adacore.com>
4426
d4391a62 4427 * config/t-vxworks7: New file, really.
b85a969e 4428
883312dc
JM
44292017-06-28 Joseph Myers <joseph@codesourcery.com>
4430
4431 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4432 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4433 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4434 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4435 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4436 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4437 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4438 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4439 config/sh/linux-unwind.h (sh_fallback_frame_state),
4440 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4441 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4442 ucontext_t instead of struct ucontext.
4443
50567938
JL
44442017-06-27 Jerome Lambourg <lambourg@adacore.com>
4445
4446 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4447 (x86_64-wrs-vxworks7): Likewise.
4448
e4b0df93
OH
44492017-06-27 Olivier Hainque <hainque@adacore.com>
4450
4451 * config/t-vxworks7: New file.
4452 * config.host (*-*-vxworks7): Use it.
4453
60edf8bb
MT
44542017-06-22 Matt Turner <mattst88@gmail.com>
4455
4456 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4457 skylake case.
4458
a51a76e5
RB
44592017-06-21 Richard Biener <rguenther@suse.de>
4460
4461 PR gcov-profile/81080
4462 * configure.ac: Add AC_SYS_LARGEFILE.
4463 * libgcov.h: Include auto-target.h before tsystem.h to pick
4464 up _FILE_OFFSET_BITS which might differ for multilibs.
4465 * config.in: Regenerate.
4466 * configure: Likewise.
4467
f0cd49c5
RE
44682017-06-16 Richard Earnshaw <rearnsha@arm.com>
4469
4470 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4471
4f751c54
ML
44722017-06-09 Martin Liska <mliska@suse.cz>
4473
4474 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4475 Reset __gcov_indirect_call_callee to NULL.
4476
1ac644c8
OH
44772017-06-08 Olivier Hainque <hainque@adacore.com>
4478
4479 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4480 the set of -I options, support for direct inclusions of net/uio.h
4481 by VxWorks header files via ioLib.h.
4482
d8b9cd27
TR
44832017-06-07 Tony Reix <tony.reix@atos.net>
4484 Matthieu Sarter <matthieu.sarter.external@atos.net>
4485 David Edelsohn <dje.gcc@gmail.com>
4486
92a285c1
ML
4487 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4488 unconditionally.
4489 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4490 AIX 7.2 support.
d8b9cd27 4491
38a75ccc
OH
44922017-06-02 Olivier Hainque <hainque@adacore.com>
4493
4494 * config/vxlib.c (__gthread_once): Add missing value to
4495 return statement.
4496
5b2edf53
OH
44972017-05-30 Olivier Hainque <hainque@adacore.com>
4498
4499 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4500 dollar sign before $(MULTIDIR).
4501
7d66e265
RH
45022017-05-26 Richard Henderson <rth@redhat.com>
4503
4504 PR libgcc/80037
4505 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4506
78eca309
AT
45072017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4508
4509 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4510 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4511 * config/arm/unwind-arm.c: Implement the above.
4512
c39d309a
AZ
45132017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4514
4515 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4516 section for a non-executable stack.
4517
eac8c9f2
KW
45182017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4519
4520 PR target/80600
4521 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4522
d6d4d770
DS
45232017-05-14 Daniel Santos <daniel.santos@pobox.com>
4524
4525 * config.host: Add i386/t-msabi to i386/t-linux file list.
4526 * config/i386/i386-asm.h: New file.
4527 * config/i386/resms64.S: New file.
4528 * config/i386/resms64f.S: New file.
4529 * config/i386/resms64fx.S: New file.
4530 * config/i386/resms64x.S: New file.
4531 * config/i386/savms64.S: New file.
4532 * config/i386/savms64f.S: New file.
4533 * config/i386/t-msabi: New file.
4534
8ef2b9a7
AT
45352017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4536
4537 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4538 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4539
7ab8766a
JC
45402017-05-05 Joshua Conner <joshconner@google.com>
4541
4542 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4543 pc-relative indirect handling for fuchsia.
4544 * config/t-slibgcc-fuchsia: New file.
4545 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4546 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4547
46928a8f
ML
45482017-04-19 Martin Liska <mliska@suse.cz>
4549
4550 PR gcov-profile/80435
4551 * Makefile.in: Install gcov.h.
4552 * gcov.h: New file.
4553 * libgcov.h: Use the header and make __gcov_flush publicly
4554 visible.
4555
63971184
ML
45562017-04-18 Martin Liska <mliska@suse.cz>
4557
4558 PR gcov-profile/78783
4559 * libgcov-driver.c (gcov_get_filename): New function.
4560
29d8aae6
JL
45612017-04-07 Jeff Law <law@redhat.com>
4562
4563 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4564 target makefile fragment.
4565 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4566
2bdf7fc6
AM
45672017-04-07 Alan Modra <amodra@gmail.com>
4568
4569 PR target/45053
4570 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4571
5764ee3c
JW
45722017-04-03 Jonathan Wakely <jwakely@redhat.com>
4573
4574 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4575
c4192ad7
CZ
45762017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4577
4578 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4579
4ccfdb28
JM
45802017-03-10 John Marino <gnugcc@marino.st>
4581
4582 * config/aarch64/freebsd-unwind.h: New file.
4583 * config.host: Add aarch64-*-freebsd unwinder.
4584
4144e4e3
SB
45852017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4586
4587 * config/rs6000/crtrestvr.s: Use .machine altivec.
4588 * config/rs6000/crtsavevr.s: Ditto.
4589
7502c597
SB
45902017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4591
4592 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4593 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4594 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4595 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4596 * configure: Regenerate.
4597 * config.in: Regenerate.
4598
db9f7f65
JY
45992017-03-02 Jonathan Yong <10walls@gmail.com>
4600
4601 * config/i386/gthr-win32.h: Define NOGDI before
4602 windows.h include to prevent w32api CC_NONE macro
4603 clash with libgfortran.
4604
126437c5
JY
46052017-03-02 Jonathan Yong <10walls@gmail.com>
4606
4607 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4608
31927af6
AP
46092017-02-16 Andrew Pinski <apinski@cavium.com>
4610
4611 * config/aarch64/value-unwind.h: New file.
4612 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4613 to tm_file.
4614
0bd99911
PD
46152017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4616
4617 * config.host: Add RISC-V tuples.
4618 * config/riscv/atomic.c: New file.
4619 * config/riscv/crti.S: Likewise.
4620 * config/riscv/crtn.S: Likewise.
4621 * config/riscv/div.S: Likewise.
4622 * config/riscv/linux-unwind.h: Likewise.
4623 * config/riscv/muldi3.S: Likewise.
4624 * config/riscv/multi3.S: Likewise.
4625 * config/riscv/save-restore.S: Likewise.
4626 * config/riscv/sfp-machine.h: Likewise.
4627 * config/riscv/t-elf: Likewise.
4628 * config/riscv/t-elf32: Likewise.
4629 * config/riscv/t-elf64: Likewise.
4630 * config/riscv/t-softfp32: Likewise.
4631 * config/riscv/t-softfp64: Likewise.
4632
a8c9ef2a
JJ
46332017-01-24 Jakub Jelinek <jakub@redhat.com>
4634
4635 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4636 /* FALLTHRU */ comments.
4637
c6c82710
GP
46382017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4639
4640 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4641
a876231c
JW
46422017-01-20 Jiong Wang <jiong.wang@arm.com>
4643
4644 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4645 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4646 DW_CFA_GNU_window_save for AArch64 and LP64.
4647
aa348be2
JW
46482017-01-20 Jiong Wang <jiong.wang@arm.com>
4649
4650 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4651
5636faf2
JW
46522017-01-19 Jiong Wang <jiong.wang@arm.com>
4653
4654 * config/aarch64/aarch64-unwind.h: New file.
4655 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4656 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4657 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4658 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4659 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4660 (aarch64_post_extract_frame_addr): New function.
4661 (aarch64_post_frob_eh_handler_addr): New function.
4662 (aarch64_frob_update_context): New function.
4663 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4664 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4665 aarch64*-*-freebsd*):
4666 Initialize md_unwind_header to include aarch64-unwind.h.
4667 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4668 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4669 __aarch64__.
4670 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4671 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4672 (uw_frob_return_addr): New function.
4673 (uw_install_context): Use uw_frob_return_addr.
4674
3c36aa6b
JJ
46752017-01-17 Jakub Jelinek <jakub@redhat.com>
4676
4677 PR other/79046
4678 * configure.ac: Add GCC_BASE_VER.
4679 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4680 version from BASE-VER file.
4681 * configure: Regenerated.
4682
829afb8f
JS
46832017-01-13 Joe Seymour <joe.s@somniumtech.com>
4684
4685 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4686 libmul_f5.a): Filter archived prerequisites.
4687
79fc8ffe
AS
46882017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4689
4690 * config/i386/cpuinfo.h (processor_features): Add
4691 FEATURE_AVX512VPOPCNTDQ.
4692 * config/i386/cpuinfo.c (get_available_features): Habdle new
4693 feature.
4694
fec5f4e0
JM
46952017-01-04 Joseph Myers <joseph@codesourcery.com>
4696
4697 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4698 payload if [__mips_nan2008].
4699
8f56cb51
AM
47002017-01-04 Alan Modra <amodra@gmail.com>
4701
4702 * Makefile.in (configure_deps): Update.
4703 * configure: Regenerate.
4704
cbe34bb5
JJ
47052017-01-01 Jakub Jelinek <jakub@redhat.com>
4706
4707 Update copyright years.
4708
ab955692
KW
47092016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4710
4711 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4712 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4713 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4714
de34320f
MK
47152016-12-17 Matthias Klose <doko@ubuntu.com>
4716
4717 * config/arc/gmon: Remove empty directory.
4718
e04ea1da
CZ
47192016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4720
4721 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4722 crtgend.
4723 (arc*-*-elf*): Likewise.
4724 * config/arc/t-arc: Remove old gmon lib targets.
4725 * config/arc/crtg.S: Remove.
4726 * config/arc/crtgend.S: Likewise.
4727 * config/arc/gmon/atomic.h: Likewise.
4728 * config/arc/gmon/auxreg.h: Likewise.
4729 * config/arc/gmon/dcache_linesz.S: Likewise.
4730 * config/arc/gmon/gmon.c: Likewise.
4731 * config/arc/gmon/machine-gmon.h: Likewise.
4732 * config/arc/gmon/mcount.c: Likewise.
4733 * config/arc/gmon/prof-freq-stub.S: Likewise.
4734 * config/arc/gmon/prof-freq.c: Likewise.
4735 * config/arc/gmon/profil.S: Likewise.
4736 * config/arc/gmon/sys/gmon.h: Likewise.
4737 * config/arc/gmon/sys/gmon_out.h: Likewise.
4738 * config/arc/t-arc-newlib: Likewise.
4739 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4740
8ae1c2c1
GS
47412016-12-12 George Spelvin <linux@sciencehorizons.net>
4742
4743 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4744
a5b947fa
GS
47452016-12-12 George Spelvin <linux@sciencehorizons.net>
4746
4747 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4748 R16 instead of push + pop.
4749 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4750
d6574dd1
KW
47512016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4752
4753 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4754 tmake_file.
4755
62440b4f
CM
47562016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4757
4758 * config.host (arc*-*-linux-uclibc*): Use default extra
4759 objects. Include linux-android header.
4760 * config/arc/crti.S (_init): Declare symbol as function.
4761 (_fini): Likewise.
4762
31cfd832
TK
47632016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4764
4765 PR fortran/78379
4766 * config/i386/cpuinfo.c: Move denums for processor vendors,
4767 processor type, processor subtypes and declaration of
4768 struct __processor_model into
4769 * config/i386/cpuinfo.h: New header file.
4770
c92e08e3
AV
47712016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4772 Thomas Preud'homme <thomas.preudhomme@arm.com>
4773
4774 * config/arm/cmse_nonsecure_call.S: New.
4775 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4776
de7b5723
AV
47772016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4778 Thomas Preud'homme <thomas.preudhomme@arm.com>
4779
4780 * config/arm/t-arm (HAVE_CMSE): New.
4781 * config/arm/cmse.c: New.
4782
7a0d2bce
TP
47832016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4784
b3a5bff4
TP
4785 PR gcc/74748
4786 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4787 use generic linker version information on Blackfin.
4788
7a0d2bce
TP
4789 PR gcc/74748
4790 * libgcc/mkmap-symver.awk: add support for skip_underscore
4791
b410cf1d
IS
47922016-11-27 Iain Sandoe <iain@codesourcery.com>
4793 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4794
4795 PR target/67710
4796 * config/t-darwin: Default builds to 10.5 codegen.
4797
2e5f8203
JG
47982016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4799
4800 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4801 (_FP_NANSIGN_H): Likewise.
4802 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4803 (softfp_truncations): Add tfhf.
4804 (softfp_extras): Add required conversion functions.
4805
bea64ca3
JG
48062016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4807 Matthew Wahab <matthew.wahab@arm.com>
4808
4809 * config/arm/fp16.c (binary64): New.
4810 (__gnu_d2h_internal): New.
4811 (__gnu_d2h_ieee): New.
4812 (__gnu_d2h_alternative): New.
4813
8630cadb
JG
48142016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4815 Matthew Wahab <matthew.wahab@arm.com>
4816
4817 * config/arm/fp16.c (struct format): New.
4818 (binary32): New.
4819 (__gnu_float2h_internal): New. Body moved from
4820 __gnu_f2h_internal and generalize.
4821 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4822 Call it with binary32.
4823
5823ef23
JG
48242016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4825
4826 * soft-fp/extendhftf2.c: Update from glibc.
4827 * soft-fp/fixhfti.c: Likewise.
4828 * soft-fp/fixunshfti.c: Likewise.
4829 * soft-fp/floattihf.c: Likewise.
4830 * soft-fp/floatuntihf.c: Likewise.
4831 * soft-fp/half.h: Likewise.
4832 * soft-fp/trunctfhf2.c: Likewise.
4833
62a7df9f
MG
48342016-11-20 Marc Glisse <marc.glisse@inria.fr>
4835
4836 PR libgcc/77813
4837 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4838 __TMC_END__ behind a passthrough asm.
4839
7a384912
WL
48402016-11-18 Walter Lee <walt@tilera.com>
4841
62a7df9f 4842 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4843
9775c1a5
L
48442016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4845
4846 * config/i386/cpuinfo.c (processor_features): Add
4847 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4848
48c842ab
CZ
48492016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4850
4851 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4852 (__ARC_NORM__): Use instead ARC_OPTFPE.
4853 * config/arc/fp-hack.h: Likewise.
4854 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4855 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4856
5012919d
AM
48572016-11-16 Alexander Monakov <amonakov@ispras.ru>
4858
4859 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4860 * config/nvptx/mgomp.c: New file.
4861 * config/nvptx/t-nvptx: Add mgomp.c
4862
00178b98
WB
48632016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4864
4865 PR libgcc/68468
4866 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4867
d64af69f
CZ
48682016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4869
4870 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4871 of checking for cpus.
4872 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4873 (__modsi3, __clzsi2): Likewise.
4874
9d8f95de
SN
48752016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4876
4877 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4878 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4879 * config/i386/t-cpuinfo-static: New.
4880
7d29f8e3
ML
48812016-11-03 Martin Liska <mliska@suse.cz>
4882
4883 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4884 (__gcov_time_profiler_atomic): Likewise.
4885
5de3e2d8
BE
48862016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4887
4888 PR libgcc/78067
4889 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4890 count_leading_zeros.
4891
18362447
UB
48922016-11-02 Uros Bizjak <ubizjak@gmail.com>
4893
4894 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4895 * libgcc2.c (__divmoddi4): New function.
4896 * libgcc2.h (__divmoddi4): Declare.
4897 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4898 and __PFX_divmodti4.
4899
33107571
FW
49002016-10-24 Florian Weimer <fweimer@redhat.com>
4901
4902 PR libgcc/78064
4903 * unwind-c.c: Include auto-target.h.
4904
4c6d7494
JDA
49052016-10-19 John David Anglin <danglin@gcc.gnu.org>
4906
18362447 4907 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4908 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4909 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4910 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4911 hppa*64*-*-hpux11*.
4912
2a26adf1
MF
49132016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4914
4915 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4916 definition.
4917 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4918 definition.
4919 * config/xtensa/t-windowed (LIB2ADDEH): Use
4920 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4921 or xtensa/t-linux.
4922
66192aa1
DKC
49232016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4924
4925 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4926 __ieee754_sqrt): New functions.
4927 (__divdf3): Add implementation with new FPU instructions under
4928 #if XCHAL_HAVE_DFP_DIV.
4929 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4930 __ieee754_sqrtf): New functions.
4931 (__divsf3): Add implementation with new FPU instructions under
4932 #if XCHAL_HAVE_FP_DIV.
4933 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4934 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4935
4d0cdd0c
TP
49362016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4937
4938 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4939 equivalent.
4940 * config/tilepro/atomic.c: Likewise and stop casting model to
4941 enum memmodel.
4942
73f01cca
JM
49432016-10-10 Joseph Myers <joseph@codesourcery.com>
4944
4945 PR target/77586
4946 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4947 soft-fp.
4948
b20e7532
AT
49492016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4950
4951 * config.host: Add support for aarch64-*-freebsd*.
4952
a786cec4
AS
49532016-10-05 Andreas Schwab <schwab@suse.de>
4954
4955 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4956 (.section .init_array): Don't call __do_jv_register_classes.
4957 (.section .init): Likewise.
4958
5a79befb
JJ
49592016-10-04 Jakub Jelinek <jakub@redhat.com>
4960
4961 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4962 (__JCR_LIST__): Remove.
4963 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4964 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4965 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4966 * config/ia64/crtend.S (__JCR_END__): Remove.
4967 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4968 conditionals.
4969 (__JCR_LIST__, __JCR_END__): Remove.
4970 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4971 (__do_global_ctors_1): Likewise.
4972
e0ab3753
UB
49732015-09-28 Uros Bizjak <ubizjak@gmail.com>
4974
4975 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4976 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4977
8c9434c2
ML
49782016-09-27 Martin Liska <mliska@suse.cz>
4979
4980 PR gcov-profile/7970
4981 PR gcov-profile/16855
4982 PR gcov-profile/44779
4983 * libgcov-driver.c (__gcov_init): Do not register a atexit
4984 handler.
4985 (__gcov_exit): Rename from gcov_exit.
4986 * libgcov.h (__gcov_exit): Declare.
4987
56b653f1
ML
49882016-09-27 Martin Liska <mliska@suse.cz>
4989
4990 PR bootstrap/77749
4991 * Makefile.in: Remove _gcov_merge_delta.
4992 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4993 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4994 * libgcov.h: Remove declaration of __gcov_merge_delta.
4995
7e02fd1b
EB
49962016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4997
4998 * configure.ac: Do not create links, only substitute the filenames.
4999 * configure: Regenerate.
5000 * Makefile.in: Assign the substitution results to variables.
5001 (LIBGCC_LINKS): Define.
5002 (enable-execute-stack.c): New rule.
5003 (unwind.h): Likewise.
5004 (md-unwind-support.h): Likewise.
5005 (sfp-machine.h): Likewise.
5006 (gthr-default.h): Likewise.
5007 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5008 unwind.h as prerequisite of install-unwind_h-forbuild.
5009
29991048
JJ
50102016-09-16 Jakub Jelinek <jakub@redhat.com>
5011
5012 PR libgcc/71744
5013 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5014 is not the primary registry and atomics are available.
5015 (any_objects_registered): New variable.
5016 (__register_frame_info_bases, __register_frame_info_table_bases):
5017 Atomically store 1 to any_objects_registered after registering first
5018 unwind info.
5019 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5020
0abcd6cc
JG
50212016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5022
5023 PR target/63250
5024 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5025 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5026 (HFtype): Likewise.
5027 (HCtype): Likewise.
5028 (__divhc3): Likewise.
5029 (__mulhc3): Likewise.
5030 * libgcc2.c: Support _mulhc3 and _divhc3.
5031
d758aeb5
JM
50322016-09-07 Joseph Myers <joseph@codesourcery.com>
5033
5034 PR libgcc/77519
5035 * libgcc2.c (NOTRUNC): Invert settings.
5036
7fe76f6a
ML
50372016-09-06 Martin Liska <mliska@suse.cz>
5038
5039 PR gcov-profile/77378
5040 PR gcov-profile/77466
5041 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5042 conditionaly enable/disable *_atomic functions.
5043
21184026
JM
50442016-08-26 Joseph Myers <joseph@codesourcery.com>
5045
5046 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5047 where not already enabled.
5048
726f49c3
SN
50492016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5050
5051 * config/mips/linux-unwind.h: Use sys/syscall.h.
5052
feeb6268
JM
50532016-08-16 Joseph Myers <joseph@codesourcery.com>
5054
5055 PR libgcc/77265
5056 * soft-fp/adddf3.c: Update from glibc.
5057 * soft-fp/addsf3.c: Likewise.
5058 * soft-fp/addtf3.c: Likewise.
5059 * soft-fp/divdf3.c: Likewise.
5060 * soft-fp/divsf3.c: Likewise.
5061 * soft-fp/divtf3.c: Likewise.
5062 * soft-fp/double.h: Likewise.
5063 * soft-fp/eqdf2.c: Likewise.
5064 * soft-fp/eqsf2.c: Likewise.
5065 * soft-fp/eqtf2.c: Likewise.
5066 * soft-fp/extenddftf2.c: Likewise.
5067 * soft-fp/extended.h: Likewise.
5068 * soft-fp/extendsfdf2.c: Likewise.
5069 * soft-fp/extendsftf2.c: Likewise.
5070 * soft-fp/extendxftf2.c: Likewise.
5071 * soft-fp/fixdfdi.c: Likewise.
5072 * soft-fp/fixdfsi.c: Likewise.
5073 * soft-fp/fixdfti.c: Likewise.
5074 * soft-fp/fixsfdi.c: Likewise.
5075 * soft-fp/fixsfsi.c: Likewise.
5076 * soft-fp/fixsfti.c: Likewise.
5077 * soft-fp/fixtfdi.c: Likewise.
5078 * soft-fp/fixtfsi.c: Likewise.
5079 * soft-fp/fixtfti.c: Likewise.
5080 * soft-fp/fixunsdfdi.c: Likewise.
5081 * soft-fp/fixunsdfsi.c: Likewise.
5082 * soft-fp/fixunsdfti.c: Likewise.
5083 * soft-fp/fixunssfdi.c: Likewise.
5084 * soft-fp/fixunssfsi.c: Likewise.
5085 * soft-fp/fixunssfti.c: Likewise.
5086 * soft-fp/fixunstfdi.c: Likewise.
5087 * soft-fp/fixunstfsi.c: Likewise.
5088 * soft-fp/fixunstfti.c: Likewise.
5089 * soft-fp/floatdidf.c: Likewise.
5090 * soft-fp/floatdisf.c: Likewise.
5091 * soft-fp/floatditf.c: Likewise.
5092 * soft-fp/floatsidf.c: Likewise.
5093 * soft-fp/floatsisf.c: Likewise.
5094 * soft-fp/floatsitf.c: Likewise.
5095 * soft-fp/floattidf.c: Likewise.
5096 * soft-fp/floattisf.c: Likewise.
5097 * soft-fp/floattitf.c: Likewise.
5098 * soft-fp/floatundidf.c: Likewise.
5099 * soft-fp/floatundisf.c: Likewise.
5100 * soft-fp/floatunditf.c: Likewise.
5101 * soft-fp/floatunsidf.c: Likewise.
5102 * soft-fp/floatunsisf.c: Likewise.
5103 * soft-fp/floatunsitf.c: Likewise.
5104 * soft-fp/floatuntidf.c: Likewise.
5105 * soft-fp/floatuntisf.c: Likewise.
5106 * soft-fp/floatuntitf.c: Likewise.
5107 * soft-fp/gedf2.c: Likewise.
5108 * soft-fp/gesf2.c: Likewise.
5109 * soft-fp/getf2.c: Likewise.
5110 * soft-fp/ledf2.c: Likewise.
5111 * soft-fp/lesf2.c: Likewise.
5112 * soft-fp/letf2.c: Likewise.
5113 * soft-fp/muldf3.c: Likewise.
5114 * soft-fp/mulsf3.c: Likewise.
5115 * soft-fp/multf3.c: Likewise.
5116 * soft-fp/negdf2.c: Likewise.
5117 * soft-fp/negsf2.c: Likewise.
5118 * soft-fp/negtf2.c: Likewise.
5119 * soft-fp/op-1.h: Likewise.
5120 * soft-fp/op-2.h: Likewise.
5121 * soft-fp/op-4.h: Likewise.
5122 * soft-fp/op-8.h: Likewise.
5123 * soft-fp/op-common.h: Likewise.
5124 * soft-fp/quad.h: Likewise.
5125 * soft-fp/single.h: Likewise.
5126 * soft-fp/soft-fp.h: Likewise.
5127 * soft-fp/subdf3.c: Likewise.
5128 * soft-fp/subsf3.c: Likewise.
5129 * soft-fp/subtf3.c: Likewise.
5130 * soft-fp/truncdfsf2.c: Likewise.
5131 * soft-fp/trunctfdf2.c: Likewise.
5132 * soft-fp/trunctfsf2.c: Likewise.
5133 * soft-fp/trunctfxf2.c: Likewise.
5134 * soft-fp/unorddf2.c: Likewise.
5135 * soft-fp/unordsf2.c: Likewise.
5136 * soft-fp/unordtf2.c: Likewise.
5137
2e6fc1ac
GG
51382016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5139
5140 PR gcov-profile/67097
5141 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5142
a266236e
ML
51432016-08-10 Martin Liska <mliska@suse.cz>
5144
5145 PR gcov-profile/58306
5146 * Makefile.in: New functions (modules) are added.
5147 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5148 function.
5149 (__gcov_pow2_profiler_atomic): New function.
5150 (__gcov_one_value_profiler_body): New argument is instroduced.
5151 (__gcov_one_value_profiler): Call with the new argument.
5152 (__gcov_one_value_profiler_atomic): Likewise.
5153 (__gcov_indirect_call_profiler_v2): Likewise.
5154 (__gcov_time_profiler_atomic): New function.
5155 (__gcov_average_profiler_atomic): Likewise.
5156 (__gcov_ior_profiler_atomic): Likewise.
5157 * libgcov.h: Declare the aforementioned functions.
5158
e0c8eebf
ML
51592016-08-09 Martin Liska <mliska@suse.cz>
5160
5161 * libgcov-util.c: Fix typo and GNU coding style.
5162
6dce6418
ML
51632016-08-09 Martin Liska <mliska@suse.cz>
5164
5165 * Makefile.in: Remove __gcov_indirect_call_profiler.
5166 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5167 function.
5168 * libgcov.h: And the declaration of the function.
5169
dcb1e137
ML
51702016-08-09 Martin Liska <mliska@suse.cz>
5171
5172 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5173 power of two.
5174
d6e69705
BS
51752016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5176
5177 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5178 * config/rs6000/_mulkc3.c: Likewise.
5179
96aa1f95
GJL
51802016-07-29 Georg-Johann Lay <avr@gjlay.de>
5181
5182 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5183 zero_reg as previous call to __umulhisi3 already cleared it.
5184
a1b01d34
AJ
51852016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5186
5187 PR target/59833
5188 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5189
985a47b2
NC
51902016-07-19 Nick Clifton <nickc@redhat.com>
5191
5192 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5193 Add crtinit.o and crtfini.o to extra_parts.
5194
f906f5ed
BS
51952016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5196
5197 * config/rs6000/_divkc3.c: New.
5198 * config/rs6000/_mulkc3.c: New.
5199 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5200 and _divkc3.
5201 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5202 fp128_ppc_funcs.
5203
82742404
HW
52042016-07-11 Hale Wang <hale.wang@arm.com>
5205 Andre Vieira <andre.simoesdiasvieira@arm.com>
5206
5207 * config/arm/lib1funcs.S: Add new wrapper.
5208
05a437c1
TP
52092016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5210
5211 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5212
3d16d9ec
TP
52132016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5214
5215 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5216 and ARMv5t* rather than for a fixed list of architectures.
5217
6f493951
TP
52182016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5219
5220 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5221 implementation suitable for.
5222 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5223 for all Thumb-1 only targets.
5224 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5225 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5226 __ARM_ARCH_6M__.
5227 (EQUIV): Likewise.
5228 (ARM_FUNC_ALIAS): Likewise.
5229 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5230 version.
5231 (modsi3): Likewise.
5232 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5233 (clzdi2): Likewise.
5234 (ctzsi2): Likewise.
5235 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5236 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5237 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5238 __ARM_ARCH_6M__ and add comment to indicate the connection between
5239 this condition and the one in gcc/config/arm/elf.h.
5240 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5241 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5242 * config/arm/t-softfp: Likewise.
5243
1770511a
TS
52442016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5245
5246 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5247 CTOR_LISTS_DEFINED_EXTERNALLY.
5248
ba6be749
WL
52492016-06-28 Walter Lee <walt@tilera.com>
5250
5251 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5252 asm/unistd.h.
5253 (SPR_CMPEXCH_VALUE): Define for tilegx.
5254 (__NR_FAST_cmpxchg): Define for tilepro.
5255 (__NR_FAST_atomic_update): Define for tilepro.
5256 (__NR_FAST_cmpxchg64): Define for tilepro.
5257
a34c0db5
JS
52582016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5259
18362447 5260 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5261
0609abda
TS
52622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5263
5264 * config.host: Remove support for mep-*.
5265 * config/mep/lib1funcs.S: Remove.
5266 * config/mep/lib2funcs.c: Remove.
5267 * config/mep/t-mep: Remove.
5268 * config/mep/tramp.c: Remove.
5269
3e326935
TS
52702016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5271
5272 * config.host: Remove support for avr-rtems.
5273 * config/avr/t-rtems: Remove.
5274
914b155c
TS
52752016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5276
5277 * config.host: Remove m32r-rtems support.
5278
5ebf89bd
TS
52792016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5280
5281 * config.host: Remove h8300-rtems support.
5282
8466af06
TS
52832016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5284
5285 * config.host: Remove support for knetbsd.
5286
d980e738
TS
52872016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5288
5289 * config.host: Remove support for openbsd 2 and 3.
5290
ee2499b4
TS
52912016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5292
5293 * config.host: Remove interix support.
5294 * config/i386/t-interix: Remove.
5295
9f92937b
JDA
52962016-06-18 John David Anglin <danglin@gcc.gnu.org>
5297
5298 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5299 least-significant bit in function pointer for fixup.
5300
0a0ec53d
AC
53012016-06-05 Aaron Conole <aconole@redhat.com>
5302 Nathan Sidwell <nathan@acm.org>
5303
5304 PR libgcc/71400
5305 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5306 (get_gcov_error_file): Check __gcov_error_file before trying to
5307 initialize it.
5308 (gcov_error): Always use get_gcov_error_file.
5309
8aa5bdd6
AC
53102016-06-02 Aaron Conole <aconole@redhat.com>
5311
5312 * libgcov-driver-system.c (__gcov_error_file): New.
5313 (get_gcov_error_file): New.
5314 (gcov_error): Use and set __gcov_error_file.
5315 (gcov_error_exit): New.
5316 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5317
40774faf
NS
53182016-05-26 Nathan Sidwell <nathan@acm.org>
5319
5320 * config/nvptx/free.asm: Delete.
5321 * config/nvptx/malloc.asm: Delete.
5322 * config/nvptx/realloc.c: Delete.
5323 * t-nvptx: Update.
5324
69a6d5ad
NS
53252016-05-25 Nathan Sidwell <nathan@acm.org>
5326
5327 * config/nvptx/crt0.s: Delete.
5328 * config/nvptx/crt0.c: New.
5329 * t-nvptx: Update.
5330
6befaff6
SL
53312016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5332
385c7747 5333 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5334 dw2/seh configuration.
5335 [x86_64-*-mingw*]: Likewise.
5336
ad251dfd
JS
53372016-05-10 Joel Sherrill <joel@rtems.org>
5338
5339 PR libgcc/70720
5340 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5341 targets so the same extra_parts are built. Also have tmake_file add
5342 on to its value rather than override.
5343
bc6d9014
OE
53442016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5345
5346 * config.host: Remove SH5 support.
5347 * configure: Likewise.
5348
9129c8cf
OE
53492016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5350
5351 * config/sh/crt1.S: Remove SH5 support.
5352 * config/sh/crti.S: Likewise.
5353 * config/sh/crtn.S: Likewise.
5354 * config/sh/lib1funcs-4-300.S: Likewise.
5355 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5356 * config/sh/lib1funcs.S: Likewise.
5357 * config/sh/linux-unwind.h: Likewise.
5358 * config/sh/t-sh64: Delete.
5359
39d50464
CZ
53602016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5361
5362 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5363
8b48923b
CZ
53642016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5365 Joern Rennecke <joern.rennecke@embecosm.com>
5366
5367 * config/arc/crttls.S: New file.
5368 * config/arc/t-arc: New rule.
5369 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5370
2de1cf8c
NC
53712016-04-25 Nick Clifton <nickc@redhat.com>
5372
5373 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5374 (__mspabi_cmpd): Likewise.
5375 * config/msp430/floathidf.c (__floathidf): Likewise.
5376 * config/msp430/floathisf.c (__floathisf): Likewise
5377 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5378 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5379 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5380 second parameter.
5381 (__ashrsi3): Likewise.
5382
b8ce3fe2
WB
53832016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5384
5385 * config/m68k/linux-atomic.c: Do not include unistd.h
5386
4986f823
MG
53872016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5388
5389 * config/arm/ieee754-df.S: Fix typos in comments.
5390
35fbda43
MM
53912016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5392
5393 PR target/70381
5394 * configure.ac (powerpc*-*-linux*): Rework tests to build
5395 __float128 emulation routines to not depend on using #pragma GCC
5396 target to enable -mfloat128.
5397 * configure: Regnerate.
5398
72d1a48d
EB
53992016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5400
5401 PR target/67172
5402 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5403 __MINGW32__ is defined.
5404
dc2e8995
JB
54052016-03-28 James Bowman <james.bowman@ftdichip.com>
5406
385c7747 5407 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 5408
104cdaf1
MM
54092016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5410
5411 PR libgcc/70363
5412 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5413 built with an assembler that does not support ISA 3.0
5414 instructions, rename __extendkftf2_sw to __extendkftf2.
5415
a5046f48
RO
54162016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5417
5418 PR target/38239
5419 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5420 call-clobbered registers.
5421 (internal_mcount): Remove __i386__ handling.
5422
df674f74
JS
54232016-02-26 Joel Sherrill <joel@rtems.org>
5424
5425 * config.host: Add x86_64-*-rtems*.
5426
7cb065d6
JS
54272016-02-26 Joel Sherrill <joel@rtems.org>
5428
5429 * libgcc/config.host: Add aarch64-*-rtems*.
5430
47dfdc53
PM
54312016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5432 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5433
5434 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5435 union of u64 and double.
5436 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5437 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5438 value.
5439 (FP_ROUNDMODE): Update the usage of _fpscr.
5440
e6861a99
IV
54412016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5442
5443 PR driver/68463
5444 * Makefile.in (crtoffloadtable$(objext)): New rule.
5445 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5446 enable_offload_targets is not empty.
5447 * configure: Regenerate.
5448 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5449 crtoffloadtable.
5450
9bfcbdee
MF
54512016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5452
5453 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5454 .literal_position before the function.
5455 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5456 Likewise.
5457
4cb4721f
MK
54582016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5459
5460 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5461 * config/s390/morestack.S: New file.
5462 * config/s390/t-stack-s390: New file.
5463 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5464
b29d9a29
WL
54652016-02-12 Walter Lee <walt@tilera.com>
5466
5467 * config.host (tilegx*-*-linux*): remove ti from
5468 softfp_int_modes for 32-bit configs.
5469
03a0ae7d
ILT
54702016-02-10 Ian Lance Taylor <iant@google.com>
5471
5472 PR go/68562
5473 * config/i386/morestack.S (__stack_split_initialize): Align
5474 stack.
5475
68750bce
AT
54762016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5477
5478 PR bootstrap/69611
5479 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5480 __FLOAT128__ to compile only for __float128 capable targets.
5481
7d296953
JJ
54822016-01-25 Jakub Jelinek <jakub@redhat.com>
5483
5484 PR target/69444
5485 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5486 instead of ___NO_FPRS__.
5487
a71c0334 54882016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5489 Steven Munroe <munroesj@linux.vnet.ibm.com>
5490 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
5491
5492 * config/rs6000/float128-sed: New files to convert TF names to KF
5493 names for PowerPC IEEE 128-bit floating point support.
5494 * config/rs6000/float128-sed-hw: Likewise.
5495
5496 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5497 floating point hardware support.
5498
5499 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5500 128-bit floating point software emulation or use ISA 3.0 hardware
5501 support if it is available.
5502
5503 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5504 floating point.
5505
5506 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5507 floating point to IBM extended double.
5508
5509 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5510 double to IEEE 128-bit floating point.
5511
5512 * config/rs6000/t-float128: New Makefile fragments to enable
5513 building __float128 emulation support.
5514 * config/rs6000/t-float128-hw: Likewise.
5515
5516 * config/rs6000/sfp-exceptions.c: New file to provide exception
5517 support for IEEE 128-bit floating point.
5518
5519 * config/rs6000/floattikf.c: New files for converting between IEEE
5520 128-bit floating point and signed/unsigned 128-bit integers.
5521 * config/rs6000/fixunskfti.c: Likewise.
5522 * config/rs6000/fixkfti.c: Likewise.
5523 * config/rs6000/floatuntikf.c: Likewise.
5524
5525 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5526 when building on 64-bit systems, or when VSX is enabled.
5527 (_FP_W_TYPE): Likewise.
5528 (_FP_WS_TYPE): Likewise.
5529 (_FP_I_TYPE): Likewise.
5530 (TItype): Define on 64-bit systems.
5531 (UTItype): Likewise.
5532 (TI_BITS): Likewise.
5533 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5534 (_FP_MUL_MEAT_Q): Likewise.
5535 (_FP_DIV_MEAT_D): Likewise.
5536 (_FP_DIV_MEAT_Q): Likewise.
5537 (_FP_NANFRAC_D): Likewise.
5538 (_FP_NANFRAC_Q): Likewise.
5539 (ISA_BIT): Add exception support if we are being compiled on a
5540 machine with hardware floating point support to build the IEEE
5541 128-bit emulation functions.
5542 (FP_EX_INVALID): Likewise.
5543 (FP_EX_OVERFLOW): Likewise.
5544 (FP_EX_UNDERFLOW): Likewise.
5545 (FP_EX_DIVZERO): Likewise.
5546 (FP_EX_INEXACT): Likewise.
5547 (FP_EX_ALL): Likewise.
5548 (__sfp_handle_exceptions): Likewise.
5549 (FP_HANDLE_EXCEPTIONS): Likewise.
5550 (FP_RND_NEAREST): Likewise.
5551 (FP_RND_ZERO): Likewise.
5552 (FP_RND_PINF): Likewise.
5553 (FP_RND_MINF): Likewise.
5554 (FP_RND_MASK): Likewise.
5555 (_FP_DECL_EX): Likewise.
5556 (FP_INIT_ROUNDMODE): Likewise.
5557 (FP_ROUNDMODE): Likewise.
5558
5559 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5560 VSX code, enable IEEE 128-bit floating point. If the compiler can
5561 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5562 floating point hardware instructions and it supports declaring
5563 functions with the ifunc attribute, enable ifunc functions to
5564 switch between software and hardware support.
5565 * configure.ac (powerpc*-*-linux*): Likewise.
5566 * configure: Regenerate.
5567
bdc27e50
NC
55682016-01-15 Nick Clifton <nickc@redhat.com>
5569
5570 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5571 dependency as the source file to be compiled.
5572 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5573 (lib2hw_mul_f5.o): Likewise.
5574
006df05d
MM
55752016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5576
5577 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5578 * libgcc/config/rs6000/fixkfti.c: Likewise.
5579 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5580 * libgcc/config/rs6000/float128-hw.c: Likewise.
5581 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5582 * libgcc/config/rs6000/float128-sed: Likewise.
5583 * libgcc/config/rs6000/floattikf.c: Likewise.
5584 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5585 * libgcc/config/rs6000/quad-float128.h: Likewise.
5586 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5587 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5588 * libgcc/config/rs6000/t-float128: Likewise.
5589 * libgcc/config/rs6000/t-float128-hw: Likewise.
5590 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5591 * libgcc/config.host: Likewise.
5592 * libgcc/configure: Likewise.
5593 * libgcc/configure.ac: Likewise.
5594
29176d57 55952016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5596 Steven Munroe <munroesj@linux.vnet.ibm.com>
5597 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5598
5599 * config/rs6000/sfp-exceptions.c: New file to provide exception
5600 support for IEEE 128-bit floating point.
5601
5602 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5603 floating point hardware support.
5604
5605 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5606 point conversions.
5607 * config/rs6000/fixunskfti.c: Likewise.
5608 * config/rs6000/fixkfti.c: Likewise.
5609 * config/rs6000/floatuntikf.c: Likewise.
5610 * config/rs6000/extendkftf2-sw.c: Likewise.
5611 * config/rs6000/trunctfkf2-sw.c: Likewise.
5612
5613 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5614 128-bit floating point software emulation or use ISA 3.0 hardware
5615 support if it is available.
5616
5617 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5618 floating point.
5619
5620 * config/rs6000/t-float128: New Makefile fragments to enable
5621 building __float128 emulation support.
5622 * config/rs6000/t-float128-hw: Likewise.
5623
5624 * config/rs6000/float128-sed: New file to convert TF names to KF
5625 names for PowerPC IEEE 128-bit floating point support.
5626
5627 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5628 when building on 64-bit systems, or when VSX is enabled.
5629 (_FP_W_TYPE): Likewise.
5630 (_FP_WS_TYPE): Likewise.
5631 (_FP_I_TYPE): Likewise.
5632 (TItype): Define on 64-bit systems.
5633 (UTItype): Likewise.
5634 (TI_BITS): Likewise.
5635 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5636 (_FP_MUL_MEAT_Q): Likewise.
5637 (_FP_DIV_MEAT_D): Likewise.
5638 (_FP_DIV_MEAT_Q): Likewise.
5639 (_FP_NANFRAC_D): Likewise.
5640 (_FP_NANFRAC_Q): Likewise.
5641 (ISA_BIT): Add exception support if we are being compiled on a
5642 machine with hardware floating point support to build the IEEE
5643 128-bit emulation functions.
5644 (FP_EX_INVALID): Likewise.
5645 (FP_EX_OVERFLOW): Likewise.
5646 (FP_EX_UNDERFLOW): Likewise.
5647 (FP_EX_DIVZERO): Likewise.
5648 (FP_EX_INEXACT): Likewise.
5649 (FP_EX_ALL): Likewise.
5650 (__sfp_handle_exceptions): Likewise.
5651 (FP_HANDLE_EXCEPTIONS): Likewise.
5652 (FP_RND_NEAREST): Likewise.
5653 (FP_RND_ZERO): Likewise.
5654 (FP_RND_PINF): Likewise.
5655 (FP_RND_MINF): Likewise.
5656 (FP_RND_MASK): Likewise.
5657 (_FP_DECL_EX): Likewise.
5658 (FP_INIT_ROUNDMODE): Likewise.
5659 (FP_ROUNDMODE): Likewise.
5660
5661 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5662 compiler can do __float128.
5663 * configure: Regenerate.
5664
5665 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5666 VSX code, enable IEEE 128-bit floating point.
5667
a2218983
OH
56682016-01-05 Olivier Hainque <hainque@adacore.com>
5669
5670 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5671 specificities.
a2218983 5672
818ab71a
JJ
56732016-01-04 Jakub Jelinek <jakub@redhat.com>
5674
5675 Update copyright years.
5676
5a6c8ffa
AP
56772015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5678
5679 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5680 soft-fp targets.
5a6c8ffa 5681
077067a5
BE
56822015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5683
5684 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5685 instead of abort to avoid dependency on stdlib.h.
5686
787c1027
JDA
56872015-12-09 John David Anglin <danglin@gcc.gnu.org>
5688
5689 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5690 to initialize call to __dl_fixup once.
5691
04a9ae28
NC
56922015-12-04 Nick Clifton <nickc@redhat.com>
5693
5694 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5695 Allow for the second argument being negative.
5696 * config.host (extra_parts): Define for MSP430. Create separate
5697 libraries for each of the hardware multiply formats.
5698 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5699 that are needed.
5700 * config/msp430/lib2mul.c: Likewise.
5701 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5702 Add rules to build hardware multiply libraries.
5703 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5704 __mspabi_divul function.
5705 (__mspabi_divllu): New stub function.
5706
9a32d437
JDA
57072015-12-01 John David Anglin <danglin@gcc.gnu.org>
5708
5709 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5710 fixup values if saved GOT address doesn't match runtime address.
5711 (fixup_branch_offset): Reorder list.
5712
e5ef217c
RO
57132015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5714
5715 * Makefile.in (VTV_CFLAGS): New variable.
5716 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5717 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5718 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5719 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5720 to extra_parts if $enable_vtable_verify = yes.
5721
78cc43a2
SN
57222015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5723
5724 PR target/68059
5725 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5726 (write): ...this and fix the return type.
5727
9afebea2
DD
57282015-11-19 DJ Delorie <dj@redhat.com>
5729
5730 * config/msp430/lib2hw_mul.S: Fix alignment.
5731
33f47f42
NS
57322015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5733
5734 * config/nvptx/reduction.c: New.
5735 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5736
d9adb476
DE
57372015-11-15 David Edelsohn <dje.gcc@gmail.com>
5738
5739 * config/rs6000/on_exit.c: New file.
5740 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5741 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5742
c0ab1970
CZ
57432015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5744
5745 * config/arc/dp-hack.h: Add support for ARCHS.
5746 * config/arc/ieee-754/divdf3.S: Likewise.
5747 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5748 * config/arc/ieee-754/muldf3.S: Likewise.
5749 * config/arc/ieee-754/mulsf3.S: Likewise
5750 * config/arc/lib1funcs.S: Likewise
5751 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5752 for ARCv2 cores.
5753 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5754 for ARCv2 cores.
5755 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5756 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5757 cores.
5758
e6b6bf09
RO
57592015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5760
5761 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5762 value.
5763 * config/ia64/crtend.S: Likewise.
5764
a153644f
TS
57652015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5766
5767 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5768 __CHAR_BIT__ instead of BITS_PER_UNIT.
5769 * fixed-bit.h: Likewise.
5770 * fp-bit.h: Likewise.
5771 * libgcc2.c (__popcountSI2): Likewise.
5772 (__popcountDI2): Likewise.
5773 * libgcc2.h: Likewise.
5774 * libgcov.h: Likewise.
5775
3dee689d
DE
57762015-11-07 David Edelsohn <dje.gcc@gmail.com>
5777
5778 * config/rs6000/atexit.c: New file.
5779 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5780 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5781 * config/rs6000/cxa_finalize.c
5782 (catomic_compare_and_exchange_bool_acq): Negate return value.
5783
2ef543e4
VK
57842015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5785
5786 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5787 (processor_subtypes): Add znver1.
5788 (get_amd_cpu): Detect znver1.
5789
1300f017
CL
57902015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5791
5792 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5793 Include crtfastmath.o.
5794
3e5bb7ee
JR
57952015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5796
5797 PR libgcc/66883
5798 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5799
793aa938
KP
58002015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5801
5802 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5803 * config/rl78/divmodsi.S: Update return register to r8.
5804 * config/rl78/divmodhi.S: Update return register to r8,r9.
5805 Branch to main_loop_done_himode to pop registers before return.
5806
7d296953 58072015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5808
5809 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5810 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5811
6a192b5a
KY
58122015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5813
5814 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5815
4a0a9457
MF
58162015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5817
5818 * config.host (xtensa*-*-uclinux*): New configuration.
5819
ab91c076
KY
58202015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5821
385c7747 5822 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5823 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5824
30954527
JM
58252015-09-28 Joseph Myers <joseph@codesourcery.com>
5826
5827 * soft-fp/adddf3.c: Update from glibc.
5828 * soft-fp/addsf3.c: Likewise.
5829 * soft-fp/addtf3.c: Likewise.
5830 * soft-fp/divdf3.c: Likewise.
5831 * soft-fp/divsf3.c: Likewise.
5832 * soft-fp/divtf3.c: Likewise.
5833 * soft-fp/double.h: Likewise.
5834 * soft-fp/eqdf2.c: Likewise.
5835 * soft-fp/eqsf2.c: Likewise.
5836 * soft-fp/eqtf2.c: Likewise.
5837 * soft-fp/extenddftf2.c: Likewise.
5838 * soft-fp/extended.h: Likewise.
5839 * soft-fp/extendsfdf2.c: Likewise.
5840 * soft-fp/extendsftf2.c: Likewise.
5841 * soft-fp/extendxftf2.c: Likewise.
5842 * soft-fp/fixdfdi.c: Likewise.
5843 * soft-fp/fixdfsi.c: Likewise.
5844 * soft-fp/fixdfti.c: Likewise.
5845 * soft-fp/fixsfdi.c: Likewise.
5846 * soft-fp/fixsfsi.c: Likewise.
5847 * soft-fp/fixsfti.c: Likewise.
5848 * soft-fp/fixtfdi.c: Likewise.
5849 * soft-fp/fixtfsi.c: Likewise.
5850 * soft-fp/fixtfti.c: Likewise.
5851 * soft-fp/fixunsdfdi.c: Likewise.
5852 * soft-fp/fixunsdfsi.c: Likewise.
5853 * soft-fp/fixunsdfti.c: Likewise.
5854 * soft-fp/fixunssfdi.c: Likewise.
5855 * soft-fp/fixunssfsi.c: Likewise.
5856 * soft-fp/fixunssfti.c: Likewise.
5857 * soft-fp/fixunstfdi.c: Likewise.
5858 * soft-fp/fixunstfsi.c: Likewise.
5859 * soft-fp/fixunstfti.c: Likewise.
5860 * soft-fp/floatdidf.c: Likewise.
5861 * soft-fp/floatdisf.c: Likewise.
5862 * soft-fp/floatditf.c: Likewise.
5863 * soft-fp/floatsidf.c: Likewise.
5864 * soft-fp/floatsisf.c: Likewise.
5865 * soft-fp/floatsitf.c: Likewise.
5866 * soft-fp/floattidf.c: Likewise.
5867 * soft-fp/floattisf.c: Likewise.
5868 * soft-fp/floattitf.c: Likewise.
5869 * soft-fp/floatundidf.c: Likewise.
5870 * soft-fp/floatundisf.c: Likewise.
5871 * soft-fp/floatunditf.c: Likewise.
5872 * soft-fp/floatunsidf.c: Likewise.
5873 * soft-fp/floatunsisf.c: Likewise.
5874 * soft-fp/floatunsitf.c: Likewise.
5875 * soft-fp/floatuntidf.c: Likewise.
5876 * soft-fp/floatuntisf.c: Likewise.
5877 * soft-fp/floatuntitf.c: Likewise.
5878 * soft-fp/gedf2.c: Likewise.
5879 * soft-fp/gesf2.c: Likewise.
5880 * soft-fp/getf2.c: Likewise.
5881 * soft-fp/ledf2.c: Likewise.
5882 * soft-fp/lesf2.c: Likewise.
5883 * soft-fp/letf2.c: Likewise.
5884 * soft-fp/muldf3.c: Likewise.
5885 * soft-fp/mulsf3.c: Likewise.
5886 * soft-fp/multf3.c: Likewise.
5887 * soft-fp/negdf2.c: Likewise.
5888 * soft-fp/negsf2.c: Likewise.
5889 * soft-fp/negtf2.c: Likewise.
5890 * soft-fp/op-1.h: Likewise.
5891 * soft-fp/op-2.h: Likewise.
5892 * soft-fp/op-4.h: Likewise.
5893 * soft-fp/op-8.h: Likewise.
5894 * soft-fp/op-common.h: Likewise.
5895 * soft-fp/quad.h: Likewise.
5896 * soft-fp/single.h: Likewise.
5897 * soft-fp/soft-fp.h: Likewise.
5898 * soft-fp/subdf3.c: Likewise.
5899 * soft-fp/subsf3.c: Likewise.
5900 * soft-fp/subtf3.c: Likewise.
5901 * soft-fp/truncdfsf2.c: Likewise.
5902 * soft-fp/trunctfdf2.c: Likewise.
5903 * soft-fp/trunctfsf2.c: Likewise.
5904 * soft-fp/trunctfxf2.c: Likewise.
5905 * soft-fp/unorddf2.c: Likewise.
5906 * soft-fp/unordsf2.c: Likewise.
5907 * soft-fp/unordtf2.c: Likewise.
5908
4dfe21ac
RE
59092015-09-24 Richard Earnshaw <rearnsha@arm.com>
5910
5911 PR libgcc/67624
5912 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5913
df2a1cc4
RO
59142015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5915
5916 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5917 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5918 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5919 messages.
5920 (internal_mcount): Likewise.
5921 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5922 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5923
2d110442
RO
59242015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5925
5926 * configure.ac (libgcc_cv_solaris_crts): New test.
5927 * configure: Regenerate.
5928 * config.in: Regenerate.
5929 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5930 * config/gmon-sol2.c: Rename to ...
5931 * config/sol2/gmon.c: ... this.
5932 Include auto-target.h.
5933 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5934 * config/t-sol2: Rename to ...
5935 * config/sol2/t-sol2: ... this.
5936 (gmon.o): Reflect renaming.
5937 (crtp.o, crtpg.o): New rules.
5938 * config.host (*-*-solaris2*): Reflect renaming.
5939 Use system CRTs if present.
5940 Remove default CRT case.
5941
d572e439
JDA
59422015-09-23 John David Anglin <danglin@gcc.gnu.org>
5943
5944 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5945 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5946 __kernel_cmpxchg2.
5947 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5948 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5949 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5950 (__sync_lock_test_and_set_##WIDTH): Likewise.
5951 (__sync_lock_release_##WIDTH): Likewise.
5952 (__sync_fetch_and_##OP##_4): Change result to match type of
5953 __kernel_cmpxchg.
5954 (__sync_##OP##_and_fetch_4): Likewise.
5955 (__sync_val_compare_and_swap_4): Likewise.
5956 (__sync_bool_compare_and_swap_4): likewise.
5957 (__sync_lock_test_and_set_4): Likewise.
5958 (__sync_lock_release_4): Likewise.
5959 (FETCH_AND_OP_2): Add long long variants.
5960 (OP_AND_FETCH_2): Likewise.
5961 (COMPARE_AND_SWAP_2 ): Likewise.
5962 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5963 (SYNC_LOCK_RELEASE_2): Likewise.
5964 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5965
7d296953 59662015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5967
5968 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5969 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5970 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5971 (get_available_features): Habdle new features.
5972
131314e1
JB
59732015-09-21 James Bowman <james.bowman@ftdichip.com>
5974
5975 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5976 memory layout. Deal correctly with BSS region larger than 32K.
5977 Handle a watchdog reset like a power-on reset. Clean up unused
5978 code.
5979
04218b35
AD
59802015-09-18 Andrew Dixie <andrewd@gentrack.com>
5981 David Edelsohn <dje.gcc@gmail.com>
5982
5983 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5984 * config/rs6000/crtdbase.S: New file.
5985 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5986
c8338173
MF
59872015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5988
5989 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5990 Add support for call0 ABI.
5991
7a84bf71
JDA
59922015-09-13 John David Anglin <danglin@gcc.gnu.org>
5993
5994 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5995
4efab402
SH
59962015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5997
5998 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5999 (__GTHREAD_HAS_COND): Likewise.
6000 (__gthread_t): Likewise.
6001 (__gthread_cond_t): Likewise.
6002 (__gthread_time_t): Likewise.
6003 (__GTHREAD_MUTEX_INIT): Likewise.
6004 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6005 (__GTHREAD_COND_INIT): Likewise.
6006 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6007 (__GTHREAD_TIME_INIT): Likewise.
6008 (__gthread_create): Likewise.
6009 (__gthread_join): Likewise.
6010 (__gthread_detach): Likewise.
6011 (__gthread_equal): Likewise.
6012 (__gthread_self): Likewise.
6013 (__gthread_yield): Likewise.
6014 (__gthread_cond_broadcast): Likewise.
6015 (__gthread_cond_signal): Likewise.
6016 (__gthread_cond_wait): Likewise.
6017 (__gthread_cond_timedwait): Likewise.
6018 (__gthread_cond_wait_recursive): Likewise.
6019 (__gthread_cond_destroy): Likewise.
6020 (rtems_gxx_once): Delete.
6021 (rtems_gxx_key_create): Likewise.
6022 (rtems_gxx_key_delete): Likewise.
6023 (rtems_gxx_getspecific): Likewise.
6024 (rtems_gxx_setspecific): Likewise.
6025 (rtems_gxx_mutex_init): Likewise.
6026 (rtems_gxx_mutex_destroy): Likewise.
6027 (rtems_gxx_mutex_lock): Likewise.
6028 (rtems_gxx_mutex_trylock): Likewise.
6029 (rtems_gxx_mutex_unlock): Likewise.
6030 (rtems_gxx_recursive_mutex_init): Likewise.
6031 (rtems_gxx_recursive_mutex_lock): Likewise.
6032 (rtems_gxx_recursive_mutex_trylock): Likewise.
6033 (rtems_gxx_recursive_mutex_unlock): Likewise.
6034 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6035 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6036 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6037 (__gthread_once): Likewise.
6038 (__gthread_key_create): Likewise.
6039 (__gthread_key_delete): Likewise.
6040 (__gthread_getspecific): Likewise.
6041 (__gthread_setspecific): Likewise.
6042 (__gthread_key_t): Use <pthread.h> type.
6043 (__gthread_once_t): Likewise
6044 (__gthread_mutex_t): Use <sys/lock.h> type.
6045 (__gthread_recursive_mutex_t): Likewise
6046 (__gthread_mutex_lock): Use <sys/lock.h> function.
6047 (__gthread_mutex_trylock): Likewise.
6048 (__gthread_mutex_timedlock): Likewise.
6049 (__gthread_mutex_unlock): Likewise.
6050 (__gthread_mutex_destroy): Likewise.
6051 (__gthread_recursive_mutex_lock): Likewise.
6052 (__gthread_recursive_mutex_trylock): Likewise.
6053 (__gthread_recursive_mutex_timedlock): Likewise.
6054 (__gthread_recursive_mutex_unlock): Likewise.
6055 (__gthread_recursive_mutex_destroy): Likewise.
6056
991995c4
MF
60572015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6058
6059 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6060 context->sp instead of context->cfa.
6061
0e19db59
MF
60622015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6063
6064 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6065 with unwind-dw2-fde-dip.
6066
b6ac5f62
MF
60672015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6068
6069 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6070 CALL12 followed by series of ENTRY to spill windowed registers.
6071 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6072 instead of making linux spill syscall.
6073
3e0f3349
YR
60742015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6075
6076 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6077 (get_intel_cpu): Likewise.
6078
51c728b1
L
60792015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6080
6081 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6082 (get_intel_cpu): Add Knights Landing support.
6083
aff4eeac
UB
60842015-08-11 Uros Bizjak <ubizjak@gmail.com>
6085
6086 PR target/66954
6087 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6088 (get_available_features): Handle FEATURE_PCLMUL.
6089
736e56da
L
60902015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6091
6092 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6093 Broadwell.
6094
54d22142
UB
60952015-07-22 Uros Bizjak <ubizjak@gmail.com>
6096
6097 PR target/66954
6098 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6099 (get_available_features): Handle FEATURE_AES.
6100
20ca17e4
CLT
61012015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6102
6103 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6104 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6105
ebe4a560
NS
61062015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6107
6108 * offloadstuff.c: Constify host data.
6109
180744c0
JB
61102015-07-17 Jan Beulich <jbeulich@suse.com>
6111
6112 * config/t-softfp: Split up "else ifneq".
6113
a03c6ae3
SL
61142015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6115 Cesar Philippidis <cesar@codesourcery.com>
6116 Chung-Lin Tang <cltang@codesourcery.com>
6117
6118 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6119 for __nios2_arch__ level.
6120
73358db5
JM
61212015-07-13 John Marino <gnugcc@marino.st>
6122
6123 * config/i386/t-dragonfly: New.
6124
f9a12f7b
JDA
61252015-07-01 John David Anglin <danglin@gcc.gnu.org>
6126
6127 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6128 better match light-weight syscall argument order.
6129 (__kernel_cmpxchg2): Likewise.
6130 Adjust callers.
6131
cb78b51c
L
61322015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6133
6134 * config.host: Support i[34567]86-*-elfiamcu target.
6135 * config/t-softfp-sfdftf: New file.
6136 * config/i386/32/t-iamcu: Likewise.
6137 * configure: Regenerated.
6138
4fa0f9ea
JL
61392015-06-23 James Lemke <jwlemke@codesourcery.com>
6140
6141 libgcc/config/arm/
6142 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6143
428b3812
L
61442015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6145
6146 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6147
7d296953 61482015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6149
6150 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6151 md_unwind_header
6152 * config/i386/freebsd-unwind.h: New.
6153
9b789cc1
UB
61542015-05-22 Uros Bizjak <ubizjak@gmail.com>
6155
6156 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6157 i386/t-crtfm to tmake_file.
6158 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6159 (set_fast_math): Use set_fast_math_sse for SSE targets.
6160 * config/i386/t-crtfm: Remove.
6161
3dafb220
AM
61622015-05-21 Alan Modra <amodra@gmail.com>
6163
6164 PR libgcc/66225
6165 * config/rs6000/morestack.S: Remove ".abiversion 1".
6166
0f0fd745
AM
61672015-05-20 Alan Modra <amodra@gmail.com>
6168
6169 * config/rs6000/morestack.S: New.
6170 * config/rs6000/t-stack-rs6000: New.
6171 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6172 to tmake_file.
6173 * generic-morestack.c: Don't build for powerpc 32-bit.
6174
515ae71b
EB
61752015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6176
6177 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6178 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6179
36805406
JL
61802015-05-16 James Bowman <james.bowman@ftdichip.com>
6181
6182 * config.host: FT32 target added.
6183 * config/ft32/*: New files for FT32 target.
6184
ff935d0c
MG
61852015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6186
385c7747
UB
6187 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6188 New macros.
6189 * config/arm/ieee754-df.S: Add CFI directives.
6190 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6191
9b92a9f3
EB
61922015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6193
6194 * configure.ac: Include config/sjlj.m4.
6195 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6196 * config.in: Regenerate.
6197 * configure: Likewise.
6198 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6199
98b5dc61
UB
62002015-05-12 Uros Bizjak <ubizjak@gmail.com>
6201
6202 * libgcov-util.c: Add space between string literal and macro name.
6203
5a0ff57c
SL
62042015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6205 Chris Jones <chrisj@nvidia.com>
6206 Joshua Conner <jconner@nvidia.com>
6207
6208 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6209 (arm*-*-uclinux*): Likewise.
6210 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6211 * config/arm/crtfastmath.c: New file.
6212
d28ad5d4
BS
62132014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6214
6215 * Makefile.in (real_host_noncanonical): New variable.
6216 (libsubdir): Use it.
6217 * configure.ac (real_host_noncanonical): Compute. Remove special
6218 case for intelmicemul.
6219 * configure: Regenerate.
6220
cc86234f
UB
62212015-04-28 Uros Bizjak <ubizjak@gmail.com>
6222
6223 * config/frv/elf-lib.h: New file.
6224 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6225 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6226 to tm_file.
6227
62282015-04-28 Uros Bizjak <ubizjak@gmail.com>
6229
6230 * config/frv/frvbengin.c: Do not include defaults.h
6231 * config/frv/frvend.c: Ditto.
6232
2f6bd6eb
YS
62332015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6234
6235 * config.host: Add h8300-*-linux
6236 * config/h8300/t-linux: New file.
6237 * config/h8300/lib1funs.s: Change symbol prefix.
6238 * config/h8300/sfp-machine.h: 64bit double support.
6239
15aa7b44
GR
62402015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6241 Szabolcs Nagy <szabolcs.nagy@arm.com>
6242
6243 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6244 Linux if target provides dl_iterate_phdr.
6245
abd0cdc9
L
62462015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6247
6248 PR target/65612
6249 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6250 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6251 (__cpu_indicator_init@GCC_4.8.0): New.
6252 (__cpu_model@GCC_4.8.0): Likewise.
6253 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6254 -DUSE_ELF_SYMVER.
6255
72ed1126
NC
62562015-04-16 Nick Clifton <nickc@redhat.com>
6257
6258 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6259 and __modhi3 functions.
6260 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6261 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6262
d26b2237
CG
62632015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6264
6265 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6266 do-while loop as macro body to avoid warnings.
6267
cacf1f59
JJ
62682015-04-10 Jakub Jelinek <jakub@redhat.com>
6269 Iain Sandoe <iain@codesourcery.com>
6270
6271 PR target/65351
6272 * configure: Regenerate.
6273
e8a4ed3b
JJ
62742015-04-07 Jakub Jelinek <jakub@redhat.com>
6275 Iain Sandoe <iain@codesourcery.com>
6276
6277 PR target/65351
6278 * configure: Regenerate.
6279
0341335e
CLT
62802015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6281
6282 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6283
590e2636 62842015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6285
590e2636
MF
6286 Implement call0 ABI for xtensa
6287 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6288 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6289 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6290 use ret in call0 ABI.
6291 * config/xtensa/t-windowed: New file.
6292 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6293 * libgcc/configure: Regenerated.
6294 * libgcc/configure.ac: Check if xtensa target is configured for
6295 windowed ABI and thus needs to use custom unwind code.
6296
7727f8f2
JW
62972015-02-12 Jonathan Wakely <jwakely@redhat.com>
6298
6299 PR libgcc/64885
6300 * gthr-single.h: Use __unused__ attribute instead of unused.
6301 * config/gthr-vxworks.h: Likewise.
6302 * config/i386/gthr-win32.h: Likewise.
6303
0e4a0def
KT
63042015-02-27 Kai Tietz <ktietz@redhat.com>
6305
6306 PR target/65038
6307 * config.in: Regenerated.
6308 * configure: Likewise.
6309 * configure.ac (AC_HEADER_STDC): Added explicit.
6310 (AC_CHECK_HEADERS): Check for default headers plus
6311 for ftw.h header.
6312 * libgcov-util.c (gcov_read_profile_dir): Disable use
6313 of ftw-function, if header is not found.
6314 (ftw_read_file): Likewise.
6315
b6530d0a
TS
63162015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6317
6318 PR target/65181
6319 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6320 -Dinhibit_libc.
6321
53cfb467
SL
63222015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6323
6324 * config/arm/bpabi.S (test_div_by_zero): Make label names
6325 consistent between thumb2 and arm mode cases. Separate the
6326 signed comparison on the high word of the numerator from the
6327 unsigned comparison on the low word.
6328 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6329 signed comparison.
6330
77d10a1b
JM
63312015-02-17 Joseph Myers <joseph@codesourcery.com>
6332
6333 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6334 and <string.h>.
6335 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6336
98174188
RE
63372015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6338
6339 PR gcov-profile/61889
471274de 6340 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6341
771bef14
NC
63422015-02-02 Nick Clifton <nickc@redhat.com>
6343
6344 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6345 rounding up the fraction.
6346
40702893
JDA
63472015-01-31 John David Anglin <danglin@gcc.gnu.org>
6348
6349 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6350 oldval and newval to const void *. Fix typo.
6351 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6352 (FETCH_AND_OP_WORD): Likewise.
6353 (OP_AND_FETCH_WORD): Likewise.
6354 (COMPARE_AND_SWAP_2): Likewise.
6355 (__sync_val_compare_and_swap_4): Likewise.
6356 (__sync_lock_test_and_set_4): Likewise.
6357 (SYNC_LOCK_RELEASE_2): Likewise.
6358 Remove support for long long atomic operations.
6359
f7f049fa
CT
63602015-01-27 Caroline Tice <cmtice@google.com>
6361
6362 Committing VTV Cywin/Ming patch for Patrick Wollgast
6363 * Makefile.in: Move rules to build vtv_*.o out of the check
6364 for CUSTOM_CRTSTUFF.
6365 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6366 i[34567]86-*-mingw*)
3d3b561f 6367 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
6368 enable_vtable_verify.
6369
8410904a
NC
63702015-01-27 Nick Clifton <nickc@redhat.com>
6371
6372 * config/rl78/cmpsi2.S: Use function start and end macros.
6373 (__gcc_bcmp): New function.
6374 * config/rl78/lshrsi3.S: Use function start and end macros.
6375 * config/rl78/mulsi3.S: Add support for G10.
6376 (__mulqi3): New function for G10.
6377 * config/rl78/signbit.S: Use function start and end macros.
6378 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6379 fpmath-sf.S.
6380 (LIB2FUNCS_EXCLUDE): Define.
6381 (LIB2FUNCS_ST): Define.
6382 * config/rl78/trampoline.S: Use function start and end macros.
6383 * config/rl78/vregs.h (START_FUNC): New macro.
6384 (START_ANOTHER_FUNC): New macro.
6385 (END_FUNC): New macro.
6386 (END_ANOTHER_FUNC): New macro.
6387 * config/rl78/bit-count.S: New file. Contains assembler
6388 implementations of the bit counting functions: ___clzhi2,
6389 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6390 __paritysi2, __popcounthi2 and __popcountsi2.
6391 * config/rl78/fpbit-sf.S: New file. Contains assembler
6392 implementationas of the math functions: __negsf2, __cmpsf2,
6393 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6394 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6395 * config/rl78/fpmath-sf.S: New file. Contains assembler
6396 implementations of the math functions: __subsf3, __addsf3,
6397 __mulsf3 and __divsf3
6398
f962fbf1
RO
63992015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6400
6401 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6402 Add i386/elf-lib.h to tm_file.
6403 * config/i386/elf-lib.h: Fix comment.
6404 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6405 && __sun__ && __svr4__]: Remove workaround.
6406
939911c5
ASJ
64072015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6408
6409 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6410 FEATURE_BMI2.
6411 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6412
c8f2dff2
L
64132015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 * config/i386/cpuinfo.c (processor_subtypes): Add
6416 INTEL_COREI7_BROADWELL.
6417 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6418 model numbers.
6419
7bbf9734
UB
64202015-01-23 Uros Bizjak <ubizjak@gmail.com>
6421
6422 * config/i386/elf-lib.h: New file.
6423 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6424 Wrap definition in #ifdef __i386__.
6425 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6426 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6427 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6428 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6429 to tm_file.
6430
324820f1
CG
64312015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6432
6433 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6434 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6435
a9ce4e4a
CLT
64362015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6437
6438 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6439 Update rt_sigframe format and address for current Nios II
6440 Linux conventions.
6441
82a19768
AT
64422015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6443
6444 * config.host (arm*-*-freebsd*): Add new configuration for
6445 arm*-*-freebsd*.
6446 * config/arm/freebsd-atomic.c: New file.
6447 * config/arm/t-freebsd: Likewise.
6448 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6449 'PC-relative indirect' OS's.
6450
0969ec7d
EB
64512015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6452
6453 * config.host: Add Visium support.
6454 * config/visium: New directory.
6455
5624e564
JJ
64562015-01-05 Jakub Jelinek <jakub@redhat.com>
6457
6458 Update copyright years.
6459
82f84ecb
MF
64602014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6461
6462 * config.host: Support mipsisa32r6 and mipsisa64r6.
6463 * config/mips/mips16.S: Do not build for R6.
6464
69044fa9
OE
64652014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6466
6467 * config/sh/crt.h: New.
6468 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6469 symbols.
6470 * config/sh/crt1.S: Likewise.
6471
2405e0ea
UB
64722014-12-15 Uros Bizjak <ubizjak@gmail.com>
6473
6474 PR libgcc/63832
6475 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6476 func_ptr *dtor_list temporary variable to avoid "array subscript
6477 is above array bounds" warnings.
6478
7d296953 64792014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
6480
6481 * Makefile.in (with_aix_soname): Define.
6482 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6483 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6484 * configure: Recreate.
6485
a66272f6
OH
64862014-12-05 Olivier Hainque <hainque@adacore.com>
6487
6488 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6489 now provided by defaults.h.
6490
6342b2c5
OE
64912014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6492
7d0ee249 6493 PR target/55351
6342b2c5
OE
6494 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6495 whether it's defined.
6496
c17eac85
IT
64972014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6498
6499 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6500 * config/i386/cpuinfo.c (get_available_features): Detect it.
6501
1025cb6c
TW
65022014-11-27 Tony Wang <tony.wang@arm.com>
6503
6504 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6505 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6506 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6507
d19f2e38
SB
65082014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6509
6510 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6511
17f6e9a3
JDA
65122014-11-24 John David Anglin <danglin@gcc.gnu.org>
6513
6514 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6515 instead.
6516
0cd7c672
GM
65172014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6518 John David Anglin <danglin@gcc.gnu.org>
6519
6520 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6521 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6522 (OP_AND_FETCH_2): Likewise.
6523 (COMPARE_AND_SWAP_2): Likewise.
6524 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6525 (SYNC_LOCK_RELEASE_2): Likewise.
6526 (SUBWORD_SYNC_OP): Remove.
6527 (SUBWORD_VAL_CAS): Likewise.
6528 (SUBWORD_BOOL_CAS): Likewise.
6529 (FETCH_AND_OP_WORD): Update.
6530 Consistently use signed types.
cc86234f 6531
85c64bbe
BS
65322014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6533 Thomas Schwinge <thomas@codesourcery.com>
6534 Ilya Verbin <ilya.verbin@intel.com>
6535 Andrey Turetskiy <andrey.turetskiy@intel.com>
6536
6537 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6538 (crtoffloadend$(objext)): Likewise.
6539 * configure: Regenerate.
6540 * configure.ac (accel_dir_suffix): Compute new variable.
6541 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6542 if enable_offload_targets is not empty.
6543 * offloadstuff.c: New file.
6544
52a1ff8b
NC
65452014-11-13 Nick Clifton <nickc@redhat.com>
6546
6547 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6548 Use START_FUNC and END_FUNC macros to enable linker garbage
6549 collection.
6550 * config/rl78/divmodqi.S: Likewise.
6551 * config/rl78/divmodsi.S: Likewise.
6552 * config/rl78/mulsi3.S: Likewise.
6553 * config/rl78/lib2div.c: Remove G10 functions.
6554 * config/rl78/lib2muls.c: Likewise.
6555 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6556 * config/rl78/vregs.h (START_FUNC): New macro.
6557 (END_FUNC): New macro.
6558
050af144
MF
65592014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6560
6561 * config/mips/mips16.S: Set .module when supported. Update O32
6562 FP64 calling convention and use for FPXX when possible. Add FPXX
6563 calling convention fallback case.
6564
738f2522
BS
65652014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6566
6567 * config.host: Handle nvptx-*-*.
6568 * shared-object.mk (as-flags-$o): Define.
6569 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6570 -xassembler-with-cpp.
6571 * static-object.mk: Identical changes.
6572 * config/nvptx/t-nvptx: New file.
6573 * config/nvptx/crt0.s: New file.
6574 * config/nvptx/free.asm: New file.
6575 * config/nvptx/malloc.asm: New file.
6576 * config/nvptx/realloc.c: New file.
6577
e610393c
JM
65782014-10-30 Joseph Myers <joseph@codesourcery.com>
6579
6580 * Makefile.in (libgcc.map.in): New target.
6581 (libgcc.map): Use libgcc.map.in.
6582 * config/t-softfp (softfp_compat): New variable to be set by
6583 users.
6584 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6585 variables.
6586 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6587 directory.
6588 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6589 that use compat symbols and disable all code unless [SHARED].
6590 * config/t-softfp-compat: New file.
6591 * find-symver.awk: New file.
6592 * configure.ac (--with-glibc-version): New configure option.
6593 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6594 * configure: Regenerate.
6595 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6596 soft-float and e500.
6597
bc1b3a88
JM
65982014-10-29 Joseph Myers <joseph@codesourcery.com>
6599
6600 * config/t-hardfp (hardfp_exclusions): Document new variable for
6601 user to define.
6602 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6603 * config/t-softfp (softfp_extras): Document new variable for user
6604 to define.
6605 (softfp_func_list): Add functions from $(softfp_extras).
6606 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6607 * config.host (powerpc*-*-linux*): For e500v1, use
6608 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6609 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6610 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6611
ef2810c1
JDA
66122014-10-26 John David Anglin <danglin@gcc.gnu.org>
6613
6614 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6615 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6616 memory read accesses are ok.
6617
d80c2bea
JM
66182014-10-25 Joseph Myers <joseph@codesourcery.com>
6619
6620 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6621 * configure: Regenerate.
6622 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6623 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6624 of soft-fp for 32-bit classic hard float. Do not use
6625 t-softfp-excl for soft float.
6626
693b297b
JM
66272014-10-22 Joseph Myers <joseph@codesourcery.com>
6628
6629 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6630 configurations.
6631 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6632 Remove variables.
6633
18a3415e
GJL
66342014-10-22 Georg-Johann Lay <avr@gjlay.de>
6635
6636 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6637 introduced with 2014-10-21 trunk r216525.
6638
c1dd9790 66392014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6640 Vidya Praveen <vidya.praveen@atmel.com>
6641 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6642 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6643 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6644
6645 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6646 order.
6647
6648 Updated library functions for AVRTINY arch.
6649 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6650 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6651 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6652 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6653 wsubi/wadi macors.
6654 (__mulsi3_helper): Update stack, preserve callee saved regs and
6655 argument from stack. Restore callee save registers.
6656 (__mulpsi3): Likewise.
6657 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6658 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6659 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6660 AVRTINY.
6661 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6662 (__do_copy_data): Added new definition for AVRTINY.
6663 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6664 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6665 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6666 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6667 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6668 macors.
18a3415e 6669 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6670 AVRTINY.
6671
18a3415e 6672 Fix broken long multiplication on tiny arch.
c1dd9790 6673
5f606431
JM
66742014-10-09 Joseph Myers <joseph@codesourcery.com>
6675
6676 * soft-fp/double.h: Update from glibc.
6677 * soft-fp/eqdf2.c: Likewise.
6678 * soft-fp/eqsf2.c: Likewise.
6679 * soft-fp/eqtf2.c: Likewise.
6680 * soft-fp/extenddftf2.c: Likewise.
6681 * soft-fp/extended.h: Likewise.
6682 * soft-fp/extendsfdf2.c: Likewise.
6683 * soft-fp/extendsftf2.c: Likewise.
6684 * soft-fp/extendxftf2.c: Likewise.
6685 * soft-fp/gedf2.c: Likewise.
6686 * soft-fp/gesf2.c: Likewise.
6687 * soft-fp/getf2.c: Likewise.
6688 * soft-fp/ledf2.c: Likewise.
6689 * soft-fp/lesf2.c: Likewise.
6690 * soft-fp/letf2.c: Likewise.
6691 * soft-fp/op-1.h: Likewise.
6692 * soft-fp/op-2.h: Likewise.
6693 * soft-fp/op-4.h: Likewise.
6694 * soft-fp/op-8.h: Likewise.
6695 * soft-fp/op-common.h: Likewise.
6696 * soft-fp/quad.h: Likewise.
6697 * soft-fp/single.h: Likewise.
6698 * soft-fp/soft-fp.h: Likewise.
6699 * soft-fp/unorddf2.c: Likewise.
6700 * soft-fp/unordsf2.c: Likewise.
6701 * soft-fp/unordtf2.c: Likewise.
6702 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6703 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6704 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6705 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6706 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6707 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6708 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6709 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6710 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6711 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6712
9b84e7a8
RX
67132014-10-08 Rong Xu <xur@google.com>
6714
6715 * libgcov-util.c (read_gcda_file): Fix format.
6716 (find_match_gcov_info): Ditto.
6717 (calculate_2_entries): New.
6718 (compute_one_gcov): Ditto.
6719 (gcov_info_count_all_cold): Ditto.
6720 (gcov_info_count_all_zero): Ditto.
6721 (extract_file_basename): Ditto.
6722 (get_file_basename): Ditto.
6723 (set_flag): Ditto.
6724 (matched_gcov_info): Ditto.
6725 (calculate_overlap): Ditto.
6726 (gcov_profile_overlap): Ditto.
6727 * libgcov-driver.c (compute_summary): Make
6728 it avavilable for external calls.
6729
fe1090c1
RX
67302014-10-06 Rong Xu <xur@google.com>
6731
6732 * Makefile.in: Ditto.
6733 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6734 (gcov_sort_icall_topn_counter): Ditto.
6735 (gcov_sort_topn_counter_arrays): Ditto.
6736 (dump_one_gcov): Sort indirect_call topn counters.
6737 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6738 function.
6739 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6740 utility function.
6741 (__gcov_indirect_call_topn_profiler): New profiler function.
6742 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6743 * libgcov.h: New decls.
6744
3daa7bbf
TS
67452014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6746
6747 * config.host: Remove support for score-*.
6748
9a79452d
JM
67492014-09-22 Joseph Myers <joseph@codesourcery.com>
6750
6751 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6752 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6753 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6754 __LIBGCC_XF_MANT_DIG__.
6755 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6756 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6757 __LIBGCC_TF_MANT_DIG__.
6758 * libgcc2.c (NOTRUNC): Define in terms of
6759 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6760 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6761
1a849e50
JM
67622014-09-22 Joseph Myers <joseph@codesourcery.com>
6763
6764 PR target/63312
6765 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6766 New macros.
6767
598a1586
HPN
67682014-09-22 Hans-Peter Nilsson <hp@axis.com>
6769
6770 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6771 override USE_PT_GNU_EH_FRAME.
6772 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6773 check USE_EH_FRAME_REGISTRY_ALWAYS against
6774 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6775 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6776 variable for substituted force_explicit_eh_registry.
6777 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6778 * configure.ac (explicit-exception-frame-registration):
6779 New AC_ARG_ENABLE.
6780 * configure: Regenerate.
6781
3a8fe7c6
OH
67822014-09-19 Olivier Hainque <hainque@adacore.com>
6783
6784 * config.host (powerpc-wrs-vxworksmils): New configuration,
6785 same as vxworksae.
6786
dd69f047
JM
67872014-09-18 Joseph Myers <joseph@codesourcery.com>
6788
6789 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6790
e770bfd9
JM
67912014-09-18 Joseph Myers <joseph@codesourcery.com>
6792
6793 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6794 bits not set bits as indicating trapping exceptions.
6795
cadb2b96
NS
67962014-09-17 Nathan sidwell <nathan@acm.org>
6797
6798 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6799 (LIBGCOV_DRIVER): ... here.
6800 * libgcov-driver.c (gcov_master): New.
6801 (gcov_exit): Remove from master chain.
6802 (__gcov_init): Add to master chain if version compatible. Don't
6803 clear the version.
6804 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6805 (gcov_reset_int): Clear master chain, if compatible.
6806 (gcov_dump_int): New internal interface. Dump master chain, if
6807 compatible.
6808 (gcov_dump): Alias for gcov_dump_int.
6809 * libgcov.h (struct gcov_root): Add next and prev fields.
6810 (struct gcov_master): New struct.
6811 (__gcov_master): New.
6812 (gcov_dump_int): Declare.
6813
580d22a3
OH
68142014-09-17 Olivier Hainque <hainque@adacore.com>
6815
6816 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6817 and crtbegin.o + crtend.o to extra_parts.
6818
8cc4b7a2
JM
68192014-09-12 Joseph Myers <joseph@codesourcery.com>
6820
6821 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6822 __LIBGCC_HAS_SF_MODE__.
6823 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6824 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6825 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6826 * config/libbid/bid_gcc_intrinsics.h
6827 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6828 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6829 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6830 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6831 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6832 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6833
ea3f2b24
GJL
68342014-09-11 Georg-Johann Lay <avr@gjlay.de>
6835
6836 PR target/63223
6837 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6838 and R24 as needed. Make work for all devices and .text locations.
6839 (__do_global_ctors, __do_global_dtors): Use word addresses.
6840 (__tablejump__, __tablejump_elpm__): Remove functions.
6841 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6842 Add _tablejump2.
6843 (XICALL, XIJMP): New macros.
6844
b677236a
MS
68452014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6846 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6847
6848 * config.host (aarch64*): Include crtfastmath.o and
6849 t-crtfm.
6850 * config/aarch64/crtfastmath.c: New file.
6851
157e859f
TS
68522014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6853
6854 * config.host: Remove picochip support.
6855 * config/picochip/adddi3.S: Remove.
6856 * config/picochip/ashlsi3.S: Remove.
6857 * config/picochip/ashlsi3.c: Remove.
6858 * config/picochip/ashrsi3.S: Remove.
6859 * config/picochip/ashrsi3.c: Remove.
6860 * config/picochip/clzsi2.S: Remove.
6861 * config/picochip/cmpsi2.S: Remove.
6862 * config/picochip/divmod15.S: Remove.
6863 * config/picochip/divmodhi4.S: Remove.
6864 * config/picochip/divmodsi4.S: Remove.
6865 * config/picochip/lib1funcs.S: Remove.
6866 * config/picochip/longjmp.S: Remove.
6867 * config/picochip/lshrsi3.S: Remove.
6868 * config/picochip/lshrsi3.c: Remove.
6869 * config/picochip/parityhi2.S: Remove.
6870 * config/picochip/popcounthi2.S: Remove.
6871 * config/picochip/setjmp.S: Remove.
6872 * config/picochip/subdi3.S: Remove.
6873 * config/picochip/t-picochip: Remove.
6874 * config/picochip/ucmpsi2.S: Remove.
6875 * config/picochip/udivmodhi4.S: Remove.
6876 * config/picochip/udivmodsi4.S: Remove.
6877
66bb34c0
JM
68782014-09-08 Joseph Myers <joseph@codesourcery.com>
6879
6880 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6881 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6882 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6883 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6884 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6885 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6886 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6887 defined and LIBGCC2_HAS_DF_MODE is defined.
6888 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6889 defined and LIBGCC2_HAS_XF_MODE is defined.
6890 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6891 defined and LIBGCC2_HAS_TF_MODE is defined.
6892
9686a2e6
JM
68932014-09-08 Joseph Myers <joseph@codesourcery.com>
6894
6895 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6896 and ROUND_TOWARDS_ZERO conditionals.
6897
71c3e2ef
NS
68982014-09-07 Nathan sidwell <nathan@acm.org>
6899
6900 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6901 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6902
53d68b9f
JM
69032014-09-05 Joseph Myers <joseph@codesourcery.com>
6904
6905 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6906 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6907 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6908 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6909 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6910 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6911 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6912 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6913 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6914 (DWARF_FRAME_REGISTERS): Change all uses to
6915 __LIBGCC_DWARF_FRAME_REGISTERS__.
6916 (EH_RETURN_STACKADJ_RTX): Change all uses to
6917 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6918 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6919 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6920 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6921 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6922 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6923 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6924 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6925 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6926 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6927 __LIBGCC_STACK_POINTER_REGNUM__.
6928 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6929 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6930 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6931 to __LIBGCC_STACK_POINTER_REGNUM__.
6932 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6933 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6934 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6935 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6936 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6937 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6938 (STACK_POINTER_REGNUM): Change all uses to
6939 __LIBGCC_STACK_POINTER_REGNUM__.
6940 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6941 use to __LIBGCC_STACK_POINTER_REGNUM__.
6942 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6943 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6944 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6945 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6946 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6947 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6948 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6949 to __LIBGCC_STACK_POINTER_REGNUM__.
6950 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6951 Remove conditional definition.
6952 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6953 __LIBGCC_TEXT_SECTION_ASM_OP__.
6954 (EH_FRAME_SECTION_NAME): Change all uses to
6955 __LIBGCC_EH_FRAME_SECTION_NAME__.
6956 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6957 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6958 (CTORS_SECTION_ASM_OP): Change all uses to
6959 __LIBGCC_CTORS_SECTION_ASM_OP__.
6960 (DTORS_SECTION_ASM_OP): Change all uses to
6961 __LIBGCC_DTORS_SECTION_ASM_OP__.
6962 (JCR_SECTION_NAME): Change all uses to
6963 __LIBGCC_JCR_SECTION_NAME__.
6964 (INIT_SECTION_ASM_OP): Change all uses to
6965 __LIBGCC_INIT_SECTION_ASM_OP__.
6966 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6967 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6968 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6969 __LIBGCC_STACK_GROWS_DOWNWARD__.
6970 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6971 __LIBGCC_INIT_SECTION_ASM_OP__.
6972 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6973 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6974 (EH_FRAME_SECTION_NAME): Change all uses to
6975 __LIBGCC_EH_FRAME_SECTION_NAME__.
6976 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6977 definitions. Change all uses to
6978 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6979 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6980 __LIBGCC_STACK_GROWS_DOWNWARD__.
6981 (DWARF_FRAME_REGISTERS): Change all uses to
6982 __LIBGCC_DWARF_FRAME_REGISTERS__.
6983 (EH_RETURN_STACKADJ_RTX): Change all uses to
6984 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6985 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6986 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6987 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6988 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6989 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6990
b20ee094
NS
69912014-09-02 Nathan sidwell <nathan@acm.org>
6992
6993 * libgcov-interface.c (STRONG_ALIAS): New.
6994 (__gcov_flush): Call __gcov_reset_int.
6995 (__gcov_reset): Strong alias for ...
6996 (__gcov_reset_ing): ... this renamed hidden version.
6997 * libgcov.h (__gcov_reset_int): New declaration.
6998
1ac83976
YS
69992014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7000
25efdb9f
YS
7001 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7002 call from here...
7003 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7004 (__dso_handle): Define on Cygwin.
7005 * config/i386/t-cygming (crtbeginS.o): New rule.
7006 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7007
1ac83976
YS
7008 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7009 declaration syntax.
7010
c6f9ea3b
SE
70112014-08-13 Steve Ellcey <sellcey@mips.com>
7012
7013 * crtstuff.c: Undef caddr_t.
7014
5b1ea7c5
SE
70152014-08-12 Steve Ellcey <sellcey@mips.com>
7016
7017 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7018
4303c581
NS
70192014-08-07 Nathan Sidwell <nathan@acm.org>
7020
7021 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7022 (LIBGCOV_DRIVER): ... to here.
7023 * libgcov.h (gcov_do_dump): New #define.
7024 (struct gcov_root): New.
7025 (__gcov_root): New declaration.
7026 (__gcov_dump_one): Declare.
7027 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7028 run_accounted): Delete.
7029 (gcov_compute_histogram): Add LIST argument, adjust.
7030 (compute_summary): Adjust gcov_compute_histogram call.
7031 (gcov_do_dump): Not hidden, static in libgcov.
7032 (gcov_clear): Move to interface.c.
7033 (__gcov_dump_one): New, broken out of ...
7034 (gcov_exit): ... here. Make static.
7035 (__gcov_root): New.
7036 (__gcov_init): Adjust.
7037 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7038 declarations.
7039 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7040 (gcov_clear): Moved from driver.c. Add LIST argument.
7041 (__gcov_reset): Adjust for changed interfaces.
7042 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7043
23742a9e
RAR
70442014-08-04 Rohit <rohitarulraj@freescale.com>
7045
7046 PR target/60102
7047 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 7048 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 7049
b98a872b
NS
70502014-08-01 Nathan Sidwell <nathan@acm.org>
7051
7052 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7053 LIBGCOV_INTERFACE): Reformat.
7054 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7055 IN_GCOV_TOOL.
7056 * libgcov-interface.c: Reformat some comments.
7057 (__gcov_flush_mx): Add declaration. Tidy up definition.
7058
6adaaa1d
AM
70592014-07-31 Alan Modra <amodra@gmail.com>
7060 Peter Bergner <bergner@vnet.ibm.com>
7061
7062 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7063 (pack_ldouble): New function.
7064 (__gcc_qadd): Use it.
7065 (__gcc_qmul): Likewise.
7066 (__gcc_qdiv): Likewise.
7067 (__gcc_qneg): Likewise.
7068 (__gcc_stoq): Likewise.
7069 (__gcc_dtoq): Likewise.
7070
87cb0c0c
UW
70712014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7072
7073 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7074 (__tpf_eh_return): Add original return address as second parameter.
7075 Handle cases where unwinder routines were called directly, instead
7076 of from within the C++ library.
7077
19926161
NS
70782014-07-29 Nathan Sidwell <nathan@acm.org>
7079
7080 * libgcov.h: Move renaming of entry points to lib gcov specific
7081 portion.
7082 (gcov_do_dump): New rename.
7083 (gcov_rewrite): Remove inline, make HIDDEN.
7084 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7085 (gcov_exit_compute_summary): Rename to ...
7086 (compute_summary): ... here. Add LIST argument.
7087 (gcov_exit_merge_gcda): Rename to ...
7088 (merge_one_data): ... here.
7089 (gcov_exit_write_gcda): Rename to ...
7090 (write_one_data): ... here.
7091 (gcov_exit_merge_summary): Rename to ...
7092 (merge_summary): Add RUN_COUNTED argument.
7093 (gcov_exit_dump_gcov): Rename to ...
7094 (dump_one_gcov): Add RUN_COUNTED argument.
7095 (gcov_do_dump): New function, broken out of ...
7096 (gcov_exit): ... here. Call it.
7097
17522262
AG
70982014-07-27 Anthony Green <green@moxielogic.com>
7099
7100 * config.host: Add moxiebox configuration suppport.
7101
6dc33097
NS
71022014-07-27 Nathan Sidwell <nathan@acm.org>
7103
7104 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7105 (struct gcov_filename): ... here. Include buffer and max length
7106 fields.
7107 (gcov_max_filename): Remove.
7108 (gi_filename): Remove.
7109 (gcov_exit_compute_summary): Compute max filename here.
7110 (gcov_exit_merge_gcda): Add filename parm, adjust.
7111 (gcov_exit_merge_summary): Likewise.
7112 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7113 (gcov_exit): Likewise.
7114 (__gcov_init): Don't calculate max length here.
7115 * libgcov_util.c (max_filename_len): Remove.
7116 (read_gcda_file): Don't calculate max length here.
7117 (gcov_read_profile_dir): Don't propagate here.
7118 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7119 struct gcov_filename changes.
7120 (gcov_exit_open_gcda_file): Likewise.
7121
770f687d
NS
71222014-07-25 Nathan Sidwell <nathan@acm.org>
7123
7124 * libgcov-driver.c (set_gcov_dump_complete,
7125 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7126 functions polluting user's namespace.
7127 (gcov_exit): Set variable directly.
7128 (gcov_clear): Reset variable directly.
7129 * libgcov-interface.c (get_gcov_dymp_complete,
7130 reset_gov_dump_complete): Remove declarations.
7131 (__gcov_reset, __gcov_dump): Don't call them.
7132
fabf71ba
DD
71332014-07-24 DJ Delorie <dj@redhat.com>
7134
7135 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7136 (__gcc_deregister_frame): Move logic to detect deregister function
7137 to ...
7138 (__gcc_register_frame): here, so it's consistent with the register
7139 logic.
fabf71ba 7140
d10ee722
NS
71412014-07-23 Nathan Sidwell <nathan@acm.org>
7142
7143 * libgcov-driver.c (set_gcov_list): Remove.
7144 (gcov_list): Make non-static in GCOV_TOOL.
7145 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7146
a4137090
JDA
71472014-07-17 John David Anglin <danglin@gcc.gnu.org>
7148
7149 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7150 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7151 Don't use SYNC_LOCK_RELEASE for int type.
7152
72602c6c
RB
71532014-07-14 Richard Biener <rguenther@suse.de>
7154
7155 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7156
d5313205
RX
71572014-07-11 Rong Xu <xur@google.com>
7158
7159 * libgcov-util.c (gcov_max_filename): Fix declartion.
7160
c77556a5
RX
71612014-07-10 Rong Xu <xur@google.com>
7162
7163 Add gcov-tool: an offline gcda profile processing tool
7164 Support.
7165 * libgcov-driver.c (gcov_max_filename): Make available
7166 to gcov-tool.
7167 * libgcov-merge.c (__gcov_merge_add): Replace
7168 gcov_read_counter() with a Macro.
7169 (__gcov_merge_ior): Ditto.
7170 (__gcov_merge_time_profile): Ditto.
7171 (__gcov_merge_single): Ditto.
7172 (__gcov_merge_delta): Ditto.
7173 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7174 in the utility functions.
7175 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7176 gcov_list object link lists.
7177 (tag_function): Ditto.
7178 (tag_blocks): Ditto.
7179 (tag_arcs): Ditto.
7180 (tag_lines): Ditto.
7181 (tag_counters): Ditto.
7182 (tag_summary): Ditto.
7183 (read_gcda_finalize): Ditto.
7184 (read_gcda_file): Ditto.
7185 (ftw_read_file): Ditto.
7186 (read_profile_dir_init): Ditto.
7187 (gcov_read_profile_dir): Ditto.
7188 (gcov_read_counter_mem): Ditto.
7189 (gcov_get_merge_weight): Ditto.
7190 (merge_wrapper): A wrapper function that calls merging handler.
7191 (gcov_merge): Merge two gcov_info objects with weights.
7192 (find_match_gcov_info): Find the matched gcov_info in the list.
7193 (gcov_profile_merge): Merge two gcov_info object lists.
7194 (__gcov_add_counter_op): Process edge profile counter values.
7195 (__gcov_ior_counter_op): Process IOR profile counter values.
7196 (__gcov_delta_counter_op): Process delta profile counter values.
7197 (__gcov_single_counter_op): Process single profile counter values.
7198 (fp_scale): Callback function for float-point scaling.
cc86234f 7199 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7200 (gcov_profile_scale): Scaling profile counters.
7201 (gcov_profile_normalize): Normalize profile counters.
7202 * libgcov.h: Add headers and functions for gcov-tool use.
7203 (gcov_get_counter): New.
7204 (gcov_get_counter_target): Ditto.
7205 (struct gcov_info): Make the functions field mutable in gcov-tool
7206 compilation.
7207
5c7dac8a
KT
72082014-06-23 Kai Tietz <ktietz@redhat.com>
7209
7210 PR libgcc/61585
7211 * unwind-seh.c (_Unwind_GetGR): Check for proper
7212 index range.
7213 (_Unwind_SetGR): Likewise.
7214
161c9312
NC
72152014-05-22 Nick Clifton <nickc@redhat.com>
7216
7217 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7218 -mhwmult=none.
7219
e3f0315f
TJ
72202014-05-22 Teresa Johnson <tejohnson@google.com>
7221
7222 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7223 include.
7224
dbed5a9b
JM
72252014-05-20 John Marino <gnugcc@marino.st>
7226
7227 * config.host (*-*-dragonfly*): New target.
7228 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7229 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7230 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7231 * config/i386/dragonfly-unwind.h: New.
7232
1ec380e5
MR
72332014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7234
7235 PR libgcc/60166
7236 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7237 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7238
54fde020
BE
72392014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7240
7241 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7242 implementation.
7243
999db125
GJL
72442014-05-12 Georg-Johann Lay <avr@gjlay.de>
7245
7246 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7247
cceaf54a
RO
72482014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7249
7250 PR libgcc/61097
7251 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7252 if --enable-shared.
7253
e3fe9b5b
BE
72542014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7255
7256 Work around for current cygwin32 build problems.
7257 * config/i386/cygming-crtbegin.c (__register_frame_info,
7258 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7259 functions only for 64-bit systems.
7260
54cf37e9
RO
72612014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7262
7263 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7264 (sigill_caught, sigill_hdlr): Remove.
7265
d9f069ab
RO
72662014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7267
7268 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7269 check.
7270 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7271 Solaris 9 single-threaded support.
7272 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7273 Solaris 9 single-threaded support. Add call_user_handler code
7274 sequences.
7275 (sparc_is_sighandler): Likewise.
7276
59976ef8
AK
72772014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7278
7279 * config.host: Append t-floattodi to tmake_file depending on
7280 host_address.
7281
d02bbcf3
JS
72822014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7283
31466bc0 7284 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7285
c2e7e597
UB
72862014-03-10 Uros Bizjak <ubizjak@gmail.com>
7287
7288 PR libgcc/60472
7289 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7290 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7291 Use __builtin_expect when checking *jcr_list for NULL.
7292
227a7dc8
RO
72932014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7294
7295 PR libgcc/59339
7296 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7297 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7298 vtv_*.o to extra_parts if enable_vtable_verify.
7299
df2b279c
NC
73002014-03-06 Nick Clifton <nickc@redhat.com>
7301
7302 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7303 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7304
dc11d79b
JY
73052014-02-28 Joey Ye <joey.ye@arm.com>
7306
7307 PR libgcc/60166
7308 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7309 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7310 Set to zero.
7311
341c653c
WL
73122014-02-24 Walter Lee <walt@tilera.com>
7313
7314 * config.host: Support "tilegx*" and "tilepro*" triplets.
7315 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7316 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7317
95ce7613
CLT
73182014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7319 Chung-Lin Tang <cltang@codesourcery.com>
7320
7321 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7322 * config/nios2/crti.S: Remove .file directive.
7323 * config/nios2/crtn.S: Likewise.
7324
0bb4fc05
KT
73252014-02-18 Kai Tietz <ktietz@redhat.com>
7326 Jonathan Schleifer <js@webkeks.org>
7327
7328 PR objc/56870
7329 * unwind-seh.c (_GCC_specific_handler): Pass proper
7330 value to unwind-handler.
7331
9acf28f1
JM
73322014-02-12 Joseph Myers <joseph@codesourcery.com>
7333
7334 * soft-fp/adddf3.c: Update from glibc.
7335 * soft-fp/addsf3.c: Likewise.
7336 * soft-fp/addtf3.c: Likewise.
7337 * soft-fp/divdf3.c: Likewise.
7338 * soft-fp/divsf3.c: Likewise.
7339 * soft-fp/divtf3.c: Likewise.
7340 * soft-fp/double.h: Likewise.
7341 * soft-fp/eqdf2.c: Likewise.
7342 * soft-fp/eqsf2.c: Likewise.
7343 * soft-fp/eqtf2.c: Likewise.
7344 * soft-fp/extenddftf2.c: Likewise.
7345 * soft-fp/extended.h: Likewise.
7346 * soft-fp/extendsfdf2.c: Likewise.
7347 * soft-fp/extendsftf2.c: Likewise.
7348 * soft-fp/extendxftf2.c: Likewise.
7349 * soft-fp/fixdfdi.c: Likewise.
7350 * soft-fp/fixdfsi.c: Likewise.
7351 * soft-fp/fixdfti.c: Likewise.
7352 * soft-fp/fixsfdi.c: Likewise.
7353 * soft-fp/fixsfsi.c: Likewise.
7354 * soft-fp/fixsfti.c: Likewise.
7355 * soft-fp/fixtfdi.c: Likewise.
7356 * soft-fp/fixtfsi.c: Likewise.
7357 * soft-fp/fixtfti.c: Likewise.
7358 * soft-fp/fixunsdfdi.c: Likewise.
7359 * soft-fp/fixunsdfsi.c: Likewise.
7360 * soft-fp/fixunsdfti.c: Likewise.
7361 * soft-fp/fixunssfdi.c: Likewise.
7362 * soft-fp/fixunssfsi.c: Likewise.
7363 * soft-fp/fixunssfti.c: Likewise.
7364 * soft-fp/fixunstfdi.c: Likewise.
7365 * soft-fp/fixunstfsi.c: Likewise.
7366 * soft-fp/fixunstfti.c: Likewise.
7367 * soft-fp/floatdidf.c: Likewise.
7368 * soft-fp/floatdisf.c: Likewise.
7369 * soft-fp/floatditf.c: Likewise.
7370 * soft-fp/floatsidf.c: Likewise.
7371 * soft-fp/floatsisf.c: Likewise.
7372 * soft-fp/floatsitf.c: Likewise.
7373 * soft-fp/floattidf.c: Likewise.
7374 * soft-fp/floattisf.c: Likewise.
7375 * soft-fp/floattitf.c: Likewise.
7376 * soft-fp/floatundidf.c: Likewise.
7377 * soft-fp/floatundisf.c: Likewise.
7378 * soft-fp/floatunditf.c: Likewise.
7379 * soft-fp/floatunsidf.c: Likewise.
7380 * soft-fp/floatunsisf.c: Likewise.
7381 * soft-fp/floatunsitf.c: Likewise.
7382 * soft-fp/floatuntidf.c: Likewise.
7383 * soft-fp/floatuntisf.c: Likewise.
7384 * soft-fp/floatuntitf.c: Likewise.
7385 * soft-fp/gedf2.c: Likewise.
7386 * soft-fp/gesf2.c: Likewise.
7387 * soft-fp/getf2.c: Likewise.
7388 * soft-fp/ledf2.c: Likewise.
7389 * soft-fp/lesf2.c: Likewise.
7390 * soft-fp/letf2.c: Likewise.
7391 * soft-fp/muldf3.c: Likewise.
7392 * soft-fp/mulsf3.c: Likewise.
7393 * soft-fp/multf3.c: Likewise.
7394 * soft-fp/negdf2.c: Likewise.
7395 * soft-fp/negsf2.c: Likewise.
7396 * soft-fp/negtf2.c: Likewise.
7397 * soft-fp/op-1.h: Likewise.
7398 * soft-fp/op-2.h: Likewise.
7399 * soft-fp/op-4.h: Likewise.
7400 * soft-fp/op-8.h: Likewise.
7401 * soft-fp/op-common.h: Likewise.
7402 * soft-fp/quad.h: Likewise.
7403 * soft-fp/single.h: Likewise.
7404 * soft-fp/soft-fp.h: Likewise.
7405 * soft-fp/subdf3.c: Likewise.
7406 * soft-fp/subsf3.c: Likewise.
7407 * soft-fp/subtf3.c: Likewise.
7408 * soft-fp/truncdfsf2.c: Likewise.
7409 * soft-fp/trunctfdf2.c: Likewise.
7410 * soft-fp/trunctfsf2.c: Likewise.
7411 * soft-fp/trunctfxf2.c: Likewise.
7412 * soft-fp/unorddf2.c: Likewise.
7413 * soft-fp/unordsf2.c: Likewise.
7414 * soft-fp/unordtf2.c: Likewise.
7415 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7416 macro.
7417 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7418 Likewise.
7419 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7420 Likewise.
7421 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7422 Likewise.
7423 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7424 Likewise.
7425 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7426 Likewise.
7427 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7428 Likewise.
7429 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7430 Likewise.
7431 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7432 Likewise.
7433 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7434 Likewise.
7435 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7436 Likewise.
7437 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7438 Likewise.
7439 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7440 Likewise.
7441 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7442 Likewise.
7443 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7444 Likewise.
7445 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7446 Likewise.
7447
ce245ec6
AK
74482014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7449
7450 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7451 cannot be represented.
7452 * config/s390/32/_fixsfdi.c: Likewise.
7453 * config/s390/32/_fixtfdi.c: Likewise.
7454 * config/s390/32/_fixunsdfdi.c: Likewise.
7455 * config/s390/32/_fixunssfdi.c: Likewise.
7456 * config/s390/32/_fixunstfdi.c: Likewise.
7457
1c51d688
RS
74582014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7459
7460 * configure.ac (libgcc_cv_mips_hard_float): New.
7461 * configure: Regenerate.
7462 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7463 t-softfp-sfdf for hard-float targets.
7464 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7465 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7466 (softfp_truncations, softfp_exclude_libgcc2): New.
7467 * config/t-hardfp: New file.
7468 * config/t-hardfp-sfdf: Likewise.
7469 * config/hardfp.c: Likewise.
7470
bbf391db
AK
74712014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7472
7473 * config.host: Include t-floattodi also for s390x.
7474 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7475 * config/s390/32/_fixsfdi.c: Likewise.
7476 * config/s390/32/_fixtfdi.c: Likewise.
7477 * config/s390/32/_fixunsdfdi.c: Likewise.
7478 * config/s390/32/_fixunssfdi.c: Likewise.
7479 * config/s390/32/_fixunstfdi.c: Likewise.
7480
91da0481
RO
74812014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7482
7483 PR target/59788
7484 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7485 (install-libgcc-unwind-map-forbuild): New target.
7486 (all): Depend on install-libgcc-unwind-map-forbuild.
7487 (install-libgcc-unwind-map): New target.
7488 (install): Depend on install-libgcc-unwind-map.
7489
02b67731
SL
74902014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7491
7492 * config/nios2/crti.S (_init): Initialize GOT pointer from
7493 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7494
1ea0a651
RS
74952014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7496
7497 * configure.ac: Check __mips64 when setting host_address.
7498 * configure: Regenerate.
7499 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7500 mips/t-mips64 and t-softfp.
7501 (mips*-*-linux*): Don't add mips/t-tpbit.
7502 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7503 (DPBIT, DPBIT_CFLAGS): Delete.
7504 * config/mips/sfp-machine.h: New file.
7505 * config/mips/t-mips64: Likewise.
7506 * config/mips/t-softfp-tf: Likewise.
7507 * config/mips/t-tpbit: Delete.
7508
f32b0061
MS
75092014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7510
7511 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7512 as long long.
7513
a5420aa4
WL
75142014-01-25 Walter Lee <walt@tilera.com>
7515
7516 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7517 config.h or system.h.
7518 (bool) Define.
7519
24534912
WL
75202014-01-25 Walter Lee <walt@tilera.com>
7521
7522 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7523 (post_atomic_barrier): Ditto.
7524 (__fetch_and_do): New macro.
7525 (__atomic_fetch_and_do): Use __fetch_and_do.
7526 (__sync_fetch_and_do): New macro.
7527 (__sync_fetch_and_add_4): New function.
7528 (__sync_fetch_and_sub_4): New function.
7529 (__sync_fetch_and_or_4): New function.
7530 (__sync_fetch_and_and_4): New function.
7531 (__sync_fetch_and_xor_4): New function.
7532 (__sync_fetch_and_nand_4): New function.
7533 (__sync_fetch_and_add_8): New function.
7534 (__sync_fetch_and_sub_8): New function.
7535 (__sync_fetch_and_or_8): New function.
7536 (__sync_fetch_and_and_8): New function.
7537 (__sync_fetch_and_xor_8): New function.
7538 (__sync_fetch_and_nand_8): New function.
7539 (__do_and_fetch): New macro.
7540 (__atomic_do_and_fetch): Use __do_and_fetch.
7541 (__sync_do_and_fetch): New macro.
7542 (__sync_add_and_fetch_4): New function.
7543 (__sync_sub_and_fetch_4): New function.
7544 (__sync_or_and_fetch_4): New function.
7545 (__sync_and_and_fetch_4): New function.
7546 (__sync_xor_and_fetch_4): New function.
7547 (__sync_nand_and_fetch_4): New function.
7548 (__sync_add_and_fetch_8): New function.
7549 (__sync_sub_and_fetch_8): New function.
7550 (__sync_or_and_fetch_8): New function.
7551 (__sync_and_and_fetch_8): New function.
7552 (__sync_xor_and_fetch_8): New function.
7553 (__sync_nand_and_fetch_8): New function.
7554 (__sync_exchange_methods): New macro.
7555 (__sync_val_compare_and_swap_4): New function.
7556 (__sync_bool_compare_and_swap_4): New function.
7557 (__sync_lock_test_and_test_4): New function.
7558 (__sync_val_compare_and_swap_8): New function.
7559 (__sync_bool_compare_and_swap_8): New function.
7560 (__sync_lock_test_and_test_8): New function.
7561 (__subword_cmpxchg_body): New macro.
7562 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7563 (__atomic_compare_exchange_2): Ditto.
7564 (__sync_subword_cmpxchg): New macro.
7565 (__sync_val_compare_and_swap_1): New function.
7566 (__sync_bool_compare_and_swap_1): New function.
7567 (__sync_val_compare_and_swap_2): New function.
7568 (__sync_bool_compare_and_swap_2): New function.
7569 (__atomic_subword): Rename to ...
7570 (__subword): ... New name.
7571 (__atomic_subword_fetch): Use __subword.
7572 (__sync_subword_fetch): New macro.
7573 (__sync_fetch_and_add_1): New function.
7574 (__sync_fetch_and_sub_1): New function.
7575 (__sync_fetch_and_or_1): New function.
7576 (__sync_fetch_and_and_1): New function.
7577 (__sync_fetch_and_xor_1): New function.
7578 (__sync_fetch_and_nand_1): New function.
7579 (__sync_fetch_and_add_2): New function.
7580 (__sync_fetch_and_sub_2): New function.
7581 (__sync_fetch_and_or_2): New function.
7582 (__sync_fetch_and_and_2): New function.
7583 (__sync_fetch_and_xor_2): New function.
7584 (__sync_fetch_and_nand_2): New function.
7585 (__sync_add_and_fetch_1): New function.
7586 (__sync_sub_and_fetch_1): New function.
7587 (__sync_or_and_fetch_1): New function.
7588 (__sync_and_and_fetch_1): New function.
7589 (__sync_xor_and_fetch_1): New function.
7590 (__sync_nand_and_fetch_1): New function.
7591 (__sync_add_and_fetch_2): New function.
7592 (__sync_sub_and_fetch_2): New function.
7593 (__sync_or_and_fetch_2): New function.
7594 (__sync_and_and_fetch_2): New function.
7595 (__sync_xor_and_fetch_2): New function.
7596 (__sync_nand_and_fetch_2): New function.
7597 (__atomic_subword_lock): Use __subword.
7598 (__sync_subword_lock): New macro.
7599 (__sync_lock_test_and_set_1): New function.
7600 (__sync_lock_test_and_set_2): New function.
7601
4d6d3bc5
WL
76022014-01-25 Walter Lee <walt@tilera.com>
7603
7604 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7605 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7606 (__atomic_subword): Ditto.
7607
cbd9890e
WL
76082014-01-25 Walter Lee <walt@tilera.com>
7609
7610 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7611 a prefix op argument.
7612 (__atomic_nand_fetch_4): Add prefix op.
7613 (__atomic_nand_fetch_8): Ditto.
7614
7d296953 76152014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7616
7617 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7618
46dd1242
L
76192014-01-09 Rong Xu <xur@google.com>
7620
7621 * libgcov-driver.c (this_prg): make it local to save
7622 bss space.
7623 (gcov_exit_compute_summary): Ditto.
7624 (gcov_exit_merge_gcda): Ditto.
7625 (gcov_exit_merge_summary): Ditto.
7626 (gcov_exit_dump_gcov): Ditto.
7627
cc86234f 76282014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7629
7630 * libgcov-driver.c: Use libgcov.h.
7631 (buffer_fn_data): Use xmalloc instead of malloc.
7632 (gcov_exit_merge_gcda): Ditto.
7633 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7634 * libgcov.h: New common header files for libgcov-*.h.
7635 * libgcov-interface.c: Use libgcov.h
7636 * libgcov-merge.c: Ditto.
7637 * libgcov-profiler.c: Ditto.
7638 * Makefile.in: Add dependence to libgcov.h
7639
a02e7bdd
JM
76402014-01-02 Joseph Myers <joseph@codesourcery.com>
7641
7642 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7643 case of small numerator and finite nonzero result.
7644
ac1dca3c
RS
76452014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7646
7647 Update copyright years
7648
f9030485
RS
76492014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7650
7651 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7652 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7653 config/arc/dp-hack.h, config/arc/fp-hack.h,
7654 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7655 config/arc/ieee-754/arc600-dsp/divdf3.S,
7656 config/arc/ieee-754/arc600-dsp/divsf3.S,
7657 config/arc/ieee-754/arc600-dsp/muldf3.S,
7658 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7659 config/arc/ieee-754/arc600-mul64/divdf3.S,
7660 config/arc/ieee-754/arc600-mul64/divsf3.S,
7661 config/arc/ieee-754/arc600-mul64/muldf3.S,
7662 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7663 config/arc/ieee-754/arc600/divsf3.S,
7664 config/arc/ieee-754/arc600/mulsf3.S,
7665 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7666 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7667 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7668 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7669 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7670 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7671 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7672 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7673 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7674 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7675 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7676 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7677 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7678 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7679 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7680 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7681 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7682 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7683 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7684 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7685 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7686 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7687 vtv_start_preinit.c: Use the standard form for the copyright notice.
7688
e430824f
CLT
76892013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7690 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 7691 Based on patches from Altera Corporation
e430824f
CLT
7692
7693 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7694 * config/nios2/lib2-nios2.h: New file.
7695 * config/nios2/lib2-divmod-hi.c: New file.
7696 * config/nios2/linux-unwind.h: New file.
7697 * config/nios2/lib2-divmod.c: New file.
7698 * config/nios2/linux-atomic.c: New file.
7699 * config/nios2/t-nios2: New file.
7700 * config/nios2/crti.asm: New file.
7701 * config/nios2/t-linux: New file.
7702 * config/nios2/lib2-divtable.c: New file.
7703 * config/nios2/lib2-mul.c: New file.
7704 * config/nios2/tramp.c: New file.
7705 * config/nios2/crtn.asm: New file.
7706
1879e97f
UB
77072013-12-26 Uros Bizjak <ubizjak@gmail.com>
7708
7709 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7710 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7711 from cpuid.h to check vendor signatures.
7712
f4a4bdbb
GG
77132013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7714
c2e7e597 7715 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7716 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7717 (get_amd_cpu): Likewise.
7718
8d2ae544
L
77192013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7720
7721 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7722 Haswell.
7723
74924838
ASJ
77242013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7725 H.J. Lu <hongjiu.lu@intel.com>
7726
0bb52f25
L
7727 PR target/59422
7728 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7729 and AMD_JAGUAR.
7730 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7731 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7732 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7733 FEATURE_XOP and FEATURE_FMA.
7734 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7735 AMDFAM15H_BDVER3.
7736 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 7737 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
7738 FEATURE_FMA4 and FEATURE_XOP.
7739
d3c11974
L
77402013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7741
7742 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7743 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7744 (get_intel_cpu): Updated.
7745
064c4ff2
ZC
77462013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7747
7748 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7749
8b02e720
UB
77502013-12-09 Uros Bizjak <ubizjak@gmail.com>
7751
7752 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 7753 instructions when __SSE_MATH__ is defined.
8b02e720 7754
3fa2ccb4
RC
77552013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7756
7757 * config.host (microblaze-*-rtems*): New.
7758
ecd78fc9
KV
77592013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7760
7761 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7762 architectures that do not have hardware divide instruction.
7763 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7764
b21fbbd2
RS
77652013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7766
7767 * longlong.h: Delete (moved to include/).
7768
b03fb8c9
AZ
77692013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7770
7771 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7772 of normal number and qNaN to not raise an inexact exception.
7773
3c716922
UB
77742013-11-28 Uros Bizjak <ubizjak@gmail.com>
7775
7776 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7777
77782013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
7779
7780 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7781 for correct opcodes on BE.
7782
a3458d22
UB
77832013-11-27 Uros Bizjak <ubizjak@gmail.com>
7784
7785 * soft-fp/op-4.h: Update from glibc.
7786
30b8f78b
KV
77872013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7788
7789 * libgcc2.c (__udivmoddi4): Define new implementation when
7790 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7791 divide instructions.
7792
82552a29
OE
77932013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7794
7795 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7796
80e87457
RO
77972013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7798
7799 * config/t-softfp (soft-fp-objects-base): New variable.
7800 (soft-fp-objects): Use it.
7801
44178879
DE
78022013-11-23 David Edelson <dje.gcc@gmail.com>
7803 Andrew Dixie <andrewd@gentrack.com>
7804
7805 PR target/33704
7806 * config/rs6000/aixinitfini.c: New file.
7807 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7808 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7809 symbols.
7810
e5287671
YR
78112013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7812
a3458d22 7813 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7814
867c8b03
JH
78152013-11-18 Jan Hubicka <jh@suse.cz>
7816
7f369373
JH
7817 * libgcov-driver.c (run_accounted): Make global level static.
7818 (gcov_exit_merge_summary): Silence warning; do not clear
7819 run_accounted here.
7820 (gcov_exit): Clear it here.
7821
1d0b3334
JH
7822 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7823 run_accounted.
7824
867c8b03
JH
7825 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7826 (all_prg, crc32): Remove static vars.
7827 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7828 all_prg.
7829 (gcov_exit_merge_gcda): Add crc32 parameter.
7830 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7831 do not account run if it was already accounted.
7832 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7833 (gcov_exit): Initialize all_prg; update.
7834
66204992
AS
78352013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7836
7837 * configure: Regenerate.
7838
b54214fe
UW
78392013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7840 Alan Modra <amodra@gmail.com>
7841
7842 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7843 (frob_update_context): Use it.
7844
78452013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7846 Alan Modra <amodra@gmail.com>
7847
7848 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7849 (trampoline_initial): Provide ELFv2 variant.
7850 (__trampoline_setup): Likewise.
7851
7852 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7853 check for AIX indirect function call sequence if _CALL_ELF == 2.
7854
78552013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7856 Alan Modra <amodra@gmail.com>
7857
7858 * config/rs6000/linux-unwind.h (get_regs): Do not support
7859 old kernel versions if _CALL_ELF == 2.
7860 (frob_update_context): Do not support PLT stub variants only
7861 generated by old linkers if _CALL_ELF == 2.
7862
13e0981a
UW
78632013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7864 Alan Modra <amodra@gmail.com>
7865
7866 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7867 location of CR save area for 64-bit little-endian systems.
7868
1a80085d
EB
78692013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7870
7871 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7872 in tmake_file.
7873 * config/arm/t-vxworks: Delete.
7874
cabeea52
KT
78752013-11-10 Kai Tietz <ktietz@redhat.com>
7876
7877 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7878 Increment load-count on use of LIBGCC_SONAME DLL.
7879 (hmod_libgcc): New static variable to hold handle of
7880 LIBGCC_SONAME DLL.
7881 (__gcc_deregister_frame): Decrement load-count of
7882 LIBGCC_SONAME DLL.
7883
ac088ba1
BRF
78842013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7885
7886 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7887 availability.
7888 * configure: Regenerate
7889
d59a8fcc
UB
78902013-11-07 Uros Bizjak <ubizjak@gmail.com>
7891
7892 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7893 FP_EX_DENORM. Store result to volatile location after SSE division
7894 to close interrupt window. Remove unneeded fwait after x87
7895 division since interrupt window will be closed by emitted fstp.
9de84e84 7896 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7897
9954c743
JM
78982013-11-06 Joseph Myers <joseph@codesourcery.com>
7899
7900 * soft-fp/README: Update.
7901 * soft-fp/adddf3.c: Update from glibc.
7902 * soft-fp/addsf3.c: Likewise.
7903 * soft-fp/addtf3.c: Likewise.
7904 * soft-fp/divdf3.c: Likewise.
7905 * soft-fp/divsf3.c: Likewise.
7906 * soft-fp/divtf3.c: Likewise.
7907 * soft-fp/double.h: Likewise.
7908 * soft-fp/eqdf2.c: Likewise.
7909 * soft-fp/eqsf2.c: Likewise.
7910 * soft-fp/eqtf2.c: Likewise.
7911 * soft-fp/extenddftf2.c: Likewise.
7912 * soft-fp/extended.h: Likewise.
7913 * soft-fp/extendsfdf2.c: Likewise.
7914 * soft-fp/extendsftf2.c: Likewise.
7915 * soft-fp/extendxftf2.c: Likewise.
7916 * soft-fp/fixdfdi.c: Likewise.
7917 * soft-fp/fixdfsi.c: Likewise.
7918 * soft-fp/fixdfti.c: Likewise.
7919 * soft-fp/fixsfdi.c: Likewise.
7920 * soft-fp/fixsfsi.c: Likewise.
7921 * soft-fp/fixsfti.c: Likewise.
7922 * soft-fp/fixtfdi.c: Likewise.
7923 * soft-fp/fixtfsi.c: Likewise.
7924 * soft-fp/fixtfti.c: Likewise.
7925 * soft-fp/fixunsdfdi.c: Likewise.
7926 * soft-fp/fixunsdfsi.c: Likewise.
7927 * soft-fp/fixunsdfti.c: Likewise.
7928 * soft-fp/fixunssfdi.c: Likewise.
7929 * soft-fp/fixunssfsi.c: Likewise.
7930 * soft-fp/fixunssfti.c: Likewise.
7931 * soft-fp/fixunstfdi.c: Likewise.
7932 * soft-fp/fixunstfsi.c: Likewise.
7933 * soft-fp/fixunstfti.c: Likewise.
7934 * soft-fp/floatdidf.c: Likewise.
7935 * soft-fp/floatdisf.c: Likewise.
7936 * soft-fp/floatditf.c: Likewise.
7937 * soft-fp/floatsidf.c: Likewise.
7938 * soft-fp/floatsisf.c: Likewise.
7939 * soft-fp/floatsitf.c: Likewise.
7940 * soft-fp/floattidf.c: Likewise.
7941 * soft-fp/floattisf.c: Likewise.
7942 * soft-fp/floattitf.c: Likewise.
7943 * soft-fp/floatundidf.c: Likewise.
7944 * soft-fp/floatundisf.c: Likewise.
7945 * soft-fp/floatunditf.c: Likewise.
7946 * soft-fp/floatunsidf.c: Likewise.
7947 * soft-fp/floatunsisf.c: Likewise.
7948 * soft-fp/floatunsitf.c: Likewise.
7949 * soft-fp/floatuntidf.c: Likewise.
7950 * soft-fp/floatuntisf.c: Likewise.
7951 * soft-fp/floatuntitf.c: Likewise.
7952 * soft-fp/gedf2.c: Likewise.
7953 * soft-fp/gesf2.c: Likewise.
7954 * soft-fp/getf2.c: Likewise.
7955 * soft-fp/ledf2.c: Likewise.
7956 * soft-fp/lesf2.c: Likewise.
7957 * soft-fp/letf2.c: Likewise.
7958 * soft-fp/muldf3.c: Likewise.
7959 * soft-fp/mulsf3.c: Likewise.
7960 * soft-fp/multf3.c: Likewise.
7961 * soft-fp/negdf2.c: Likewise.
7962 * soft-fp/negsf2.c: Likewise.
7963 * soft-fp/negtf2.c: Likewise.
7964 * soft-fp/op-1.h: Likewise.
7965 * soft-fp/op-2.h: Likewise.
7966 * soft-fp/op-4.h: Likewise.
7967 * soft-fp/op-8.h: Likewise.
7968 * soft-fp/op-common.h: Likewise.
7969 * soft-fp/quad.h: Likewise.
7970 * soft-fp/single.h: Likewise.
7971 * soft-fp/soft-fp.h: Likewise.
7972 * soft-fp/subdf3.c: Likewise.
7973 * soft-fp/subsf3.c: Likewise.
7974 * soft-fp/subtf3.c: Likewise.
7975 * soft-fp/truncdfsf2.c: Likewise.
7976 * soft-fp/trunctfdf2.c: Likewise.
7977 * soft-fp/trunctfsf2.c: Likewise.
7978 * soft-fp/trunctfxf2.c: Likewise.
7979 * soft-fp/unorddf2.c: Likewise.
7980 * soft-fp/unordsf2.c: Likewise.
7981 * soft-fp/unordtf2.c: Likewise.
7982
02ac9503
UB
79832013-11-05 Uros Bizjak <ubizjak@gmail.com>
7984
7985 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7986 (_FP_MUL_MEAT_D): Ditto.
7987 (_FP_DIV_MEAT_S): Ditto.
7988 (_FP_DIV_MEAT_D): Ditto.
7989 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7990 t-softfp-sfdf and t-softfp to tmake_file.
7991
61221141
UB
79922013-11-03 Uros Bizjak <ubizjak@gmail.com>
7993
7994 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7995 * config/i386/crtprec.c: Ditto.
7996
9304f876
CJW
79972013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7998 Shiva Chen <shiva0217@gmail.com>
7999
8000 * config.host (nds32*-elf*): Add nds32 target.
8001 * config/nds32 : New directory and files.
8002
0e499e75
HPN
80032013-10-16 Hans-Peter Nilsson <hp@axis.com>
8004
8005 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8006 * config.host (cpu_type) <Setting default>: Add entry for
8007 crisv32-*-*.
8008 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8009 <crisv32-*-linux*>: Adjust.
8010 * longlong.h: Wrap the whole CRIS section in a single
8011 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8012 and sub_ddmmss.
8013 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8014 defined.
8015 [__CRIS__] (__umulsidi3): Define.
8016 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8017 * config/cris/sfp-machine.h: New file.
8018 * config/cris/umulsidi3.S: New file.
8019 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8020 * config/cris/arit.c (SIGNMULT): New macro.
8021 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8022 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8023 saving 3 out of originally 33 cycles from the fastest
8024 path, 3 out of 54 from the medium path and one from the longest
8025 path. Improve comments.
8026
16022041
RS
80272013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8028
8029 * sync.c: Remove static aliases and define each function directly
8030 under its real name.
8031
69778659
JDA
80322013-10-02 John David Anglin <danglin@gcc.gnu.org>
8033
8034 * config.host (hppa*64*-*-linux*): Define extra_parts.
8035 (hppa*-*-linux*): Likewise.
8036
2deaf8b0
JR
80372013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8038
8039 * config/arc/crtgend.S: Add 2013 to Copyright years.
8040 * config/arc/gmon/atomic.h: Likewise.
8041 * config/arc/gmon/auxreg.h: Likewise.
8042 * config/arc/gmon/sys/gmon_out.h: Likewise.
8043 * config/arc/gmon/sys/gmon.h: Likewise.
8044 * config/arc/gmon/prof-freq.c: Likewise.
8045 * config/arc/gmon/mcount.c: Likewise.
8046 * config/arc/gmon/prof-freq-stub.S: Likewise.
8047 * config/arc/gmon/gmon.c: Likewise.
8048 * config/arc/gmon/machine-gmon.h: Likewise.
8049 * config/arc/gmon/profil.S: Likewise.
8050 * config/arc/gmon/dcache_linesz.S: Likewise.
8051 * config/arc/crtg.S: Likewise.
8052 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8053 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8054 * config/arc/ieee-754/adddf3.S: Likewise.
8055 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8056 * config/arc/ieee-754/fixsfsi.S: Likewise.
8057 * config/arc/ieee-754/gtsf2.S: Likewise.
8058 * config/arc/ieee-754/floatsisf.S: Likewise.
8059 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8060 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8061 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8062 * config/arc/ieee-754/fixdfsi.S: Likewise.
8063 * config/arc/ieee-754/addsf3.S: Likewise.
8064 * config/arc/ieee-754/gesf2.S: Likewise.
8065 * config/arc/ieee-754/floatsidf.S: Likewise.
8066 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8067 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8068 * config/arc/ieee-754/gtdf2.S: Likewise.
8069 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8070 * config/arc/ieee-754/uneqdf2.S: Likewise.
8071 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8072 * config/arc/ieee-754/uneqsf2.S: Likewise.
8073 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8074 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8075 * config/arc/ieee-754/eqdf2.S: Likewise.
8076 * config/arc/ieee-754/ordsf2.S: Likewise.
8077 * config/arc/ieee-754/divsf3.S: Likewise.
8078 * config/arc/ieee-754/divdf3.S: Likewise.
8079 * config/arc/ieee-754/floatunsidf.S: Likewise.
8080 * config/arc/ieee-754/orddf2.S: Likewise.
8081 * config/arc/ieee-754/eqsf2.S: Likewise.
8082 * config/arc/ieee-754/gedf2.S: Likewise.
8083 * config/arc/crtn.S: Likewise.
8084 * config/arc/crti.S: Likewise.
8085 * config/arc/t-arc700-uClibc: Likewise.
8086 * config/arc/asm.h: Likewise.
8087 * config/arc/libgcc-excl.ver: Likewise.
8088 * config/arc/t-arc-newlib: Likewise.
8089 * config/arc/divtab-arc700.c: Likewise.
8090 * config/arc/initfini.c: Likewise.
8091 * config/arc/fp-hack.h: Likewise.
8092
c8e318b0
JR
80932013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8094 Diego Novillo <dnovillo@google.com>
8095
8096 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
8097 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8098 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8099 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 8100
d38a64b4
JR
81012013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8102 Brendan Kehoe <brendan@zen.org>
8103 Simon Cook <simon.cook@embecosm.com>
8104
8105 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8106 * config/arc: New directory.
8107 * longlong.h [__arc__] (umul_ppmm): Remove.
8108 [__arc__] (__umulsidi3): Define.
8109 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8110 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8111
dff717d2
JC
81122013-09-17 Jacek Caban <jacek@codeweavers.com>
8113
8114 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8115 CreateSemaphoreA.
8116 * config/i386/gthr-win32.h: Likewise.
8117
5c0029de
DD
81182013-09-16 DJ Delorie <dj@redhat.com>
8119
844ad6c6 8120 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
8121 * config/rl78/lib2mul.c: Enable for RL78/G10.
8122 * config/rl78/lib2div.c: Likewise.
8123 * config/rl78/lshrsi3.S: Use vregs.h.
8124 * config/rl78/cmpsi2.S: Likewise.
8125 * config/rl78/trampoline.S: Likewise.
8126 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8127
ceb2fc49
DD
81282013-09-14 DJ Delorie <dj@redhat.com>
8129 Nick Clifton <nickc@redhat.com>
8130
8131 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8132 * config/rl78/vregs.h: New.
8133 * config/rl78/signbit.S: New file. Implements signbit function.
8134 * config/rl78/divmodsi.S: New.
8135 * config/rl78/divmodhi.S: New.
8136 * config/rl78/divmodqi.S: New.
8137 * config/rl78/t-rl78: Build them here...
8138 * config/rl78/lib2div.c: ...but not here.
8139
f6a83b4a
DD
81402013-09-12 DJ Delorie <dj@redhat.com>
8141
8142 * config.host (msp*-*-elf): New.
8143 * config/msp430/: New port.
8144
9107b096
IS
81452013-08-18 Iain Sandoe <iain@codesourcery.com>
8146
8147 PR gcov-profile/58127
8148 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8149 __thread var for emulated TLS.
8150 (__gcov_indirect_call_counters): Likewise.
8151
0f9bde1f 81522013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8153 Catherine Moore <clm@codesourcery.com>
7d296953 8154 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8155
8156 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8157 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8158 (CALL_STUB_NO_RET): Likewise.
8159 (CALL_STUB_RET): Likewise.
8160 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8161 __mips16_ret call/return stub symbols.
8162 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8163 to tmake_file.
8164
2dc14aac
MR
81652013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8166
8167 * config.host <mips*-*-linux*>: Remove a stray comment.
8168
748d71f3
JH
81692013-08-10 Jan Hubicka <jh@suse.cz>
8170
8171 Work around binutils PR14342
8172 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8173 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8174 (L_gcov_indirect_call_profiler_v2): New.
8175
2fa3d31b
JH
81762013-08-06 Jan Hubicka <jh@suse.cz>
8177
8178 * libgcov.c (__gcov_indirect_call_callee,
8179 __gcov_indirect_call_counters): New global vars.
8180 (__gcov_indirect_call_profiler): replace by ...
8181 (__gcov_indirect_call_profiler_v2) ... this one.
8182
2077db1b
CT
81832013-08-06 Caroline Tice <cmtice@google.com>
8184
d0595b65 8185 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8186 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8187 * configure.ac: Add code to check/set enable_vtable_verify.
8188 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8189 true.
d0595b65
CT
8190 * vtv_start_preinit.c: New file.
8191 * vtv_end_preinit.c: New file.
8192 * vtv_start.c: New file.
8193 * vtv_end.c: New file.
8194 * configure: Regenerated.
2077db1b 8195
46549c20
MK
81962013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8197
8198 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8199 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8200 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8201 GPL-3.0-with-GCC-exception.
8202
72be589b
MR
82032013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8204
8205 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8206 ISA and up.
8207
902a3faf
AK
82082013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8209
8210 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8211 mapping for FPRs when creating the fallback framestate.
8212
02371798
GJL
82132013-07-19 Georg-Johann Lay <avr@gjlay.de>
8214
8215 PR target/57516
8216 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8217 (__round_s2_const, __round_u2_const)
8218 (__round_s4_const, __round_u4_const, __round_x8):
8219 Saturate result if addition result cannot be represented.
8220
ab0e8379
MK
82212013-07-15 Matthias Klose <doko@ubuntu.com>
8222
8223 * libgcc2.c: Don't include <limits.h>.
8224
7da38058
JJ
82252013-07-09 Janis Johnson <janisjo@codesourcery.com>
8226
8227 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8228
1f6eac90
JJ
82292013-07-06 Jakub Jelinek <jakub@redhat.com>
8230
8231 PR target/29776
8232 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8233
4ea3d774
JJ
82342013-06-28 Jakub Jelinek <jakub@redhat.com>
8235
8236 PR middle-end/36041
8237 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8238 Define.
8239 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8240 instead of table lookups.
8241 (__popcountDI2): Likewise.
8242
9d2cdf25
CJW
82432013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8244
8245 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8246 correctly.
8247
fa1e55b0
JM
82482013-06-21 Joseph Myers <joseph@codesourcery.com>
8249
8250 PR other/53317
8251 * soft-fp/adddf3.c: Update from glibc.
8252 * soft-fp/addsf3.c: Likewise.
8253 * soft-fp/addtf3.c: Likewise.
8254 * soft-fp/divdf3.c: Likewise.
8255 * soft-fp/divsf3.c: Likewise.
8256 * soft-fp/divtf3.c: Likewise.
8257 * soft-fp/double.h: Likewise.
8258 * soft-fp/eqdf2.c: Likewise.
8259 * soft-fp/eqsf2.c: Likewise.
8260 * soft-fp/eqtf2.c: Likewise.
8261 * soft-fp/extenddftf2.c: Likewise.
8262 * soft-fp/extended.h: Likewise.
8263 * soft-fp/extendsfdf2.c: Likewise.
8264 * soft-fp/extendsftf2.c: Likewise.
8265 * soft-fp/fixdfdi.c: Likewise.
8266 * soft-fp/fixdfsi.c: Likewise.
8267 * soft-fp/fixsfdi.c: Likewise.
8268 * soft-fp/fixsfsi.c: Likewise.
8269 * soft-fp/fixtfdi.c: Likewise.
8270 * soft-fp/fixtfsi.c: Likewise.
8271 * soft-fp/fixunsdfdi.c: Likewise.
8272 * soft-fp/fixunsdfsi.c: Likewise.
8273 * soft-fp/fixunssfdi.c: Likewise.
8274 * soft-fp/fixunssfsi.c: Likewise.
8275 * soft-fp/fixunstfdi.c: Likewise.
8276 * soft-fp/fixunstfsi.c: Likewise.
8277 * soft-fp/floatdidf.c: Likewise.
8278 * soft-fp/floatdisf.c: Likewise.
8279 * soft-fp/floatditf.c: Likewise.
8280 * soft-fp/floatsidf.c: Likewise.
8281 * soft-fp/floatsisf.c: Likewise.
8282 * soft-fp/floatsitf.c: Likewise.
8283 * soft-fp/floatundidf.c: Likewise.
8284 * soft-fp/floatundisf.c: Likewise.
8285 * soft-fp/floatunditf.c: Likewise.
8286 * soft-fp/floatunsidf.c: Likewise.
8287 * soft-fp/floatunsisf.c: Likewise.
8288 * soft-fp/floatunsitf.c: Likewise.
8289 * soft-fp/gedf2.c: Likewise.
8290 * soft-fp/gesf2.c: Likewise.
8291 * soft-fp/getf2.c: Likewise.
8292 * soft-fp/ledf2.c: Likewise.
8293 * soft-fp/lesf2.c: Likewise.
8294 * soft-fp/letf2.c: Likewise.
8295 * soft-fp/muldf3.c: Likewise.
8296 * soft-fp/mulsf3.c: Likewise.
8297 * soft-fp/multf3.c: Likewise.
8298 * soft-fp/negdf2.c: Likewise.
8299 * soft-fp/negsf2.c: Likewise.
8300 * soft-fp/negtf2.c: Likewise.
8301 * soft-fp/op-1.h: Likewise.
8302 * soft-fp/op-2.h: Likewise.
8303 * soft-fp/op-4.h: Likewise.
8304 * soft-fp/op-8.h: Likewise.
8305 * soft-fp/op-common.h: Likewise.
8306 * soft-fp/quad.h: Likewise.
8307 * soft-fp/single.h: Likewise.
8308 * soft-fp/soft-fp.h: Likewise.
8309 * soft-fp/subdf3.c: Likewise.
8310 * soft-fp/subsf3.c: Likewise.
8311 * soft-fp/subtf3.c: Likewise.
8312 * soft-fp/truncdfsf2.c: Likewise.
8313 * soft-fp/trunctfdf2.c: Likewise.
8314 * soft-fp/trunctfsf2.c: Likewise.
8315 * soft-fp/unorddf2.c: Likewise.
8316 * soft-fp/unordsf2.c: Likewise.
8317 * soft-fp/unordtf2.c: Likewise.
8318 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8319 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8320 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8321 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8322 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8323 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8324 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8325 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8326 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8327 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8328 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8329 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8330
0de86a92
JU
83312013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8332
8333 * config/mips/lib2funcs.c: New file.
8334 * config/mips/t-mips (LIB2ADD_ST): Add it.
8335
0d008882
OE
83362013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8337
8338 PR target/6526
8339 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8340 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8341
776434d1
WL
83422013-06-08 Walter Lee <walt@tilera.com>
8343
8344 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8345 Replace int64_t with long long. Add __extension__ where
8346 appropriate.
8347 * config/tilepro/atomic.c: Include config.h.
8348
6ab3ebb4
DR
83492013-06-06 Douglas B Rupp <rupp@adacore.com>
8350
8351 * config.host (arm-wrs-vxworks): Configure with other soft float.
8352
107eea2c
JU
83532013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8354
8355 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8356 (mips64r5900el-*-elf*): New configurations.
8357
5cc19c62
AM
83582013-06-04 Alan Modra <amodra@gmail.com>
8359
8360 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8361
0f1d3965
YR
83622013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8363
8364 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8365
0ba045df
EB
83662013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8367
8368 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8369 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8370 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8371
49dcafd4
EB
83722013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8373
8374 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8375 (powerpc-wrs-vxworks): Likewise.
8376
4fcb5d87
EB
83772013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8378
8379 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8380 signal frames as well.
8381 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8382 STACK_BIAS to the CFA offset.
8383
0ec33224
RH
83842013-05-17 Richard Henderson <rth@redhat.com>
8385
8386 PR target/49146
8387 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8388 (execute_cfa_program): Use it when storing to fs->regs.
8389
492a8029
KT
83902013-05-08 Kai Tietz <ktietz@redhat.com>
8391
8392 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8393 (__deregister_frame_info): Likewise.
8394
701e2f0a
TS
83952013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8396
e5123d08
TS
8397 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8398 NaN's payload.
8399
701e2f0a
TS
8400 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8401
b9a7eb5d
AM
84022013-04-25 Alan Modra <amodra@gmail.com>
8403
8404 * config.host: Match little-endian powerpc-linux.
8405
dfe192f5
YZ
84062013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8407
8408 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8409 as 'unsigned long long' instead of 'unsigned long'.
8410 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8411 'signed long'.
8412
b6b9af2f
JB
84132013-04-10 Julian Brown <julian@codesourcery.com>
8414
8415 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8416 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8417 unsigned char/unsigned short.
8418 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8419
ecabdd00
JDA
84202013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8421
8422 PR other/55274
8423 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8424
34652576
MI
84252013-04-04 Meador Inge <meadori@codesourcery.com>
8426
8427 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8428 computing the location of the link register.
8429 (aeabi_uldivmod): Ditto.
8430
e9fd8c19
KT
84312013-03-27 Kai Tietz <ktietz@redhat.com>
8432
8433 * config.host: Add support for cygwin x64 target.
8434 * configure: Regenerated.
8435
a6406324
WL
84362013-03-26 Walter Lee <walt@tilera.com>
8437
8438 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8439 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8440
55446c7e
KT
84412013-03-25 Kai Tietz <ktietz@redhat.com>
8442
8443 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8444
d2ae19d9
RM
84452013-03-20 Robert Mason <rbmj@verizon.net>
8446
8447 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8448 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8449 (__gthread_leave_tsd_dtor_context): Add prototypes.
8450 (tls_delete_hook): Update.
8451
22c4c869
CM
84522013-03-20 Catherine Moore <clm@codesourcery.com>
8453 Joseph Myers <joseph@codesourcery.com>
8454 Chao-ying Fu <fu@mips.com>
8455
8456 * config/mips/mips16.S: Don't build for microMIPS.
8457 * config/mips/linux-unwind.h: Handle microMIPS frame.
8458 * config/mips/crtn.S (fini, init): New labels.
8459
fbd28bc3
JJ
84602013-03-14 Jakub Jelinek <jakub@redhat.com>
8461
8462 PR tree-optimization/53265
8463 * unwind-dw2.c (execute_cfa_program): Avoid
8464 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8465 on targets with DWARF_FRAME_REGISTERS < 32.
8466
decc676e
OE
84672013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8468
8469 PR target/49880
8470 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8471 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8472
84ea618a
ST
84732013-03-07 Sriraman Tallam <tmsriram@google.com>
8474
8475 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8476 sandybridge processors.
8477
8f6d1c86
OE
84782013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8479
8480 PR target/56529
8481 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8482 inclusion list.
8483
ecdbd01a 84842013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
8485
8486 * config/microblaze/crti.S: Setup stack protection at entry
8487
0b4ce21b
GJL
84882013-03-04 Georg-Johann Lay <avr@gjlay.de>
8489
8490 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8491 (__rotldi3): Shift bytewise if applicable.
8492
b7c3f1ca
JG
84932013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8494
8495 * config/aarch64/sync-cache.c
8496 (__aarch64_sync_cache_range): Silence warnings.
8497
6d65e8f1
CM
84982013-02-25 Catherine Moore <clm@codesourcery.com>
8499
8500 Revert:
8501 2013-02-24 Catherine Moore <clm@codesourcery.com>
8502 Joseph Myers <joseph@codesourcery.com>
8503 Chao-ying Fu <fu@mips.com>
8504
8505 * config/mips/mips16.S: Don't build for microMIPS.
8506 * config/mips/linux-unwind.h: Handle microMIPS frame.
8507 * config/mips/crtn.S (fini, init): New labels.
8508
6941b508
CM
85092013-02-24 Catherine Moore <clm@codesourcery.com>
8510 Joseph Myers <joseph@codesourcery.com>
8511 Chao-ying Fu <fu@mips.com>
8512
8513 * config/mips/mips16.S: Don't build for microMIPS.
8514 * config/mips/linux-unwind.h: Handle microMIPS frame.
8515 * config/mips/crtn.S (fini, init): New labels.
8516
7c422dbb 85172012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8518 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8519 as dividend.
8520
110207ad
AM
85212013-02-16 Alan Modra <amodra@gmail.com>
8522
8523 PR target/55431
8524 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8525 (ppc_fallback_frame_state): Always set up save locations for fp
8526 and altivec. Don't bother with non-callee-saved regs, r0-r13
8527 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8528
e68a4ef6
GJL
85292013-02-12 Georg-Johann Lay <avr@gjlay.de>
8530
8531 PR target/54222
8532 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8533 _ssmulHA, _ssmulSA.
8534 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8535 _ssmulha3, _usmulusa3, _ssmulsa3.
8536 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8537 (__muldi3): XCALL __muldi3_6 instead of rcall.
8538 (__umulsidi3, __mulsidi3): New functions.
8539 (do_prologue_saves, do_epilogue_restores): New .macros.
8540 (__divdi3_moddi3): Use them.
8541 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8542 (__usmulusa3, __ssmulsa3): New functions.
8543
6c59ffd1
IS
85442013-02-11 Iain Sandoe <iain@codesourcery.com>
8545 Jack Howarth <howarth@bromo.med.uc.edu>
8546 Patrick Marlier <patrick.marlier@gmail.com>
8547
8548 PR libitm/55693
8549 * config/darwin-crt-tm.c: Remove dummy functions hack.
8550
85d768f3
GJL
85512013-02-08 Georg-Johann Lay <avr@gjlay.de>
8552
8553 PR target/54222
8554 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8555 * config/avr/lib2-object.mk: New iterator to build objects from it.
8556 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8557 lib2funcs.c.
8558 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8559 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8560 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8561 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8562 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8563 * config/avr/lib1funcs-fixed.S: Implement them.
8564
5d5bf775
RS
85652013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8566
8567 Update copyright years.
8568
99113dff
DE
85692013-02-01 David Edelsohn <dje.gcc@gmail.com>
8570
8571 PR target/54601
8572 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8573 Add crtcxa to extra_parts.
8574 * config/rs6000/exit.h: New file.
8575 * config/rs6000/cxa_atexit.c: New file.
8576 * config/rs6000/cxa_finalize.c: New file.
8577 * config/rs6000/crtcxa.c: New file.
8578 * config/rs6000/t-aix-cxa: New file.
8579 * config/rs6000/libgcc-aix-cxa.ver: New file.
8580
dbdbd982
NC
85812013-01-31 Nick Clifton <nickc@redhat.com>
8582
8583 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8584 variant.
8585
5893f158
GJL
85862013-01-29 Georg-Johann Lay <avr@gjlay.de>
8587
8588 PR target/54222
8589 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8590 _mulQQ, _mulHQ, _mulHA, _mulSA,
8591 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8592 _divQQ, _divHQ, _divHA, _divSA,
8593 _divUQQ, _divUHQ, _divUHA, _divUSA.
8594
ecdbd01a 85952013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8596
dbdbd982 8597 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8598 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8599 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8600 to exclude functions from being built with libgcc.c and use
8601 the microblaze assembly.
8602
ecdbd01a 86032013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8604
8605 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8606 extra_parts.
8607
922c57d1
YZ
86082013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8609
8610 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8611 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8612 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8613 alignment operation.
8614
e0f8b6a0
SN
86152013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8616
8617 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8618 loop start address for cache clearing.
8619
00892272
GJL
86202013-01-14 Georg-Johann Lay <avr@gjlay.de>
8621
8622 * config/avr/lib1funcs.S: Remove trailing blanks.
8623 * config/avr/lib1funcs-fixed.S: Ditto.
8624
e59ec5fd
GJL
86252013-01-14 Georg-Johann Lay <avr@gjlay.de>
8626
8627 * config/avr/avr-lib.h: Add GPL copyright notice.
8628
3ffc1958
GJL
86292013-01-14 Georg-Johann Lay <avr@gjlay.de>
8630
8631 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8632 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8633 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8634 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8635
25c210f9
MK
86362013-01-07 Mark Kettenis <kettenis@openbsd.org>
8637
8638 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8639 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8640
db59befb
NC
86412013-01-04 Nick Clifton <nickc@redhat.com>
8642
8643 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8644 the CALLT instruction is supported.
8645
5aa12dbf
JW
86462012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8647
8648 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8649 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8650
65f14117
JT
86512012-12-13 John Tytgat <John@bass-software.com>
8652
8653 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8654 is 25.
8655
ee3ae4f7
JJ
86562012-12-12 Jakub Jelinek <jakub@redhat.com>
8657
8658 PR libgcc/55451
8659 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8660 undefined signed overflows.
8661
2fcfba3d
UB
86622012-12-09 Uros Bizjak <ubizjak@gmail.com>
8663
8664 PR target/55344
8665 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8666
4f2b3dc2
UB
86672012-12-06 Uros Bizjak <ubizjak@gmail.com>
8668
8669 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8670 (FP_TRAPPING_EXCEPTIONS): Define.
8671 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8672 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8673
066161a2
RH
86742012-12-04 Richard Henderson <rth@redhat.com>
8675
8676 PR bootstrap/55571
8677 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8678
7d296953 86792012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8680
4f2b3dc2 8681 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8682 (FP_EX_SHIFT): Define.
8683 (FP_TRAPPING_EXCEPTIONS): Define.
8684
7d296953 86852012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8686
8687 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8688 (FP_ROUNDMODE): Use FP_RND_MASK.
8689 * config/aarch64/sfp-exceptions.c: New.
8690 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8691 Use __sfp_handle_exceptions.
8692
5005fe22
RE
86932012-12-04 Richard Earnshaw <rearnsha@arm.com>
8694
8695 * config.host: (arm*-*-freebsd*): Remove.
8696 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8697 (arm*-*-elf*): Remove.
8698 (arm*-*-wince-pe*): Remove.
8699 * arm/unwind-arm.c (struct fpa_reg): Delete.
8700 (struct fpa_regs): Delete.
8701 (phase1_vrs): Remove fpa element.
8702 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8703 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8704 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8705 * ieee754-sf.S (floatundisf): Remove FPA support.
8706 (floatdisf): Likewise.
8707 * ieee75f-df.S (floatundidf): Likewise.
8708 (floatdidf): Likewise.
8709
e5a81c8e
KT
87102012-11-29 Kai Tietz <ktietz@redhat.com>
8711
8712 PR target/55445
8713 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8714 * unwind-generic.h: Likewise.
8715 * unwind-seh.c: Likewise.
8716
f4919e4a
RH
87172012-11-28 Richard Henderson <rth@redhat.com>
8718
8719 PR libgcc/48076
8720 * emutls.c (__emutls_get_address): Avoid race condition between
8721 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8722
e13d9d5a
GJL
87232012-11-22 Georg-Johann Lay <avr@gjlay.de>
8724
8725 Adjust decimal point of signed accum mode to GCC default.
8726
8727 PR target/54222
8728 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8729 _divqq_helper.
8730 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8731 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8732 (__mulha3, __mulsa3)
8733 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8734 decimal point of signed accum types.
8735
e13d9d5a
GJL
8736 (__mulusa3_round): New function.
8737 (__mulusa3): Use it.
8738 (__divqq_helper): New function.
8739 (__udivuqq3): Use it.
8740
1b845c6e
JJ
87412012-11-20 Jakub Jelinek <jakub@redhat.com>
8742
8743 PR bootstrap/55370
8744 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8745
822a258a
TJ
87462012-11-18 Teresa Johnson <tejohnson@google.com>
8747
8748 PR bootstrap/55051
8749 * libgcov.c (gcov_exit): Remove merged program summary
8750 comparison unless !GCOV_LOCKED.
8751
7d296953 87522012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
8753
8754 * soft-fp: Updated from glibc upstream.
8755
e808687a
ILT
87562012-11-06 Ian Lance Taylor <iant@google.com>
8757
8758 * generic-morestack.c (__generic_morestack): Align the returned
8759 stack pointer to a 32 byte boundary.
8760 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8761 increment the return address until we have decided that we don't
8762 have a varargs function.
8763 (__morestack) [32-bit]: Align stack correctly when calling C
8764 functions.
8765 (__morestack) [64-bit]: Likewise.
8766
460277e0
TS
87672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8768
8769 * configure: Regenerate.
8770
73edb277
UB
87712012-11-02 Uros Bizjak <ubizjak@gmail.com>
8772
8773 PR target/55175
8774 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8775 * config/i386/sfp-machine.h: Guard exception handling
8776 code with _SOFT_FLOAT.
8777 * config/i386/32/sfp-machine.h: Guard rounding handling
8778 code with _SOFT_FLOAT.
8779 * config/i386/64/sfp-machine.h: Ditto.
8780
c1d4fa04
JS
87812012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8782
8783 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8784 as extra_parts.
8785
eff6ca85
UB
87862012-10-26 Uros Bizjak <ubizjak@gmail.com>
8787
8788 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8789 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8790 when appropriate. Correct structure element types.
8791 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8792 -minline-all-stringops from compile flags.
8793
7d296953 87942012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8795
8796 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8797
7d296953 87982012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8799
eff6ca85 8800 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8801
6f288860
SH
88022012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8803
8804 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8805 tmake_file.
8806
1e3d5096
IB
88072012-10-23 Ian Bolton <ian.bolton@arm.com>
8808 Jim MacArthur <jim.macarthur@arm.com>
8809 Marcus Shawcroft <marcus.shawcroft@arm.com>
8810 Nigel Stephens <nigel.stephens@arm.com>
8811 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8812 Richard Earnshaw <rearnsha@arm.com>
8813 Sofiane Naci <sofiane.naci@arm.com>
8814 Stephen Thomas <stephen.thomas@arm.com>
8815 Tejas Belagod <tejas.belagod@arm.com>
8816 Yufeng Zhang <yufeng.zhang@arm.com>
8817
8818 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8819 * config/aarch64/crti.S: New file.
8820 * config/aarch64/crtn.S: New file.
8821 * config/aarch64/linux-unwind.h: New file.
8822 * config/aarch64/sfp-machine.h: New file.
8823 * config/aarch64/sync-cache.c: New file.
8824 * config/aarch64/t-aarch64: New file.
8825 * config/aarch64/t-softfp: New file.
8826
8a740f07
HPN
88272012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8828
8829 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8830 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8831 no-longer-needed LDBU insns.
8832
7d296953 88332012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8834
8835 * config.host
8836 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8837 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8838
595fefee
MGD
88392012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8840
8841 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8842
9945a876
MK
88432012-10-15 Matthias Klose <doko@ubuntu.com>
8844
8845 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8846
1183dc2c
PC
88472012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8848
8849 * configure: Regenerate.
8850 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8851
945a9c1f
UB
88522012-10-10 Uros Bizjak <ubizjak@gmail.com>
8853
8854 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8855 instructions for 64bit targets only.
8856
fb8bf47a
UB
88572012-10-10 Uros Bizjak <ubizjak@gmail.com>
8858
8859 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8860 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8861 * config/i386/32/sfp-machine.h: ... here.
8862 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8863 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8864 New defines.
8865
acb72498
MK
88662012-10-07 Matthias Klose <doko@ubuntu.com>
8867
8868 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8869 as unused.
8870 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8871
8eaee0f0
MK
88722012-10-06 Mark Kettenis <kettenis@openbsd.org>
8873
8874 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8875 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8876 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8877 (ElfW): Likewise.
8878
5e3e4fe8
JW
88792012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8880
8881 PR other/53889
8882 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8883 Fix parameter names.
8884
86086376
OE
88852012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8886
8887 PR target/33135
8888 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8889 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8890 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8891
9597375a
OE
88922012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8893
8894 PR target/50457
8895 * config/sh/linux-atomic.S: Delete.
8896 * config/sh/linux-atomic.c: New.
8897 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8898 linux-atomic.c. Add cflags to disable warnings.
8899
1504e3e1
JW
89002012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8901
8902 PR other/53889
8903 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8904 function.
8905 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8906 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8907 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8908 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8909 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8910 Likewise.
1504e3e1
JW
8911 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8912 Likewise.
8913 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8914 Likewise.
8915 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8916 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8917
17f293b0
MK
89182012-09-19 Mark Kettenis <kettenis@openbsd.org>
8919
9597375a
OE
8920 * config.host (hppa-*-openbsd*): New target.
8921 * config/pa/t-openbsd: New file.
17f293b0 8922
51526856
GJL
89232012-09-15 Georg-Johann Lay <avr@gjlay.de>
8924
8925 PR target/54222
8926 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8927 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8928 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8929 (__divsa3): Use __negsi2 to negate r_quoL.
8930 * config/avr/lib1funcs.S (FALIAS): New macro.
8931 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8932 (__negsi2): ...this new function.
8933 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8934 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8935 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8936 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8937 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8938 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8939
aadb5b43
OE
89402012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8941
8942 PR target/54089
8943 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8944 (lshrsi3): Reimplement as lshrsi3_r0.
8945
d5d66749
AS
89462012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8947
8948 PR target/46191
8949 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8950 of libgcc.a.
8951
c6c36e73
TJ
89522012-09-07 Teresa Johnson <tejohnson@google.com>
8953
9597375a 8954 PR gcov-profile/54487
c6c36e73 8955 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8956 differences.
c6c36e73 8957
b588ae30
GJL
89582012-09-05 Georg-Johann Lay <avr@gjlay.de>
8959
8960 PR target/54461
8961 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8962 not configured --with-avrlibc=no.
8963 * config/avr/t-avrlibc: New file.
8964 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8965 (DPBIT_FUNCS): Ditto.
8966 (TPBIT_FUNCS): Ditto.
8967
abd16fb1
TJ
89682012-09-04 Teresa Johnson <tejohnson@google.com>
8969
8970 * libgcov.c (struct gcov_summary_buffer): New structure.
8971 (gcov_histogram_insert): New function.
8972 (gcov_compute_histogram): Ditto.
8973 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8974 histograms during summary merging.
8975
613061fd
MK
89762012-09-01 Mark Kettenis <kettenis@openbsd.org>
8977
8978 * config.host (x86_64-*-openbsd*): New target.
73edb277 8979
867a8345
CLT
89802012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8981
8982 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8983 attribute.
8984
4aeaaca3
GJL
89852012-08-24 Georg-Johann Lay <avr@gjlay.de>
8986
8987 PR target/54222
8988 * config/avr/t-avr (conv_X): Rename to func_X.
8989
e55e4056
GJL
89902012-08-24 Georg-Johann Lay <avr@gjlay.de>
8991
8992 PR target/54222
8993 * config/avr/lib1funcs-fixed.S: New file.
8994 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8995 after they are used.
8996 (neg2, neg4): New macros.
8997 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8998 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8999 (__umulhisi3): Speed up MUL variant if there is enough flash.
9000 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9001 avr-modes.def.
9002 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9003 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9004 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9005 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9006 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9007 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9008 (LIB2FUNCS_EXCLUDE): Add supported functions.
9009
a147b6d2
GJL
90102012-08-22 Georg-Johann Lay <avr@gjlay.de>
9011
9012 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9013 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9014 libgcc-s-objects.
9015 * fixed-obj.mk: Only expand dependency if $o is not in
9016 LIB2FUNCS_EXCLUDE.
9017
c637141a
L
90182012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9019
9020 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9021
130e00bd
JM
90222012-08-22 Joseph Myers <joseph@codesourcery.com>
9023
9024 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9025 depend on --enable-shared.
9026 ($(lib1asmfuncs-o)): Use %.vis files independent of
9027 --enable-shared.
9028 * static-object.mk ($(base)$(objext), $(base).vis)
9029 ($(base)_s$(objext)): Use same rules for visibility handling as in
9030 shared-object.mk.
9031
4b1b3788
ILT
90322012-08-21 Ian Lance Taylor <iant@google.com>
9033
9034 * config/i386/morestack.S (__morestack_non_split): Increase amount
9035 of space allocated for non-split code stack.
9036
d2468141
JM
90372012-08-19 Joseph Myers <joseph@codesourcery.com>
9038
9039 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9040 even if inhibit_libc.
9041
a508e1a8
JB
90422012-08-17 Julian Brown <julian@codesourcery.com>
9043
9044 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9045 -fexceptions -fnon-call-exceptions if not defined.
9046 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9047 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9048
5615a07d
AS
90492012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9050
9051 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9052 type.
9053
138f5acd
DE
90542012-08-16 David Edelsohn <dje.gcc@gmail.com>
9055
9056 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9057 rs6000/t-slibgcc-aix.
9058
18efc0dd
SB
90592012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9060
9061 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9062
6b39bc38
SB
90632012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9064
9065 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9066
cd25dea0
L
90672012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9068
9069 PR driver/54171
9070 * Makefile.in (version): Replace top_srcdir with srcdir.
9071
a3dda30b
JY
90722012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9073
9074 * Makefile.in (version): set to BASE-VER file from gcc directory.
9075
d04aacfc
NC
90762012-08-01 Nick Clifton <nickc@redhat.com>
9077
9078 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9079 Implements __clrsb for an HImode argument.
9080
0d13c974
NC
90812012-07-31 Nick Clifton <nickc@redhat.com>
9082
9083 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9084 Implements __clrsb for an HImode argument.
9085 * config/stormy16/clrsbhi2.c: New file:
9086 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9087
efbb59b2
SB
90882012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9089
9090 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9091
bf1431e3
TG
90922012-07-19 Tristan Gingold <gingold@adacore.com>
9093 Richard Henderson <rth@redhat.com>
9094
9095 * unwind-seh.c: New file.
9096 * unwind-generic.h: Include windows.h for SEH.
9097 (_Unwind_Exception): Use 6 private fields for SEH.
9098 (_GCC_specific_handler): Declare.
9099 * unwind-c.c (__gcc_personality_seh0): New function.
9100 Adjust for SEH.
9101 * config/i386/libgcc-cygming.ver: New file.
9102 * config/i386/t-seh-eh: New file.
9103 * config.host (x86_64-*-mingw*): Default to seh.
9104
659140c8
SB
91052012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9106
9107 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9108
a20d08fd
UB
91092012-06-17 Uros Bizjak <ubizjak@gmail.com>
9110
9111 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9112 __builtin_expect when checking for exceptions.
9113 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9114
79261115
UB
91152012-06-13 Uros Bizjak <ubizjak@gmail.com>
9116
4a172156
UB
9117 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9118 function declaration.
9119 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9120 (FP_RND_MASK): New.
9121 * config/ia64/sfp-exceptions.c: New.
9122 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 9123
bb5c97d4
UB
91242012-06-13 Uros Bizjak <ubizjak@gmail.com>
9125
9126 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9127 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9128 * config/i386/64/sfp-machine: ... (delete here) ...
9129 * config/i386/sfp-machine.h: ... to here.
9130 (FP_EX_MASK): Remove.
9131 (FP_RND_MASK): New.
9132 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9133
91fe5efb
ST
91342012-06-11 Sriraman Tallam <tmsriram@google.com>
9135
9136 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9137 * config/i386/libgcc-sol2.ver: Ditto.
9138 * config/i386/libgcc-glibc.ver: Ditto.
9139
67a218c5
RM
91402012-06-11 Roland McGrath <mcgrathr@google.com>
9141
9142 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9143 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9144 pthread_cancel.
9145
492fbea1
UB
91462012-06-09 Uros Bizjak <ubizjak@gmail.com>
9147
9148 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9149 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9150 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9151 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9152 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9153 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9154 * config/i386/64/sfp-machine: ... (delete here) ...
9155 * config/i386/sfp-machine.h: ... to here.
9156 (FP_EX_MASK): New.
9157 (__sfp_handle_exceptions): New function declaration.
9158 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9159 * config/i386/sfp-exceptions.c: New.
9160 * config/i386/t-softfp: New.
9161 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9162 i386/t-softfp to tmake_file.
9163
7b4cf266
DM
91642012-06-03 David S. Miller <davem@davemloft.net>
9165
9166 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9167 change.
9168
0de0d5c6
DM
91692012-05-31 David S. Miller <davem@davemloft.net>
9170
9171 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9172 multiply and divide instructions on 32-bit when V9.
9173 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9174
d8c9d391
JM
91752012-05-29 Joseph Myers <joseph@codesourcery.com>
9176
9177 * config/arm/ieee754-df.S: Fix typos.
9178 * config/arm/ieee754-sf.S: Fix typos.
9179 * config/c6x/libunwind.S: Fix typos.
9180 * config/epiphany/udivsi3-float.c: Fix typos.
9181 * config/microblaze/muldi3_hard.S: Fix typos.
9182 * config/picochip/adddi3.S: Fix typos.
9183 * config/picochip/ashlsi3.S: Fix typos.
9184 * config/picochip/ashrsi3.S: Fix typos.
9185 * config/picochip/clzsi2.S: Fix typos.
9186 * config/picochip/cmpsi2.S: Fix typos.
9187 * config/picochip/divmod15.S: Fix typos.
9188 * config/picochip/divmodhi4.S: Fix typos.
9189 * config/picochip/divmodsi4.S: Fix typos.
9190 * config/picochip/longjmp.S: Fix typos.
9191 * config/picochip/lshrsi3.S: Fix typos.
9192 * config/picochip/parityhi2.S: Fix typos.
9193 * config/picochip/popcounthi2.S: Fix typos.
9194 * config/picochip/setjmp.S: Fix typos.
9195 * config/picochip/subdi3.S: Fix typos.
9196 * config/picochip/ucmpsi2.S: Fix typos.
9197 * config/picochip/udivmodhi4.S: Fix typos.
9198 * config/picochip/udivmodsi4.S: Fix typos.
9199 * config/spu/divv2df3.c: Fix typos.
9200 * config/spu/mfc_multi_tag_release.c: Fix typos.
9201 * config/spu/mfc_tag_release.c: Fix typos.
9202 * configure.ac: Fix typos.
9203 * configure: Regenerate.
9204
31a18a7e
ILT
92052012-05-25 Ian Lance Taylor <iant@google.com>
9206
9207 * config/i386/morestack.S (__morestack_non_split): Check whether
9208 caller is varargs and needs %bp to hold the stack frame on return.
9209
c5768510
OH
92102012-05-25 Olivier Hainque <hainque@adacore.com>
9211
9212 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9213 sequence in the non pic case on VxWorks.
9214
7c7c339b
OH
92152012-05-24 Olivier Hainque <hainque@adacore.com>
9216
73fb7630 9217 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9218 "install-leaf" to "install".
9219
fdc1b7d3
OH
92202012-05-24 Olivier Hainque <hainque@adacore.com>
9221
9222 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9223 Use a separate command for stamp removals.
9224
07ba94b9
AP
92252012-05-21 Andrew Pinski <apinski@cavium.com>
9226
9227 PR bootstrap/53183
9228 * configure.ac: Define the default includes to being none.
9229 * configure: Regenerate.
9230
4677d2eb
OH
92312012-05-16 Olivier Hainque <hainque@adacore.com>
9232
9233 * Makefile.in (install-unwind_h): Rename into ...
9234 (install-unwind_h-forbuild): New target.
9235 (all): Use it instead of the former install-unwind_h.
9236 (install-unwind_h): Reinstate, copy to user install destination
9237 for include files, not to the internal gcc object directory one.
9238 (install-leaf): Depend on it.
9239
7d67c380
OH
92402012-05-15 Olivier Hainque <hainque@adacore.com>
9241
9242 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9243 register numbers. LR_REGNO replaces R_LR.
9244 (ucontext_for): New, helper for ...
9245 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9246 and 5.3 of ...
9247 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9248
aca06c90
RO
92492012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9250
9251 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9252 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9253 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9254 i386/t-cpuinfo ...
9255 (i[34567]86-*-*, x86_64-*-*): ... here.
9256
9257 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9258 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9259
9260 * config/i386/i386-cpuinfo.c: Rename to ...
9261 * config/i386/cpuinfo.c: ... this.
9262 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9263
9264 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9265 (libgcc_cv_init_priority): New test.
9266 * configure: Regenerate.
9267 * config.in: New file.
9268 * Makefile.in (clean): Rename config.h to auto-target.h.
9269 (config.h): Likewise.
9270 (stamp-h): Likewise.
9271
9272 * config/i386/cpuinfo.c (auto-target.h): Include.
9273 (CONSTRUCTOR_PRIORITY): Define.
9274 (__cpu_indicator_init): Use it.
9275
0d03ac1b
L
92762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9277
9278 * longlong.h: Use a URL instead of an FSF postal address.
9279 Replace spaces with tab.
9280
4a172156 92812012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9282
9283 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9284 (__gcov_dump): Ditto.
9285 (gcov_dump_complete): New global variable.
9286 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9287 (__gcov_flush): Outline functionality now in gcov_clear.
9288 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9289
e4bb767e
AJ
92902012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9291
31a18a7e
ILT
9292 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9293 (mips*-*-linux*): Include mips/t-tpbit when long double is
9294 16 bytes long.
e4bb767e 9295
5ddecff9
ST
92962012-04-25 Sriraman Tallam <tmsriram@google.com>
9297
9298 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9299 (get_available_features): New argument. Check for AVX2.
9300 (__cpu_indicator_init): Modify call to get_available_features.
9301
b427dd7a
AM
93022012-04-25 Alan Modra <amodra@gmail.com>
9303
9304 * config/rs6000/crtsavevr.S: New file.
9305 * config/rs6000/crtrestvr.S: New file.
9306 * config/rs6000/t-savresfgpr: Build the above.
9307 * config/rs6000/t-netbsd: Likewise.
9308
ad491329
ST
93092012-04-24 Sriraman Tallam <tmsriram@google.com>
9310
9311 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9312
792317cc
ST
93132012-04-24 Sriraman Tallam <tmsriram@google.com>
9314
9315 * libgcc/config/i386/i386-cpuinfo.c: New file.
9316 * libgcc/config/i386/t-cpuinfo: New file.
9317 * libgcc/config.host: Include t-cpuinfo.
9318 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9319
e1be98a4
CF
93202012-04-24 Chao-ying Fu <fu@mips.com>
9321
9322 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9323
1bde7dab
TS
93242012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9325
9326 struct siginfo vs. siginfo_t
9327
9328 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9329 siginfo_t instead of struct siginfo.
9330 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9331 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9332 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9333 (ia64_handle_unwabi): Likewise.
9334 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9335 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9336 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9337 (sh_fallback_frame_state): Likewise.
9338 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9339 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9340
24590f66
L
93412012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9342
9343 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9344 system call number.
9345
9a9dcce8
EB
93462012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9347
9348 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9349 if it hasn't been previously saved.
9350
6401aaf5
L
93512012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9352
9353 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9354 only for glibc.
9355
7fd6378e
GJL
93562012-03-28 Georg-Johann Lay <avr@gjlay.de>
9357
9358 PR target/52737
9359 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9360 instead of __AVR_HAVE_8BIT_SP__.
9361
9e916de7
TG
93622012-03-26 Tristan Gingold <gingold@adacore.com>
9363
9364 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9365 (unw_table_entry): Use unw_word instead of unsigned long.
9366 (_Unwind_FindTableEntry): Likewise.
9367 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9368 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9369 (_Unwind_FindTableEntry): Likewise.
9370 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9371 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9372 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9373 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9374 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9375 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9376 (uw_init_context_1, uw_install_context): Likewise.
9377 (unw_word): Move to unwind-ia64.h
9378
4b12e93d
TG
93792012-03-26 Tristan Gingold <gingold@adacore.com>
9380
9381 * config/vms/vms-ucrt0.c: Update copyright years.
9382 Add a sanity check.
9383 (___gcc_main_flags): Declare.
9384 (__main): Check flags to remap argv and exit code.
9385 * config.host (*-*-*vms*): Adjust extra_parts.
9386 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9387 (crt0.o): Add.
9388
06ea7371
RE
93892012-03-22 Richard Earnshaw <rearnsha@arm.com>
9390
9391 * arm/lib1funcs.asm (ctzsi2): New function.
9392 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9393 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9394 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9395 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9396 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9397 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9398
d82ad50d
AT
93992012-03-21 Andreas Tobler <andreast@fgznet.ch>
9400
9401 * config.host: Add bits to support powerpc64-*-freebsd*.
9402 * config/rs6000/freebsd-unwind.h: New file.
9403 * config/rs6000/t-freebsd64: New file.
9404
b260a8c0
RG
94052012-03-20 Richard Guenther <rguenther@suse.de>
9406
9407 PR gcov-profile/52627
9408 * libgcov.c (init_mx): Fix mutex name.
9409
86286a8a
TG
94102012-03-16 Tristan Gingold <gingold@adacore.com>
9411
9412 * config/ia64/vms-unwind.h: Remove ulong (and replace
9413 it by unw_reg where used). Define unw_reg with __int64.
9414
7888f266
RO
94152012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9416
9417 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9418 Solaris 8 handling.
9419 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9420 Solaris 8 handling.
9421 (sparc_is_sighandler): Likewise.
9422
f155bc64
L
94232012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9424
9425 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9426 <= saved reg size.
9427
d47657bd
RO
94282012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9429
9430 * config/arm/crtn.S: Fix typo.
9431
5bef73a1
RG
94322012-03-13 Richard Guenther <rguenther@suse.de>
9433
9434 * libgcov.c: Remove stdio.h include and NULL un-define.
9435
9c4271f3
RG
94362012-03-13 Richard Guenther <rguenther@suse.de>
9437
9438 PR target/52569
9439 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9440
c6d10e7c
RG
94412012-03-13 Richard Guenther <rguenther@suse.de>
9442
9443 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9444
074a385f
RG
94452012-03-13 Richard Guenther <rguenther@suse.de>
9446
9447 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9448 and __gthread_mutex_init_function definitions.
9449
c4bc5c25
RO
94502012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9451
9452 * config.host (mips*-*-openbsd*): Remove.
9453
5c30094f
RO
94542012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9455
9456 * config.host: Remove alpha*-dec-osf5.1* handling.
9457 * config/alpha/gthr-posix.c: Remove.
9458 * config/alpha/libgcc-osf5.ver: Remove.
9459 * config/alpha/osf5-unwind.h: Remove.
9460 * config/alpha/t-osf-pthread: Remove.
9461 * config/alpha/t-slibgcc-osf: Remove.
9462 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9463 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9464 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9465 * mkmap-flat.awk: Remove osf_export handling.
9466
33e3e24d
RG
94672012-03-12 Richard Guenther <rguenther@suse.de>
9468
9469 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9470 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9471 (__gthread_mutex_init_function): New function.
9472 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9473
9474 PR gcov/49484
9475 * libgcov.c: Include gthr.h.
9476 (__gcov_flush_mx): New global variable.
9477 (init_mx, init_mx_once): New functions.
9478 (__gcov_flush): Protect self with a mutex.
9479 (__gcov_fork): Re-initialize mutex after forking.
9480 * unwind-dw2-fde.c: Change condition under which to use
9481 __GTHREAD_MUTEX_INIT_FUNCTION.
9482
d8aba32a
TG
94832012-03-12 Tristan Gingold <gingold@adacore.com>
9484
9485 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9486 * config/ia64/t-vms: Likewise.
9487
75ffafdc
MH
94882012-03-11 Michael Hope <michael.hope@linaro.org>
9489
4a172156
UB
9490 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9491 for Thumb-2.
75ffafdc 9492
ef6c2c53
WL
94932012-03-07 Walter Lee <walt@tilera.com>
9494
9495 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9496 "arch_atomic_".
9497 (atomic_xor): Rename and move definition to
9498 config/tilepro/atomic.h.
9499 (atomic_nand): Ditto.
9500 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9501 "arch_atomic_".
9502 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9503 (arch_atomic_nand): Ditto.
9504
4e30d980
GJL
95052012-03-07 Georg-Johann Lay <avr@gjlay.de>
9506
9507 PR target/52507
9508 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9509
61108225
GJL
95102012-03-07 Georg-Johann Lay <avr@gjlay.de>
9511
9512 PR target/52505
9513 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9514 from RAM.
9515
b30e10ab
GJL
95162012-03-07 Georg-Johann Lay <avr@gjlay.de>
9517
9518 PR target/52461
9519 PR target/52508
9520 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9521 if RAMPZ affects reading from RAM.
9522 (__tablejump_elpm__): Ditto.
9523 (.xload): Ditto.
9524 (__movmemx_hi): Ditto.
9525 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9526 (__do_global_dtors): Ditto.
9527 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9528 (__movmemx_hi): Ditto.
9529
8993fde4
RH
95302012-03-05 Richard Henderson <rth@redhat.com>
9531
9532 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9533 [ARM] (count_trailing_zeros): Use the builtin.
9534
b7633ee3
KT
95352012-03-01 Kai Tietz <ktietz@redhat.com>
9536
9537 * soft-fp: Imported from glibc upstream.
9538
fbd3340c
KT
95392012-02-28 Kai Tietz <ktietz@redhat.com>
9540
9541 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9542 for mingw-targets as attribute gcc_struct.
9543
e9e053eb
ILT
95442012-02-28 Ian Lance Taylor <iant@google.com>
9545
9546 * generic-morestack.c (__splitstack_releasecontext): Correct call
9547 to __morestack_release_segments.
9548
d80c632e
ST
95492012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9550
9551 PR target/52390
9552 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9553 for __linux__ when removing signals from __morestack_fullmask.
9554
0253a8b1
GJL
95552012-02-23 Georg-Johann Lay <avr@gjlay.de>
9556
9557 PR target/52261
9558 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9559
e10e461e
UW
95602012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9561
9562 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9563 instead of HAVE_INITFINI_ARRAY.
9564 * config/ia64/crtend.S: Likewise.
9565
0c0c6398
KT
95662012-02-20 Kai Tietz <ktietz@redhat.com>
9567
d7470374
KT
9568 PR libstdc++/52300
9569 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9570
0c0c6398
KT
9571 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9572 to w32-unwind.h header.
9573
78c27266
RS
95742012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9575
9576 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9577 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9578 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9579 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9580
5adeb246
RS
95812012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9582
9583 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9584
672ed313
IS
95852012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9586
9587 PR libitm/52220
9588 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9589
e948a1fb
IS
95902012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9591 Patrick Marlier <patrick.marlier@gmail.com>
9592
9593 PR libitm/52220
9594 * config/darwin-crt-tm.c: Generate dummy functions.
9595
6017aed3
IS
95962012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9597 Patrick Marlier <patrick.marlier@gmail.com>
9598
9599 PR libitm/52042
9600 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9601 (__doTMRegistrations): Call it.
e9e053eb 9602 (__doTMdeRegistrations): Likewise.
6017aed3 9603
2da8c1ad 96042012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9605 Anatoly Sokolov <aesok@post.ru>
9606 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9607
9608 PR target/52261
9609 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9610 (__epilogue_restores__): Ditto.
9611
0f952eb4
EB
96122012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9613
9614 PR target/51921
9615 PR target/52205
9616 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9617 Solaris 11 and slightly reformat.
9618 (sparc_is_sighandler): Likewise.
9619
dd552284
WL
96202012-02-14 Walter Lee <walt@tilera.com>
9621
9622 * config.host: Handle tilegx and tilepro.
9623 * config/tilegx/sfp-machine.h: New file.
9624 * config/tilegx/sfp-machine32.h: New file.
9625 * config/tilegx/sfp-machine64.h: New file.
9626 * config/tilegx/t-crtstuff: New file.
9627 * config/tilegx/t-softfp: New file.
9628 * config/tilegx/t-tilegx: New file.
9629 * config/tilepro/atomic.c: New file.
9630 * config/tilepro/atomic.h: New file.
9631 * config/tilepro/linux-unwind.h: New file.
9632 * config/tilepro/sfp-machine.h: New file.
9633 * config/tilepro/softdivide.c: New file.
9634 * config/tilepro/softmpy.S: New file.
9635 * config/tilepro/t-crtstuff: New file.
9636 * config/tilepro/t-tilepro: New file.
9637
b59cbd50
JW
96382012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9639
9640 PR libstdc++/51296
9641 PR libstdc++/51906
9642 * gthr-posix.h: Allow static initializer macros to be disabled.
9643 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9644
6caf807f
CLT
96452012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9646
9647 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9648 Add t-slibgcc-libgcc to tmake_file.
9649 * config/mips/libgcc-mips16.ver: Revert previous patch.
9650 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9651
7d296953
JJ
96522012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9653 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9654
9655 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9656 * config/cr16/crti.S: New file.
9657 * config/cr16/crtlibid.S: New file.
9658 * config/cr16/crtn.S: New file.
9659 * config/cr16/lib1funcs.S: New file.
9660 * config/cr16/t-cr16: New file.
9661 * config/cr16/t-crtlibid: New file.
9662 * config/cr16/unwind-dw2.h: New file.
9663 * config/cr16/unwind-cr16.c: New file.
9664 * config/cr16/divmodhi3.c: New file.
9665
8ef03aa7
AM
96662012-01-25 Alan Modra <amodra@gmail.com>
9667
9668 * config/rs6000/t-linux64: Delete. Move..
9669 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9670 * config/rs6000/t-linux: ..and libgcc flags to here.
9671
daecebc8
DR
96722012-01-22 Douglas B Rupp <rupp@gnat.com>
9673
9674 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9675 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9676 * configure: Regenerate.
9677
ddaf8125
RS
96782012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9679 Richard Sandiford <rdsandiford@googlemail.com>
9680
9681 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9682 * config/mips/mips16.S (__mips16_rdhwr): New function.
9683 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9684
2cd8b32c
NS
96852012-01-11 Nathan Sidwell <nathan@acm.org>
9686
9687 * libgcov.c (__gcov_init): Ignore objects with no functions.
9688
cba300dd
GJL
96892012-01-10 Georg-Johann Lay <avr@gjlay.de>
9690
9691 PR target/49868
9692 Extend __pgmx semantics to linearize memory.
9693 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9694 * config/avr/lib1funcs.S (__xload_1): New function.
9695 (__movmemx_qi, __movmemx_hi): New functions.
9696 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9697 semantics.
9ffaf4bc 9698
3d137660
EB
96992012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9700
9701 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9702 purported sigacthandler address isn't null before dereferencing it.
9703 (sparc_is_sighandler): Likewise.
9704
bf4db96c
EB
97052012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9706
9707 PR ada/41929
9708 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9709 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9710 (sparc_is_sighandler): Likewise.
9711 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9712
1ab3568b
TG
97132012-01-06 Tristan Gingold <gingold@adacore.com>
9714
9715 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9716 compatibility thunks...
9717 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9718 (crtbeginS.o, crtendS.o): ... and these to ...
9719 * config/ia64/t-ia64-elf: ... this new file.
9720 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9721 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9722
925b0ed8
AK
97232012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9724
9725 * configure: Regenerate.
9726 * config/s390/t-crtstuff: Remove -fPIC.
9727
a99ad737
JW
97282012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9729
9730 PR bootstrap/51006
9731 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9732 for NetBSD.
9733
884f56d1
GJL
97342012-01-02 Georg-Johann Lay <avr@gjlay.de>
9735
9736 PR target/51345
9737 * config/avr/lib1funcs.S: Remove FIXME comments.
9738 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9739
8c57e547
GJL
97402012-01-02 Georg-Johann Lay <avr@gjlay.de>
9741
9742 Implement light-weight DImode support.
9743 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9744 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9745 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9746 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9747
04dbc287
NS
97482011-12-30 Nathan Sidwell <nathan@acm.org>
9749
9750 * libgcov.c (gcov_crc32): Remove global var.
9751 (free_fn_data): New function.
9752 (buffer_fn_data): Pass in filename, more robust error recovery.
9753 (crc32_unsigned): New function.
9754 (gcov_exit): More robust detection of new program. More robust
9755 error recovery.
9756 (__gcov_init): Do not update program's crc here.
9757
8e1d97d4
TG
97582011-12-21 Tristan Gingold <gingold@adacore.com>
9759
9760 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9761
9ffaf4bc
ILT
97622011-12-21 Ian Lance Taylor <iant@google.com>
9763
9764 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9765
a0c8d0c1
ILT
97662011-12-20 Ian Lance Taylor <iant@google.com>
9767
9768 * config/i386/morestack.S (__morestack_non_split): If there is
9769 enough stack space already, don't split. Ask for more stack space
9770 than we required.
9771
69048898
SDJ
97722011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9773
9774 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9775 `sys/sdt.h'.
9776 (_Unwind_DebugHook): New function.
9777 (uw_restore_core_regs): New define.
9778 (unwind_phase2): Use uw_restore_core_regs instead of
9779 restore_core_regs.
9780 (unwind_phase2_forced): Likewise.
9781 (__gnu_Unwind_Resume): Likewise.
9782
1bb4b6a3
UB
97832011-12-20 Uros Bizjak <ubizjak@gmail.com>
9784
9785 * config/alpha/linux-unwind.h: Update copyright years.
9786 (MD_FROB_UPDATE_CONTEXT): New define.
9787 (alpha_frob_update_context): New function.
9788
eb028768
RS
97892011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9790
9791 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9792 tmake_file rather replacing it.
9793
6a2045bf
IS
97942011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9795
9796 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9797 function is not used for PPC64.
6a2045bf
IS
9798 (save_world): Amend comments. Update the VRsave mask to reflect the
9799 saved regs.
9800 (rest_world): Update comments, do not clobber r10, do not use r8.
9801 (eh_rest_world_r10): Amend comments, do not use r8.
9802 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9803 no longer used, move restore of CR and target address to the end of
9804 the routine.
9805
a13780a6
L
98062011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9807
9808 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9809 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9810
d7288dfb
GJL
98112011-12-14 Georg-Johann Lay <avr@gjlay.de>
9812
9813 PR target/49313
9814 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9815 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9816
8d2c862d
EB
98172011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9818
9819 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9820
3447cae6
GJL
98212011-12-09 Georg-Johann Lay <avr@gjlay.de>
9822
9823 PR target/49313
9824 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9825 * config/avr/lib1funcs.S (__muldi3): New function.
9826
806fc6aa
AP
98272011-12-06 Andrew Pinski <apinski@cavium.com>
9828
9829 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9830 size of func_ptr.
9831 (__frame_dummy_init_array_entry): Likewise.
9832
28c5e6b5
GJL
98332011-12-06 Georg-Johann Lay <avr@gjlay.de>
9834
9835 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9836
9837 PR target/51345
9838 PR target/51002
9839 * config/avr/lib1funcs.S (__prologue_saves__,
9840 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9841 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9842
8f90394a
IS
98432011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9844
9845 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9846
06dd33ac
JDA
98472011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9848
9849 PR other/51272
9850 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9851 (_ITM_deregisterTMCloneTable): Likewise.
9852 (__register_frame_info): Fix unused warning.
9853 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9854 pthread_default_stacksize_np): Likewise.
9855 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9856
85b8555e
DD
98572011-11-29 DJ Delorie <dj@redhat.com>
9858
9859 * config.host (rl78-*-elf): New case.
9860 * config/rl78: New directory for the Renesas RL78.
9861
4d5ae4ea
BS
98622011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9863
9864 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9865 formatting.
9866
f9c55897
RO
98672011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9868
9869 PR other/51022
9870 * config/rs6000/t-savresfgpr: New file.
9871 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9872 $(srcdir)/config/rs6000/eabi.S.
9873 * config/rs6000/t-ppccomm-ldbl: Remove.
9874 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9875 tmake_file.
9876 (powerpc-*-eabispe*): Likewise.
9877 (powerpc-*-eabi*): Likewise.
9878 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9879 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9880 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9881 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9882 tmake_file.
9883 (powerpc-*-eabisim*): Likewise.
9884 (powerpc-*-elf*): Likewise.
9885 (powerpc-*-eabialtivec*): Likewise.
9886 (powerpc-xilinx-eabi*): Likewise.
9887 (powerpc-*-rtems*): Likewise.
9888 (powerpcle-*-elf*): Likewise.
9889 (powerpcle-*-eabisim*): Likewise.
9890 (powerpcle-*-eabi*): Likewise.
9891
a01207c4
ILT
98922011-11-27 Ian Lance Taylor <iant@google.com>
9893
9894 * generic-morestack.c (__splitstack_find): Check for NULL old
9895 stack value.
9896 (__splitstack_resetcontext): New function.
9897 (__splitstack_releasecontext): New function.
9898 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9899
2b0b8ab2
IS
99002011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9901
9902 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9903
c1d8101c
IS
99042011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9905
9906 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9907
8b281334
RH
99082011-11-26 Richard Henderson <rth@redhat.com>
9909
9910 * config/m68k/linux-atomic.c: New file.
9911 * config/m68k/t-linux: New file.
9912 * config.host (m68k-uclinux, m68k-linux): Use it.
9913
7546aa9d
RH
99142011-11-26 Richard Henderson <rth@redhat.com>
9915
9916 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9917 (__TMC_END__): Only declare if hidden is available; in the definition,
9918 if hidden is unavailable add a null record.
9919 (deregister_tm_clones, register_tm_clones): New.
9920 (__do_global_dtors_aux, frame_dummy): Use them.
9921 (__do_global_dtors, __do_global_ctors_1): Likewise.
9922
e2362f5d
IS
99232011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9924
9925 * config/darwin-crt-tm.c: New file.
9926 * config.host (darwin): Build crttms.o crttme.o to provide
9927 startup and shutdown for tm clones.
9928 * config/t-darwin (crttms.o): New build rule.
9929 (crttme.o): Likewise.
9930
6685dd96
HPN
99312011-11-21 Hans-Peter Nilsson <hp@axis.com>
9932
9933 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9934 et al.
9935
b0dc7e4c
RH
99362011-11-21 Richard Henderson <rth@redhat.com>
9937
9938 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9939 (__TMC_LIST__, __TMC_END__): New.
9940 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9941 (__do_global_dtors): Likewise.
9942 (frame_dummy): Call _ITM_registerTMCloneTable.
9943 (__do_global_ctors_1): Likewise.
9944
d4b4b542
RO
99452011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9946
9947 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9948 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9949 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9950 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9951 * config/i386/t-darwin64: Remove.
9952 * config/sh/t-netbsd (LIB2ADD): Remove.
9953
989bdb74
GJL
99542011-11-21 Georg-Johann Lay <avr@gjlay.de>
9955
9956 PR target/49313
9957 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9958 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9959 * config/avr/lib1funcs.S (wmov): New assembler macro.
9960 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9961 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9962 (__udivmod64): New function.
9963 (__negdi2): New function.
9964
515a0cfc
GP
99652011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9966
9967 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9968 *-*-freebsd*aout*): Remove.
9969
0115d17f
HPN
99702011-11-20 Hans-Peter Nilsson <hp@axis.com>
9971
9972 * static-object.mk (c_flags-$o): Save c_flags.
9973 ($(base)$(objext)): Use it.
9974
93aeb62b
SE
99752011-11-18 Steve Ellcey <sje@cup.hp.com>
9976
9977 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9978
7bc6df2c
GJL
99792011-11-18 Georg-Johann Lay <avr@gjlay.de>
9980
9981 PR target/49868
9982 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9983 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9984 New functions.
9985
425d737b
MGD
99862011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9987
9988 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9989 functions.
1bb4b6a3 9990 (aeabi_uidivmod): Likewise.
425d737b
MGD
9991 (umodsi3): Likewise.
9992 (divsi3): Likewise.
9993 (aeabi_idivmod): Likewise.
9994 (modsi3): Likewise.
9995
f2a176dc
TG
99962011-11-16 Tristan Gingold <gingold@adacore.com>
9997
9998 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9999
7c209481
GJL
100002011-11-15 Georg-Johann Lay <avr@gjlay.de>
10001
10002 PR target/49868
10003 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10004 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10005
9dfd5832
JDA
100062011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10007
10008 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10009 tmake_file list.
10010 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10011 * config/pa/t-stublib64: Delete.
10012
f77dca5d
RH
100132011-11-12 Richard Henderson <rth@redhat.com>
10014
10015 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10016 cast the pointer argument to _Unwind_SetGRPtr.
10017
902828f0
RO
100182011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10019
10020 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10021
e14304ef
ILT
100222011-11-09 Ian Lance Taylor <iant@google.com>
10023
10024 * generic-morestack.c: Include <string.h>.
10025 (uintptr_type): Define.
10026 (struct initial_sp): Add dont_block_signals field. Reduce size of
10027 extra array by 1.
10028 (allocate_segment): Set prev field to NULL. Don't set
10029 __morestack_current_segment or __morestack_segments.
10030 (__generic_morestack): Update current->prev and *pp after calling
10031 allocate_segment.
10032 (__morestack_block_signals): Don't do anything if
10033 dont_block_signals is set.
10034 (__morestack_unblock_signals): Likewise.
10035 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10036 uintptr_type.
10037 (__splitstack_block_signals): New function.
10038 (enum __splitstack_content_offsets): Define.
10039 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10040 (__splitstack_makecontext): New function.
10041 (__splitstack_block_signals_context): New function.
10042 (__splitstack_find_context): New function.
10043 * config/i386/morestack.S (__morestack_get_guard): New function.
10044 (__morestack_set_guard, __morestack_make_guard): New functions.
10045 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10046
e3d871e4
RO
100472011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10048
10049 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10050 (i[34567]86-*-mingw*): ... here.
10051 (x86_64-*-mingw*): ... here.
10052
e55cef40
RO
100532011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10054
10055 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10056
5366b186
NS
100572011-11-07 Nathan Sidwell <nathan@acm.org>
10058
10059 * libgcov.c (struct gcov_fn_buffer): New struct.
10060 (buffer_fn_data): New helper.
10061 (gcov_exit): Rework for new gcov data structures.
10062
74155a6f
GJL
100632011-11-07 Georg-Johann Lay <avr@gjlay.de>
10064
10065 PR target/49313
10066 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10067
200feb07
RO
100682011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10069
10070 * config.host (tmake_file): Correct comment.
10071 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10072 t-libgcc-pic.
10073 (bfin*-uclinux*): Likewise.
10074 (bfin*-linux-uclibc*): Likewise.
10075 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10076
10077 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10078 assigning.
10079 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10080 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10081 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10082 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10083 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10084 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10085 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10086 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10087 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10088 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10089 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10090 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10091 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10092
10093 * config/bfin/t-elf: Remove.
10094 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10095
c9cd1a07
RO
100962011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10097
10098 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10099 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10100 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10101 (lm32-*-elf*): ... this.
10102 (lm32-*-rtems*): ... and this.
10103 Add to tmake_file.
10104 (m32r-*-rtems*): Add to tmake_file.
10105 (moxie-*-rtems*): Likewise.
10106 (sparc-*-rtems*): Likewise.
10107 Remove t-rtems from tmake_file.
10108 (sparc64-*-rtems*): Likewise.
10109 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10110 instead.
10111
9fbcc75d
RO
101122011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10113
10114 PR bootstrap/50982
10115 * config/gthr-posix.h: Move ...
10116 * gthr-posix.h: ... here.
10117 * config/gthr-lynx.h: Reflect this.
10118 * config/gthr-vxworks.h: Likewise.
10119 * config/rs6000/gthr-aix.h: Likewise.
10120 * configure.ac (target_thread_file): Likewise.
10121 * configure: Regenerate.
10122
76644b68
SH
101232011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10124
10125 * config.host (arm*-*-rtemseabi*): New target.
10126
5e490f2a
JDA
101272011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10128
10129 PR other/50991
10130 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10131 extra-parts.
10132
feeeff5c
JR
101332011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10134
10135 * config.host (epiphany-*-elf*): New configuration.
10136 * config/epiphany: New Directory.
10137
d618bb2c
RC
101382011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10139
10140 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10141 * config/avr/t-rtems: New.
10142 Filter out _exit from LIB1ASMFUNCS.
10143
1bb6f778
DM
101442011-11-04 David S. Miller <davem@davemloft.net>
10145
10146 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10147 * configure: Rebuild.
10148
9a7f7422
AK
101492011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10150
10151 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10152 variable.
10153
e4fe948a
GJL
101542011-11-04 Georg-Johann Lay <avr@gjlay.de>
10155
10156 PR target/50931
10157 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10158 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10159
7084e037
JS
101602011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10161
10162 PR target/50989
10163 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10164
1a032034
RO
101652011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10166
10167 * config/c6x/t-elf (LIB2ADDEH): Set.
10168 * config/c6x/t-c6x-elf: Remove.
10169
d385f772
RO
101702011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10171
10172 * config/i386/sol2-ci.S: Rename to ...
10173 * config/i386/crti.S: ... this.
10174 * config/i386/sol2-cn.S: Rename to ...
10175 * config/i386/crtn.S: ... this.
10176 * config/sparc/sol2-ci.S: Rename to ...
10177 * config/sparc/crti.S: ... this.
10178 * config/sparc/sol2-cn.S: Rename to ...
10179 * config/sparc/crtn.S: ... this.
10180 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10181 (crti.o, crtn.o): Remove.
10182
1ba878a9
TG
101832011-11-04 Tristan Gingold <gingold@adacore.com>
10184
10185 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10186
02750c15
KK
101872011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10188
10189 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10190
bf86b067
HPN
101912011-11-03 Hans-Peter Nilsson <hp@axis.com>
10192
10193 * config.host (crisv32-*-none, cris-*-none): Remove.
10194 (crisv32-*-elf): Append to tmake_file, don't just set it.
10195 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10196
d0bc53bd
RO
101972011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10198
10199 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10200 (ecrtn$(objext)): Likewise.
10201 (ncrti$(objext)): Likewise.
10202 (ncrtn$(objext)): Likewise.
10203
036da830
AS
102042011-11-03 Andreas Schwab <schwab@redhat.com>
10205
10206 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10207
d2a7d041
DM
102082011-11-02 David S. Miller <davem@davemloft.net>
10209
10210 * configure.ac: Set host_address on sparc too.
10211 * configure: Regenerate.
10212 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10213 based upon host_address.
10214 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10215
af8ed618
JM
102162011-11-02 Jason Merrill <jason@redhat.com>
10217
10218 * config/rs6000/t-ppccomm: Add missing \.
10219
5d1c8e77
RO
102202011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10221
10222 * gthr-single.h, gthr.h: New files.
10223 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10224 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10225 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10226 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10227 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10228 * configure.ac (thread_header): New variable.
10229 Set it depending on target_thread_file.
10230 (gthr-default.h): Link from $thread_header.
10231 * configure: Regenerate.
10232 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10233
852b75ed
RO
102342011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10235
10236 * configure.ac (tm_file_): New variable.
10237 Determine from tm_file.
10238 (tm_file, tm_defines): Substitute.
10239 * configure: Regenerate.
10240 * mkheader.sh: New file.
10241 * Makefile.in (clean): Remove libgcc_tm.h.
10242 ($(objects)): Depend on libgcc_tm.h.
10243 (libgcc_tm_defines, libgcc_tm_file): New variables.
10244 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10245 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10246 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10247 ($(extra-parts)): Depend on libgcc_tm.h.
10248 * config.host (tm_defines, tm_file): New variable.
10249 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10250 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10251 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10252 (avr-*-rtems*): Likewise.
10253 (avr-*-*): Likewise.
10254 (frv-*-elf): Likewise.
10255 (frv-*-*linux*): Likewise.
10256 (h8300-*-rtems*): Likewise.
10257 (h8300-*-elf*): Likewise.
10258 (i[34567]86-*-darwin*): Likewise.
10259 (x86_64-*-darwin*): Likewise.
10260 (rx-*-elf): Likewise.
10261 (tic6x-*-uclinux): Likewise.
10262 (tic6x-*-elf): Likewise.
10263 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10264 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10265 * config/i386/cygming-crtbegin.c: Likewise.
10266 * config/i386/cygming-crtend.c: Likewise.
10267 * config/ia64/fde-vms.c: Likewise.
10268 * config/ia64/unwind-ia64.c: Likewise.
10269 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10270 * config/rs6000/darwin-fallback.c: Likewise.
10271 * config/stormy16/lib2funcs.c: Likewise.
10272 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10273 * crtstuff.c: Likewise.
10274 * dfp-bit.h: Likewise.
10275 * emutls.c: Likewise.
10276 * fixed-bit.c: Likewise.
10277 * fp-bit.c: Likewise.
10278 * generic-morestack-thread.c: Likewise.
10279 * generic-morestack.c: Likewise.
10280 * libgcc2.c: Likewise.
10281 * libgcov.c: Likewise.
10282 * unwind-dw2-fde-dip.c: Likewise.
10283 * unwind-dw2-fde.c: Likewise.
10284 * unwind-dw2.c: Likewise.
10285 * unwind-sjlj.c: Likewise.
10286
f9989b51
RO
102872011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10288
10289 * configure.ac: Include ../config/picflag.m4.
10290 (GCC_PICFLAG): Call it.
10291 Substitute.
10292 * configure: Regenerate.
10293 * Makefile.in (gcc_srcdir): Remove.
10294 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10295 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10296 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10297 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10298 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10299 Use $<.
10300 Remove comment.
10301 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10302 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10303 to refer to libgcc2.c.
10304 Use $<.
10305 * config/darwin-64.c: New file.
10306 * config/darwin-crt3.c: Remove comment.
10307 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10308 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10309 config/udivmodsi4.c: New files.
10310 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10311 config/memset.c: New files.
10312 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10313 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10314 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10315 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10316 * config/t-openbsd-thread: New file.
10317 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10318 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10319 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10320 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10321 qrnnd.S.
10322 Adapt filename.
10323 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10324 to refer to gthr-posix.c.
10325 * config/alpha/t-vms (LIB2ADD): Set.
10326 * config/alpha/vms-gcc_shell_handler.c: New file.
10327 * config/arm/bpabi.c, config/arm/fp16.c,
10328 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10329 config/arm/unaligned-funcs.c: New files.
10330 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10331 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10332 * config/arm/t-linux: Likewise.
10333 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10334 * config/arm/t-netbsd: New file.
10335 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10336 * config/arm/t-symbian (LIB2ADD_ST): Set.
10337 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10338 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10339 * config/bfin/t-elf: New file.
10340 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10341 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10342 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10343 config/c6x/ltf.c: New files.
10344 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10345 (HOST_LIBGCC2_CFLAGS): Set.
10346 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10347 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10348 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10349 New files.
10350 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10351 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10352 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10353 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10354 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10355 files.
10356 * config/frv/t-frv (LIB2ADD): Set.
10357 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10358 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10359 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10360 config/h8300/popcounthi2.c: New files.
10361 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10362 * config/i386/gthr-win32.c: New file.
10363 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10364 * config/i386/t-cygwin: Likewise.
10365 * config/i386/t-darwin, config/i386/t-darwin64,
10366 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10367 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10368 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10369 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10370 * config/ia64/quadlib.c: New file.
10371 * config/ia64/t-hpux (LIB2ADD): Set.
10372 * config/ia64/t-ia64: Add comment.
10373 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10374 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10375 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10376 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10377 * config/m32c/t-m32c (LIB2ADD): Set.
10378 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10379 * config/m32r/t-m32r: Likewise.
10380 * config/m68k/fpgnulib.c: New file.
10381 * config/m68k/t-floatlib (LIB2ADD): Set.
10382 (xfgnulib.c): New target.
10383 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10384 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10385 * config/mep/t-mep (LIB2ADD): Set.
10386 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10387 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10388 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10389 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10390 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10391 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10392 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10393 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10394 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10395 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10396 New files.
10397 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10398 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10399 * config/pa/fptr.c, config/pa/lib2funcs.S,
10400 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10401 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10402 (LIB2ADD, LIB2ADD_ST): Set.
10403 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10404 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10405 Set.
10406 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10407 * config/pdp11/t-pdp11: New file.
10408 * config/picochip/libgccExtras/adddi3.S,
10409 config/picochip/libgccExtras/ashlsi3.S,
10410 config/picochip/libgccExtras/ashrsi3.S,
10411 config/picochip/libgccExtras/clzsi2.S,
10412 config/picochip/libgccExtras/cmpsi2.S,
10413 config/picochip/libgccExtras/divmod15.S,
10414 config/picochip/libgccExtras/divmodhi4.S,
10415 config/picochip/libgccExtras/divmodsi4.S,
10416 config/picochip/libgccExtras/lshrsi3.S,
10417 config/picochip/libgccExtras/parityhi2.S,
10418 config/picochip/libgccExtras/popcounthi2.S,
10419 config/picochip/libgccExtras/subdi3.S,
10420 config/picochip/libgccExtras/ucmpsi2.S,
10421 config/picochip/libgccExtras/udivmodhi4.S,
10422 config/picochip/libgccExtras/udivmodsi4.S: New files.
10423 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10424 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10425 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10426 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10427 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10428 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10429 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10430 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10431 files.
10432 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10433 (HOST_LIBGCC2_CFLAGS): Set.
10434 * config/rs6000/t-darwin64: New file.
10435 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10436 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10437 * config/rs6000/t-ppccomm (LIB2ADD): Add
10438 $(srcdir)/config/rs6000/tramp.S.
10439 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10440 Add $(srcdir)/config/rs6000/eabi.S.
10441 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10442 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10443 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10444 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10445 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10446 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10447 * config/rs6000/tramp.S: New file.
10448 * config/s390/t-tpf: Remove.
10449 * config/sh/linux-atomic.S: New file.
10450 * config/sh/t-linux (LIB2ADD): Set.
10451 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10452 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10453 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10454 to unwind-dw2.c.
10455 (HOST_LIBGCC2_CFLAGS): Set.
10456 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10457 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10458 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10459 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10460 config/spu/mfc_multi_tag_release.c,
10461 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10462 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10463 config/spu/multi3.c: New files.
10464 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10465 (HOST_LIBGCC2_CFLAGS): Set.
10466 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10467 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10468 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10469 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10470 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10471 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10472 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10473 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10474 config/stormy16/umodsi3.c: New files.
10475 * config/xtensa/lib2funcs.S: New file.
10476 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10477 * config/xtensa/t-xtensa (LIB2ADD): Set.
10478 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10479 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10480 Add t-freebsd-thread to tmake_file for posix threads.
10481 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10482 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10483 (*-*-lynxos*): Likewise.
10484 (*-*-netbsd*): Likewise.
10485 (*-*-openbsd*): Likewise.
10486 Add t-openbsd-thread to tmake_file for posix threads.
10487 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10488 (*-*-vxworks*): Set tmake_file.
10489 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10490 (alpha*-*-freebsd*): Likewise.
10491 (alpha*-*-netbsd*): Likewise.
10492 (alpha*-*-openbsd*): Likewise.
10493 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10494 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10495 (alpha*-dec-*vms*): Likewise.
10496 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10497 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10498 (bfin*-uclinux*): Likewise.
10499 (bfin*-linux-uclibc*): Likewise.
10500 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10501 (crisv32-*-none): Likewise.
10502 (cris-*-elf): Likewise.
10503 (cris-*-none): Likewise.
10504 (cris-*-linux*, crisv32-*-linux*): Likewise.
10505 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10506 tmake_file.
10507 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10508 tmake_file.
10509 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10510 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10511 (x86_64-*-elf*): Likewise.
10512 (i[34567]86-*-nto-qnx*): Likewise.
10513 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10514 win32 threads.
10515 (x86_64-*-mingw*): Likewise.
10516 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10517 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10518 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10519 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10520 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10521 tmake_file.
10522 (mipsisa64sr71k-*-elf*): Likewise.
10523 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10524 (mips-*-elf*, mipsel-*-elf*): Likewise.
10525 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10526 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10527 (mips*-*-rtems*): Likewise.
10528 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10529 to tmake_file.
10530 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10531 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10532 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10533 (spu-*-elf*): Likewise.
10534 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10535
45b86625
RO
105362011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10537
10538 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10539 $(srcdir) to refer to $(LIB1ASMSRC).
10540 Use $<.
10541 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10542 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10543 config/arm/lib1funcs.S: New files.
10544 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10545 * config/arm/t-arm: New file.
10546 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10547 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10548 config/arm/t-strongarm-elf: New files.
10549 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10550 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10551 * config/avr/lib1funcs.S: New file.
10552 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10553 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10554 * config/c6x/lib1funcs.S: New file.
10555 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10556 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10557 * config/frv/lib1funcs.S: New file.
10558 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10559 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10560 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10561 * config/ia64/__divxf3.asm: Rename to ...
10562 * config/ia64/__divxf3.S: ... this.
10563 Adapt lib1funcs.asm filename.
10564 * config/ia64/_fixtfdi.asm: Rename to ...
10565 * config/ia64/_fixtfdi.S: ... this.
10566 Adapt lib1funcs.asm filename.
10567 * config/ia64/_fixunstfdi.asm: Rename to ...
10568 * config/ia64/_fixunstfdi.S: ... this.
10569 Adapt lib1funcs.asm filename.
10570 * config/ia64/_floatditf.asm: Rename to ...
10571 * config/ia64/_floatditf.S: ... this.
10572 Adapt lib1funcs.asm filename.
10573 * config/ia64/lib1funcs.S: New file.
10574 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10575 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10576 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10577 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10578 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10579 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10580 * config/mep/lib1funcs.S: New file.
10581 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10582 * config/mips/mips16.S: New file.
10583 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10584 * config/pa/milli64.S: New file.
10585 * config/pa/t-linux, config/pa/t-linux64: New files.
10586 * config/picochip/lib1funcs.S: New file.
10587 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10588 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10589 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10590 * config/sh/t-netbsd: New file.
10591 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10592 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10593 * config/sh/t-sh64: New file.
10594 * config/sparc/lb1spc.S: New file.
10595 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10596 filename.
10597 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10598 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10599 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10600 config/xtensa/lib1funcs.S: New files.
10601 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10602 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10603 tmake_file.
10604 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10605 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10606 (arm*-*-linux*): Likewise.
10607 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10608 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10609 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10610 (arm*-*-ecos-elf): Likewise.
10611 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10612 (arm*-*-rtems*): Likewise.
10613 (arm*-*-elf): Likewise.
10614 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10615 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10616 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10617 (bfin*-uclinux*): Likewise.
10618 (bfin*-linux-uclibc*): Likewise.
10619 (bfin*-rtems*): Likewise.
10620 (bfin*-*): Likewise.
10621 (fido-*-elf): Merge into m68k-*-elf*.
10622 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10623 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10624 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10625 (h8300-*-elf*): Likewise.
10626 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10627 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10628 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10629 (i[34567]86-*-mingw*): Likewise.
10630 (x86_64-*-mingw*): Likewise.
10631 (i[34567]86-*-interix3*): Likewise.
10632 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10633 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10634 (m68k-*-elf*): Also handle fido-*-elf.
10635 Add m68k/t-floatlib to tmake_file.
10636 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10637 (m68k-*-linux*): Likewise.
10638 (m68k-*-rtems*): Likewise.
10639 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10640 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10641 sh64*-*-*.
10642 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10643 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10644 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10645 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10646 sh/t-netbsd to tmake_file.
10647 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10648 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10649 (sh-wrs-vxworks): Likewise.
10650 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10651 *-leon[3-9]*.
10652 (v850*-*-*): Add v850/t-v850 to tmake_file.
10653 (vax-*-linux*): Add vax/t-linux to tmake_file.
10654 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10655
5f73c6cc
RO
106562011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10657
10658 * crtstuff.c: New file.
10659 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10660 (CRTSTUFF_T_CFLAGS): Define.
10661 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10662 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10663 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10664 crtstuff.c.
10665 Use $<.
10666 (crtbeginT.o): Use $(objext).
10667 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10668 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10669 (gcc-extra-parts): Remove.
10670 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10671 Set extra_parts.
10672 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10673 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10674 Add t-crtstuff-pic to tmake_file.
10675 (*-*-lynxos*): New case.
10676 Set tmake_file, extra_parts.
10677 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10678 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10679 *-*-netbsdelf[2-9]*.
10680 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10681 (*-*-rtems*): Set extra_parts.
10682 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10683 (*-*-uclinux*): New case.
10684 Set extra_parts.
10685 (*-*-vms*): New case.
10686 Set tmake_file, extra_parts.
10687 (*-*-elf): Set extra_parts.
10688 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10689 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10690 vms/t-vms64.
10691 Set extra_parts.
10692 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10693 Set extra_parts.
10694 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10695 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10696 (arm-wrs-vxworks): Append to tmake_file.
10697 Set extra_parts.
10698 (arm*-*-uclinux*): Set extra_parts.
10699 (arm*-*-ecos-elf): Likewise.
10700 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10701 arm*-*-eabi*.
10702 (arm*-*-rtems*): Set extra_parts.
10703 (arm*-*-elf): Likewise.
10704 (avr-*-rtems*): Clear extra_parts.
10705 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10706 Set extra_parts.
10707 (bfin*-uclinux*): Likewise.
10708 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10709 (bfin*-rtems*): Append to tmake_file.
10710 Set extra_parts.
10711 (bfin*-*): Likewise.
10712 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10713 (crisv32-*-elf): ... this.
10714 (crisv32-*-none): ... this.
10715 (cris-*-elf, cris-*-none): New cases.
10716 Add cris/t-elfmulti to tmake_file.
10717 (fr30-*-elf): Append to tmake_file.
10718 Set extra_parts.
10719 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10720 Set extra_parts.
10721 (h8300-*-rtems*): Append to tmake_file.
10722 Set extra_parts.
10723 (h8300-*-elf*): Likewise.
10724 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10725 Set extra_parts.
10726 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10727 Set extra_parts.
10728 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10729 (x86_64-*-elf*): Likewise.
10730 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10731 (x86_64-*-freebsd*): Likewise.
10732 (x86_64-*-netbsd*): Likewise.
10733 (i[34567]86-*-linux*): Likewise.
10734 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10735 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10736 (x86_64-*-linux*): Likewise.
10737 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10738 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10739 tmake_file.
10740 Set extra_parts.
10741 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10742 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10743 Append to extra_parts, remove crtbegin.o, crtend.o.
10744 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10745 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10746 crtend.o, crtbeginS.o, crtendS.o.
10747 (ia64*-*-linux*): Comment extra_parts.
10748 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10749 Set extra_parts.
10750 (iq2000*-*-elf*): Clear extra_parts.
10751 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10752 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10753 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10754 (m32r-*-rtems*): ... this.
10755 Add m32r/t-m32r to tmake_file.
10756 (m68k-*-elf*): Add t-crtin to tmake_file.
10757 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10758 (mcore-*-elf): Likewise.
10759 (microblaze*-*-*): Set extra_parts.
10760 (mips*-sde-elf*): New case.
10761 Set tmake_file, extra_parts.
10762 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10763 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10764 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10765 tmake_file.
10766 Set extra_parts.
10767 (mipsisa64sr71k-*-elf*): Likewise.
10768 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10769 (mips-*-elf*, mipsel-*-elf*): Likewise.
10770 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10771 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10772 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10773 (mips*-*-rtems*): Likewise.
10774 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10775 (moxie-*-*): Split into ...
10776 (moxie-*-elf, moxie-*-uclinux*): ... this.
10777 Add to extra_parts, remove crtbegin.o, crtend.o.
10778 (moxie-*-rtems*): New case.
10779 Set tmake_file.
10780 Clear extra_parts.
10781 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10782 Set extra_parts.
10783 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10784 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10785 tmake_file.
10786 Set extra_parts.
10787 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10788 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10789 Set extra_parts.
10790 (powerpc-*-eabisim*): Likewise.
10791 (powerpc-*-elf*): Likewise.
10792 (powerpc-*-eabialtivec*): Likewise.
10793 (powerpc-xilinx-eabi*): Likewise.
10794 (powerpc-*-eabi*): Likewise.
10795 (powerpc-*-rtems*): Likewise.
10796 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10797 tmake_file.
10798 Set extra_parts.
10799 (powerpc-*-lynxos*): Add to tmake_file.
10800 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10801 rs6000/t-crtstuff, t-crtstuff-pic.
10802 Set extra_parts.
10803 (powerpcle-*-eabisim*): Likewise.
10804 (powerpcle-*-eabi*): Likewise.
10805 (rx-*-elf): Remove extra_parts.
10806 (s390x-ibm-tpf*): Set extra_parts.
10807 (score-*-elf): Set extra_parts.
10808 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10809 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10810 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10811 (sh64l*-*-netbsd*): Split into ...
10812 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10813 Add t-crtstuff-pic to tmake_file.
10814 Set extra_parts.
10815 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10816 Set extra_parts.
10817 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10818 (sparc-*-elf*): Remove t-crtin from tmake_file.
10819 Add to extra_parts, remove crtbegin.o, crtend.o.
10820 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10821 (sparc64-*-linux*): Likewise.
10822 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10823 Add to extra_parts, remove crtbegin.o, crtend.o.
10824 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10825 Add to extra_parts, remove crtbegin.o, crtend.o.
10826 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10827 Add to extra_parts, remove crtbegin.o, crtend.o.
10828 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10829 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10830 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10831 Set extra_parts.
10832 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10833 Set extra_parts.
10834 (tic6x-*-*): Change to ...
10835 (tic6x-*-elf): ... this.
10836 Set extra_parts.
10837 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10838 Set extra_parts.
10839 (am33_2.0-*-linux*): Add comment.
10840 (mep*-*-*): Add mep/t-mep to tmake_file.
10841 Set extra_parts.
10842 * config/alpha/t-vms: New file.
10843 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10844 * config/arm/crti.S, config/arm/crtn.S: New files.
10845 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10846 * config/bfin/crtlibid.S: New file.
10847 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10848 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10849 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10850 (crti.o, crtin.o): New rules.
10851 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10852 * config/c6x/t-uclinux: New file.
10853 * config/cris/t-elfmulti: New file.
10854 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10855 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10856 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10857 * config/frv/t-frv: New file.
10858 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10859 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10860 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10861 New files.
10862 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10863 refer to cygming-crtbegin.c, cygming-crtend.c.
10864 Use $<.
10865 * config/i386/t-nto: New file.
10866 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10867 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10868 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10869 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10870 Use .S extension.
10871 Use $<.
10872 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10873 (crtinitS.o): New rule.
10874 * config/ia64/vms-crtinit.S: New file.
10875 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10876 * config/m32r/initfini.c: New file.
10877 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10878 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10879 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10880 * config/mep/t-mep: New file.
10881 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10882 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10883 * config/mips/crti.S, config/mips/crtn.S: New files.
10884 * config/mips/t-crtstuff: New file.
10885 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10886 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10887 (CUSTOM_CRTIN): Set.
10888 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10889 dependencies.
10890 Use $(srcdir) to refer to crti.S, crtn.S.
10891 Use .S extension, $<.
10892 * config/moxie/crti.asm: Rename to ...
10893 * config/moxie/crti.S: ... this.
10894 * config/moxie/crtn.asm: Rename to ...
10895 * config/moxie/crtn.S: ... this.
10896 * config/moxie/t-moxie: Remove.
10897 * config/pa/stublib.c: New file.
10898 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10899 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10900 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10901 * config/rs6000/t-crtstuff: New file.
10902 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10903 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10904 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10905 Make output file explicit.
10906 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10907 Make output file explicit.
10908 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10909 Make output file explicit.
10910 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10911 Make output file explicit.
10912 * config/score/crti.S, config/score/crtn.S: New files.
10913 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10914 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10915 files.
10916 * config/sh/t-sh, config/sh/t-superh: New files.
10917 * config/sparc/t-linux64: New file.
10918 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10919 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10920 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10921 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10922 * config/t-crtin: Remove.
10923 * config/t-crtstuff-pic: New file.
10924 * config/t-sol2 (CUSTOM_CRTIN): Set.
10925 (crti.o, crtn.o): New rules.
10926 * config/vms/t-vms: New file.
10927 * config/vms/vms-ucrt0.c: New file.
10928 * config/xtensa/t-elf: New file.
10929
b040f2be
RO
109302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10931
10932 * Makefile.in (SHLIB_NM_FLAGS): Set.
10933 * mkmap-flat.awk, mkmap-symver.awk: New files.
10934 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10935 exceptions.
10936 * configure: Regenerate.
10937 * config/libgcc-glibc.ver: New file.
10938 * config/libgcc-libsystem.ver: New file.
10939 * config/t-libunwind (SHLIB_LC): Set.
10940 * config/t-linux: New file.
10941 * config/t-slibgcc (INSTALL_SHLIB): New.
10942 (SHLIB_INSTALL): Use it.
10943 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10944 to mkmap-symver.awk.
10945 (SHLIB_MAPFILES): Don't append, adapt pathname.
10946 (SHLIB_VERPFX): Set.
10947 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10948 to mkmap-symver.awk.
10949 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10950 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10951 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10952 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10953 to mkmap-flat.awk.
10954 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10955 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10956 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10957 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10958 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10959 * config/i386/libgcc-darwin.10.4.ver,
10960 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10961 New files.
10962 * config/i386/t-darwin: Remove.
10963 * config/i386/t-darwin64: Likewise.
10964 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10965 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10966 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10967 * config/i386/t-linux: New file.
10968 * config/i386/t-mingw32: New file.
10969 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10970 * config/ia64/t-glibc: Rename to ...
10971 * config/ia64/t-linux: ... this.
10972 (SHLIB_MAPFILES): Set.
10973 * config/ia64/t-glibc-libunwind: Rename to ...
10974 * config/ia64/t-linux-libunwind: ... this.
10975 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10976 * config/ia64/t-slibgcc-hpux: New file.
10977 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10978 * config/m68k/t-slibgcc-elf-ver: New file.
10979 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10980 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10981 to mkmap-flat.awk.
10982 * config/pa/t-slibgcc-hpux: New file.
10983 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10984 files.
10985 * config/rs6000/libgcc-darwin.10.4.ver,
10986 config/rs6000/libgcc-darwin.10.5.ver: New files.
10987 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10988 config/rs6000/libgcc-glibc.ver.
10989 * config/rs6000/libgcc-ppc64.ver: Rename to
10990 config/rs6000/libgcc-ibm-ldouble.ver.
10991 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10992 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10993 * config/rs6000/t-ldbl128: Rename to ...
10994 * config/rs6000/t-linux: ... this.
10995 (SHLIB_MAPFILES): Adapt filename.
10996 * config/rs6000/t-slibgcc-aix: New file.
10997 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10998 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10999 libgcc-excl.ver, libgcc-glibc.ver.
11000 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11001 * config/sparc/libgcc-glibc.ver: New file.
11002 * config/sparc/t-linux: New file.
11003 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11004 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11005 t-slibgcc-elf-ver to tmake_file.
11006 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11007 *-*-freebsd[34].
11008 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11009 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11010 t-slibgcc-elf-ver, t-linux to tmake_file.
11011 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11012 tmake_file.
11013 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11014 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11015 (alpha*-dec-*vms*): Likewise.
11016 (arm*-*-freebsd*): Append to tmake_file.
11017 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11018 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11019 arm*-*-linux-*eabi.
11020 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11021 tmake_file for arm*-*-symbianelf*.
11022 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11023 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11024 cris/t-linux.
11025 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11026 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11027 pa/t-slibgcc-dwarf-ver to tmake_file.
11028 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11029 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11030 (hppa*64*-*-hpux11*): Likewise.
11031 (hppa[12]*-*-hpux11*): Likewise.
11032 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11033 i386/t-crtpc, i386/t-crtfm.
11034 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11035 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11036 to tmake_file.
11037 Add i386/t-cygwin to tmake_file.
11038 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11039 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11040 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11041 to tmake_file.
11042 Add i386/t-mingw32 to tmake_file.
11043 (x86_64-*-mingw*): Likewise.
11044 (ia64*-*-freebsd*): Append to tmake_file.
11045 (ia64*-*-linux*): Append to tmake_file.
11046 Replace ia64/t-glibc by ia64/t-linux.
11047 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11048 system libunwind.
11049 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11050 t-slibgcc-hpux to tmake_file.
11051 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11052 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11053 (m32rle-*-linux*): Likewise.
11054 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11055 sjlj exceptions.
11056 (microblaze*-linux*): New case.
11057 Append to tmake_file, add t-slibgcc-nolc-override.
11058 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11059 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11060 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11061 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11062 rs6000/t-slibgcc-aix to tmake_file.
11063 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11064 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11065 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11066 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11067 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11068 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11069 sh*-*-linux*.
11070 (sparc-*-linux*): Append to tmake_file for *-leon*.
11071 Add sparc/t-linux to tmake_file for non-Leon targets.
11072 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11073 (tic6x-*-uclinux): New case.
11074 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11075 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11076 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11077 (am33_2.0-*-linux*): Append to tmake_file.
11078 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11079 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11080 x86_64-*-kfreebsd*-gnu.
11081 Add i386/t-linux to tmake_file.
11082
18b4bd7b
ILT
110832011-10-28 Ian Lance Taylor <iant@google.com>
11084
11085 * config/i386/morestack.S: Correct CFI information to do proper
11086 returns throughout function. In 32-bit mode, save %ebx so that it
11087 is restored on unwind.
11088
5b2d9d90
BS
110892011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11090
11091 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11092 case where B3 isn't the return register.
11093
0d53e346
BS
11094 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11095 logic for doubleword pops.
11096
cbffbd59
AT
110972011-10-25 Andreas Tobler <andreast@fgznet.ch>
11098
11099 * config/rs6000/t-freebsd: Add wildcard.
11100
56dc349e
PB
111012011-10-21 Paul Brook <paul@codesourcery.com>
11102
11103 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11104
1e06b07d
UB
111052011-10-16 Uros Bizjak <ubizjak@gmail.com>
11106 Eric Botcazou <ebotcazou@adacore.com>
11107
11108 PR target/50737
11109 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11110 fs->signal_frame to 1.
11111
b5204884
ILT
111122011-10-07 Ian Lance Taylor <iant@google.com>
11113
11114 * generic-morestack-thread.c: #include <errno.h>.
11115
91a639a1
ILT
111162011-10-07 Ian Lance Taylor <iant@google.com>
11117
11118 PR target/46093
11119 * generic-morestack.c (__generic_morestack): Make sure the segment
11120 is large enough for both the stack frame and the copied
11121 parameters.
11122
cc49116d
RO
111232011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11124
11125 PR bootstrap/49804
11126 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11127 extra_parts.
11128
2996d8c3
NC
111292011-09-28 Nick Clifton <nickc@redhat.com>
11130
11131 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11132 64-bit doubles are not enabled.
11133 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11134 and floatunsisf functions.
11135
1e874273 111362011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11137
1e874273
PB
11138 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11139 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11140 * unwind-arm-common.inc: New file.
11141 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11142 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11143 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11144 * config/c6x/libunwind.S: New file.
11145 * config/c6x/pr-support.c: New file.
11146 * config/c6x/unwind-c6x.c: New file.
11147 * config/c6x/unwind-c6x.h: New file.
11148 * config/c6x/t-c6x-elf: New file.
11149
f70c879a
UB
111502011-08-23 Uros Bizjak <ubizjak@gmail.com>
11151
11152 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11153 (ASM_DIVZERO): Ditto.
11154 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11155
c55b374b
RS
111562011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11157
11158 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11159
1e138510
RS
111602011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11161
11162 PR target/50090
11163 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11164 instead of an assembly one.
11165
1563503d
PB
111662011-08-12 Paolo Bonzini <bonzini@gnu.org>
11167
11168 PR bootstrap/50047
11169 * Makefile.in (install-unwind_h): Create
11170 $(gcc_objdir)/include/unwind.h atomically.
11171
3627ac1a
RO
111722011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11173
11174 * Makefile.in (install-unwind_h): Remove destination file first.
11175
c6412d86
RO
111762011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11177
11178 * sync.c: New file.
11179 * config/mips/t-mips16: New file.
11180 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11181 (mips*-*-linux*): Likewise.
11182 (mips*-sde-elf*): Likewise.
11183 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11184 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11185 Add mips/t-mips16 to tmake_file.
11186 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11187 (mips-*-elf*): Likewise.
11188 (mips64-*-elf*): Likewise.
11189 (mips64orion-*-elf*): Likewise.
11190 (mips*-*-rtems*): Likewise.
11191 (mipstx39-*-elf*): Likewise.
11192 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11193 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11194 LIBGCC_SYNC_CFLAGS.
11195 Use $(srcdir) to refer to sync.c.
11196 Use $<.
11197 ($(libgcc-sync-funcs-o)): Likewise.
11198 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11199 ($(libgcc-sync-funcs-s-o)): Likewise.
11200
3cb6e5bd
AS
112012011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11202
11203 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11204 t-libunwind.
11205
cca2207a
L
112062011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11207
11208 PR other/48007
11209 * config/i386/value-unwind.h: New.
11210
ed39fbad
RS
112112011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11212
11213 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11214 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11215 Add to tmake_file rather than overriding it.
11216
aca0b0b3
RO
112172011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11218
11219 * config/t-softfp: Remove.
11220 * soft-fp: Moved from ../gcc/config.
11221 * soft-fp/README: Remove t-softfp reference.
11222 * soft-fp/t-softfp: Move to config/t-softfp.
11223 (softfp_machine_header): Remove.
11224 (softfp_file_list): Remove config subdir.
11225 (soft-fp-objects): New variable.
11226 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11227 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11228 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11229 * config/t-softfp-excl: New file.
11230 * config/t-softfp-sfdf: New file.
11231 * config/t-softfp-tf: New file.
11232 * config/no-sfp-machine.h: New file.
11233 * config/arm/sfp-machine.h: New file.
11234 * config/arm/t-softfp: New file.
11235 * config/c6x/sfp-machine.h: New file.
11236 * config/i386/32/t-fprules-softfp: Rename to ...
11237 * config/i386/32/t-softfp: ... this.
11238 (tifunctions, LIB2ADD): Remove.
11239 (softfp_int_modes): Override.
11240 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11241 subdir.
11242 * config/i386/64/eqtf2.c: Likewise.
11243 * config/i386/64/getf2.c: Likewise.
11244 * config/i386/64/letf2.c: Likewise.
11245 * config/ia64/sft-machine.h: New file.
11246 * config/ia64/t-fprules-softfp: Rename to ...
11247 * config/ia64/t-softfp: ... this.
11248 * config/lm32/sfp-machine.h: New file.
11249 * config/moxie/t-moxie-softfp: Remove.
11250 * config/rs6000/ibm-ldouble-format: New file.
11251 * config/rs6000/ibm-ldouble.c: New file.
11252 * config/rs6000/libgcc-ppc-glibc.ver: New file
11253 * config/rs6000/libgcc-ppc64.ver: New file
11254 * config/rs6000/sfp-machine.h: New file.
11255 * config/rs6000/t-freebsd: New file.
11256 * config/rs6000/t-ibm-ldouble: New file.
11257 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11258 libgcc-ppc-glibc.ver.
11259 * config/rs6000/t-linux64: New file.
11260 * config/rs6000/t-ppccomm (LIB2ADD): Add
11261 $(srcdir)/config/rs6000/ibm-ldouble.c.
11262 * config/rs6000/t-ppccomm-ldbl: New file.
11263 * config/score/sfp-machine.h: New file.
11264 * config.host (sfp_machine_header): Explain.
11265 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11266 t-softfp to tmake_file.
11267 (arm*-*-uclinux*): Likewise.
11268 (arm*-*-ecos-elf): Likewise.
11269 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11270 (arm*-*-rtems*): Likewise.
11271 (arm*-*-elf): Likewise.
11272 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11273 in tmake_file.
11274 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11275 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11276 (lm32-*-uclinux*): Likewise.
11277 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11278 t-softfp-excl, t-softfp.
11279 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11280 (powerpc64-*-darwin*): Likewise.
11281 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11282 to tmake_file.
11283 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11284 tmake_file.
11285 (powerpc-*-eabisim*): Likewise.
11286 (powerpc-*-elf*): Likewise.
11287 (powerpc-*-eabialtivec*): Likewise.
11288 (powerpc-xilinx-eabi*): Likewise.
11289 (powerpc-*-rtems*): Likewise.
11290 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11291 t-softfp-excl, t-softfp to tmake_file.
11292 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11293 rs6000/t-ppccomm-ldbl to tmake_file.
11294 (powerpcle-*-elf*): Likewise.
11295 (powerpcle-*-eabisim*): Likewise.
11296 (powerpcle-*-eabi*): Likewise.
11297 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11298 rs6000/t-ibm-ldouble to tmake_file.
11299 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11300 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11301 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11302 (tic6x-*-*): Likewise.
11303 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11304 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11305 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11306 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11307 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11308 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11309 t-softfp to tmake_file.
11310 * configure.ac (sfp_machine_header): Provide default if unset.
11311 Substitute.
11312 Link sfp-machine.h to config/$sfp_machine_header.
11313 * configure: Regenerate.
11314
569dc494
RO
113152011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11316
11317 * Makefile.in (double_type_size, long_double_type_size): Set.
11318 Remove $(fpbit-in-libgcc) support.
11319 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11320 (fpbit-src): New variable.
11321 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11322 Compile with -DFLOAT $(FPBIT_CFLAGS).
11323 Use $<.
11324 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11325 Compile with $(FPBIT_CFLAGS).
11326 Use $<.
11327 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11328 Compile with -DFLOAT $(TPBIT_CFLAGS).
11329 Use $<.
11330 * configure.ac (double_type_size, long_double_type_size):
11331 Determine and substitute.
11332 * configure: Regenerate.
11333 * fp-bit.c, fp-bit.h: New files.
11334 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11335 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11336 * config/mips/t-mips: New file.
11337 * config/mips/t-sdemtk: New file.
11338 * config/rs6000/ppc64-fp.c: New file.
11339 * config/rs6000/t-darwin (LIB2ADD): Add
11340 $(srcdir)/config/rs6000/ppc64-fp.c.
11341 * config/rs6000/t-ppc64-fp: New file.
11342 * config/rx/rx-lib.h: New file.
11343 * config/rx/t-rx (FPBIT): Set to true.
11344 ($(gcc_objdir)/fp-bit.c): Remove.
11345 (DPBIT): Set to true only with -m64bit-doubles.
11346 ($(gcc_objdir)/dp-bit.c): Remove.
11347 * config/sparc/t-softfp: Remove.
11348 * config/spu/t-elf: New file.
11349 * config/t-fdpbit, config/t-fpbit: New files.
11350 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11351 (mips*-*-*): Likewise.
11352 (arm-wrs-vxworks): Likewise.
11353 (arm*-*-freebsd*): Likewise.
11354 (avr-*-rtems*): Add t-fpbit to tmake_file.
11355 (avr-*-*): Likewise.
11356 (bfin*-elf*): Add t-fdpbit to tmake_file.
11357 (bfin*-uclinux*): Likewise.
11358 (bfin*-linux-uclibc*): Likewise.
11359 (bfin*-rtems*): New case.
11360 Add t-fdpbit to tmake_file.
11361 (bfin*-*): Add t-fdpbit to tmake_file.
11362 (crisv32-*-elf): Likewise.
11363 (cris-*-linux*): Likewise.
11364 (fr30-*-elf): Likewise.
11365 (frv-*-elf, frv-*-*linux*): Likewise.
11366 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11367 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11368 (m32r-*-elf*): Likewise.
11369 (m32rle-*-elf*): Likewise.
11370 (m32r-*-linux*): Likewise.
11371 (m32rle-*-linux*): Likewise.
11372 (mcore-*-elf): Add t-fdpbit to tmake_file.
11373 (microblaze*-*-*): Likewise.
11374 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11375 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11376 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11377 Fix typo.
11378 Add mips/t-tpbit to tmake-file.
11379 (mips*-*-linux*): Fix typo.
11380 (mips*-sde-elf*): New case
11381 Add mips/t-sdemtk unless using newlib.
11382 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11383 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11384 (mn10300-*-*): Likewise.
11385 (pdp11-*-*): Likewise.
11386 (picochip-*-*): Add t-fpbit to tmake_file.
11387 (powerpc-*-eabisimaltivec*): Likewise.
11388 (powerpc-*-eabisim*): Likewise.
11389 (powerpc-*-elf*): Likewise.
11390 (powerpc-*-eabialtivec*): Likewise.
11391 (powerpc-xilinx-eabi*): New case.
11392 Add t-fdpbit to tmake_file.
11393 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11394 (powerpc-*-rtems*): Likewise.
11395 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11396 tmake_file.
11397 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11398 tmake_file.
11399 (powerpc-*-lynxos*): Likewise.
11400 (powerpcle-*-elf*): Likewise.
11401 (powerpcle-*-eabisim*): Likewise.
11402 (powerpcle-*-eabi*): Likewise.
11403 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11404 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11405 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11406 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11407 (rx-*-elf): Add t-fdpbit to tmake_file.
11408 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11409 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11410 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11411 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11412 sh*-*-netbsd*.
11413 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11414 (sh-wrs-vxworks): Likewise.
11415 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11416 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11417 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11418 (sparc64-*-rtems*): ... new case.
11419 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11420 (spu-*-elf*): Likewise.
11421 Add spu/t-elf to tmake_file.
11422 (v850*-*-*): Add t-fdpbit to tmake_file.
11423 (xstormy16-*-elf): Likewise.
11424 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11425 (mep*-*-*): Likewise.
11426
201cdb74
RO
114272011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11428
11429 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11430 variables.
11431 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11432 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11433 (install-unwind_h): New target.
11434 (all): Depend on it.
11435 * config.host (unwind_header): New variable.
11436 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11437 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11438 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11439 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11440 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11441 Set unwind_header.
11442 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11443 Set unwind_header.
11444 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11445 arm*-*-eabi*.
11446 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11447 Set unwind_header.
11448 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11449 (ia64*-*-freebsd*): Likewise.
11450 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11451 tmake_file.
11452 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11453 $with_system_libunwind.
11454 (ia64*-*-hpux*): Set tmake_file.
11455 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11456 (picochip-*-*): Set tmake_file.
11457 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11458 md_unwind_header.
11459 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11460 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11461 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11462 (xtensa*-*-elf*): Set tmake_file.
11463 (xtensa*-*-linux*): Likewise.
11464 * configure.ac: Include ../config/unwind_ipinfo.m4.
11465 Call GCC_CHECK_UNWIND_GETIPINFO.
11466 Link unwind.h to $unwind_header.
11467 * configure: Regenerate.
11468 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11469 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11470 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11471 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11472 * config/unwind-dw2-fde-darwin.c: New file.
11473 * config/arm/libunwind.S, config/arm/pr-support.c,
11474 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11475 config/arm/unwind-arm.h,: New files.
11476 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11477 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11478 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11479 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11480 config/ia64/unwind-ia64.h: New files.
11481 * config/picochip/t-picochip: New file.
11482 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11483 files.
11484 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11485 * config/s390/t-tpf (LIB2ADDEH): Remove.
11486 * config/t-darwin (LIB2ADDEH): Set.
11487 * config/t-eh-dw2-dip: New file.
11488 * config/t-libunwind, config/t-libunwind-elf: New files.
11489 * config/t-sol2 (LIB2ADDEH): Remove.
11490 * config/xtensa/t-xtensa: New file.
11491
40f2f11f
L
114922011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11493
11494 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11495 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11496 long long to check rt_sigreturn syscall.
11497
bd15e32c
AM
114982011-08-02 Alan Modra <amodra@gmail.com>
11499
11500 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11501 Restore for indirect call bcrtl from correct stack slot, and only
11502 if cfa+40 isn't valid.
11503
655b30bf
JB
115042011-08-01 Julian Brown <julian@codesourcery.com>
11505
11506 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11507 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11508 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11509
247eb06f
JB
115102011-08-01 Julian Brown <julian@codesourcery.com>
11511
11512 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11513 (libgcc-std.ver.in): Use above.
11514 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11515 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11516 throughout file.
11517 * config/t-fixedpoint-gnu-prefix: New file.
11518 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11519 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11520 instead of __PFX__.
11521
02a8fe00
L
115222011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11523
11524 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11525 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11526 for x86-64. Properly check __x86_64__ and __LP64__.
11527
5fce9126
L
115282010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11529
11530 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11531 version.
11532 (_FP_WS_TYPE): Likewise.
11533 (_FP_I_TYPE): Likewise.
11534
2374a88a
AM
115352011-07-28 Alan Modra <amodra@gmail.com>
11536
11537 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11538 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11539 in a plt call stub. Do restore r2 if stopped on bctrl.
11540
e44dbbe1
RO
115412011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11542
11543 * config.host (i[3456x]86-*-netware*): Remove.
11544 * config/i386/netware-crt0.c, config/i386/t-nwld,
11545 config/i386/t-slibgcc-nwld: Remove.
11546
bcead286
BS
115472011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11548
11549 * config.host: Handle tic6x-*-*.
11550 * config/c6x/c6x-abi.h: New file.
11551
b3fe1584
RO
115522011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11553
11554 * config/i386/crtprec.c: New file.
11555 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11556 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11557 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11558 (x86_64-*-darwin*): Likewise.
11559 (i[34567]86-*-solaris2*: Likewise.
11560
35d8090d
RO
115612011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11562
11563 * config/alpha/crtfastmath.c: New file.
11564 * config/i386/crtfastmath.c: New file.
11565 * config/ia64/crtfastmath.c: New file.
11566 * config/mips/crtfastmath.c: New file.
11567 * config/sparc/crtfastmath.c: New file.
11568
11569 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11570 crtfastmath.c.
11571 Add -frandom-seed=gcc-crtfastmath.
11572 * config/alpha/t-crtfm: Remove.
11573 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11574 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11575
11576 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11577 (alpha*-dec-osf5.1*): Likewise.
11578 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11579 Add crtfastmath.o to extra_parts.
11580 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11581 Add crtfastmath.o to extra_parts.
11582 (x86_64-*-darwin*): Likewise.
11583 (x86_64-*-mingw*): Likewise.
11584 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11585 (ia64*-*-freebsd*): Likewise.
11586 (ia64*-*-linux*): Likewise.
11587 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11588 Add crtfastmath.o to extra_parts.
11589
e141542e
RO
115902011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11591
11592 * config/darwin-crt3.o: New file.
11593 * config/rs6000/darwin-crt2.c: New file.
11594 * config/t-darwin: New file.
11595 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11596 (crt2.o): New rule.
11597 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11598 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11599 (powerpc64-*-darwin*): Likewise.
11600
2d1efe2d
RO
116012011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11602
11603 * config/i386/netware-crt0.c: New file.
11604 * config/i386/t-nwld: Rename to ...
11605 * config/i386/t-slibgcc-nwld: ... this.
11606 * config/i386/t-nwld: New file.
11607 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11608 tmake_file.
11609 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11610 extra_parts.
11611
4a8bb046
RO
116122011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11613
11614 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11615 i386/t-crtstuff.
11616 * configure: Regenerate.
11617
2d8d5935
RO
116182011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11619
11620 * dfp-bit.c, dfp-bit.h: New files.
11621 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11622 variables.
11623 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11624 ($(d64pbit-o)): Likewise.
11625 ($(d128pbit-o)): Likewise.
11626 * config/t-dfprules: New file.
11627 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11628 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11629 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11630 (x86_64-*-linux*): Likewise.
11631 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11632 (i[34567]86-*-cygwin*): Likewise.
11633 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11634 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11635
2c50b2c3
RO
116362011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11637
11638 * Makfile.in (LIBGCOV): New variable.
11639 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11640 * libgcov.c: New file.
11641
a039d7c2
RO
116422011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11643
11644 * fixed-bit.c, fixed-bit.h: New files.
11645 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11646 refer to fixed-bit.c.
11647
1e4b2746
JM
116482011-07-07 Joseph Myers <joseph@codesourcery.com>
11649
11650 * config.host (*local*): Remove.
11651
fbdd5d87
RO
116522011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11653
11654 PR target/39150
11655 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11656 like i?86-*-solaris2.1[0-9]*.
11657 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11658 * configure.ac (i?86-*-solaris2*): Likewise.
11659 * configure: Regenerate.
11660
9e7714f4
TS
116612011-07-06 Thomas Schwinge <thomas@schwinge.name>
11662
11663 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11664 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11665 md_unwind_header by splitting out of...
11666 (i[34567]86-*-linux*): ... this.
11667 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11668 Remove md_unwind_header by splitting out of...
11669 (x86_64-*-linux*): ... this.
11670
6dab9931
GJL
116712011-07-04 Georg-Johann Lay <avr@gjlay.de>
11672
11673 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11674
4be46d19
NC
116752011-06-28 Nick Clifton <nickc@redhat.com>
11676
11677 * config.host: Recognize all V850 variants.
11678
1da9434b
UB
116792011-06-22 Uros Bizjak <ubizjak@gmail.com>
11680
11681 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11682
e4d48a4d
RO
116832011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11684
11685 * shared-object.mk (c_flags-$o): Save c_flags.
11686 ($(base)$(objext)): Use it.
11687 ($(base)_s$(objext)): Likewise.
11688
3801c801
BS
116892011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11690
11691 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11692 * libgcc-std.ver.in (GCC_4.7.0): New section.
11693
0ad8bb3b 116942011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11695
0ad8bb3b
GJL
11696 PR target/49313
11697 PR target/29524
11698 * config/avr/t-avr: Fix line endings.
11699 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11700 _parityXX2.
11701
ea963999
OH
117022011-06-14 Olivier Hainque <hainque@adacore.com>
11703 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11704
11705 * config/mips/irix6-unwind.h: New file.
11706 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11707
b11b0904
EB
117082011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11709
11710 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11711 (sparc64_fallback_frame_state): Use it.
11712 (sparc64_frob_update_context): Further adjust context.
11713 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11714 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11715 * config/sparc/sol2-cn.S: Likewise.
11716
10e48e39
RO
117172011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11718
11719 * enable-execute-stack-empty.c: New file.
11720 * enable-execute-stack-mprotect.c: New file.
11721 * config/i386/enable-execute-stack-mingw32.c: New file.
11722 * config.host (enable_execute_stack): New variable.
11723 Select appropriate variants.
11724 * configure.ac: Link enable-execute-stack.c to
11725 $enable_execute_stack.
11726 * configure: Regenerate.
11727 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11728 (lib2funcs): Remove _enable_execute_stack.
11729
10c4cabc
DM
117302011-06-09 David S. Miller <davem@davemloft.net>
11731 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11732
11733 * config.host (sparc-*-linux*): Correct md_unwind_header
11734 filename.
11735 (s390x-ibm-tpf*): Fix typo.
11736
aa4203e7
RO
117372011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11738
11739 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11740 Add crtfastmath.o to extra_parts.
11741 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11742 mips/t-crtfm.
11743 * config/mips/t-crtfm: Remove.
11744
0defd786
JDA
117452011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11746
11747 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11748
82f247af
KK
117492011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11750
11751 * config.host (sh*-*-linux*): Fix typo.
11752
58cd1d70
RO
117532011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11754
11755 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11756 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11757 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11758 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11759 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11760 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11761 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11762 Wrap in !__MINGW64__.
11763 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11764 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11765 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11766 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11767 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11768 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11769 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11770 Wrap in !__LP64__.
11771 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11772 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11773 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11774 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11775 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11776 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11777 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11778 * config/no-unwind.h: New file.
11779 * config.host (md_unwind_header): Document.
11780 Define.
11781 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11782 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11783 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11784 hppa[12]*-*-hpux11*): Set md_unwind_header.
11785 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11786 Set md_unwind_header.
11787 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11788 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11789 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11790 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11791 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11792 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11793 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11794 md_unwind_header.
11795 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11796 * configure: Regenerate.
11797
737346fa
RO
117982011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11799
11800 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11801 Set tmake_file, extra_parts.
11802 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11803 Remove O32 support.
11804 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11805 Remove O32 support.
11806 * config/mips/t-irix6: New file.
11807 * config/mips/t-slibgcc-irix: New file.
11808
c192cee6
RO
118092011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11810
11811 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11812 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11813
ee33b5f0
RO
118142011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11815
11816 * configure.ac (target_thread_file): Determine thread model.
11817 * configure: Regenerate.
11818 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11819 * config/alpha/t-alpha: New file.
11820 * config/alpha/t-crtfm: Use $<.
11821 * config/alpha/t-ieee: New file.
11822 * config/alpha/t-osf-pthread: New file.
11823 * config/alpha/t-slibgcc-osf: New file.
11824 * config/alpha/libgcc-osf5.ver: New file.
11825
0699e415
RO
118262011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11827
11828 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11829 tmake_file.
11830 Add crtfastmath.o to extra_parts.
11831
a3fab9c2
RO
118322011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11833
11834 * config/gmon-sol2.c: Reindent.
11835 Cleanup comments.
11836 Remove, correct casts.
11837 Use STDERR_FILENO, NULL.
11838 (BASEADDRESS): Remove.
11839 (minbrk): Remove.
11840 (errno, sbrk): Remove declarations.
11841 (monstartup) [hp300]: Remove.
11842 (mcount): Remove.
11843
ca24c5ad
RO
118442011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11845
11846 * Makefile.in (cpu_type): Define.
11847 * config.host (i[34567]86-*-rtems*): Handle it.
11848 (i[34567]86-*-solaris2*): Move body ...
11849 (*-*-solaris2*): ... here.
11850 New case, generalize.
11851 (sparc-*-elf*): Handle it.
11852 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11853 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11854 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11855 Fold into ...
11856 (sparc*-*-solaris2*): ... this.
11857 New case.
11858 (sparc64-*-elf*): Handle it.
11859 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11860 Merge ../gcc/config/i386/gmon-sol2.c.
11861 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11862 Use C comments.
11863 Merge ../gcc/config/i386/sol2-gc1.asm.
11864 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11865 Use C comments.
11866 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11867 Use C comments.
11868 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11869 * config/i386/t-crtstuff: New file.
11870 * config/i386/t-softfp: New file.
11871 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11872 $(T)crti.o, $(T)crtn.o): Remove.
11873 (gcrt1.o): New rule.
11874 (TARGET_LIBGCC2_CFLAGS): Remove.
11875 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11876 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11877 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11878 * config/sparc/t-sol2: New file.
11879 * config/sparc/t-crtfm: Move to ...
11880 * config/t-crtfm: ... this.
11881 Use $(cpu_type), $<.
11882 * config/t-crtin: New file.
11883 * config/sparc/t-softfp: New file.
11884 * config/sparc/t-softmul: New file.
11885 * config/t-rtems: New file.
11886 * config/t-slibgcc: New file.
11887 * config/t-slibgcc-elf-ver: New file.
11888 * config/t-slibgcc-gld: New file.
11889 * config/t-slibgcc-sld: New file.
11890 * config/t-sol2: New file.
11891 * configure.ac: Include ../config/lib-ld.m4.
11892 Call AC_LIB_PROG_LD_GNU.
11893 Substitute cpu_type.
11894 * configure: Regenerate.
11895
ad5f3d7b
BS
118962011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11897
11898 PR bootstrap/49173
11899 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11900 libgcc-std.ver in the build directory.
11901 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11902 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11903
cdbf4541
BS
119042011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11905
11906 * libgcc-std.ver.in: New file.
11907 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11908 variables.
11909 (libgcc-std.ver): New rule.
11910 * config/t-gnu-prefix: New file.
11911
c8028650
RO
119122011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11913
11914 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11915
4a68b4ca
JM
119162011-05-10 Joseph Myers <joseph@codesourcery.com>
11917
11918 * config/i386/darwin-lib.h: New file.
11919
80cf2e08
JM
119202011-05-10 Joseph Myers <joseph@codesourcery.com>
11921
11922 * config/arm/symbian-lib.h: New.
11923
a3330c9d
CD
119242011-05-04 Chris Demetriou <cgd@google.com>
11925
11926 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11927 (__x86.get_pc_thunk.bx): ...this.
11928 (__morestack): Adjust for rename, remove undef of __i686.
11929
6ace0756
CD
119302011-05-03 Chris Demetriou <cgd@google.com>
11931
11932 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11933
ebb9f8b0
JM
119342011-03-22 Joseph Myers <joseph@codesourcery.com>
11935
11936 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11937 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11938 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11939 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11940 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11941 Remove cases.
11942
9cfa1499
AT
119432011-03-14 Andreas Tobler <andreast@fgznet.ch>
11944
11945 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11946 Adjust copyright year.
11947
457186f6
ILT
119482011-03-07 Ian Lance Taylor <iant@google.com>
11949
11950 * generic-morestack.c (__splitstack_find): Adjust returned stack
11951 pointer to include all registers pushed by __morestack.
11952
58c741a6
DK
119532011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11954
11955 PR target/40125
11956 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11957 (toolexecdir): Calculate and AC_SUBST.
11958 (toolexeclibdir): Likewise.
11959 * Makefile.in (target_noncanonical): Import.
11960 (toolexecdir): Likewise.
11961 (toolexeclibdir): Likewise.
11962 * configure: Regenerate.
11963
26716c44
NF
119642010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11965
11966 PR target/46040
11967 * config/arm/bpabi.h: Rename to...
11968 * config/arm/bpabi-lib.h: ...this.
11969
b595b1a1
RO
119702010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11971
11972 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11973 appropriate.
11974 * configure: Regenerate.
11975
a3abe41c
NF
119762010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11977
11978 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11979 __FLOAT_WORD_ORDER__.
11980 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11981 Delete.
11982
455c8f48
RW
119832010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11984
11985 PR other/46202
11986 * Makefile.in (install-strip): New phony target.
11987
f3824a8b
ILT
119882010-11-07 Ian Lance Taylor <iant@google.com>
11989
11990 PR target/46089
11991 * config/i386/morestack.S (__morestack_large_model): New
11992 function.
11993
18ed6ee4
NF
119942010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11995
11996 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11997 Delete.
11998 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11999
8ac7fdcb
NF
120002010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12001
12002 * config/arm/bpabi.h: New file.
12003 * config/frv/frv-abi.h: New file.
12004
cdb388c2
ILT
120052010-10-01 Ian Lance Taylor <iant@google.com>
12006
12007 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12008 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12009
ef7c141c
L
120102010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12011
12012 PR target/45858
12013 * config.host: Add the missing `$'.
12014
80920132
ME
120152010-09-30 Michael Eager <eager@eagercon.com>
12016
12017 * config.host: Add microblaze*-*-*.
12018 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12019 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12020 udivsi3.asm,umodsi3.asm}: New.
12021
6dace308
ILT
120222010-09-28 Ian Lance Taylor <iant@google.com>
12023
12024 * configure.ac: Adjust CFI test to test assembler directly rather
12025 than checking gcc preprocessor macro.
12026 * configure: Rebuild.
12027
b6110d6d
ILT
120282010-09-27 Ian Lance Taylor <iant@google.com>
12029
12030 * configure.ac: Test whether assembler supports CFI directives.
12031 * config.host: Only add t-stack and i386/t-stack-i386 to
12032 tmake_file if libgcc_cv_cfi is "yes".
12033 * configure: Rebuild.
12034
7458026b
ILT
120352010-09-27 Ian Lance Taylor <iant@google.com>
12036
12037 * generic-morestack.h: New file.
12038 * generic-morestack.c: New file.
12039 * generic-morestack-thread.c: New file.
12040 * config/i386/morestack.S: New file.
12041 * config/t-stack: New file.
12042 * config/i386/t-stack-i386: New file.
12043 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12044 i386/t-stack-i386 to tmake_file.
12045
5b50fc0c
IS
120462010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12047
12048 * Makefile.in (libgcc-extra-parts): Check for static archives and
12049 invoke ranlib after installing them.
12050 (gcc-extra-parts): Likewise.
12051 (install-leaf): Likewise.
12052
b93cf342
L
120532010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12054
12055 * configure: Regenerated.
12056
996b42ef
KT
120572010-09-10 Kai Tietz <kai.tietz@onevision.com>
12058
b93cf342 12059 * configure: Regenerated.
996b42ef 12060
be1c764e
GP
120612010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12062 Andrew Pinski <pinskia@gmail.com>
12063
1da9434b 12064 PR target/40959
be1c764e
GP
12065 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12066
cc0ae0ca
L
120672010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12068
12069 PR target/45524
12070 * configure: Regenerated.
12071
84f47d20
AS
120722010-09-06 Andreas Schwab <schwab@redhat.com>
12073
12074 * configure: Regenerate.
12075
4159fb8d
UB
120762010-09-03 Uros Bizjak <ubizjak@gmail.com>
12077
12078 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12079 64bit targets.
12080 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12081 for 64bit targets.
12082
0df8fcc8
UB
120832010-09-03 Uros Bizjak <ubizjak@gmail.com>
12084 Iain Sandoe <iains@gcc.gnu.org>
12085
12086 PR target/45476
12087 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12088 LIB2FUNCS_EXCLUDE functions.
12089
3c39bca6
AK
120902010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12091
12092 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12093 Include dfp.m4.
12094 * configure: Regenerate.
12095
d78552bd
UB
120962010-09-01 Uros Bizjak <ubizjak@gmail.com>
12097
12098 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12099 i386/t-freebsd to tmake_file.
12100 * config/i386/t-freebsd: New file.
12101 * config/i386/libgcc-bsd.ver: New file.
12102
c5b79d4e
NF
121032010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12104
12105 * config.host (powerpc*-eabispe*): Set tmake_file.
12106 (powerpc*-eabi*): Likewise.
12107 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12108 crtbeginS, crtendS, crtbeginT.
12109
48b09a92
KH
121102010-06-12 Kazu Hirata <kazu@codesourcery.com>
12111
12112 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12113 to tmake_file. Add crtfastmath.o to extra_parts.
12114 * config/mips/t-crtfm: New.
12115
7d296953 121162010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
12117
12118 * config.host (sparc64-*-rtems*): New target.
12119
ed104137
RO
121202010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12121
12122 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12123 assembler syntax.
12124
3f56ef8b
TS
121252010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12126
12127 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12128
8c200350
RO
121292010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12130
12131 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12132 alpha-dec-osf5.0* support.
12133
7d296953 121342010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12135
12136 * config.host: Add lm32-*-rtems*.
12137
f128db92 121382010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12139 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12140
12141 PR target/39048
12142 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12143 like other remaining 32-bit x86 OSes.
12144 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12145 assembler syntax.
12146 * config/i386/libgcc-sol2.ver: New file.
12147 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12148
7d296953 121492010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12150
12151 PR c/43553
12152 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12153 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12154 is used and substitute set_use_emutls.
12155 * configure: Regenerated.
12156
15baf7f8
TG
121572010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12158
12159 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12160
7f5441df
RO
121612010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12162
12163 PR target/38085
12164 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12165 MULTILIB_CFLAGS.
12166 ($(T)gcrt1.o): Likewise.
12167 ($(T)crt1.o): Likewise.
12168 ($(T)crti.o): Likewise.
12169 ($(T)crtn.o): Likewise.
12170
ef74edbd
RW
121712010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12172
12173 PR other/42980
12174 * Makefile.in (install): Use $(MAKE) string in rule, for
12175 parallel make.
12176
e7c914db
HPN
121772010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12178
12179 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12180 * config/mmix/t-mmix: New file.
12181 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12182
1bcb71c4
JH
121832010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12184
12185 PR java/41991
12186 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12187 SHLIB_MAPFILES.
12188
e6e50811
AG
121892010-01-04 Anthony Green <green@moxielogic.com>
12190
12191 * config/moxie/crti.asm, config/moxie/crtn.asm,
12192 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12193 config/moxie/t-moxie: New files.
12194 * config.host: Add t-moxie-softfp reference.
12195
7d296953 121962009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12197
12198 PR other/39888
12199 * config/t-slibgcc-darwin: Fix embedded rpaths for
12200 --enable-version-specific-runtime-libs, build extension stub
12201 libs exposing features available from current libgcc_s.
12202
7d296953 122032009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12204
d78552bd
UB
12205 * config.host: Add lm32 targets.
12206 * config/lm32: New directory.
12207 * config/lm32/libgcc_lm32.h: New file.
12208 * config/lm32/_mulsi3.c: New file.
12209 * config/lm32/_udivmodsi4.c: New file.
12210 * config/lm32/_divsi3.c: New file.
12211 * config/lm32/_modsi3.c: New file.
12212 * config/lm32/_udivsi3.c: New file.
12213 * config/lm32/_umodsi3.c: New file.
12214 * config/lm32/_lshrsi3.S: New file.
12215 * config/lm32/_ashrsi3.S: New file.
12216 * config/lm32/_ashlsi3.S: New file.
12217 * config/lm32/crti.S: New file.
12218 * config/lm32/crtn.S: New file.
12219 * config/lm32/t-lm32: New file.
12220 * config/lm32/t-elf: New file.
12221 * config/lm32/t-uclinux: New file.
aa4945c1 12222
65a324b4
NC
122232009-10-26 Nick Clifton <nickc@redhat.com>
12224
12225 * config.host: Add support for RX target.
12226 * config/rx: New directory.
12227 * config/rx/rx-abi-functions.c: New file. Supplementary
12228 functions for libgcc to support the RX ABI.
12229 * config/rx/rx-abi.h: New file. Supplementary header file for
12230 libgcc RX ABI functions.
12231 * config/rx/t-rx: New file: Makefile fragment for building
12232 libgcc for the RX.
12233
dfb3b0e3
UB
122342009-10-09 Uros Bizjak <ubizjak@gmail.com>
12235
12236 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12237 constraint of y0 to "g".
12238
81dd9fd7
AK
122392009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12240
12241 * config.host: Include the s390 makefile fragments.
12242 * config/s390/32/_fixdfdi.c: New file.
12243 * config/s390/32/_fixsfdi.c: New file.
12244 * config/s390/32/_fixtfdi.c: New file.
12245 * config/s390/32/_fixunsdfdi.c: New file.
12246 * config/s390/32/_fixunssfdi.c: New file.
12247 * config/s390/32/_fixunstfdi.c: New file.
12248 * config/s390/32/t-floattodi: New file.
12249 * config/s390/libgcc-glibc.ver: New file.
12250 * config/s390/t-crtstuff: New file.
12251 * config/s390/t-linux: New file.
12252 * config/s390/t-tpf: New file.
12253
df58e648
RW
122542009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12255
12256 * configure.ac (AC_PREREQ): Bump to 2.64.
12257
79052be3
KK
122582009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12259
12260 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12261
5213506e
RW
122622009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12263
12264 * configure: Regenerate.
12265
a9a25daa
DR
122662009-08-09 Douglas B Rupp <rupp@gnat.com>
12267
12268 * config.host (ia64-hp-*vms*): New target.
12269 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12270 with ia64-hp-*vms*.
12271
6efbd53f
RW
122722009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12273
12274 * configure.ac: Add snippet for maintainer-mode.
12275 * configure: Regenerate.
12276 * Makefile.in (AUTOCONF, configure_deps): New variables.
12277 ($(srcdir)/configure)): New rule, active only with maintainer
12278 mode turned on.
12279
7acf4da6
DD
122802009-06-23 DJ Delorie <dj@redhat.com>
12281
12282 Add MeP port.
12283 * config.host: Add mep support.
12284
54f549af
KT
122852009-06-22 Kai Tietz <kai.tietz@onevision.com>
12286
34481f28 12287 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12288 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12289
12290 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12291 for mingw targets.
54f549af
KT
12292 * config/i386/64/_multc3.c: Likewise.
12293 * config/i386/64/_powitf2.c: Likewise.
12294 * config/i386/64/eqtf2.c: Likewise.
12295 * config/i386/64/getf2.c: Likewise.
12296 * config/i386/64/letf2.c: Likewise.
12297 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12298 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12299 unsigned long long for x64 mingw targets.
12300 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12301 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12302
fea96e25
MR
123032009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12304
12305 * config.host (vax-*-linux*): New.
12306
cceb575c
AG
123072009-05-31 Anthony Green <green@moxielogic.com>
12308
12309 * config.host: Add moxie support.
12310 * config/moxie/t-moxie: New file.
12311
7d296953 123122009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12313
12314 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12315 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12316
532bfb0a
AJ
123172009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12318
12319 * config.host: Add i386/${host_address}/t-fprules-softfp to
12320 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12321
748086b7
JJ
123222009-04-09 Nick Clifton <nickc@redhat.com>
12323
12324 * config/ia64/tf-signs.c: Change copyright header to refer to
12325 version 3 of the GNU General Public License with version 3.1
12326 of the GCC Runtime Library Exception and to point readers at
12327 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12328 web page.
12329 * config/i386/32/tf-signs.c: Likewise.
12330 * config/libbid/_addsub_dd.c: Likewise.
12331 * config/libbid/_addsub_sd.c: Likewise.
12332 * config/libbid/_addsub_td.c: Likewise.
12333 * config/libbid/_dd_to_df.c: Likewise.
12334 * config/libbid/_dd_to_di.c: Likewise.
12335 * config/libbid/_dd_to_sd.c: Likewise.
12336 * config/libbid/_dd_to_sf.c: Likewise.
12337 * config/libbid/_dd_to_si.c: Likewise.
12338 * config/libbid/_dd_to_td.c: Likewise.
12339 * config/libbid/_dd_to_tf.c: Likewise.
12340 * config/libbid/_dd_to_udi.c: Likewise.
12341 * config/libbid/_dd_to_usi.c: Likewise.
12342 * config/libbid/_dd_to_xf.c: Likewise.
12343 * config/libbid/_df_to_dd.c: Likewise.
12344 * config/libbid/_df_to_sd.c: Likewise.
12345 * config/libbid/_df_to_td.c: Likewise.
12346 * config/libbid/_di_to_dd.c: Likewise.
12347 * config/libbid/_di_to_sd.c: Likewise.
12348 * config/libbid/_di_to_td.c: Likewise.
12349 * config/libbid/_div_dd.c: Likewise.
12350 * config/libbid/_div_sd.c: Likewise.
12351 * config/libbid/_div_td.c: Likewise.
12352 * config/libbid/_eq_dd.c: Likewise.
12353 * config/libbid/_eq_sd.c: Likewise.
12354 * config/libbid/_eq_td.c: Likewise.
12355 * config/libbid/_ge_dd.c: Likewise.
12356 * config/libbid/_ge_sd.c: Likewise.
12357 * config/libbid/_ge_td.c: Likewise.
12358 * config/libbid/_gt_dd.c: Likewise.
12359 * config/libbid/_gt_sd.c: Likewise.
12360 * config/libbid/_gt_td.c: Likewise.
12361 * config/libbid/_isinfd128.c: Likewise.
12362 * config/libbid/_isinfd32.c: Likewise.
12363 * config/libbid/_isinfd64.c: Likewise.
12364 * config/libbid/_le_dd.c: Likewise.
12365 * config/libbid/_le_sd.c: Likewise.
12366 * config/libbid/_le_td.c: Likewise.
12367 * config/libbid/_lt_dd.c: Likewise.
12368 * config/libbid/_lt_sd.c: Likewise.
12369 * config/libbid/_lt_td.c: Likewise.
12370 * config/libbid/_mul_dd.c: Likewise.
12371 * config/libbid/_mul_sd.c: Likewise.
12372 * config/libbid/_mul_td.c: Likewise.
12373 * config/libbid/_ne_dd.c: Likewise.
12374 * config/libbid/_ne_sd.c: Likewise.
12375 * config/libbid/_ne_td.c: Likewise.
12376 * config/libbid/_sd_to_dd.c: Likewise.
12377 * config/libbid/_sd_to_df.c: Likewise.
12378 * config/libbid/_sd_to_di.c: Likewise.
12379 * config/libbid/_sd_to_sf.c: Likewise.
12380 * config/libbid/_sd_to_si.c: Likewise.
12381 * config/libbid/_sd_to_td.c: Likewise.
12382 * config/libbid/_sd_to_tf.c: Likewise.
12383 * config/libbid/_sd_to_udi.c: Likewise.
12384 * config/libbid/_sd_to_usi.c: Likewise.
12385 * config/libbid/_sd_to_xf.c: Likewise.
12386 * config/libbid/_sf_to_dd.c: Likewise.
12387 * config/libbid/_sf_to_sd.c: Likewise.
12388 * config/libbid/_sf_to_td.c: Likewise.
12389 * config/libbid/_si_to_dd.c: Likewise.
12390 * config/libbid/_si_to_sd.c: Likewise.
12391 * config/libbid/_si_to_td.c: Likewise.
12392 * config/libbid/_td_to_dd.c: Likewise.
12393 * config/libbid/_td_to_df.c: Likewise.
12394 * config/libbid/_td_to_di.c: Likewise.
12395 * config/libbid/_td_to_sd.c: Likewise.
12396 * config/libbid/_td_to_sf.c: Likewise.
12397 * config/libbid/_td_to_si.c: Likewise.
12398 * config/libbid/_td_to_tf.c: Likewise.
12399 * config/libbid/_td_to_udi.c: Likewise.
12400 * config/libbid/_td_to_usi.c: Likewise.
12401 * config/libbid/_td_to_xf.c: Likewise.
12402 * config/libbid/_tf_to_dd.c: Likewise.
12403 * config/libbid/_tf_to_sd.c: Likewise.
12404 * config/libbid/_tf_to_td.c: Likewise.
12405 * config/libbid/_udi_to_dd.c: Likewise.
12406 * config/libbid/_udi_to_sd.c: Likewise.
12407 * config/libbid/_udi_to_td.c: Likewise.
12408 * config/libbid/_unord_dd.c: Likewise.
12409 * config/libbid/_unord_sd.c: Likewise.
12410 * config/libbid/_unord_td.c: Likewise.
12411 * config/libbid/_usi_to_dd.c: Likewise.
12412 * config/libbid/_usi_to_sd.c: Likewise.
12413 * config/libbid/_usi_to_td.c: Likewise.
12414 * config/libbid/_xf_to_dd.c: Likewise.
12415 * config/libbid/_xf_to_sd.c: Likewise.
12416 * config/libbid/_xf_to_td.c: Likewise.
12417 * config/libbid/bid128.c: Likewise.
12418 * config/libbid/bid128_2_str.h: Likewise.
12419 * config/libbid/bid128_2_str_macros.h: Likewise.
12420 * config/libbid/bid128_2_str_tables.c: Likewise.
12421 * config/libbid/bid128_add.c: Likewise.
12422 * config/libbid/bid128_compare.c: Likewise.
12423 * config/libbid/bid128_div.c: Likewise.
12424 * config/libbid/bid128_fma.c: Likewise.
12425 * config/libbid/bid128_logb.c: Likewise.
12426 * config/libbid/bid128_minmax.c: Likewise.
12427 * config/libbid/bid128_mul.c: Likewise.
12428 * config/libbid/bid128_next.c: Likewise.
12429 * config/libbid/bid128_noncomp.c: Likewise.
12430 * config/libbid/bid128_quantize.c: Likewise.
12431 * config/libbid/bid128_rem.c: Likewise.
12432 * config/libbid/bid128_round_integral.c: Likewise.
12433 * config/libbid/bid128_scalb.c: Likewise.
12434 * config/libbid/bid128_sqrt.c: Likewise.
12435 * config/libbid/bid128_string.c: Likewise.
12436 * config/libbid/bid128_to_int16.c: Likewise.
12437 * config/libbid/bid128_to_int32.c: Likewise.
12438 * config/libbid/bid128_to_int64.c: Likewise.
12439 * config/libbid/bid128_to_int8.c: Likewise.
12440 * config/libbid/bid128_to_uint16.c: Likewise.
12441 * config/libbid/bid128_to_uint32.c: Likewise.
12442 * config/libbid/bid128_to_uint64.c: Likewise.
12443 * config/libbid/bid128_to_uint8.c: Likewise.
12444 * config/libbid/bid32_to_bid128.c: Likewise.
12445 * config/libbid/bid32_to_bid64.c: Likewise.
12446 * config/libbid/bid64_add.c: Likewise.
12447 * config/libbid/bid64_compare.c: Likewise.
12448 * config/libbid/bid64_div.c: Likewise.
12449 * config/libbid/bid64_fma.c: Likewise.
12450 * config/libbid/bid64_logb.c: Likewise.
12451 * config/libbid/bid64_minmax.c: Likewise.
12452 * config/libbid/bid64_mul.c: Likewise.
12453 * config/libbid/bid64_next.c: Likewise.
12454 * config/libbid/bid64_noncomp.c: Likewise.
12455 * config/libbid/bid64_quantize.c: Likewise.
12456 * config/libbid/bid64_rem.c: Likewise.
12457 * config/libbid/bid64_round_integral.c: Likewise.
12458 * config/libbid/bid64_scalb.c: Likewise.
12459 * config/libbid/bid64_sqrt.c: Likewise.
12460 * config/libbid/bid64_string.c: Likewise.
12461 * config/libbid/bid64_to_bid128.c: Likewise.
12462 * config/libbid/bid64_to_int16.c: Likewise.
12463 * config/libbid/bid64_to_int32.c: Likewise.
12464 * config/libbid/bid64_to_int64.c: Likewise.
12465 * config/libbid/bid64_to_int8.c: Likewise.
12466 * config/libbid/bid64_to_uint16.c: Likewise.
12467 * config/libbid/bid64_to_uint32.c: Likewise.
12468 * config/libbid/bid64_to_uint64.c: Likewise.
12469 * config/libbid/bid64_to_uint8.c: Likewise.
12470 * config/libbid/bid_b2d.h: Likewise.
12471 * config/libbid/bid_binarydecimal.c: Likewise.
12472 * config/libbid/bid_conf.h: Likewise.
12473 * config/libbid/bid_convert_data.c: Likewise.
12474 * config/libbid/bid_decimal_data.c: Likewise.
12475 * config/libbid/bid_decimal_globals.c: Likewise.
12476 * config/libbid/bid_div_macros.h: Likewise.
12477 * config/libbid/bid_dpd.c: Likewise.
12478 * config/libbid/bid_flag_operations.c: Likewise.
12479 * config/libbid/bid_from_int.c: Likewise.
12480 * config/libbid/bid_functions.h: Likewise.
12481 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12482 * config/libbid/bid_inline_add.h: Likewise.
12483 * config/libbid/bid_internal.h: Likewise.
12484 * config/libbid/bid_round.c: Likewise.
12485 * config/libbid/bid_sqrt_macros.h: Likewise.
12486
124872009-04-09 Jakub Jelinek <jakub@redhat.com>
12488
12489 * Makefile.in: Change copyright header to refer to version
12490 3 of the GNU General Public License and to point readers at the
12491 COPYING3 file and the FSF's license web page.
12492 * config.host: Likewise.
12493
633dd061
AM
124942009-04-07 Alan Modra <amodra@bigpond.net.au>
12495
12496 * config.host: Reorder and merge to match config.gcc change.
12497
457d1d00
AM
124982009-04-03 Alan Modra <amodra@bigpond.net.au>
12499
12500 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12501
52c0e446
JM
125022009-03-28 Joseph Myers <joseph@codesourcery.com>
12503
12504 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12505 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12506 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12507 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12508
ba181049
UB
125092009-02-12 Uros Bizjak <ubizjak@gmail.com>
12510
12511 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12512 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12513
c252db20
L
125142009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12515
ba181049
UB
12516 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12517 ia64/t-softfp-compat to tmake_file.
c252db20
L
12518
12519 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12520
12521 * config/ia64/__divxf3.asm: New.
12522 * config/ia64/_fixtfdi.asm: Likewise.
12523 * config/ia64/_fixunstfdi.asm: Likewise.
12524 * config/ia64/_floatditf.asm: Likewise.
12525 * config/ia64/t-fprules-softfp: Likewise.
12526 * config/ia64/t-softfp-compat: Likewise.
12527 * config/ia64/tf-signs.c: Likewise.
12528
c60535f9
BE
125292009-01-18 Ben Elliston <bje@au.ibm.com>
12530
12531 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12532
ce16861e
BE
125332009-01-16 Ben Elliston <bje@au.ibm.com>
12534
12535 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12536 to tmake_file.
12537
bcf4713b
BE
125382009-01-13 Ben Elliston <bje@au.ibm.com>
12539
12540 * config/t-softfp: New file.
12541 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12542 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12543
7d296953 125442009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12545
12546 * config.host: Add m32r*-*-rtems*.
12547
7d296953 125482008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12549
12550 * config.host: Add m32c*-*-rtems*.
12551
19523300
RO
125522008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12553
12554 PR bootstrap/33100
12555 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12556 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12557 * configure: Regenerate.
12558 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12559 tmake_file here from gcc/config.gcc.
12560 Move extra_parts here from gcc/config.gcc.
12561 * config/i386/t-sol2: Move here from gcc/config/i386.
12562 Use gcc_srcdir instead of srcdir.
12563
0a4a51c7
AN
125642008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12565
12566 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12567 case.
12568
2a761e46
TS
125692008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12570
12571 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12572
c0451df7
TS
125732008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12574
12575 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12576
358da97e
HS
125772008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12578
12579 Add picoChip port.
12580 * config.host: Add picochip-*-*.
12581
c660f132
BW
125822008-08-06 Bob Wilson <bob.wilson@acm.org>
12583
12584 * config.host: Match more processor names for Xtensa.
12585
d1349557
L
125862008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12587
12588 * config/i386/64/t-softfp-compat: Update comments.
12589
dd7b73c0
L
125902008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12591
12592 * config/i386/64/_divtc3-compat.c: Moved to ...
12593 * config/i386/64/_divtc3.c: Here.
12594
12595 * config/i386/64/_multc3-compat.c: Moved to ...
12596 * config/i386/64/_multc3.c: Here.
12597
12598 * config/i386/64/_powitf2-compat.c: Moved to ...
12599 * config/i386/64/_powitf2.c: Here.
12600
12601 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12602 .c suffix instead of -compat.c.
12603
6e1fab3d
UB
126042008-07-05 Uros Bizjak <ubizjak@gmail.com>
12605
12606 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12607 (_FP_MUL_MEAT_D): Ditto.
12608 (_FP_DIV_MEAT_S): Ditto.
12609 (_FP_DIV_MEAT_D): Ditto.
12610
f92518d7
RS
126112008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12612
12613 * Makefile.in: Add support for __sync_* libgcc functions.
12614
d0aede14
L
126152008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12616
12617 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12618
c174f11c
L
126192008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12620
12621 PR boostrap/36702
12622 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12623 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12624
12625 * config/i386/64/t-fprules-softfp: Moved to ...
12626 * config/i386/64/t-softfp-compat: This. New.
12627
5f464fa2
UB
126282008-07-02 Uros Bizjak <ubizjak@gmail.com>
12629
12630 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12631 Initialize f with 0.0.
12632
ff473280
L
126332008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12634
12635 PR target/36669
12636 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12637
12638 * config/i386/64/_divtc3-compat.c: New.
12639 * config/i386/64/_multc3-compat.c: Likewise.
12640 * config/i386/64/_powitf2-compat.c: Likewise.
12641 * config/i386/64/eqtf2.c: Likewise.
12642 * config/i386/64/getf2.c: Likewise.
12643 * config/i386/64/letf2.c: Likewise.
12644 * config/i386/64/t-fprules-softfp: Likewise.
12645
126462008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12647
12648 * config.host: Add i386/${host_address}/t-fprules-softfp to
12649 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12650 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12651
12652 * configure.ac: Set host_address to 64 or 32 for x86.
12653 * configure: Regenerated.
12654
12655 * Makefile.in (config.status): Also depend on
12656 $(srcdir)/config.host.
12657
12658 * config/i386/32/t-fprules-softfp: New.
12659 * config/i386/32/tf-signs.c: Likewise.
12660
12661 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12662
126632008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12664 Uros Bizjak <ubizjak@gmail.com>
12665
12666 * config/i386/32/sfp-machine.h: New.
12667
30551d99
NF
126682008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12669
12670 * config/rs6000/t-ppccomm: Remove rules that conflict with
12671 auto-generated rules.
12672
18c04407
RW
126732008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12674
12675 * configure.ac: sinclude override.m4.
12676 * configure: Regenerate.
12677
10fbe77a
BRF
126782008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12679
12680 * configure: Regenerate.
12681
bc6d4c3f
JM
126822008-06-10 Joseph Myers <joseph@codesourcery.com>
12683
12684 * Makefile.in (DECNUMINC): Remove
12685 -I$(MULTIBUILDTOP)../../libdecnumber.
12686 * gstdint.h: New.
12687
cd985f66
JM
126882008-06-07 Joseph Myers <joseph@codesourcery.com>
12689
12690 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12691 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12692 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12693 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12694 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12695 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12696 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12697 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12698 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12699 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12700 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12701 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12702 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12703 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12704
93fea8d3
AL
127052008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12706
12707 * config.host (sh2[lbe]*-*-linux*): Allow target.
12708
18724e30
NF
127092008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12710
12711 * config/rs6000/t-ppccomm: Add build rules for new files.
12712 (LIB2ADD_ST): New variable.
12713
47583040
AH
127142008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12715
12716 PR target/34210
12717 PR target/35508
12718 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12719 * config/t-avr: New file. Build 16bit libgcc functions.
12720
cf8e67fe
JJ
127212008-03-02 Jakub Jelinek <jakub@redhat.com>
12722
12723 PR target/35401
12724 * config/t-slibgcc-darwin: Make install-leaf dependent on
12725 install-darwin-libgcc-stubs instead of install.
12726
8d8da227
JM
127272008-01-25 Joseph Myers <joseph@codesourcery.com>
12728
12729 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12730 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12731 sh-*-rtemscoff*): Remove cases.
12732
edbf8b16
RS
127332007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12734
12735 * Makefile.in (all): Use install-leaf rather than install.
12736 (install): Split most of the rule into...
12737 (install-leaf): ...this new one.
12738
89deeaff
EK
127392007-12-19 Etsushi Kato <ek.kato@gmail.com>
12740 Paolo Bonzini <bonzini@gnu.org>
12741
12742 PR target/30572
5f464fa2
UB
12743 * Makefile.in: Use @shlib_slibdir@ substitution to get
12744 correct install name on darwin.
89deeaff 12745 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 12746
4081d704
HPN
127472007-12-15 Hans-Peter Nilsson <hp@axis.com>
12748
12749 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12750 cris-*-elf and cris-*-none.
12751 (crisv32-*-linux*): Similar, as cris-*-linux*.
12752
f43e89a3
RIL
127532007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12754
12755 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12756
b4e9c2c6
L
127572007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12758
12759 PR regression/33926
12760 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12761 * configure: Regenerated.
12762
b2a00c89
L
127632007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12764
12765 * Makefile.in (dfp-filenames): Replace decimal_globals,
12766 decimal_data, binarydecimal and convert_data with
12767 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12768 and bid_convert_data, respectively.
12769
8d2a9e0e
CF
127702007-09-17 Chao-ying Fu <fu@mips.com>
12771 Nigel Stephens <nigel@mips.com>
12772
12773 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12774 * Makefile.in (fixed_point): Define.
12775 Check if fixed_point is yes to build support functions.
12776 * configure.ac: Check for fixed_point support.
12777 * configure: Regenerated.
12778 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12779 funcs, modes, from, to.
12780
2b53935d
JJ
127812007-09-11 Janis Johnson <janis187@us.ibm.com
12782
12783 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12784
2533577f
JJ
127852007-09-10 Janis Johnson <janis187@us.ibm.com>
12786
12787 * Makefile.in (dfp-filenames): Remove decUtility, add
12788 decDouble, decPacked, decQuad, decSingle.
12789
3ae3dbd6
HK
127902007-08-27 Hans Kester <hans.kester@ellips.nl>
12791
12792 * config.host : Add x86_64-elf target.
12793
22867d02
L
127942007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 * configure.ac (set_have_cc_tls): Add a missing =.
12797 * configure: Regenerated.
12798
6f461e76
L
127992007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12800
12801 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12802 and x86_64-*-linux*.
12803
12804 * config/t-tls: New file.
12805
dfb3b0e3 12806 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12807
12808 * configure.ac: Include ../config/enable.m4 and
12809 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12810 supports TLS and substitute set_have_cc_tls.
12811 * configure: Regenerated.
12812
200359e8
L
128132007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12814
12815 * Makefile.in: Use libbid for DFP when BID is enabled.
12816
76f5e200
DS
128172007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12818
12819 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12820 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12821 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12822
9bd196f0 128232007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12824 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12825
12826 PR target/29498
12827 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12828 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12829 * config/i386/t-crtfm: Compile crtfastmath.o with
12830 -minline-all-stringops.
12831
1910440e
RS
128322007-05-10 Richard Sandiford <richard@codesourcery.com>
12833
12834 * config.host (sparc-wrs-vxworks): New target.
12835
7d33c31d
KH
128362007-04-14 Kazu Hirata <kazu@codesourcery.com>
12837
12838 * config.host: Recognize fido.
12839
96fccd0d
JJ
128402007-04-04 Janis Johnson <janis187@us.ibm.com>
12841
12842 * configure: Check host, not target, for decimal float support.
12843
577565f9
UB
128442007-04-03 Uros Bizjak <ubizjak@gmail.com>
12845
12846 * config/i386/t-crtpc: New file.
12847 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12848 (x86_64-*-linux*): Ditto.
577565f9 12849
ccf8e764
RH
128502007-02-30 Kai Tietz <kai.tietz@onevision.com>
12851
12852 * config.host (x86_64-*-mingw*): New target.
12853
79b87c74
MM
128542007-03-23 Michael Meissner <michael.meissner@amd.com>
12855 H.J. Lu <hongjiu.lu@intel.com>
12856
12857 * Makefile.in (enable_decimal_float): New.
12858 (DECNUMINC): Add
12859 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12860 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12861 (decbits-filenames): This.
12862 (decbits-objects): New.
12863 (libgcc-objects): Add $(decbits-objects).
12864
12865 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12866 Substitute enable_decimal_float.
12867 * configure: Regenerated.
12868
8fce4e31
HPN
128692007-03-19 Hans-Peter Nilsson <hp@axis.com>
12870
12871 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12872
e8bb4597
BM
128732007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12874
12875 * Makefile.in (install-info): New dummy target.
12876
344189f9
BS
128772007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12878
12879 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12880
ac84c172
BM
128812007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12882
12883 * Makefile.in: Add install-html and install-pdf dummy
12884 targets.
12885
cd5c2357
RS
128862007-02-05 Roger Sayle <roger@eyesopen.com>
12887 Daniel Jacobowitz <dan@codesourcery.com>
12888
12889 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12890 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12891 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12892
d9a66f98
JJ
128932007-01-29 Janis Johnson <janis187@us.ibm.com>
12894
12895 * Makefile.in (dec-filenames): Add decExcept.
12896
9891ec5f
DJ
128972007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12898
12899 PR bootstrap/30469
12900 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12901 -fprofile-use.
12902
d6efbf5a
DJ
129032007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12904
12905 * configure.ac: Add --enable-version-specific-runtime-libs.
12906 Correct $slibdir default.
12907 * configure: Regenerated.
12908
17caeff2
JM
129092007-01-23 Joseph Myers <joseph@codesourcery.com>
12910
12911 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12912
5ea41e3a
AP
129132007-01-21 Andrew Pinski <pinskia@gmail.com>
12914
12915 PR target/30519
12916 * config.host (alpha*-*-linux*): Set extra_parts.
12917
26900826
KK
129182007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12919
12920 * config/sh/t-linux: New.
12921 * config.host (sh*-*-linux*): Set tmake_file.
12922
97af925b
DJ
129232007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12924
12925 * Makefile.in (install): Handle multilibs.
12926
b0088af7
BM
129272007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12928
12929 * Makefile.in: Added .PHONY entry for documentation targets.
12930
e0a9456a
BM
129312007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12932
12933 * Makefile.in: Add empty info, html, dvi, pdf targets.
12934
7fd453b4
MS
129352007-01-04 Mike Stump <mrs@apple.com>
12936
12937 * Makefile.in (MAKEINFO): Remove.
12938 (PERL): Likewise.
12939
14e8fc8b
PB
129402007-01-04 Paolo Bonzini <bonzini@gnu.org>
12941
12942 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12943 * configure: Regenerate.
12944 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12945 (gcc_objdir): Use it.
14e8fc8b 12946
1555beba
DJ
129472007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12948
12949 * config.host (ia64*-*-linux*): Set tmake_file.
12950
79e6eaeb
DJ
129512007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12952
12953 * Makefile.in (version): Define.
12954
fa958513
DJ
129552007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12956 Paolo Bonzini <bonzini@gnu.org>
12957
12958 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12959 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12960 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12961 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12962 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12963 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12964 * configure: Generated.
818ab71a 12965\f
68127a8e 12966Copyright (C) 2007-2023 Free Software Foundation, Inc.
818ab71a
JJ
12967
12968Copying and distribution of this file, with or without modification,
12969are permitted in any medium without royalty provided the copyright
12970notice and this notice are preserved.