]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Specify that DJGPP do not have mmap even when sys/mman.h exists
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
077067a5
BE
12015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2
3 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4 instead of abort to avoid dependency on stdlib.h.
5
787c1027
JDA
62015-12-09 John David Anglin <danglin@gcc.gnu.org>
7
8 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
9 to initialize call to __dl_fixup once.
10
04a9ae28
NC
112015-12-04 Nick Clifton <nickc@redhat.com>
12
13 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
14 Allow for the second argument being negative.
15 * config.host (extra_parts): Define for MSP430. Create separate
16 libraries for each of the hardware multiply formats.
17 * config/msp430/lib2hw_mul.S: Build only the multiply routines
18 that are needed.
19 * config/msp430/lib2mul.c: Likewise.
20 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
21 Add rules to build hardware multiply libraries.
22 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
23 __mspabi_divul function.
24 (__mspabi_divllu): New stub function.
25
9a32d437
JDA
262015-12-01 John David Anglin <danglin@gcc.gnu.org>
27
28 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
29 fixup values if saved GOT address doesn't match runtime address.
30 (fixup_branch_offset): Reorder list.
31
e5ef217c
RO
322015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
33
34 * Makefile.in (VTV_CFLAGS): New variable.
35 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
36 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
37 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
38 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
39 to extra_parts if $enable_vtable_verify = yes.
40
78cc43a2
SN
412015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
42
43 PR target/68059
44 * config/arm/linux-atomic-64bit.c (__write): Rename to...
45 (write): ...this and fix the return type.
46
9afebea2
DD
472015-11-19 DJ Delorie <dj@redhat.com>
48
49 * config/msp430/lib2hw_mul.S: Fix alignment.
50
33f47f42
NS
512015-11-18 Nathan Sidwell <nathan@codesourcery.com>
52
53 * config/nvptx/reduction.c: New.
54 * config/nvptx/t-nvptx (LIB2ADD): Add it.
55
d9adb476
DE
562015-11-15 David Edelsohn <dje.gcc@gmail.com>
57
58 * config/rs6000/on_exit.c: New file.
59 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
60 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
61
c0ab1970
CZ
622015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
63
64 * config/arc/dp-hack.h: Add support for ARCHS.
65 * config/arc/ieee-754/divdf3.S: Likewise.
66 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
67 * config/arc/ieee-754/muldf3.S: Likewise.
68 * config/arc/ieee-754/mulsf3.S: Likewise
69 * config/arc/lib1funcs.S: Likewise
70 * config/arc/gmon/dcache_linesz.S: Don't read the build register
71 for ARCv2 cores.
72 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
73 for ARCv2 cores.
74 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
75 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
76 cores.
77
e6b6bf09
RO
782015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
79
80 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
81 value.
82 * config/ia64/crtend.S: Likewise.
83
a153644f
TS
842015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
85
86 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
87 __CHAR_BIT__ instead of BITS_PER_UNIT.
88 * fixed-bit.h: Likewise.
89 * fp-bit.h: Likewise.
90 * libgcc2.c (__popcountSI2): Likewise.
91 (__popcountDI2): Likewise.
92 * libgcc2.h: Likewise.
93 * libgcov.h: Likewise.
94
3dee689d
DE
952015-11-07 David Edelsohn <dje.gcc@gmail.com>
96
97 * config/rs6000/atexit.c: New file.
98 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
99 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
100 * config/rs6000/cxa_finalize.c
101 (catomic_compare_and_exchange_bool_acq): Negate return value.
102
2ef543e4
VK
1032015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
104
105 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
106 (processor_subtypes): Add znver1.
107 (get_amd_cpu): Detect znver1.
108
1300f017
CL
1092015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
110
111 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
112 Include crtfastmath.o.
113
3e5bb7ee
JR
1142015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
115
116 PR libgcc/66883
117 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 118
793aa938
KP
1192015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
120
121 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
122 * config/rl78/divmodsi.S: Update return register to r8.
123 * config/rl78/divmodhi.S: Update return register to r8,r9.
124 Branch to main_loop_done_himode to pop registers before return.
125
fac812f0
VK
1262015-10-09 Venkataramanan kumar <venkataramanan.kumar@amd.com>
127
128 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
129 (__cpu_indicator_init): Fix model selection for AMD CPUs.
130
6a192b5a
KY
1312015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
132
133 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
134
4a0a9457
MF
1352015-10-03 Max Filippov <jcmvbkbc@gmail.com>
136
137 * config.host (xtensa*-*-uclinux*): New configuration.
138
ab91c076
KY
1392015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
140
141 * config/i386/cpuinfo.c (processor_features): Add
142 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
143
30954527
JM
1442015-09-28 Joseph Myers <joseph@codesourcery.com>
145
146 * soft-fp/adddf3.c: Update from glibc.
147 * soft-fp/addsf3.c: Likewise.
148 * soft-fp/addtf3.c: Likewise.
149 * soft-fp/divdf3.c: Likewise.
150 * soft-fp/divsf3.c: Likewise.
151 * soft-fp/divtf3.c: Likewise.
152 * soft-fp/double.h: Likewise.
153 * soft-fp/eqdf2.c: Likewise.
154 * soft-fp/eqsf2.c: Likewise.
155 * soft-fp/eqtf2.c: Likewise.
156 * soft-fp/extenddftf2.c: Likewise.
157 * soft-fp/extended.h: Likewise.
158 * soft-fp/extendsfdf2.c: Likewise.
159 * soft-fp/extendsftf2.c: Likewise.
160 * soft-fp/extendxftf2.c: Likewise.
161 * soft-fp/fixdfdi.c: Likewise.
162 * soft-fp/fixdfsi.c: Likewise.
163 * soft-fp/fixdfti.c: Likewise.
164 * soft-fp/fixsfdi.c: Likewise.
165 * soft-fp/fixsfsi.c: Likewise.
166 * soft-fp/fixsfti.c: Likewise.
167 * soft-fp/fixtfdi.c: Likewise.
168 * soft-fp/fixtfsi.c: Likewise.
169 * soft-fp/fixtfti.c: Likewise.
170 * soft-fp/fixunsdfdi.c: Likewise.
171 * soft-fp/fixunsdfsi.c: Likewise.
172 * soft-fp/fixunsdfti.c: Likewise.
173 * soft-fp/fixunssfdi.c: Likewise.
174 * soft-fp/fixunssfsi.c: Likewise.
175 * soft-fp/fixunssfti.c: Likewise.
176 * soft-fp/fixunstfdi.c: Likewise.
177 * soft-fp/fixunstfsi.c: Likewise.
178 * soft-fp/fixunstfti.c: Likewise.
179 * soft-fp/floatdidf.c: Likewise.
180 * soft-fp/floatdisf.c: Likewise.
181 * soft-fp/floatditf.c: Likewise.
182 * soft-fp/floatsidf.c: Likewise.
183 * soft-fp/floatsisf.c: Likewise.
184 * soft-fp/floatsitf.c: Likewise.
185 * soft-fp/floattidf.c: Likewise.
186 * soft-fp/floattisf.c: Likewise.
187 * soft-fp/floattitf.c: Likewise.
188 * soft-fp/floatundidf.c: Likewise.
189 * soft-fp/floatundisf.c: Likewise.
190 * soft-fp/floatunditf.c: Likewise.
191 * soft-fp/floatunsidf.c: Likewise.
192 * soft-fp/floatunsisf.c: Likewise.
193 * soft-fp/floatunsitf.c: Likewise.
194 * soft-fp/floatuntidf.c: Likewise.
195 * soft-fp/floatuntisf.c: Likewise.
196 * soft-fp/floatuntitf.c: Likewise.
197 * soft-fp/gedf2.c: Likewise.
198 * soft-fp/gesf2.c: Likewise.
199 * soft-fp/getf2.c: Likewise.
200 * soft-fp/ledf2.c: Likewise.
201 * soft-fp/lesf2.c: Likewise.
202 * soft-fp/letf2.c: Likewise.
203 * soft-fp/muldf3.c: Likewise.
204 * soft-fp/mulsf3.c: Likewise.
205 * soft-fp/multf3.c: Likewise.
206 * soft-fp/negdf2.c: Likewise.
207 * soft-fp/negsf2.c: Likewise.
208 * soft-fp/negtf2.c: Likewise.
209 * soft-fp/op-1.h: Likewise.
210 * soft-fp/op-2.h: Likewise.
211 * soft-fp/op-4.h: Likewise.
212 * soft-fp/op-8.h: Likewise.
213 * soft-fp/op-common.h: Likewise.
214 * soft-fp/quad.h: Likewise.
215 * soft-fp/single.h: Likewise.
216 * soft-fp/soft-fp.h: Likewise.
217 * soft-fp/subdf3.c: Likewise.
218 * soft-fp/subsf3.c: Likewise.
219 * soft-fp/subtf3.c: Likewise.
220 * soft-fp/truncdfsf2.c: Likewise.
221 * soft-fp/trunctfdf2.c: Likewise.
222 * soft-fp/trunctfsf2.c: Likewise.
223 * soft-fp/trunctfxf2.c: Likewise.
224 * soft-fp/unorddf2.c: Likewise.
225 * soft-fp/unordsf2.c: Likewise.
226 * soft-fp/unordtf2.c: Likewise.
227
4dfe21ac
RE
2282015-09-24 Richard Earnshaw <rearnsha@arm.com>
229
230 PR libgcc/67624
231 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
232
df2a1cc4
RO
2332015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
234
235 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
236 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
237 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
238 messages.
239 (internal_mcount): Likewise.
240 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
241 crt_compile, add CRTSTUFF_T_CFLAGS_S.
242
2d110442
RO
2432015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
244
245 * configure.ac (libgcc_cv_solaris_crts): New test.
246 * configure: Regenerate.
247 * config.in: Regenerate.
248 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
249 * config/gmon-sol2.c: Rename to ...
250 * config/sol2/gmon.c: ... this.
251 Include auto-target.h.
252 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
253 * config/t-sol2: Rename to ...
254 * config/sol2/t-sol2: ... this.
255 (gmon.o): Reflect renaming.
256 (crtp.o, crtpg.o): New rules.
257 * config.host (*-*-solaris2*): Reflect renaming.
258 Use system CRTs if present.
259 Remove default CRT case.
260
d572e439
JDA
2612015-09-23 John David Anglin <danglin@gcc.gnu.org>
262
263 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
264 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
265 __kernel_cmpxchg2.
266 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
267 (__sync_val_compare_and_swap_##WIDTH): Likewise.
268 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
269 (__sync_lock_test_and_set_##WIDTH): Likewise.
270 (__sync_lock_release_##WIDTH): Likewise.
271 (__sync_fetch_and_##OP##_4): Change result to match type of
272 __kernel_cmpxchg.
273 (__sync_##OP##_and_fetch_4): Likewise.
274 (__sync_val_compare_and_swap_4): Likewise.
275 (__sync_bool_compare_and_swap_4): likewise.
276 (__sync_lock_test_and_set_4): Likewise.
277 (__sync_lock_release_4): Likewise.
278 (FETCH_AND_OP_2): Add long long variants.
279 (OP_AND_FETCH_2): Likewise.
280 (COMPARE_AND_SWAP_2 ): Likewise.
281 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
282 (SYNC_LOCK_RELEASE_2): Likewise.
283 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
284
06caf59d
KY
2852015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
286
287 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
288 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
289 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
290 (get_available_features): Habdle new features.
291
131314e1
JB
2922015-09-21 James Bowman <james.bowman@ftdichip.com>
293
294 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
295 memory layout. Deal correctly with BSS region larger than 32K.
296 Handle a watchdog reset like a power-on reset. Clean up unused
297 code.
298
04218b35
AD
2992015-09-18 Andrew Dixie <andrewd@gentrack.com>
300 David Edelsohn <dje.gcc@gmail.com>
301
302 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
303 * config/rs6000/crtdbase.S: New file.
304 * config/rs6000/t-aix-cxa: Build crtdbase.o.
305
c8338173
MF
3062015-09-15 Max Filippov <jcmvbkbc@gmail.com>
307
308 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
309 Add support for call0 ABI.
310
7a84bf71
JDA
3112015-09-13 John David Anglin <danglin@gcc.gnu.org>
312
313 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
314
4efab402
SH
3152015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
316
317 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
318 (__GTHREAD_HAS_COND): Likewise.
319 (__gthread_t): Likewise.
320 (__gthread_cond_t): Likewise.
321 (__gthread_time_t): Likewise.
322 (__GTHREAD_MUTEX_INIT): Likewise.
323 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
324 (__GTHREAD_COND_INIT): Likewise.
325 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
326 (__GTHREAD_TIME_INIT): Likewise.
327 (__gthread_create): Likewise.
328 (__gthread_join): Likewise.
329 (__gthread_detach): Likewise.
330 (__gthread_equal): Likewise.
331 (__gthread_self): Likewise.
332 (__gthread_yield): Likewise.
333 (__gthread_cond_broadcast): Likewise.
334 (__gthread_cond_signal): Likewise.
335 (__gthread_cond_wait): Likewise.
336 (__gthread_cond_timedwait): Likewise.
337 (__gthread_cond_wait_recursive): Likewise.
338 (__gthread_cond_destroy): Likewise.
339 (rtems_gxx_once): Delete.
340 (rtems_gxx_key_create): Likewise.
341 (rtems_gxx_key_delete): Likewise.
342 (rtems_gxx_getspecific): Likewise.
343 (rtems_gxx_setspecific): Likewise.
344 (rtems_gxx_mutex_init): Likewise.
345 (rtems_gxx_mutex_destroy): Likewise.
346 (rtems_gxx_mutex_lock): Likewise.
347 (rtems_gxx_mutex_trylock): Likewise.
348 (rtems_gxx_mutex_unlock): Likewise.
349 (rtems_gxx_recursive_mutex_init): Likewise.
350 (rtems_gxx_recursive_mutex_lock): Likewise.
351 (rtems_gxx_recursive_mutex_trylock): Likewise.
352 (rtems_gxx_recursive_mutex_unlock): Likewise.
353 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
354 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
355 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
356 (__gthread_once): Likewise.
357 (__gthread_key_create): Likewise.
358 (__gthread_key_delete): Likewise.
359 (__gthread_getspecific): Likewise.
360 (__gthread_setspecific): Likewise.
361 (__gthread_key_t): Use <pthread.h> type.
362 (__gthread_once_t): Likewise
363 (__gthread_mutex_t): Use <sys/lock.h> type.
364 (__gthread_recursive_mutex_t): Likewise
365 (__gthread_mutex_lock): Use <sys/lock.h> function.
366 (__gthread_mutex_trylock): Likewise.
367 (__gthread_mutex_timedlock): Likewise.
368 (__gthread_mutex_unlock): Likewise.
369 (__gthread_mutex_destroy): Likewise.
370 (__gthread_recursive_mutex_lock): Likewise.
371 (__gthread_recursive_mutex_trylock): Likewise.
372 (__gthread_recursive_mutex_timedlock): Likewise.
373 (__gthread_recursive_mutex_unlock): Likewise.
374 (__gthread_recursive_mutex_destroy): Likewise.
375
991995c4
MF
3762015-08-18 Max Filippov <jcmvbkbc@gmail.com>
377
378 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
379 context->sp instead of context->cfa.
380
0e19db59
MF
3812015-08-18 Max Filippov <jcmvbkbc@gmail.com>
382
383 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
384 with unwind-dw2-fde-dip.
385
b6ac5f62
MF
3862015-08-18 Max Filippov <jcmvbkbc@gmail.com>
387
388 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
389 CALL12 followed by series of ENTRY to spill windowed registers.
390 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
391 instead of making linux spill syscall.
392
3e0f3349
YR
3932015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
394
395 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
396 (get_intel_cpu): Likewise.
397
51c728b1
L
3982015-08-12 H.J. Lu <hongjiu.lu@intel.com>
399
400 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
401 (get_intel_cpu): Add Knights Landing support.
402
aff4eeac
UB
4032015-08-11 Uros Bizjak <ubizjak@gmail.com>
404
405 PR target/66954
406 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
407 (get_available_features): Handle FEATURE_PCLMUL.
408
736e56da
L
4092015-08-10 H.J. Lu <hongjiu.lu@intel.com>
410
411 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
412 Broadwell.
413
54d22142
UB
4142015-07-22 Uros Bizjak <ubizjak@gmail.com>
415
416 PR target/66954
417 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
418 (get_available_features): Handle FEATURE_AES.
419
20ca17e4
CLT
4202015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
421
422 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
423 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
424
ebe4a560
NS
4252015-07-17 Nathan Sidwell <nathan@codesourcery.com>
426
427 * offloadstuff.c: Constify host data.
428
180744c0
JB
4292015-07-17 Jan Beulich <jbeulich@suse.com>
430
431 * config/t-softfp: Split up "else ifneq".
432
a03c6ae3
SL
4332015-07-14 Sandra Loosemore <sandra@codesourcery.com>
434 Cesar Philippidis <cesar@codesourcery.com>
435 Chung-Lin Tang <cltang@codesourcery.com>
436
437 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
438 for __nios2_arch__ level.
439
73358db5
JM
4402015-07-13 John Marino <gnugcc@marino.st>
441
442 * config/i386/t-dragonfly: New.
443
f9a12f7b
JDA
4442015-07-01 John David Anglin <danglin@gcc.gnu.org>
445
446 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
447 better match light-weight syscall argument order.
448 (__kernel_cmpxchg2): Likewise.
449 Adjust callers.
450
cb78b51c
L
4512015-06-30 H.J. Lu <hongjiu.lu@intel.com>
452
453 * config.host: Support i[34567]86-*-elfiamcu target.
454 * config/t-softfp-sfdftf: New file.
455 * config/i386/32/t-iamcu: Likewise.
456 * configure: Regenerated.
457
4fa0f9ea
JL
4582015-06-23 James Lemke <jwlemke@codesourcery.com>
459
460 libgcc/config/arm/
461 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
462
428b3812
L
4632015-05-27 H.J. Lu <hongjiu.lu@intel.com>
464
465 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
466
89c54dd3
JM
4672015-05-27 John Marino <gnugcc@marino.st>
468
469 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
470 md_unwind_header
471 * config/i386/freebsd-unwind.h: New.
472
9b789cc1
UB
4732015-05-22 Uros Bizjak <ubizjak@gmail.com>
474
475 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
476 i386/t-crtfm to tmake_file.
477 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
478 (set_fast_math): Use set_fast_math_sse for SSE targets.
479 * config/i386/t-crtfm: Remove.
480
3dafb220
AM
4812015-05-21 Alan Modra <amodra@gmail.com>
482
483 PR libgcc/66225
484 * config/rs6000/morestack.S: Remove ".abiversion 1".
485
0f0fd745
AM
4862015-05-20 Alan Modra <amodra@gmail.com>
487
488 * config/rs6000/morestack.S: New.
489 * config/rs6000/t-stack-rs6000: New.
490 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
491 to tmake_file.
492 * generic-morestack.c: Don't build for powerpc 32-bit.
493
515ae71b
EB
4942015-05-19 Eric Botcazou <ebotcazou@adacore.com>
495
496 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
497 Remove useless endif/ifneq ($(enable_shared),yes) pair.
498
36805406
JL
4992015-05-16 James Bowman <james.bowman@ftdichip.com>
500
501 * config.host: FT32 target added.
502 * config/ft32/*: New files for FT32 target.
503
ff935d0c
MG
5042015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
505
506 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
507 New macros.
508 * config/arm/ieee754-df.S: Add CFI directives.
509 * config/arm/ieee754-sf.S: Add CFI directives.
510
9b92a9f3
EB
5112015-05-13 Eric Botcazou <ebotcazou@adacore.com>
512
513 * configure.ac: Include config/sjlj.m4.
514 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
515 * config.in: Regenerate.
516 * configure: Likewise.
517 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
518
98b5dc61
UB
5192015-05-12 Uros Bizjak <ubizjak@gmail.com>
520
521 * libgcov-util.c: Add space between string literal and macro name.
522
5a0ff57c
SL
5232015-05-06 Sandra Loosemore <sandra@codesourcery.com>
524 Chris Jones <chrisj@nvidia.com>
525 Joshua Conner <jconner@nvidia.com>
526
527 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
528 (arm*-*-uclinux*): Likewise.
529 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
530 * config/arm/crtfastmath.c: New file.
531
d28ad5d4
BS
5322014-04-29 Bernd Schmidt <bernds@codesourcery.com>
533
534 * Makefile.in (real_host_noncanonical): New variable.
535 (libsubdir): Use it.
536 * configure.ac (real_host_noncanonical): Compute. Remove special
537 case for intelmicemul.
538 * configure: Regenerate.
539
cc86234f
UB
5402015-04-28 Uros Bizjak <ubizjak@gmail.com>
541
542 * config/frv/elf-lib.h: New file.
543 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
544 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
545 to tm_file.
546
5472015-04-28 Uros Bizjak <ubizjak@gmail.com>
548
549 * config/frv/frvbengin.c: Do not include defaults.h
550 * config/frv/frvend.c: Ditto.
551
2f6bd6eb
YS
5522015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
553
554 * config.host: Add h8300-*-linux
555 * config/h8300/t-linux: New file.
556 * config/h8300/lib1funs.s: Change symbol prefix.
557 * config/h8300/sfp-machine.h: 64bit double support.
558
15aa7b44
GR
5592015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
560 Szabolcs Nagy <szabolcs.nagy@arm.com>
561
562 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
563 Linux if target provides dl_iterate_phdr.
564
abd0cdc9
L
5652015-04-17 H.J. Lu <hongjiu.lu@intel.com>
566
567 PR target/65612
568 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
569 * config/i386/cpuinfo.c (__cpu_model): Initialize.
570 (__cpu_indicator_init@GCC_4.8.0): New.
571 (__cpu_model@GCC_4.8.0): Likewise.
572 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
573 -DUSE_ELF_SYMVER.
574
72ed1126
NC
5752015-04-16 Nick Clifton <nickc@redhat.com>
576
577 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
578 and __modhi3 functions.
579 * config/rl78/divmodso.S: Add G14 and G13 versions of the
580 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
581
d26b2237
CG
5822015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
583
584 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
585 do-while loop as macro body to avoid warnings.
586
cacf1f59
JJ
5872015-04-10 Jakub Jelinek <jakub@redhat.com>
588 Iain Sandoe <iain@codesourcery.com>
589
590 PR target/65351
591 * configure: Regenerate.
592
e8a4ed3b
JJ
5932015-04-07 Jakub Jelinek <jakub@redhat.com>
594 Iain Sandoe <iain@codesourcery.com>
595
596 PR target/65351
597 * configure: Regenerate.
598
0341335e
CLT
5992015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
600
601 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
602
590e2636 6032015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 604
590e2636
MF
605 Implement call0 ABI for xtensa
606 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
607 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
608 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
609 use ret in call0 ABI.
610 * config/xtensa/t-windowed: New file.
611 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
612 * libgcc/configure: Regenerated.
613 * libgcc/configure.ac: Check if xtensa target is configured for
614 windowed ABI and thus needs to use custom unwind code.
615
7727f8f2
JW
6162015-02-12 Jonathan Wakely <jwakely@redhat.com>
617
618 PR libgcc/64885
619 * gthr-single.h: Use __unused__ attribute instead of unused.
620 * config/gthr-vxworks.h: Likewise.
621 * config/i386/gthr-win32.h: Likewise.
622
0e4a0def
KT
6232015-02-27 Kai Tietz <ktietz@redhat.com>
624
625 PR target/65038
626 * config.in: Regenerated.
627 * configure: Likewise.
628 * configure.ac (AC_HEADER_STDC): Added explicit.
629 (AC_CHECK_HEADERS): Check for default headers plus
630 for ftw.h header.
631 * libgcov-util.c (gcov_read_profile_dir): Disable use
632 of ftw-function, if header is not found.
633 (ftw_read_file): Likewise.
634
b6530d0a
TS
6352015-02-23 Thomas Schwinge <thomas@codesourcery.com>
636
637 PR target/65181
638 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
639 -Dinhibit_libc.
640
53cfb467
SL
6412015-02-17 Sandra Loosemore <sandra@codesourcery.com>
642
643 * config/arm/bpabi.S (test_div_by_zero): Make label names
644 consistent between thumb2 and arm mode cases. Separate the
645 signed comparison on the high word of the numerator from the
646 unsigned comparison on the low word.
647 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
648 signed comparison.
649
77d10a1b
JM
6502015-02-17 Joseph Myers <joseph@codesourcery.com>
651
652 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
653 and <string.h>.
654 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
655
98174188
RE
6562015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
657
658 PR gcov-profile/61889
471274de 659 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 660
771bef14
NC
6612015-02-02 Nick Clifton <nickc@redhat.com>
662
663 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
664 rounding up the fraction.
665
40702893
JDA
6662015-01-31 John David Anglin <danglin@gcc.gnu.org>
667
668 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
669 oldval and newval to const void *. Fix typo.
670 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
671 (FETCH_AND_OP_WORD): Likewise.
672 (OP_AND_FETCH_WORD): Likewise.
673 (COMPARE_AND_SWAP_2): Likewise.
674 (__sync_val_compare_and_swap_4): Likewise.
675 (__sync_lock_test_and_set_4): Likewise.
676 (SYNC_LOCK_RELEASE_2): Likewise.
677 Remove support for long long atomic operations.
678
f7f049fa
CT
6792015-01-27 Caroline Tice <cmtice@google.com>
680
681 Committing VTV Cywin/Ming patch for Patrick Wollgast
682 * Makefile.in: Move rules to build vtv_*.o out of the check
683 for CUSTOM_CRTSTUFF.
684 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
685 i[34567]86-*-mingw*)
686 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
687 enable_vtable_verify.
688
8410904a
NC
6892015-01-27 Nick Clifton <nickc@redhat.com>
690
691 * config/rl78/cmpsi2.S: Use function start and end macros.
692 (__gcc_bcmp): New function.
693 * config/rl78/lshrsi3.S: Use function start and end macros.
694 * config/rl78/mulsi3.S: Add support for G10.
695 (__mulqi3): New function for G10.
696 * config/rl78/signbit.S: Use function start and end macros.
697 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
698 fpmath-sf.S.
699 (LIB2FUNCS_EXCLUDE): Define.
700 (LIB2FUNCS_ST): Define.
701 * config/rl78/trampoline.S: Use function start and end macros.
702 * config/rl78/vregs.h (START_FUNC): New macro.
703 (START_ANOTHER_FUNC): New macro.
704 (END_FUNC): New macro.
705 (END_ANOTHER_FUNC): New macro.
706 * config/rl78/bit-count.S: New file. Contains assembler
707 implementations of the bit counting functions: ___clzhi2,
708 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
709 __paritysi2, __popcounthi2 and __popcountsi2.
710 * config/rl78/fpbit-sf.S: New file. Contains assembler
711 implementationas of the math functions: __negsf2, __cmpsf2,
712 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
713 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
714 * config/rl78/fpmath-sf.S: New file. Contains assembler
715 implementations of the math functions: __subsf3, __addsf3,
716 __mulsf3 and __divsf3
717
f962fbf1
RO
7182015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
719
720 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
721 Add i386/elf-lib.h to tm_file.
722 * config/i386/elf-lib.h: Fix comment.
723 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
724 && __sun__ && __svr4__]: Remove workaround.
725
939911c5
ASJ
7262015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
727
728 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
729 FEATURE_BMI2.
730 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
731
c8f2dff2
L
7322015-01-24 H.J. Lu <hongjiu.lu@intel.com>
733
734 * config/i386/cpuinfo.c (processor_subtypes): Add
735 INTEL_COREI7_BROADWELL.
736 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
737 model numbers.
738
7bbf9734
UB
7392015-01-23 Uros Bizjak <ubizjak@gmail.com>
740
741 * config/i386/elf-lib.h: New file.
742 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
743 Wrap definition in #ifdef __i386__.
744 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
745 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
746 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
747 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
748 to tm_file.
749
324820f1
CG
7502015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
751
752 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
753 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
754
a9ce4e4a
CLT
7552015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
756
757 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
758 Update rt_sigframe format and address for current Nios II
759 Linux conventions.
760
82a19768
AT
7612015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
762
763 * config.host (arm*-*-freebsd*): Add new configuration for
764 arm*-*-freebsd*.
765 * config/arm/freebsd-atomic.c: New file.
766 * config/arm/t-freebsd: Likewise.
767 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
768 'PC-relative indirect' OS's.
769
0969ec7d
EB
7702015-01-06 Eric Botcazou <ebotcazou@adacore.com>
771
772 * config.host: Add Visium support.
773 * config/visium: New directory.
774
5624e564
JJ
7752015-01-05 Jakub Jelinek <jakub@redhat.com>
776
777 Update copyright years.
778
82f84ecb
MF
7792014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
780
781 * config.host: Support mipsisa32r6 and mipsisa64r6.
782 * config/mips/mips16.S: Do not build for R6.
783
69044fa9
OE
7842014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
785
786 * config/sh/crt.h: New.
787 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
788 symbols.
789 * config/sh/crt1.S: Likewise.
790
2405e0ea
UB
7912014-12-15 Uros Bizjak <ubizjak@gmail.com>
792
793 PR libgcc/63832
794 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
795 func_ptr *dtor_list temporary variable to avoid "array subscript
796 is above array bounds" warnings.
797
3f6ad8df 7982014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
799
800 * Makefile.in (with_aix_soname): Define.
801 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
802 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
803 * configure: Recreate.
804
a66272f6
OH
8052014-12-05 Olivier Hainque <hainque@adacore.com>
806
807 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
808 now provided by defaults.h.
809
6342b2c5
OE
8102014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
811
7d0ee249 812 PR target/55351
6342b2c5
OE
813 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
814 whether it's defined.
815
c17eac85
IT
8162014-11-27 Ilya Tocar <ilya.tocar@intel.com>
817
818 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
819 * config/i386/cpuinfo.c (get_available_features): Detect it.
820
1025cb6c
TW
8212014-11-27 Tony Wang <tony.wang@arm.com>
822
823 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
824 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
825 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
826
d19f2e38
SB
8272014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
828
829 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
830
17f6e9a3
JDA
8312014-11-24 John David Anglin <danglin@gcc.gnu.org>
832
833 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
834 instead.
835
0cd7c672
GM
8362014-11-21 Guy Martin <gmsoft@tuxicoman.be>
837 John David Anglin <danglin@gcc.gnu.org>
838
839 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
840 (FETCH_AND_OP_2): New. Use for subword and double word operations.
841 (OP_AND_FETCH_2): Likewise.
842 (COMPARE_AND_SWAP_2): Likewise.
843 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
844 (SYNC_LOCK_RELEASE_2): Likewise.
845 (SUBWORD_SYNC_OP): Remove.
846 (SUBWORD_VAL_CAS): Likewise.
847 (SUBWORD_BOOL_CAS): Likewise.
848 (FETCH_AND_OP_WORD): Update.
849 Consistently use signed types.
cc86234f 850
85c64bbe
BS
8512014-11-13 Bernd Schmidt <bernds@codesourcery.com>
852 Thomas Schwinge <thomas@codesourcery.com>
853 Ilya Verbin <ilya.verbin@intel.com>
854 Andrey Turetskiy <andrey.turetskiy@intel.com>
855
856 * Makefile.in (crtoffloadbegin$(objext)): New rule.
857 (crtoffloadend$(objext)): Likewise.
858 * configure: Regenerate.
859 * configure.ac (accel_dir_suffix): Compute new variable.
860 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
861 if enable_offload_targets is not empty.
862 * offloadstuff.c: New file.
863
52a1ff8b
NC
8642014-11-13 Nick Clifton <nickc@redhat.com>
865
866 * config/rl78/divmodhi.S: Add support for the G10 architecture.
867 Use START_FUNC and END_FUNC macros to enable linker garbage
868 collection.
869 * config/rl78/divmodqi.S: Likewise.
870 * config/rl78/divmodsi.S: Likewise.
871 * config/rl78/mulsi3.S: Likewise.
872 * config/rl78/lib2div.c: Remove G10 functions.
873 * config/rl78/lib2muls.c: Likewise.
874 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
875 * config/rl78/vregs.h (START_FUNC): New macro.
876 (END_FUNC): New macro.
877
050af144
MF
8782014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
879
880 * config/mips/mips16.S: Set .module when supported. Update O32
881 FP64 calling convention and use for FPXX when possible. Add FPXX
882 calling convention fallback case.
883
738f2522
BS
8842014-11-06 Bernd Schmidt <bernds@codesourcery.com>
885
886 * config.host: Handle nvptx-*-*.
887 * shared-object.mk (as-flags-$o): Define.
888 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
889 -xassembler-with-cpp.
890 * static-object.mk: Identical changes.
891 * config/nvptx/t-nvptx: New file.
892 * config/nvptx/crt0.s: New file.
893 * config/nvptx/free.asm: New file.
894 * config/nvptx/malloc.asm: New file.
895 * config/nvptx/realloc.c: New file.
896
e610393c
JM
8972014-10-30 Joseph Myers <joseph@codesourcery.com>
898
899 * Makefile.in (libgcc.map.in): New target.
900 (libgcc.map): Use libgcc.map.in.
901 * config/t-softfp (softfp_compat): New variable to be set by
902 users.
903 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
904 variables.
905 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
906 directory.
907 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
908 that use compat symbols and disable all code unless [SHARED].
909 * config/t-softfp-compat: New file.
910 * find-symver.awk: New file.
911 * configure.ac (--with-glibc-version): New configure option.
912 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
913 * configure: Regenerate.
914 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
915 soft-float and e500.
916
bc1b3a88
JM
9172014-10-29 Joseph Myers <joseph@codesourcery.com>
918
919 * config/t-hardfp (hardfp_exclusions): Document new variable for
920 user to define.
921 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
922 * config/t-softfp (softfp_extras): Document new variable for user
923 to define.
924 (softfp_func_list): Add functions from $(softfp_extras).
925 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
926 * config.host (powerpc*-*-linux*): For e500v1, use
927 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
928 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
929 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
930
ef2810c1
JDA
9312014-10-26 John David Anglin <danglin@gcc.gnu.org>
932
933 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
934 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
935 memory read accesses are ok.
936
d80c2bea
JM
9372014-10-25 Joseph Myers <joseph@codesourcery.com>
938
939 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
940 * configure: Regenerate.
941 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
942 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
943 of soft-fp for 32-bit classic hard float. Do not use
944 t-softfp-excl for soft float.
945
693b297b
JM
9462014-10-22 Joseph Myers <joseph@codesourcery.com>
947
948 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
949 configurations.
950 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
951 Remove variables.
952
18a3415e
GJL
9532014-10-22 Georg-Johann Lay <avr@gjlay.de>
954
955 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
956 introduced with 2014-10-21 trunk r216525.
957
c1dd9790
JR
9582014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
959 Vidya Praveen <vidya.praveen@atmel.com>
960 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
961 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
962 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
963
964 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
965 order.
966
967 Updated library functions for AVRTINY arch.
968 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
969 Replaced occurrences of r0/r1 with tmp/zero reg macros.
970 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
971 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
972 wsubi/wadi macors.
973 (__mulsi3_helper): Update stack, preserve callee saved regs and
974 argument from stack. Restore callee save registers.
975 (__mulpsi3): Likewise.
976 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
977 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 978 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
979 AVRTINY.
980 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
981 (__do_copy_data): Added new definition for AVRTINY.
982 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
983 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
984 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
985 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
986 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
987 macors.
18a3415e 988 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
989 AVRTINY.
990
18a3415e 991 Fix broken long multiplication on tiny arch.
c1dd9790 992
5f606431
JM
9932014-10-09 Joseph Myers <joseph@codesourcery.com>
994
995 * soft-fp/double.h: Update from glibc.
996 * soft-fp/eqdf2.c: Likewise.
997 * soft-fp/eqsf2.c: Likewise.
998 * soft-fp/eqtf2.c: Likewise.
999 * soft-fp/extenddftf2.c: Likewise.
1000 * soft-fp/extended.h: Likewise.
1001 * soft-fp/extendsfdf2.c: Likewise.
1002 * soft-fp/extendsftf2.c: Likewise.
1003 * soft-fp/extendxftf2.c: Likewise.
1004 * soft-fp/gedf2.c: Likewise.
1005 * soft-fp/gesf2.c: Likewise.
1006 * soft-fp/getf2.c: Likewise.
1007 * soft-fp/ledf2.c: Likewise.
1008 * soft-fp/lesf2.c: Likewise.
1009 * soft-fp/letf2.c: Likewise.
1010 * soft-fp/op-1.h: Likewise.
1011 * soft-fp/op-2.h: Likewise.
1012 * soft-fp/op-4.h: Likewise.
1013 * soft-fp/op-8.h: Likewise.
1014 * soft-fp/op-common.h: Likewise.
1015 * soft-fp/quad.h: Likewise.
1016 * soft-fp/single.h: Likewise.
1017 * soft-fp/soft-fp.h: Likewise.
1018 * soft-fp/unorddf2.c: Likewise.
1019 * soft-fp/unordsf2.c: Likewise.
1020 * soft-fp/unordtf2.c: Likewise.
1021 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1022 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1023 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1024 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1025 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1026 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1027 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1028 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1029 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1030 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1031
9b84e7a8
RX
10322014-10-08 Rong Xu <xur@google.com>
1033
1034 * libgcov-util.c (read_gcda_file): Fix format.
1035 (find_match_gcov_info): Ditto.
1036 (calculate_2_entries): New.
1037 (compute_one_gcov): Ditto.
1038 (gcov_info_count_all_cold): Ditto.
1039 (gcov_info_count_all_zero): Ditto.
1040 (extract_file_basename): Ditto.
1041 (get_file_basename): Ditto.
1042 (set_flag): Ditto.
1043 (matched_gcov_info): Ditto.
1044 (calculate_overlap): Ditto.
1045 (gcov_profile_overlap): Ditto.
1046 * libgcov-driver.c (compute_summary): Make
1047 it avavilable for external calls.
1048
fe1090c1
RX
10492014-10-06 Rong Xu <xur@google.com>
1050
1051 * Makefile.in: Ditto.
1052 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1053 (gcov_sort_icall_topn_counter): Ditto.
1054 (gcov_sort_topn_counter_arrays): Ditto.
1055 (dump_one_gcov): Sort indirect_call topn counters.
1056 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1057 function.
1058 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
1059 utility function.
1060 (__gcov_indirect_call_topn_profiler): New profiler function.
1061 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
1062 * libgcov.h: New decls.
1063
3daa7bbf
TS
10642014-10-04 Trevor Saunders <tsaunders@mozilla.com>
1065
1066 * config.host: Remove support for score-*.
1067
9a79452d
JM
10682014-09-22 Joseph Myers <joseph@codesourcery.com>
1069
1070 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1071 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
1072 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
1073 __LIBGCC_XF_MANT_DIG__.
1074 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
1075 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
1076 __LIBGCC_TF_MANT_DIG__.
1077 * libgcc2.c (NOTRUNC): Define in terms of
1078 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
1079 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1080
1a849e50
JM
10812014-09-22 Joseph Myers <joseph@codesourcery.com>
1082
1083 PR target/63312
1084 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
1085 New macros.
1086
598a1586
HPN
10872014-09-22 Hans-Peter Nilsson <hp@axis.com>
1088
1089 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
1090 override USE_PT_GNU_EH_FRAME.
1091 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
1092 check USE_EH_FRAME_REGISTRY_ALWAYS against
1093 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
1094 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
1095 variable for substituted force_explicit_eh_registry.
1096 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
1097 * configure.ac (explicit-exception-frame-registration):
1098 New AC_ARG_ENABLE.
1099 * configure: Regenerate.
1100
3a8fe7c6
OH
11012014-09-19 Olivier Hainque <hainque@adacore.com>
1102
1103 * config.host (powerpc-wrs-vxworksmils): New configuration,
1104 same as vxworksae.
1105
dd69f047
JM
11062014-09-18 Joseph Myers <joseph@codesourcery.com>
1107
1108 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
1109
e770bfd9
JM
11102014-09-18 Joseph Myers <joseph@codesourcery.com>
1111
1112 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
1113 bits not set bits as indicating trapping exceptions.
1114
cadb2b96
NS
11152014-09-17 Nathan sidwell <nathan@acm.org>
1116
1117 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
1118 (LIBGCOV_DRIVER): ... here.
1119 * libgcov-driver.c (gcov_master): New.
1120 (gcov_exit): Remove from master chain.
1121 (__gcov_init): Add to master chain if version compatible. Don't
1122 clear the version.
1123 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
1124 (gcov_reset_int): Clear master chain, if compatible.
1125 (gcov_dump_int): New internal interface. Dump master chain, if
1126 compatible.
1127 (gcov_dump): Alias for gcov_dump_int.
1128 * libgcov.h (struct gcov_root): Add next and prev fields.
1129 (struct gcov_master): New struct.
1130 (__gcov_master): New.
1131 (gcov_dump_int): Declare.
1132
580d22a3
OH
11332014-09-17 Olivier Hainque <hainque@adacore.com>
1134
1135 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
1136 and crtbegin.o + crtend.o to extra_parts.
1137
8cc4b7a2
JM
11382014-09-12 Joseph Myers <joseph@codesourcery.com>
1139
1140 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
1141 __LIBGCC_HAS_SF_MODE__.
1142 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1143 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1144 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1145 * config/libbid/bid_gcc_intrinsics.h
1146 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1147 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1148 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1149 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1150 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
1151 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1152
ea3f2b24
GJL
11532014-09-11 Georg-Johann Lay <avr@gjlay.de>
1154
1155 PR target/63223
1156 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
1157 and R24 as needed. Make work for all devices and .text locations.
1158 (__do_global_ctors, __do_global_dtors): Use word addresses.
1159 (__tablejump__, __tablejump_elpm__): Remove functions.
1160 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
1161 Add _tablejump2.
1162 (XICALL, XIJMP): New macros.
1163
b677236a
MS
11642014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
1165 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1166
1167 * config.host (aarch64*): Include crtfastmath.o and
1168 t-crtfm.
1169 * config/aarch64/crtfastmath.c: New file.
1170
157e859f
TS
11712014-09-08 Trevor Saunders <tsaunders@mozilla.com>
1172
1173 * config.host: Remove picochip support.
1174 * config/picochip/adddi3.S: Remove.
1175 * config/picochip/ashlsi3.S: Remove.
1176 * config/picochip/ashlsi3.c: Remove.
1177 * config/picochip/ashrsi3.S: Remove.
1178 * config/picochip/ashrsi3.c: Remove.
1179 * config/picochip/clzsi2.S: Remove.
1180 * config/picochip/cmpsi2.S: Remove.
1181 * config/picochip/divmod15.S: Remove.
1182 * config/picochip/divmodhi4.S: Remove.
1183 * config/picochip/divmodsi4.S: Remove.
1184 * config/picochip/lib1funcs.S: Remove.
1185 * config/picochip/longjmp.S: Remove.
1186 * config/picochip/lshrsi3.S: Remove.
1187 * config/picochip/lshrsi3.c: Remove.
1188 * config/picochip/parityhi2.S: Remove.
1189 * config/picochip/popcounthi2.S: Remove.
1190 * config/picochip/setjmp.S: Remove.
1191 * config/picochip/subdi3.S: Remove.
1192 * config/picochip/t-picochip: Remove.
1193 * config/picochip/ucmpsi2.S: Remove.
1194 * config/picochip/udivmodhi4.S: Remove.
1195 * config/picochip/udivmodsi4.S: Remove.
1196
66bb34c0
JM
11972014-09-08 Joseph Myers <joseph@codesourcery.com>
1198
1199 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
1200 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
1201 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
1202 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
1203 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
1204 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
1205 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
1206 defined and LIBGCC2_HAS_DF_MODE is defined.
1207 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
1208 defined and LIBGCC2_HAS_XF_MODE is defined.
1209 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
1210 defined and LIBGCC2_HAS_TF_MODE is defined.
1211
9686a2e6
JM
12122014-09-08 Joseph Myers <joseph@codesourcery.com>
1213
1214 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
1215 and ROUND_TOWARDS_ZERO conditionals.
1216
71c3e2ef
NS
12172014-09-07 Nathan sidwell <nathan@acm.org>
1218
1219 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
1220 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
1221
53d68b9f
JM
12222014-09-05 Joseph Myers <joseph@codesourcery.com>
1223
1224 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
1225 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1226 uses to __LIBGCC_STACK_POINTER_REGNUM__.
1227 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1228 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1229 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1230 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1231 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
1232 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
1233 (DWARF_FRAME_REGISTERS): Change all uses to
1234 __LIBGCC_DWARF_FRAME_REGISTERS__.
1235 (EH_RETURN_STACKADJ_RTX): Change all uses to
1236 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1237 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
1238 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
1239 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
1240 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
1241 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
1242 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
1243 to __LIBGCC_EH_FRAME_SECTION_NAME__.
1244 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
1245 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
1246 __LIBGCC_STACK_POINTER_REGNUM__.
1247 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1248 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1249 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1250 to __LIBGCC_STACK_POINTER_REGNUM__.
1251 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1252 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1253 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1254 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1255 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1256 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1257 (STACK_POINTER_REGNUM): Change all uses to
1258 __LIBGCC_STACK_POINTER_REGNUM__.
1259 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
1260 use to __LIBGCC_STACK_POINTER_REGNUM__.
1261 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1262 uses to __LIBGCC_STACK_POINTER_REGNUM__.
1263 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
1264 to __LIBGCC_DWARF_FRAME_REGISTERS__.
1265 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
1266 to __LIBGCC_DWARF_FRAME_REGISTERS__.
1267 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1268 to __LIBGCC_STACK_POINTER_REGNUM__.
1269 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
1270 Remove conditional definition.
1271 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
1272 __LIBGCC_TEXT_SECTION_ASM_OP__.
1273 (EH_FRAME_SECTION_NAME): Change all uses to
1274 __LIBGCC_EH_FRAME_SECTION_NAME__.
1275 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
1276 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
1277 (CTORS_SECTION_ASM_OP): Change all uses to
1278 __LIBGCC_CTORS_SECTION_ASM_OP__.
1279 (DTORS_SECTION_ASM_OP): Change all uses to
1280 __LIBGCC_DTORS_SECTION_ASM_OP__.
1281 (JCR_SECTION_NAME): Change all uses to
1282 __LIBGCC_JCR_SECTION_NAME__.
1283 (INIT_SECTION_ASM_OP): Change all uses to
1284 __LIBGCC_INIT_SECTION_ASM_OP__.
1285 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1286 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1287 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
1288 __LIBGCC_STACK_GROWS_DOWNWARD__.
1289 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
1290 __LIBGCC_INIT_SECTION_ASM_OP__.
1291 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1292 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1293 (EH_FRAME_SECTION_NAME): Change all uses to
1294 __LIBGCC_EH_FRAME_SECTION_NAME__.
1295 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
1296 definitions. Change all uses to
1297 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
1298 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
1299 __LIBGCC_STACK_GROWS_DOWNWARD__.
1300 (DWARF_FRAME_REGISTERS): Change all uses to
1301 __LIBGCC_DWARF_FRAME_REGISTERS__.
1302 (EH_RETURN_STACKADJ_RTX): Change all uses to
1303 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1304 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
1305 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
1306 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
1307 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
1308 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
1309
b20ee094
NS
13102014-09-02 Nathan sidwell <nathan@acm.org>
1311
1312 * libgcov-interface.c (STRONG_ALIAS): New.
1313 (__gcov_flush): Call __gcov_reset_int.
1314 (__gcov_reset): Strong alias for ...
1315 (__gcov_reset_ing): ... this renamed hidden version.
1316 * libgcov.h (__gcov_reset_int): New declaration.
1317
1ac83976
YS
13182014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
1319
25efdb9f
YS
1320 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
1321 call from here...
1322 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
1323 (__dso_handle): Define on Cygwin.
1324 * config/i386/t-cygming (crtbeginS.o): New rule.
1325 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
1326
1ac83976
YS
1327 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
1328 declaration syntax.
1329
c6f9ea3b
SE
13302014-08-13 Steve Ellcey <sellcey@mips.com>
1331
1332 * crtstuff.c: Undef caddr_t.
1333
5b1ea7c5
SE
13342014-08-12 Steve Ellcey <sellcey@mips.com>
1335
1336 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
1337
4303c581
NS
13382014-08-07 Nathan Sidwell <nathan@acm.org>
1339
1340 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
1341 (LIBGCOV_DRIVER): ... to here.
1342 * libgcov.h (gcov_do_dump): New #define.
1343 (struct gcov_root): New.
1344 (__gcov_root): New declaration.
1345 (__gcov_dump_one): Declare.
1346 * libgcov-driver.c (gcov_list, gcov_dump_complete,
1347 run_accounted): Delete.
1348 (gcov_compute_histogram): Add LIST argument, adjust.
1349 (compute_summary): Adjust gcov_compute_histogram call.
1350 (gcov_do_dump): Not hidden, static in libgcov.
1351 (gcov_clear): Move to interface.c.
1352 (__gcov_dump_one): New, broken out of ...
1353 (gcov_exit): ... here. Make static.
1354 (__gcov_root): New.
1355 (__gcov_init): Adjust.
1356 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
1357 declarations.
1358 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
1359 (gcov_clear): Moved from driver.c. Add LIST argument.
1360 (__gcov_reset): Adjust for changed interfaces.
1361 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
1362
23742a9e
RAR
13632014-08-04 Rohit <rohitarulraj@freescale.com>
1364
1365 PR target/60102
1366 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 1367 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 1368
b98a872b
NS
13692014-08-01 Nathan Sidwell <nathan@acm.org>
1370
1371 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
1372 LIBGCOV_INTERFACE): Reformat.
1373 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
1374 IN_GCOV_TOOL.
1375 * libgcov-interface.c: Reformat some comments.
1376 (__gcov_flush_mx): Add declaration. Tidy up definition.
1377
6adaaa1d
AM
13782014-07-31 Alan Modra <amodra@gmail.com>
1379 Peter Bergner <bergner@vnet.ibm.com>
1380
1381 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
1382 (pack_ldouble): New function.
1383 (__gcc_qadd): Use it.
1384 (__gcc_qmul): Likewise.
1385 (__gcc_qdiv): Likewise.
1386 (__gcc_qneg): Likewise.
1387 (__gcc_stoq): Likewise.
1388 (__gcc_dtoq): Likewise.
1389
87cb0c0c
UW
13902014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
1391
1392 * config/s390/tpf-unwind.h: Include <stdbool.h>.
1393 (__tpf_eh_return): Add original return address as second parameter.
1394 Handle cases where unwinder routines were called directly, instead
1395 of from within the C++ library.
1396
19926161
NS
13972014-07-29 Nathan Sidwell <nathan@acm.org>
1398
1399 * libgcov.h: Move renaming of entry points to lib gcov specific
1400 portion.
1401 (gcov_do_dump): New rename.
1402 (gcov_rewrite): Remove inline, make HIDDEN.
1403 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
1404 (gcov_exit_compute_summary): Rename to ...
1405 (compute_summary): ... here. Add LIST argument.
1406 (gcov_exit_merge_gcda): Rename to ...
1407 (merge_one_data): ... here.
1408 (gcov_exit_write_gcda): Rename to ...
1409 (write_one_data): ... here.
1410 (gcov_exit_merge_summary): Rename to ...
1411 (merge_summary): Add RUN_COUNTED argument.
1412 (gcov_exit_dump_gcov): Rename to ...
1413 (dump_one_gcov): Add RUN_COUNTED argument.
1414 (gcov_do_dump): New function, broken out of ...
1415 (gcov_exit): ... here. Call it.
1416
17522262
AG
14172014-07-27 Anthony Green <green@moxielogic.com>
1418
1419 * config.host: Add moxiebox configuration suppport.
1420
6dc33097
NS
14212014-07-27 Nathan Sidwell <nathan@acm.org>
1422
1423 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
1424 (struct gcov_filename): ... here. Include buffer and max length
1425 fields.
1426 (gcov_max_filename): Remove.
1427 (gi_filename): Remove.
1428 (gcov_exit_compute_summary): Compute max filename here.
1429 (gcov_exit_merge_gcda): Add filename parm, adjust.
1430 (gcov_exit_merge_summary): Likewise.
1431 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
1432 (gcov_exit): Likewise.
1433 (__gcov_init): Don't calculate max length here.
1434 * libgcov_util.c (max_filename_len): Remove.
1435 (read_gcda_file): Don't calculate max length here.
1436 (gcov_read_profile_dir): Don't propagate here.
1437 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
1438 struct gcov_filename changes.
1439 (gcov_exit_open_gcda_file): Likewise.
1440
770f687d
NS
14412014-07-25 Nathan Sidwell <nathan@acm.org>
1442
1443 * libgcov-driver.c (set_gcov_dump_complete,
1444 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
1445 functions polluting user's namespace.
1446 (gcov_exit): Set variable directly.
1447 (gcov_clear): Reset variable directly.
1448 * libgcov-interface.c (get_gcov_dymp_complete,
1449 reset_gov_dump_complete): Remove declarations.
1450 (__gcov_reset, __gcov_dump): Don't call them.
1451
fabf71ba
DD
14522014-07-24 DJ Delorie <dj@redhat.com>
1453
1454 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
1455 (__gcc_deregister_frame): Move logic to detect deregister function
1456 to ...
1457 (__gcc_register_frame): here, so it's consistent with the register
1458 logic.
fabf71ba 1459
d10ee722
NS
14602014-07-23 Nathan Sidwell <nathan@acm.org>
1461
1462 * libgcov-driver.c (set_gcov_list): Remove.
1463 (gcov_list): Make non-static in GCOV_TOOL.
1464 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
1465
a4137090
JDA
14662014-07-17 John David Anglin <danglin@gcc.gnu.org>
1467
1468 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
1469 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
1470 Don't use SYNC_LOCK_RELEASE for int type.
1471
72602c6c
RB
14722014-07-14 Richard Biener <rguenther@suse.de>
1473
1474 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
1475
d5313205
RX
14762014-07-11 Rong Xu <xur@google.com>
1477
1478 * libgcov-util.c (gcov_max_filename): Fix declartion.
1479
c77556a5
RX
14802014-07-10 Rong Xu <xur@google.com>
1481
1482 Add gcov-tool: an offline gcda profile processing tool
1483 Support.
1484 * libgcov-driver.c (gcov_max_filename): Make available
1485 to gcov-tool.
1486 * libgcov-merge.c (__gcov_merge_add): Replace
1487 gcov_read_counter() with a Macro.
1488 (__gcov_merge_ior): Ditto.
1489 (__gcov_merge_time_profile): Ditto.
1490 (__gcov_merge_single): Ditto.
1491 (__gcov_merge_delta): Ditto.
1492 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
1493 in the utility functions.
1494 (set_fn_ctrs): Utility function for reading gcda files to in-memory
1495 gcov_list object link lists.
1496 (tag_function): Ditto.
1497 (tag_blocks): Ditto.
1498 (tag_arcs): Ditto.
1499 (tag_lines): Ditto.
1500 (tag_counters): Ditto.
1501 (tag_summary): Ditto.
1502 (read_gcda_finalize): Ditto.
1503 (read_gcda_file): Ditto.
1504 (ftw_read_file): Ditto.
1505 (read_profile_dir_init): Ditto.
1506 (gcov_read_profile_dir): Ditto.
1507 (gcov_read_counter_mem): Ditto.
1508 (gcov_get_merge_weight): Ditto.
1509 (merge_wrapper): A wrapper function that calls merging handler.
1510 (gcov_merge): Merge two gcov_info objects with weights.
1511 (find_match_gcov_info): Find the matched gcov_info in the list.
1512 (gcov_profile_merge): Merge two gcov_info object lists.
1513 (__gcov_add_counter_op): Process edge profile counter values.
1514 (__gcov_ior_counter_op): Process IOR profile counter values.
1515 (__gcov_delta_counter_op): Process delta profile counter values.
1516 (__gcov_single_counter_op): Process single profile counter values.
1517 (fp_scale): Callback function for float-point scaling.
cc86234f 1518 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
1519 (gcov_profile_scale): Scaling profile counters.
1520 (gcov_profile_normalize): Normalize profile counters.
1521 * libgcov.h: Add headers and functions for gcov-tool use.
1522 (gcov_get_counter): New.
1523 (gcov_get_counter_target): Ditto.
1524 (struct gcov_info): Make the functions field mutable in gcov-tool
1525 compilation.
1526
5c7dac8a
KT
15272014-06-23 Kai Tietz <ktietz@redhat.com>
1528
1529 PR libgcc/61585
1530 * unwind-seh.c (_Unwind_GetGR): Check for proper
1531 index range.
1532 (_Unwind_SetGR): Likewise.
1533
161c9312
NC
15342014-05-22 Nick Clifton <nickc@redhat.com>
1535
1536 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
1537 -mhwmult=none.
1538
e3f0315f
TJ
15392014-05-22 Teresa Johnson <tejohnson@google.com>
1540
1541 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
1542 include.
1543
dbed5a9b
JM
15442014-05-20 John Marino <gnugcc@marino.st>
1545
1546 * config.host (*-*-dragonfly*): New target.
1547 * crtstuff.c: Make dl_iterate_support generic on *bsd.
1548 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
1549 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
1550 * config/i386/dragonfly-unwind.h: New.
1551
1ec380e5
MR
15522014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1553
1554 PR libgcc/60166
1555 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
1556 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
1557
54fde020
BE
15582014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
1559
1560 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
1561 implementation.
1562
999db125
GJL
15632014-05-12 Georg-Johann Lay <avr@gjlay.de>
1564
1565 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
1566
cceaf54a
RO
15672014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1568
1569 PR libgcc/61097
1570 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
1571 if --enable-shared.
1572
e3fe9b5b
BE
15732014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
1574
1575 Work around for current cygwin32 build problems.
1576 * config/i386/cygming-crtbegin.c (__register_frame_info,
1577 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
1578 functions only for 64-bit systems.
1579
54cf37e9
RO
15802014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1581
1582 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
1583 (sigill_caught, sigill_hdlr): Remove.
1584
d9f069ab
RO
15852014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1586
1587 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1588 check.
1589 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1590 Solaris 9 single-threaded support.
1591 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1592 Solaris 9 single-threaded support. Add call_user_handler code
1593 sequences.
1594 (sparc_is_sighandler): Likewise.
1595
59976ef8
AK
15962014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1597
1598 * config.host: Append t-floattodi to tmake_file depending on
1599 host_address.
1600
d02bbcf3
JS
16012014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
1602
31466bc0 1603 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 1604
c2e7e597
UB
16052014-03-10 Uros Bizjak <ubizjak@gmail.com>
1606
1607 PR libgcc/60472
1608 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 1609 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
1610 Use __builtin_expect when checking *jcr_list for NULL.
1611
227a7dc8
RO
16122014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1613
1614 PR libgcc/59339
1615 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1616 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1617 vtv_*.o to extra_parts if enable_vtable_verify.
1618
df2b279c
NC
16192014-03-06 Nick Clifton <nickc@redhat.com>
1620
1621 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1622 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1623
dc11d79b
JY
16242014-02-28 Joey Ye <joey.ye@arm.com>
1625
1626 PR libgcc/60166
1627 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1628 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1629 Set to zero.
1630
341c653c
WL
16312014-02-24 Walter Lee <walt@tilera.com>
1632
1633 * config.host: Support "tilegx*" and "tilepro*" triplets.
1634 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1635 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1636
95ce7613
CLT
16372014-02-20 Sandra Loosemore <sandra@codesourcery.com>
1638 Chung-Lin Tang <cltang@codesourcery.com>
1639
1640 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1641 * config/nios2/crti.S: Remove .file directive.
1642 * config/nios2/crtn.S: Likewise.
1643
0bb4fc05
KT
16442014-02-18 Kai Tietz <ktietz@redhat.com>
1645 Jonathan Schleifer <js@webkeks.org>
1646
1647 PR objc/56870
1648 * unwind-seh.c (_GCC_specific_handler): Pass proper
1649 value to unwind-handler.
1650
9acf28f1
JM
16512014-02-12 Joseph Myers <joseph@codesourcery.com>
1652
1653 * soft-fp/adddf3.c: Update from glibc.
1654 * soft-fp/addsf3.c: Likewise.
1655 * soft-fp/addtf3.c: Likewise.
1656 * soft-fp/divdf3.c: Likewise.
1657 * soft-fp/divsf3.c: Likewise.
1658 * soft-fp/divtf3.c: Likewise.
1659 * soft-fp/double.h: Likewise.
1660 * soft-fp/eqdf2.c: Likewise.
1661 * soft-fp/eqsf2.c: Likewise.
1662 * soft-fp/eqtf2.c: Likewise.
1663 * soft-fp/extenddftf2.c: Likewise.
1664 * soft-fp/extended.h: Likewise.
1665 * soft-fp/extendsfdf2.c: Likewise.
1666 * soft-fp/extendsftf2.c: Likewise.
1667 * soft-fp/extendxftf2.c: Likewise.
1668 * soft-fp/fixdfdi.c: Likewise.
1669 * soft-fp/fixdfsi.c: Likewise.
1670 * soft-fp/fixdfti.c: Likewise.
1671 * soft-fp/fixsfdi.c: Likewise.
1672 * soft-fp/fixsfsi.c: Likewise.
1673 * soft-fp/fixsfti.c: Likewise.
1674 * soft-fp/fixtfdi.c: Likewise.
1675 * soft-fp/fixtfsi.c: Likewise.
1676 * soft-fp/fixtfti.c: Likewise.
1677 * soft-fp/fixunsdfdi.c: Likewise.
1678 * soft-fp/fixunsdfsi.c: Likewise.
1679 * soft-fp/fixunsdfti.c: Likewise.
1680 * soft-fp/fixunssfdi.c: Likewise.
1681 * soft-fp/fixunssfsi.c: Likewise.
1682 * soft-fp/fixunssfti.c: Likewise.
1683 * soft-fp/fixunstfdi.c: Likewise.
1684 * soft-fp/fixunstfsi.c: Likewise.
1685 * soft-fp/fixunstfti.c: Likewise.
1686 * soft-fp/floatdidf.c: Likewise.
1687 * soft-fp/floatdisf.c: Likewise.
1688 * soft-fp/floatditf.c: Likewise.
1689 * soft-fp/floatsidf.c: Likewise.
1690 * soft-fp/floatsisf.c: Likewise.
1691 * soft-fp/floatsitf.c: Likewise.
1692 * soft-fp/floattidf.c: Likewise.
1693 * soft-fp/floattisf.c: Likewise.
1694 * soft-fp/floattitf.c: Likewise.
1695 * soft-fp/floatundidf.c: Likewise.
1696 * soft-fp/floatundisf.c: Likewise.
1697 * soft-fp/floatunditf.c: Likewise.
1698 * soft-fp/floatunsidf.c: Likewise.
1699 * soft-fp/floatunsisf.c: Likewise.
1700 * soft-fp/floatunsitf.c: Likewise.
1701 * soft-fp/floatuntidf.c: Likewise.
1702 * soft-fp/floatuntisf.c: Likewise.
1703 * soft-fp/floatuntitf.c: Likewise.
1704 * soft-fp/gedf2.c: Likewise.
1705 * soft-fp/gesf2.c: Likewise.
1706 * soft-fp/getf2.c: Likewise.
1707 * soft-fp/ledf2.c: Likewise.
1708 * soft-fp/lesf2.c: Likewise.
1709 * soft-fp/letf2.c: Likewise.
1710 * soft-fp/muldf3.c: Likewise.
1711 * soft-fp/mulsf3.c: Likewise.
1712 * soft-fp/multf3.c: Likewise.
1713 * soft-fp/negdf2.c: Likewise.
1714 * soft-fp/negsf2.c: Likewise.
1715 * soft-fp/negtf2.c: Likewise.
1716 * soft-fp/op-1.h: Likewise.
1717 * soft-fp/op-2.h: Likewise.
1718 * soft-fp/op-4.h: Likewise.
1719 * soft-fp/op-8.h: Likewise.
1720 * soft-fp/op-common.h: Likewise.
1721 * soft-fp/quad.h: Likewise.
1722 * soft-fp/single.h: Likewise.
1723 * soft-fp/soft-fp.h: Likewise.
1724 * soft-fp/subdf3.c: Likewise.
1725 * soft-fp/subsf3.c: Likewise.
1726 * soft-fp/subtf3.c: Likewise.
1727 * soft-fp/truncdfsf2.c: Likewise.
1728 * soft-fp/trunctfdf2.c: Likewise.
1729 * soft-fp/trunctfsf2.c: Likewise.
1730 * soft-fp/trunctfxf2.c: Likewise.
1731 * soft-fp/unorddf2.c: Likewise.
1732 * soft-fp/unordsf2.c: Likewise.
1733 * soft-fp/unordtf2.c: Likewise.
1734 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1735 macro.
1736 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1737 Likewise.
1738 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1739 Likewise.
1740 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1741 Likewise.
1742 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1743 Likewise.
1744 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1745 Likewise.
1746 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1747 Likewise.
1748 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1749 Likewise.
1750 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1751 Likewise.
1752 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1753 Likewise.
1754 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1755 Likewise.
1756 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1757 Likewise.
1758 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1759 Likewise.
1760 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1761 Likewise.
1762 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1763 Likewise.
1764 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1765 Likewise.
1766
ce245ec6
AK
17672014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1768
1769 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1770 cannot be represented.
1771 * config/s390/32/_fixsfdi.c: Likewise.
1772 * config/s390/32/_fixtfdi.c: Likewise.
1773 * config/s390/32/_fixunsdfdi.c: Likewise.
1774 * config/s390/32/_fixunssfdi.c: Likewise.
1775 * config/s390/32/_fixunstfdi.c: Likewise.
1776
1c51d688
RS
17772014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
1778
1779 * configure.ac (libgcc_cv_mips_hard_float): New.
1780 * configure: Regenerate.
1781 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1782 t-softfp-sfdf for hard-float targets.
1783 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1784 (softfp_float_modes, softfp_int_modes, softfp_extensions)
1785 (softfp_truncations, softfp_exclude_libgcc2): New.
1786 * config/t-hardfp: New file.
1787 * config/t-hardfp-sfdf: Likewise.
1788 * config/hardfp.c: Likewise.
1789
bbf391db
AK
17902014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1791
1792 * config.host: Include t-floattodi also for s390x.
1793 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1794 * config/s390/32/_fixsfdi.c: Likewise.
1795 * config/s390/32/_fixtfdi.c: Likewise.
1796 * config/s390/32/_fixunsdfdi.c: Likewise.
1797 * config/s390/32/_fixunssfdi.c: Likewise.
1798 * config/s390/32/_fixunstfdi.c: Likewise.
1799
91da0481
RO
18002014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1801
1802 PR target/59788
1803 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1804 (install-libgcc-unwind-map-forbuild): New target.
1805 (all): Depend on install-libgcc-unwind-map-forbuild.
1806 (install-libgcc-unwind-map): New target.
1807 (install): Depend on install-libgcc-unwind-map.
1808
02b67731
SL
18092014-02-02 Sandra Loosemore <sandra@codesourcery.com>
1810
1811 * config/nios2/crti.S (_init): Initialize GOT pointer from
1812 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1813
1ea0a651
RS
18142014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
1815
1816 * configure.ac: Check __mips64 when setting host_address.
1817 * configure: Regenerate.
1818 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1819 mips/t-mips64 and t-softfp.
1820 (mips*-*-linux*): Don't add mips/t-tpbit.
1821 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1822 (DPBIT, DPBIT_CFLAGS): Delete.
1823 * config/mips/sfp-machine.h: New file.
1824 * config/mips/t-mips64: Likewise.
1825 * config/mips/t-softfp-tf: Likewise.
1826 * config/mips/t-tpbit: Delete.
1827
f32b0061
MS
18282014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
1829
1830 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1831 as long long.
1832
a5420aa4
WL
18332014-01-25 Walter Lee <walt@tilera.com>
1834
1835 * config/tilepro/atomic.c: Include tconfig.h. Don't include
1836 config.h or system.h.
1837 (bool) Define.
1838
24534912
WL
18392014-01-25 Walter Lee <walt@tilera.com>
1840
1841 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1842 (post_atomic_barrier): Ditto.
1843 (__fetch_and_do): New macro.
1844 (__atomic_fetch_and_do): Use __fetch_and_do.
1845 (__sync_fetch_and_do): New macro.
1846 (__sync_fetch_and_add_4): New function.
1847 (__sync_fetch_and_sub_4): New function.
1848 (__sync_fetch_and_or_4): New function.
1849 (__sync_fetch_and_and_4): New function.
1850 (__sync_fetch_and_xor_4): New function.
1851 (__sync_fetch_and_nand_4): New function.
1852 (__sync_fetch_and_add_8): New function.
1853 (__sync_fetch_and_sub_8): New function.
1854 (__sync_fetch_and_or_8): New function.
1855 (__sync_fetch_and_and_8): New function.
1856 (__sync_fetch_and_xor_8): New function.
1857 (__sync_fetch_and_nand_8): New function.
1858 (__do_and_fetch): New macro.
1859 (__atomic_do_and_fetch): Use __do_and_fetch.
1860 (__sync_do_and_fetch): New macro.
1861 (__sync_add_and_fetch_4): New function.
1862 (__sync_sub_and_fetch_4): New function.
1863 (__sync_or_and_fetch_4): New function.
1864 (__sync_and_and_fetch_4): New function.
1865 (__sync_xor_and_fetch_4): New function.
1866 (__sync_nand_and_fetch_4): New function.
1867 (__sync_add_and_fetch_8): New function.
1868 (__sync_sub_and_fetch_8): New function.
1869 (__sync_or_and_fetch_8): New function.
1870 (__sync_and_and_fetch_8): New function.
1871 (__sync_xor_and_fetch_8): New function.
1872 (__sync_nand_and_fetch_8): New function.
1873 (__sync_exchange_methods): New macro.
1874 (__sync_val_compare_and_swap_4): New function.
1875 (__sync_bool_compare_and_swap_4): New function.
1876 (__sync_lock_test_and_test_4): New function.
1877 (__sync_val_compare_and_swap_8): New function.
1878 (__sync_bool_compare_and_swap_8): New function.
1879 (__sync_lock_test_and_test_8): New function.
1880 (__subword_cmpxchg_body): New macro.
1881 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1882 (__atomic_compare_exchange_2): Ditto.
1883 (__sync_subword_cmpxchg): New macro.
1884 (__sync_val_compare_and_swap_1): New function.
1885 (__sync_bool_compare_and_swap_1): New function.
1886 (__sync_val_compare_and_swap_2): New function.
1887 (__sync_bool_compare_and_swap_2): New function.
1888 (__atomic_subword): Rename to ...
1889 (__subword): ... New name.
1890 (__atomic_subword_fetch): Use __subword.
1891 (__sync_subword_fetch): New macro.
1892 (__sync_fetch_and_add_1): New function.
1893 (__sync_fetch_and_sub_1): New function.
1894 (__sync_fetch_and_or_1): New function.
1895 (__sync_fetch_and_and_1): New function.
1896 (__sync_fetch_and_xor_1): New function.
1897 (__sync_fetch_and_nand_1): New function.
1898 (__sync_fetch_and_add_2): New function.
1899 (__sync_fetch_and_sub_2): New function.
1900 (__sync_fetch_and_or_2): New function.
1901 (__sync_fetch_and_and_2): New function.
1902 (__sync_fetch_and_xor_2): New function.
1903 (__sync_fetch_and_nand_2): New function.
1904 (__sync_add_and_fetch_1): New function.
1905 (__sync_sub_and_fetch_1): New function.
1906 (__sync_or_and_fetch_1): New function.
1907 (__sync_and_and_fetch_1): New function.
1908 (__sync_xor_and_fetch_1): New function.
1909 (__sync_nand_and_fetch_1): New function.
1910 (__sync_add_and_fetch_2): New function.
1911 (__sync_sub_and_fetch_2): New function.
1912 (__sync_or_and_fetch_2): New function.
1913 (__sync_and_and_fetch_2): New function.
1914 (__sync_xor_and_fetch_2): New function.
1915 (__sync_nand_and_fetch_2): New function.
1916 (__atomic_subword_lock): Use __subword.
1917 (__sync_subword_lock): New macro.
1918 (__sync_lock_test_and_set_1): New function.
1919 (__sync_lock_test_and_set_2): New function.
1920
4d6d3bc5
WL
19212014-01-25 Walter Lee <walt@tilera.com>
1922
1923 * config/tilepro/atomic.c (BIT_OFFSET): Define.
1924 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1925 (__atomic_subword): Ditto.
1926
cbd9890e
WL
19272014-01-25 Walter Lee <walt@tilera.com>
1928
1929 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1930 a prefix op argument.
1931 (__atomic_nand_fetch_4): Add prefix op.
1932 (__atomic_nand_fetch_8): Ditto.
1933
8fc36b15 19342014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
1935
1936 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1937
46dd1242
L
19382014-01-09 Rong Xu <xur@google.com>
1939
1940 * libgcov-driver.c (this_prg): make it local to save
1941 bss space.
1942 (gcov_exit_compute_summary): Ditto.
1943 (gcov_exit_merge_gcda): Ditto.
1944 (gcov_exit_merge_summary): Ditto.
1945 (gcov_exit_dump_gcov): Ditto.
1946
cc86234f 19472014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
1948
1949 * libgcov-driver.c: Use libgcov.h.
1950 (buffer_fn_data): Use xmalloc instead of malloc.
1951 (gcov_exit_merge_gcda): Ditto.
1952 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1953 * libgcov.h: New common header files for libgcov-*.h.
1954 * libgcov-interface.c: Use libgcov.h
1955 * libgcov-merge.c: Ditto.
1956 * libgcov-profiler.c: Ditto.
1957 * Makefile.in: Add dependence to libgcov.h
1958
a02e7bdd
JM
19592014-01-02 Joseph Myers <joseph@codesourcery.com>
1960
1961 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1962 case of small numerator and finite nonzero result.
1963
ac1dca3c
RS
19642014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1965
1966 Update copyright years
1967
f9030485
RS
19682014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1969
1970 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1971 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1972 config/arc/dp-hack.h, config/arc/fp-hack.h,
1973 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1974 config/arc/ieee-754/arc600-dsp/divdf3.S,
1975 config/arc/ieee-754/arc600-dsp/divsf3.S,
1976 config/arc/ieee-754/arc600-dsp/muldf3.S,
1977 config/arc/ieee-754/arc600-dsp/mulsf3.S,
1978 config/arc/ieee-754/arc600-mul64/divdf3.S,
1979 config/arc/ieee-754/arc600-mul64/divsf3.S,
1980 config/arc/ieee-754/arc600-mul64/muldf3.S,
1981 config/arc/ieee-754/arc600-mul64/mulsf3.S,
1982 config/arc/ieee-754/arc600/divsf3.S,
1983 config/arc/ieee-754/arc600/mulsf3.S,
1984 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1985 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1986 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1987 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1988 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1989 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1990 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1991 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1992 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1993 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1994 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1995 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1996 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1997 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1998 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1999 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2000 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2001 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2002 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2003 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2004 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2005 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2006 vtv_start_preinit.c: Use the standard form for the copyright notice.
2007
e430824f
CLT
20082013-12-31 Sandra Loosemore <sandra@codesourcery.com>
2009 Chung-Lin Tang <cltang@codesourcery.com>
2010 Based on patches from Altera Corporation
2011
2012 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2013 * config/nios2/lib2-nios2.h: New file.
2014 * config/nios2/lib2-divmod-hi.c: New file.
2015 * config/nios2/linux-unwind.h: New file.
2016 * config/nios2/lib2-divmod.c: New file.
2017 * config/nios2/linux-atomic.c: New file.
2018 * config/nios2/t-nios2: New file.
2019 * config/nios2/crti.asm: New file.
2020 * config/nios2/t-linux: New file.
2021 * config/nios2/lib2-divtable.c: New file.
2022 * config/nios2/lib2-mul.c: New file.
2023 * config/nios2/tramp.c: New file.
2024 * config/nios2/crtn.asm: New file.
2025
1879e97f
UB
20262013-12-26 Uros Bizjak <ubizjak@gmail.com>
2027
2028 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2029 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2030 from cpuid.h to check vendor signatures.
2031
f4a4bdbb
GG
20322013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
2033
c2e7e597 2034 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
2035 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2036 (get_amd_cpu): Likewise.
2037
8d2ae544
L
20382013-12-25 H.J. Lu <hongjiu.lu@intel.com>
2039
2040 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2041 Haswell.
2042
74924838
ASJ
20432013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2044 H.J. Lu <hongjiu.lu@intel.com>
2045
0bb52f25
L
2046 PR target/59422
2047 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
2048 and AMD_JAGUAR.
2049 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2050 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2051 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
2052 FEATURE_XOP and FEATURE_FMA.
2053 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2054 AMDFAM15H_BDVER3.
2055 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 2056 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
2057 FEATURE_FMA4 and FEATURE_XOP.
2058
d3c11974
L
20592013-12-23 H.J. Lu <hongjiu.lu@intel.com>
2060
2061 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
2062 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
2063 (get_intel_cpu): Updated.
2064
064c4ff2
ZC
20652013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
2066
2067 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
2068
8b02e720
UB
20692013-12-09 Uros Bizjak <ubizjak@gmail.com>
2070
2071 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 2072 instructions when __SSE_MATH__ is defined.
8b02e720 2073
3fa2ccb4
RC
20742013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
2075
2076 * config.host (microblaze-*-rtems*): New.
2077
ecd78fc9
KV
20782013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
2079
2080 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
2081 architectures that do not have hardware divide instruction.
2082 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
2083
b21fbbd2
RS
20842013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
2085
2086 * longlong.h: Delete (moved to include/).
2087
b03fb8c9
AZ
20882013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2089
2090 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
2091 of normal number and qNaN to not raise an inexact exception.
2092
3c716922
UB
20932013-11-28 Uros Bizjak <ubizjak@gmail.com>
2094
2095 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
2096
20972013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
2098
2099 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
2100 for correct opcodes on BE.
2101
a3458d22
UB
21022013-11-27 Uros Bizjak <ubizjak@gmail.com>
2103
2104 * soft-fp/op-4.h: Update from glibc.
2105
30b8f78b
KV
21062013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
2107
2108 * libgcc2.c (__udivmoddi4): Define new implementation when
2109 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
2110 divide instructions.
2111
82552a29
OE
21122013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
2113
2114 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
2115
80e87457
RO
21162013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2117
2118 * config/t-softfp (soft-fp-objects-base): New variable.
2119 (soft-fp-objects): Use it.
2120
44178879
DE
21212013-11-23 David Edelson <dje.gcc@gmail.com>
2122 Andrew Dixie <andrewd@gentrack.com>
2123
2124 PR target/33704
2125 * config/rs6000/aixinitfini.c: New file.
2126 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
2127 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
2128 symbols.
2129
e5287671
YR
21302013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
2131
a3458d22 2132 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 2133
867c8b03
JH
21342013-11-18 Jan Hubicka <jh@suse.cz>
2135
7f369373
JH
2136 * libgcov-driver.c (run_accounted): Make global level static.
2137 (gcov_exit_merge_summary): Silence warning; do not clear
2138 run_accounted here.
2139 (gcov_exit): Clear it here.
2140
1d0b3334
JH
2141 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
2142 run_accounted.
2143
867c8b03
JH
2144 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
2145 (all_prg, crc32): Remove static vars.
2146 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
2147 all_prg.
2148 (gcov_exit_merge_gcda): Add crc32 parameter.
2149 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
2150 do not account run if it was already accounted.
2151 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
2152 (gcov_exit): Initialize all_prg; update.
2153
66204992
AS
21542013-11-15 Andreas Schwab <schwab@linux-m68k.org>
2155
2156 * configure: Regenerate.
2157
b54214fe
UW
21582013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2159 Alan Modra <amodra@gmail.com>
2160
2161 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
2162 (frob_update_context): Use it.
2163
21642013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2165 Alan Modra <amodra@gmail.com>
2166
2167 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
2168 (trampoline_initial): Provide ELFv2 variant.
2169 (__trampoline_setup): Likewise.
2170
2171 * config/rs6000/linux-unwind.h (frob_update_context): Do not
2172 check for AIX indirect function call sequence if _CALL_ELF == 2.
2173
21742013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2175 Alan Modra <amodra@gmail.com>
2176
2177 * config/rs6000/linux-unwind.h (get_regs): Do not support
2178 old kernel versions if _CALL_ELF == 2.
2179 (frob_update_context): Do not support PLT stub variants only
2180 generated by old linkers if _CALL_ELF == 2.
2181
13e0981a
UW
21822013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2183 Alan Modra <amodra@gmail.com>
2184
2185 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
2186 location of CR save area for 64-bit little-endian systems.
2187
1a80085d
EB
21882013-11-11 Eric Botcazou <ebotcazou@adacore.com>
2189
2190 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
2191 in tmake_file.
2192 * config/arm/t-vxworks: Delete.
2193
cabeea52
KT
21942013-11-10 Kai Tietz <ktietz@redhat.com>
2195
2196 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
2197 Increment load-count on use of LIBGCC_SONAME DLL.
2198 (hmod_libgcc): New static variable to hold handle of
2199 LIBGCC_SONAME DLL.
2200 (__gcc_deregister_frame): Decrement load-count of
2201 LIBGCC_SONAME DLL.
2202
ac088ba1
BRF
22032013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
2204
2205 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
2206 availability.
2207 * configure: Regenerate
2208
d59a8fcc
UB
22092013-11-07 Uros Bizjak <ubizjak@gmail.com>
2210
2211 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
2212 FP_EX_DENORM. Store result to volatile location after SSE division
2213 to close interrupt window. Remove unneeded fwait after x87
2214 division since interrupt window will be closed by emitted fstp.
9de84e84 2215 Rewrite FP_EX_INEXACT handling.
d59a8fcc 2216
9954c743
JM
22172013-11-06 Joseph Myers <joseph@codesourcery.com>
2218
2219 * soft-fp/README: Update.
2220 * soft-fp/adddf3.c: Update from glibc.
2221 * soft-fp/addsf3.c: Likewise.
2222 * soft-fp/addtf3.c: Likewise.
2223 * soft-fp/divdf3.c: Likewise.
2224 * soft-fp/divsf3.c: Likewise.
2225 * soft-fp/divtf3.c: Likewise.
2226 * soft-fp/double.h: Likewise.
2227 * soft-fp/eqdf2.c: Likewise.
2228 * soft-fp/eqsf2.c: Likewise.
2229 * soft-fp/eqtf2.c: Likewise.
2230 * soft-fp/extenddftf2.c: Likewise.
2231 * soft-fp/extended.h: Likewise.
2232 * soft-fp/extendsfdf2.c: Likewise.
2233 * soft-fp/extendsftf2.c: Likewise.
2234 * soft-fp/extendxftf2.c: Likewise.
2235 * soft-fp/fixdfdi.c: Likewise.
2236 * soft-fp/fixdfsi.c: Likewise.
2237 * soft-fp/fixdfti.c: Likewise.
2238 * soft-fp/fixsfdi.c: Likewise.
2239 * soft-fp/fixsfsi.c: Likewise.
2240 * soft-fp/fixsfti.c: Likewise.
2241 * soft-fp/fixtfdi.c: Likewise.
2242 * soft-fp/fixtfsi.c: Likewise.
2243 * soft-fp/fixtfti.c: Likewise.
2244 * soft-fp/fixunsdfdi.c: Likewise.
2245 * soft-fp/fixunsdfsi.c: Likewise.
2246 * soft-fp/fixunsdfti.c: Likewise.
2247 * soft-fp/fixunssfdi.c: Likewise.
2248 * soft-fp/fixunssfsi.c: Likewise.
2249 * soft-fp/fixunssfti.c: Likewise.
2250 * soft-fp/fixunstfdi.c: Likewise.
2251 * soft-fp/fixunstfsi.c: Likewise.
2252 * soft-fp/fixunstfti.c: Likewise.
2253 * soft-fp/floatdidf.c: Likewise.
2254 * soft-fp/floatdisf.c: Likewise.
2255 * soft-fp/floatditf.c: Likewise.
2256 * soft-fp/floatsidf.c: Likewise.
2257 * soft-fp/floatsisf.c: Likewise.
2258 * soft-fp/floatsitf.c: Likewise.
2259 * soft-fp/floattidf.c: Likewise.
2260 * soft-fp/floattisf.c: Likewise.
2261 * soft-fp/floattitf.c: Likewise.
2262 * soft-fp/floatundidf.c: Likewise.
2263 * soft-fp/floatundisf.c: Likewise.
2264 * soft-fp/floatunditf.c: Likewise.
2265 * soft-fp/floatunsidf.c: Likewise.
2266 * soft-fp/floatunsisf.c: Likewise.
2267 * soft-fp/floatunsitf.c: Likewise.
2268 * soft-fp/floatuntidf.c: Likewise.
2269 * soft-fp/floatuntisf.c: Likewise.
2270 * soft-fp/floatuntitf.c: Likewise.
2271 * soft-fp/gedf2.c: Likewise.
2272 * soft-fp/gesf2.c: Likewise.
2273 * soft-fp/getf2.c: Likewise.
2274 * soft-fp/ledf2.c: Likewise.
2275 * soft-fp/lesf2.c: Likewise.
2276 * soft-fp/letf2.c: Likewise.
2277 * soft-fp/muldf3.c: Likewise.
2278 * soft-fp/mulsf3.c: Likewise.
2279 * soft-fp/multf3.c: Likewise.
2280 * soft-fp/negdf2.c: Likewise.
2281 * soft-fp/negsf2.c: Likewise.
2282 * soft-fp/negtf2.c: Likewise.
2283 * soft-fp/op-1.h: Likewise.
2284 * soft-fp/op-2.h: Likewise.
2285 * soft-fp/op-4.h: Likewise.
2286 * soft-fp/op-8.h: Likewise.
2287 * soft-fp/op-common.h: Likewise.
2288 * soft-fp/quad.h: Likewise.
2289 * soft-fp/single.h: Likewise.
2290 * soft-fp/soft-fp.h: Likewise.
2291 * soft-fp/subdf3.c: Likewise.
2292 * soft-fp/subsf3.c: Likewise.
2293 * soft-fp/subtf3.c: Likewise.
2294 * soft-fp/truncdfsf2.c: Likewise.
2295 * soft-fp/trunctfdf2.c: Likewise.
2296 * soft-fp/trunctfsf2.c: Likewise.
2297 * soft-fp/trunctfxf2.c: Likewise.
2298 * soft-fp/unorddf2.c: Likewise.
2299 * soft-fp/unordsf2.c: Likewise.
2300 * soft-fp/unordtf2.c: Likewise.
2301
02ac9503
UB
23022013-11-05 Uros Bizjak <ubizjak@gmail.com>
2303
2304 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
2305 (_FP_MUL_MEAT_D): Ditto.
2306 (_FP_DIV_MEAT_S): Ditto.
2307 (_FP_DIV_MEAT_D): Ditto.
2308 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
2309 t-softfp-sfdf and t-softfp to tmake_file.
2310
61221141
UB
23112013-11-03 Uros Bizjak <ubizjak@gmail.com>
2312
2313 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
2314 * config/i386/crtprec.c: Ditto.
2315
9304f876
CJW
23162013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
2317 Shiva Chen <shiva0217@gmail.com>
2318
2319 * config.host (nds32*-elf*): Add nds32 target.
2320 * config/nds32 : New directory and files.
2321
0e499e75
HPN
23222013-10-16 Hans-Peter Nilsson <hp@axis.com>
2323
2324 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
2325 * config.host (cpu_type) <Setting default>: Add entry for
2326 crisv32-*-*.
2327 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
2328 <crisv32-*-linux*>: Adjust.
2329 * longlong.h: Wrap the whole CRIS section in a single
2330 defined(__CRIS__) conditional. Add comment about add_ssaaaa
2331 and sub_ddmmss.
2332 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
2333 defined.
2334 [__CRIS__] (__umulsidi3): Define.
2335 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
2336 * config/cris/sfp-machine.h: New file.
2337 * config/cris/umulsidi3.S: New file.
2338 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
2339 * config/cris/arit.c (SIGNMULT): New macro.
2340 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
2341 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
2342 saving 3 out of originally 33 cycles from the fastest
2343 path, 3 out of 54 from the medium path and one from the longest
2344 path. Improve comments.
2345
16022041
RS
23462013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
2347
2348 * sync.c: Remove static aliases and define each function directly
2349 under its real name.
2350
69778659
JDA
23512013-10-02 John David Anglin <danglin@gcc.gnu.org>
2352
2353 * config.host (hppa*64*-*-linux*): Define extra_parts.
2354 (hppa*-*-linux*): Likewise.
2355
2deaf8b0
JR
23562013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
2357
2358 * config/arc/crtgend.S: Add 2013 to Copyright years.
2359 * config/arc/gmon/atomic.h: Likewise.
2360 * config/arc/gmon/auxreg.h: Likewise.
2361 * config/arc/gmon/sys/gmon_out.h: Likewise.
2362 * config/arc/gmon/sys/gmon.h: Likewise.
2363 * config/arc/gmon/prof-freq.c: Likewise.
2364 * config/arc/gmon/mcount.c: Likewise.
2365 * config/arc/gmon/prof-freq-stub.S: Likewise.
2366 * config/arc/gmon/gmon.c: Likewise.
2367 * config/arc/gmon/machine-gmon.h: Likewise.
2368 * config/arc/gmon/profil.S: Likewise.
2369 * config/arc/gmon/dcache_linesz.S: Likewise.
2370 * config/arc/crtg.S: Likewise.
2371 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
2372 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
2373 * config/arc/ieee-754/adddf3.S: Likewise.
2374 * config/arc/ieee-754/truncdfsf2.S: Likewise.
2375 * config/arc/ieee-754/fixsfsi.S: Likewise.
2376 * config/arc/ieee-754/gtsf2.S: Likewise.
2377 * config/arc/ieee-754/floatsisf.S: Likewise.
2378 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
2379 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
2380 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
2381 * config/arc/ieee-754/fixdfsi.S: Likewise.
2382 * config/arc/ieee-754/addsf3.S: Likewise.
2383 * config/arc/ieee-754/gesf2.S: Likewise.
2384 * config/arc/ieee-754/floatsidf.S: Likewise.
2385 * config/arc/ieee-754/extendsfdf2.S: Likewise.
2386 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
2387 * config/arc/ieee-754/gtdf2.S: Likewise.
2388 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
2389 * config/arc/ieee-754/uneqdf2.S: Likewise.
2390 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2391 * config/arc/ieee-754/uneqsf2.S: Likewise.
2392 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
2393 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
2394 * config/arc/ieee-754/eqdf2.S: Likewise.
2395 * config/arc/ieee-754/ordsf2.S: Likewise.
2396 * config/arc/ieee-754/divsf3.S: Likewise.
2397 * config/arc/ieee-754/divdf3.S: Likewise.
2398 * config/arc/ieee-754/floatunsidf.S: Likewise.
2399 * config/arc/ieee-754/orddf2.S: Likewise.
2400 * config/arc/ieee-754/eqsf2.S: Likewise.
2401 * config/arc/ieee-754/gedf2.S: Likewise.
2402 * config/arc/crtn.S: Likewise.
2403 * config/arc/crti.S: Likewise.
2404 * config/arc/t-arc700-uClibc: Likewise.
2405 * config/arc/asm.h: Likewise.
2406 * config/arc/libgcc-excl.ver: Likewise.
2407 * config/arc/t-arc-newlib: Likewise.
2408 * config/arc/divtab-arc700.c: Likewise.
2409 * config/arc/initfini.c: Likewise.
2410 * config/arc/fp-hack.h: Likewise.
2411
c8e318b0
JR
24122013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
2413 Diego Novillo <dnovillo@google.com>
2414
2415 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
2416 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
2417 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
2418 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 2419
d38a64b4
JR
24202013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
2421 Brendan Kehoe <brendan@zen.org>
2422 Simon Cook <simon.cook@embecosm.com>
2423
2424 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
2425 * config/arc: New directory.
2426 * longlong.h [__arc__] (umul_ppmm): Remove.
2427 [__arc__] (__umulsidi3): Define.
2428 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
2429 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
2430
dff717d2
JC
24312013-09-17 Jacek Caban <jacek@codeweavers.com>
2432
2433 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
2434 CreateSemaphoreA.
2435 * config/i386/gthr-win32.h: Likewise.
2436
5c0029de
DD
24372013-09-16 DJ Delorie <dj@redhat.com>
2438
844ad6c6 2439 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
2440 * config/rl78/lib2mul.c: Enable for RL78/G10.
2441 * config/rl78/lib2div.c: Likewise.
2442 * config/rl78/lshrsi3.S: Use vregs.h.
2443 * config/rl78/cmpsi2.S: Likewise.
2444 * config/rl78/trampoline.S: Likewise.
2445 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
2446
ceb2fc49
DD
24472013-09-14 DJ Delorie <dj@redhat.com>
2448 Nick Clifton <nickc@redhat.com>
2449
2450 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
2451 * config/rl78/vregs.h: New.
2452 * config/rl78/signbit.S: New file. Implements signbit function.
2453 * config/rl78/divmodsi.S: New.
2454 * config/rl78/divmodhi.S: New.
2455 * config/rl78/divmodqi.S: New.
2456 * config/rl78/t-rl78: Build them here...
2457 * config/rl78/lib2div.c: ...but not here.
2458
f6a83b4a
DD
24592013-09-12 DJ Delorie <dj@redhat.com>
2460
2461 * config.host (msp*-*-elf): New.
2462 * config/msp430/: New port.
2463
9107b096
IS
24642013-08-18 Iain Sandoe <iain@codesourcery.com>
2465
2466 PR gcov-profile/58127
2467 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
2468 __thread var for emulated TLS.
2469 (__gcov_indirect_call_counters): Likewise.
2470
0f9bde1f 24712013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141
UB
2472 Catherine Moore <clm@codesourcery.com>
2473 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
2474
2475 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
2476 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
2477 (CALL_STUB_NO_RET): Likewise.
2478 (CALL_STUB_RET): Likewise.
2479 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
2480 __mips16_ret call/return stub symbols.
2481 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
2482 to tmake_file.
2483
2dc14aac
MR
24842013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
2485
2486 * config.host <mips*-*-linux*>: Remove a stray comment.
2487
748d71f3
JH
24882013-08-10 Jan Hubicka <jh@suse.cz>
2489
2490 Work around binutils PR14342
2491 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
2492 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
2493 (L_gcov_indirect_call_profiler_v2): New.
2494
2fa3d31b
JH
24952013-08-06 Jan Hubicka <jh@suse.cz>
2496
2497 * libgcov.c (__gcov_indirect_call_callee,
2498 __gcov_indirect_call_counters): New global vars.
2499 (__gcov_indirect_call_profiler): replace by ...
2500 (__gcov_indirect_call_profiler_v2) ... this one.
2501
2077db1b
CT
25022013-08-06 Caroline Tice <cmtice@google.com>
2503
d0595b65 2504 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 2505 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
2506 * configure.ac: Add code to check/set enable_vtable_verify.
2507 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 2508 true.
d0595b65
CT
2509 * vtv_start_preinit.c: New file.
2510 * vtv_end_preinit.c: New file.
2511 * vtv_start.c: New file.
2512 * vtv_end.c: New file.
2513 * configure: Regenerated.
2077db1b 2514
46549c20
MK
25152013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
2516
2517 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
2518 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
2519 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
2520 GPL-3.0-with-GCC-exception.
2521
72be589b
MR
25222013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
2523
2524 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
2525 ISA and up.
2526
902a3faf
AK
25272013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2528
2529 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
2530 mapping for FPRs when creating the fallback framestate.
2531
02371798
GJL
25322013-07-19 Georg-Johann Lay <avr@gjlay.de>
2533
2534 PR target/57516
2535 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
2536 (__round_s2_const, __round_u2_const)
2537 (__round_s4_const, __round_u4_const, __round_x8):
2538 Saturate result if addition result cannot be represented.
2539
ab0e8379
MK
25402013-07-15 Matthias Klose <doko@ubuntu.com>
2541
2542 * libgcc2.c: Don't include <limits.h>.
2543
7da38058
JJ
25442013-07-09 Janis Johnson <janisjo@codesourcery.com>
2545
2546 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
2547
1f6eac90
JJ
25482013-07-06 Jakub Jelinek <jakub@redhat.com>
2549
2550 PR target/29776
2551 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
2552
4ea3d774
JJ
25532013-06-28 Jakub Jelinek <jakub@redhat.com>
2554
2555 PR middle-end/36041
2556 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
2557 Define.
2558 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
2559 instead of table lookups.
2560 (__popcountDI2): Likewise.
2561
9d2cdf25
CJW
25622013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
2563
2564 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
2565 correctly.
2566
fa1e55b0
JM
25672013-06-21 Joseph Myers <joseph@codesourcery.com>
2568
2569 PR other/53317
2570 * soft-fp/adddf3.c: Update from glibc.
2571 * soft-fp/addsf3.c: Likewise.
2572 * soft-fp/addtf3.c: Likewise.
2573 * soft-fp/divdf3.c: Likewise.
2574 * soft-fp/divsf3.c: Likewise.
2575 * soft-fp/divtf3.c: Likewise.
2576 * soft-fp/double.h: Likewise.
2577 * soft-fp/eqdf2.c: Likewise.
2578 * soft-fp/eqsf2.c: Likewise.
2579 * soft-fp/eqtf2.c: Likewise.
2580 * soft-fp/extenddftf2.c: Likewise.
2581 * soft-fp/extended.h: Likewise.
2582 * soft-fp/extendsfdf2.c: Likewise.
2583 * soft-fp/extendsftf2.c: Likewise.
2584 * soft-fp/fixdfdi.c: Likewise.
2585 * soft-fp/fixdfsi.c: Likewise.
2586 * soft-fp/fixsfdi.c: Likewise.
2587 * soft-fp/fixsfsi.c: Likewise.
2588 * soft-fp/fixtfdi.c: Likewise.
2589 * soft-fp/fixtfsi.c: Likewise.
2590 * soft-fp/fixunsdfdi.c: Likewise.
2591 * soft-fp/fixunsdfsi.c: Likewise.
2592 * soft-fp/fixunssfdi.c: Likewise.
2593 * soft-fp/fixunssfsi.c: Likewise.
2594 * soft-fp/fixunstfdi.c: Likewise.
2595 * soft-fp/fixunstfsi.c: Likewise.
2596 * soft-fp/floatdidf.c: Likewise.
2597 * soft-fp/floatdisf.c: Likewise.
2598 * soft-fp/floatditf.c: Likewise.
2599 * soft-fp/floatsidf.c: Likewise.
2600 * soft-fp/floatsisf.c: Likewise.
2601 * soft-fp/floatsitf.c: Likewise.
2602 * soft-fp/floatundidf.c: Likewise.
2603 * soft-fp/floatundisf.c: Likewise.
2604 * soft-fp/floatunditf.c: Likewise.
2605 * soft-fp/floatunsidf.c: Likewise.
2606 * soft-fp/floatunsisf.c: Likewise.
2607 * soft-fp/floatunsitf.c: Likewise.
2608 * soft-fp/gedf2.c: Likewise.
2609 * soft-fp/gesf2.c: Likewise.
2610 * soft-fp/getf2.c: Likewise.
2611 * soft-fp/ledf2.c: Likewise.
2612 * soft-fp/lesf2.c: Likewise.
2613 * soft-fp/letf2.c: Likewise.
2614 * soft-fp/muldf3.c: Likewise.
2615 * soft-fp/mulsf3.c: Likewise.
2616 * soft-fp/multf3.c: Likewise.
2617 * soft-fp/negdf2.c: Likewise.
2618 * soft-fp/negsf2.c: Likewise.
2619 * soft-fp/negtf2.c: Likewise.
2620 * soft-fp/op-1.h: Likewise.
2621 * soft-fp/op-2.h: Likewise.
2622 * soft-fp/op-4.h: Likewise.
2623 * soft-fp/op-8.h: Likewise.
2624 * soft-fp/op-common.h: Likewise.
2625 * soft-fp/quad.h: Likewise.
2626 * soft-fp/single.h: Likewise.
2627 * soft-fp/soft-fp.h: Likewise.
2628 * soft-fp/subdf3.c: Likewise.
2629 * soft-fp/subsf3.c: Likewise.
2630 * soft-fp/subtf3.c: Likewise.
2631 * soft-fp/truncdfsf2.c: Likewise.
2632 * soft-fp/trunctfdf2.c: Likewise.
2633 * soft-fp/trunctfsf2.c: Likewise.
2634 * soft-fp/unorddf2.c: Likewise.
2635 * soft-fp/unordsf2.c: Likewise.
2636 * soft-fp/unordtf2.c: Likewise.
2637 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2638 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2639 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2640 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2641 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2642 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2643 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2644 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2645 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2646 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2647 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2648 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2649
0de86a92
JU
26502013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
2651
2652 * config/mips/lib2funcs.c: New file.
2653 * config/mips/t-mips (LIB2ADD_ST): Add it.
2654
0d008882
OE
26552013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
2656
2657 PR target/6526
2658 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2659 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
2660
776434d1
WL
26612013-06-08 Walter Lee <walt@tilera.com>
2662
2663 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2664 Replace int64_t with long long. Add __extension__ where
2665 appropriate.
2666 * config/tilepro/atomic.c: Include config.h.
2667
6ab3ebb4
DR
26682013-06-06 Douglas B Rupp <rupp@adacore.com>
2669
2670 * config.host (arm-wrs-vxworks): Configure with other soft float.
2671
107eea2c
JU
26722013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
2673
2674 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2675 (mips64r5900el-*-elf*): New configurations.
2676
5cc19c62
AM
26772013-06-04 Alan Modra <amodra@gmail.com>
2678
2679 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2680
0f1d3965
YR
26812013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
2682
2683 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2684
0ba045df
EB
26852013-05-28 Eric Botcazou <ebotcazou@adacore.com>
2686
2687 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2688 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2689 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2690
49dcafd4
EB
26912013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2692
2693 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2694 (powerpc-wrs-vxworks): Likewise.
2695
4fcb5d87
EB
26962013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2697
2698 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2699 signal frames as well.
2700 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2701 STACK_BIAS to the CFA offset.
2702
0ec33224
RH
27032013-05-17 Richard Henderson <rth@redhat.com>
2704
2705 PR target/49146
2706 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2707 (execute_cfa_program): Use it when storing to fs->regs.
2708
492a8029
KT
27092013-05-08 Kai Tietz <ktietz@redhat.com>
2710
2711 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2712 (__deregister_frame_info): Likewise.
2713
701e2f0a
TS
27142013-05-06 Thomas Schwinge <thomas@codesourcery.com>
2715
e5123d08
TS
2716 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2717 NaN's payload.
2718
701e2f0a
TS
2719 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2720
b9a7eb5d
AM
27212013-04-25 Alan Modra <amodra@gmail.com>
2722
2723 * config.host: Match little-endian powerpc-linux.
2724
dfe192f5
YZ
27252013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
2726
2727 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2728 as 'unsigned long long' instead of 'unsigned long'.
2729 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2730 'signed long'.
2731
b6b9af2f
JB
27322013-04-10 Julian Brown <julian@codesourcery.com>
2733
2734 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2735 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2736 unsigned char/unsigned short.
2737 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2738
ecabdd00
JDA
27392013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2740
2741 PR other/55274
2742 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2743
34652576
MI
27442013-04-04 Meador Inge <meadori@codesourcery.com>
2745
2746 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2747 computing the location of the link register.
2748 (aeabi_uldivmod): Ditto.
2749
e9fd8c19
KT
27502013-03-27 Kai Tietz <ktietz@redhat.com>
2751
2752 * config.host: Add support for cygwin x64 target.
2753 * configure: Regenerated.
2754
a6406324
WL
27552013-03-26 Walter Lee <walt@tilera.com>
2756
2757 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2758 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2759
55446c7e
KT
27602013-03-25 Kai Tietz <ktietz@redhat.com>
2761
2762 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2763
d2ae19d9
RM
27642013-03-20 Robert Mason <rbmj@verizon.net>
2765
2766 * config/vxlib-tls.c (__gthread_get_tsd_data,)
2767 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2768 (__gthread_leave_tsd_dtor_context): Add prototypes.
2769 (tls_delete_hook): Update.
2770
22c4c869
CM
27712013-03-20 Catherine Moore <clm@codesourcery.com>
2772 Joseph Myers <joseph@codesourcery.com>
2773 Chao-ying Fu <fu@mips.com>
2774
2775 * config/mips/mips16.S: Don't build for microMIPS.
2776 * config/mips/linux-unwind.h: Handle microMIPS frame.
2777 * config/mips/crtn.S (fini, init): New labels.
2778
fbd28bc3
JJ
27792013-03-14 Jakub Jelinek <jakub@redhat.com>
2780
2781 PR tree-optimization/53265
2782 * unwind-dw2.c (execute_cfa_program): Avoid
2783 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2784 on targets with DWARF_FRAME_REGISTERS < 32.
2785
decc676e
OE
27862013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
2787
2788 PR target/49880
2789 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2790 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2791
84ea618a
ST
27922013-03-07 Sriraman Tallam <tmsriram@google.com>
2793
2794 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2795 sandybridge processors.
2796
8f6d1c86
OE
27972013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
2798
2799 PR target/56529
2800 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2801 inclusion list.
2802
ecdbd01a 28032013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
2804
2805 * config/microblaze/crti.S: Setup stack protection at entry
2806
0b4ce21b
GJL
28072013-03-04 Georg-Johann Lay <avr@gjlay.de>
2808
2809 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2810 (__rotldi3): Shift bytewise if applicable.
2811
b7c3f1ca
JG
28122013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
2813
2814 * config/aarch64/sync-cache.c
2815 (__aarch64_sync_cache_range): Silence warnings.
2816
6d65e8f1
CM
28172013-02-25 Catherine Moore <clm@codesourcery.com>
2818
2819 Revert:
2820 2013-02-24 Catherine Moore <clm@codesourcery.com>
2821 Joseph Myers <joseph@codesourcery.com>
2822 Chao-ying Fu <fu@mips.com>
2823
2824 * config/mips/mips16.S: Don't build for microMIPS.
2825 * config/mips/linux-unwind.h: Handle microMIPS frame.
2826 * config/mips/crtn.S (fini, init): New labels.
2827
6941b508
CM
28282013-02-24 Catherine Moore <clm@codesourcery.com>
2829 Joseph Myers <joseph@codesourcery.com>
2830 Chao-ying Fu <fu@mips.com>
2831
2832 * config/mips/mips16.S: Don't build for microMIPS.
2833 * config/mips/linux-unwind.h: Handle microMIPS frame.
2834 * config/mips/crtn.S (fini, init): New labels.
2835
7c422dbb 28362012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 2837 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
2838 as dividend.
2839
110207ad
AM
28402013-02-16 Alan Modra <amodra@gmail.com>
2841
2842 PR target/55431
2843 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2844 (ppc_fallback_frame_state): Always set up save locations for fp
2845 and altivec. Don't bother with non-callee-saved regs, r0-r13
2846 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2847
e68a4ef6
GJL
28482013-02-12 Georg-Johann Lay <avr@gjlay.de>
2849
2850 PR target/54222
2851 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2852 _ssmulHA, _ssmulSA.
2853 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2854 _ssmulha3, _usmulusa3, _ssmulsa3.
2855 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2856 (__muldi3): XCALL __muldi3_6 instead of rcall.
2857 (__umulsidi3, __mulsidi3): New functions.
2858 (do_prologue_saves, do_epilogue_restores): New .macros.
2859 (__divdi3_moddi3): Use them.
2860 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2861 (__usmulusa3, __ssmulsa3): New functions.
2862
6c59ffd1
IS
28632013-02-11 Iain Sandoe <iain@codesourcery.com>
2864 Jack Howarth <howarth@bromo.med.uc.edu>
2865 Patrick Marlier <patrick.marlier@gmail.com>
2866
2867 PR libitm/55693
2868 * config/darwin-crt-tm.c: Remove dummy functions hack.
2869
85d768f3
GJL
28702013-02-08 Georg-Johann Lay <avr@gjlay.de>
2871
2872 PR target/54222
2873 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2874 * config/avr/lib2-object.mk: New iterator to build objects from it.
2875 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2876 lib2funcs.c.
2877 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2878 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2879 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2880 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2881 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2882 * config/avr/lib1funcs-fixed.S: Implement them.
2883
5d5bf775
RS
28842013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
2885
2886 Update copyright years.
2887
99113dff
DE
28882013-02-01 David Edelsohn <dje.gcc@gmail.com>
2889
2890 PR target/54601
2891 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2892 Add crtcxa to extra_parts.
2893 * config/rs6000/exit.h: New file.
2894 * config/rs6000/cxa_atexit.c: New file.
2895 * config/rs6000/cxa_finalize.c: New file.
2896 * config/rs6000/crtcxa.c: New file.
2897 * config/rs6000/t-aix-cxa: New file.
2898 * config/rs6000/libgcc-aix-cxa.ver: New file.
2899
dbdbd982
NC
29002013-01-31 Nick Clifton <nickc@redhat.com>
2901
2902 * config/v850/lib1funcs.S: Add support for e3v5 architecture
2903 variant.
2904
5893f158
GJL
29052013-01-29 Georg-Johann Lay <avr@gjlay.de>
2906
2907 PR target/54222
2908 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2909 _mulQQ, _mulHQ, _mulHA, _mulSA,
2910 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2911 _divQQ, _divHQ, _divHA, _divSA,
2912 _divUQQ, _divUHQ, _divUHA, _divUSA.
2913
ecdbd01a 29142013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 2915
dbdbd982 2916 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
2917 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2918 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2919 to exclude functions from being built with libgcc.c and use
2920 the microblaze assembly.
2921
ecdbd01a 29222013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
2923
2924 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2925 extra_parts.
2926
922c57d1
YZ
29272013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
2928
2929 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2930 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2931 __UINTPTR_TYPE__; also cast 'base' to the same type before the
2932 alignment operation.
2933
e0f8b6a0
SN
29342013-01-15 Sofiane Naci <sofiane.naci@arm.com>
2935
2936 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2937 loop start address for cache clearing.
2938
00892272
GJL
29392013-01-14 Georg-Johann Lay <avr@gjlay.de>
2940
2941 * config/avr/lib1funcs.S: Remove trailing blanks.
2942 * config/avr/lib1funcs-fixed.S: Ditto.
2943
e59ec5fd
GJL
29442013-01-14 Georg-Johann Lay <avr@gjlay.de>
2945
2946 * config/avr/avr-lib.h: Add GPL copyright notice.
2947
3ffc1958
GJL
29482013-01-14 Georg-Johann Lay <avr@gjlay.de>
2949
2950 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2951 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2952 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2953 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2954
25c210f9
MK
29552013-01-07 Mark Kettenis <kettenis@openbsd.org>
2956
2957 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2958 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 2959
db59befb
NC
29602013-01-04 Nick Clifton <nickc@redhat.com>
2961
2962 * config/v850/lib1funcs.S: Only provide CALLT support functions if
2963 the CALLT instruction is supported.
2964
5aa12dbf
JW
29652012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2966
2967 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2968 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2969
65f14117
JT
29702012-12-13 John Tytgat <John@bass-software.com>
2971
2972 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2973 is 25.
2974
ee3ae4f7
JJ
29752012-12-12 Jakub Jelinek <jakub@redhat.com>
2976
2977 PR libgcc/55451
2978 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2979 undefined signed overflows.
2980
2fcfba3d
UB
29812012-12-09 Uros Bizjak <ubizjak@gmail.com>
2982
2983 PR target/55344
2984 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2985
4f2b3dc2
UB
29862012-12-06 Uros Bizjak <ubizjak@gmail.com>
2987
2988 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2989 (FP_TRAPPING_EXCEPTIONS): Define.
2990 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2991 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2992
066161a2
RH
29932012-12-04 Richard Henderson <rth@redhat.com>
2994
2995 PR bootstrap/55571
2996 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2997
25626181
MS
29982012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2999
4f2b3dc2 3000 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
3001 (FP_EX_SHIFT): Define.
3002 (FP_TRAPPING_EXCEPTIONS): Define.
3003
868395e8
MS
30042012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
3005
3006 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3007 (FP_ROUNDMODE): Use FP_RND_MASK.
3008 * config/aarch64/sfp-exceptions.c: New.
3009 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3010 Use __sfp_handle_exceptions.
3011
5005fe22
RE
30122012-12-04 Richard Earnshaw <rearnsha@arm.com>
3013
3014 * config.host: (arm*-*-freebsd*): Remove.
3015 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3016 (arm*-*-elf*): Remove.
3017 (arm*-*-wince-pe*): Remove.
3018 * arm/unwind-arm.c (struct fpa_reg): Delete.
3019 (struct fpa_regs): Delete.
3020 (phase1_vrs): Remove fpa element.
3021 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3022 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3023 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3024 * ieee754-sf.S (floatundisf): Remove FPA support.
3025 (floatdisf): Likewise.
3026 * ieee75f-df.S (floatundidf): Likewise.
3027 (floatdidf): Likewise.
3028
e5a81c8e
KT
30292012-11-29 Kai Tietz <ktietz@redhat.com>
3030
3031 PR target/55445
3032 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3033 * unwind-generic.h: Likewise.
3034 * unwind-seh.c: Likewise.
3035
f4919e4a
RH
30362012-11-28 Richard Henderson <rth@redhat.com>
3037
3038 PR libgcc/48076
3039 * emutls.c (__emutls_get_address): Avoid race condition between
3040 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 3041
e13d9d5a
GJL
30422012-11-22 Georg-Johann Lay <avr@gjlay.de>
3043
3044 Adjust decimal point of signed accum mode to GCC default.
3045
3046 PR target/54222
3047 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3048 _divqq_helper.
3049 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3050 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3051 (__mulha3, __mulsa3)
3052 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
3053 decimal point of signed accum types.
3054
e13d9d5a
GJL
3055 (__mulusa3_round): New function.
3056 (__mulusa3): Use it.
3057 (__divqq_helper): New function.
3058 (__udivuqq3): Use it.
3059
1b845c6e
JJ
30602012-11-20 Jakub Jelinek <jakub@redhat.com>
3061
3062 PR bootstrap/55370
3063 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
3064
822a258a
TJ
30652012-11-18 Teresa Johnson <tejohnson@google.com>
3066
3067 PR bootstrap/55051
3068 * libgcov.c (gcov_exit): Remove merged program summary
3069 comparison unless !GCOV_LOCKED.
3070
54f4eaf0
MS
30712012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
3072
3073 * soft-fp: Updated from glibc upstream.
3074
e808687a
ILT
30752012-11-06 Ian Lance Taylor <iant@google.com>
3076
3077 * generic-morestack.c (__generic_morestack): Align the returned
3078 stack pointer to a 32 byte boundary.
3079 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
3080 increment the return address until we have decided that we don't
3081 have a varargs function.
3082 (__morestack) [32-bit]: Align stack correctly when calling C
3083 functions.
3084 (__morestack) [64-bit]: Likewise.
3085
460277e0
TS
30862012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3087
3088 * configure: Regenerate.
3089
73edb277
UB
30902012-11-02 Uros Bizjak <ubizjak@gmail.com>
3091
3092 PR target/55175
3093 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
3094 * config/i386/sfp-machine.h: Guard exception handling
3095 code with _SOFT_FLOAT.
3096 * config/i386/32/sfp-machine.h: Guard rounding handling
3097 code with _SOFT_FLOAT.
3098 * config/i386/64/sfp-machine.h: Ditto.
3099
c1d4fa04
JS
31002012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
3101
3102 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
3103 as extra_parts.
3104
eff6ca85
UB
31052012-10-26 Uros Bizjak <ubizjak@gmail.com>
3106
3107 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
3108 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
3109 when appropriate. Correct structure element types.
3110 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
3111 -minline-all-stringops from compile flags.
3112
43a8f1a1
RC
31132012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
3114
3115 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
3116
76c78361
RC
31172012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
3118
eff6ca85 3119 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 3120
6f288860
SH
31212012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3122
3123 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
3124 tmake_file.
3125
1e3d5096
IB
31262012-10-23 Ian Bolton <ian.bolton@arm.com>
3127 Jim MacArthur <jim.macarthur@arm.com>
3128 Marcus Shawcroft <marcus.shawcroft@arm.com>
3129 Nigel Stephens <nigel.stephens@arm.com>
3130 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3131 Richard Earnshaw <rearnsha@arm.com>
3132 Sofiane Naci <sofiane.naci@arm.com>
3133 Stephen Thomas <stephen.thomas@arm.com>
3134 Tejas Belagod <tejas.belagod@arm.com>
3135 Yufeng Zhang <yufeng.zhang@arm.com>
3136
3137 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
3138 * config/aarch64/crti.S: New file.
3139 * config/aarch64/crtn.S: New file.
3140 * config/aarch64/linux-unwind.h: New file.
3141 * config/aarch64/sfp-machine.h: New file.
3142 * config/aarch64/sync-cache.c: New file.
3143 * config/aarch64/t-aarch64: New file.
3144 * config/aarch64/t-softfp: New file.
3145
8a740f07
HPN
31462012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
3147
3148 * config/mmix/crti.S: Mark program and data addresses using PRELD.
3149 Remove typo'd and unnecessary alignment-LOC for .data. Remove
3150 no-longer-needed LDBU insns.
3151
153c8397
SH
31522012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
3153
3154 * config.host
3155 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
3156 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
3157
595fefee
MGD
31582012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3159
3160 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
3161
9945a876
MK
31622012-10-15 Matthias Klose <doko@ubuntu.com>
3163
3164 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
3165
1183dc2c
PC
31662012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
3167
3168 * configure: Regenerate.
3169 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
3170
945a9c1f
UB
31712012-10-10 Uros Bizjak <ubizjak@gmail.com>
3172
3173 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3174 instructions for 64bit targets only.
3175
fb8bf47a
UB
31762012-10-10 Uros Bizjak <ubizjak@gmail.com>
3177
3178 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3179 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
3180 * config/i386/32/sfp-machine.h: ... here.
3181 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
3182 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
3183 New defines.
3184
acb72498
MK
31852012-10-07 Matthias Klose <doko@ubuntu.com>
3186
3187 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
3188 as unused.
3189 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
3190
8eaee0f0
MK
31912012-10-06 Mark Kettenis <kettenis@openbsd.org>
3192
3193 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
3194 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
3195 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
3196 (ElfW): Likewise.
3197
5e3e4fe8
JW
31982012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
3199
3200 PR other/53889
3201 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3202 Fix parameter names.
3203
86086376
OE
32042012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
3205
3206 PR target/33135
3207 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
3208 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
3209 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
3210
9597375a
OE
32112012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
3212
3213 PR target/50457
3214 * config/sh/linux-atomic.S: Delete.
3215 * config/sh/linux-atomic.c: New.
3216 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
3217 linux-atomic.c. Add cflags to disable warnings.
3218
1504e3e1
JW
32192012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3220
3221 PR other/53889
3222 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
3223 function.
3224 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
3225 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
3226 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
3227 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
3228 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
3229 Likewise.
1504e3e1
JW
3230 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3231 Likewise.
3232 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
3233 Likewise.
3234 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
3235 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
3236
17f293b0
MK
32372012-09-19 Mark Kettenis <kettenis@openbsd.org>
3238
9597375a
OE
3239 * config.host (hppa-*-openbsd*): New target.
3240 * config/pa/t-openbsd: New file.
17f293b0 3241
51526856
GJL
32422012-09-15 Georg-Johann Lay <avr@gjlay.de>
3243
3244 PR target/54222
3245 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
3246 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
3247 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
3248 (__divsa3): Use __negsi2 to negate r_quoL.
3249 * config/avr/lib1funcs.S (FALIAS): New macro.
3250 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
3251 (__negsi2): ...this new function.
3252 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
3253 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
3254 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
3255 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
3256 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
3257 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
3258
aadb5b43
OE
32592012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
3260
3261 PR target/54089
3262 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
3263 (lshrsi3): Reimplement as lshrsi3_r0.
3264
d5d66749
AS
32652012-09-10 Andreas Schwab <schwab@linux-m68k.org>
3266
3267 PR target/46191
3268 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
3269 of libgcc.a.
3270
c6c36e73
TJ
32712012-09-07 Teresa Johnson <tejohnson@google.com>
3272
9597375a 3273 PR gcov-profile/54487
c6c36e73 3274 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 3275 differences.
c6c36e73 3276
b588ae30
GJL
32772012-09-05 Georg-Johann Lay <avr@gjlay.de>
3278
3279 PR target/54461
3280 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
3281 not configured --with-avrlibc=no.
3282 * config/avr/t-avrlibc: New file.
3283 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
3284 (DPBIT_FUNCS): Ditto.
3285 (TPBIT_FUNCS): Ditto.
3286
abd16fb1
TJ
32872012-09-04 Teresa Johnson <tejohnson@google.com>
3288
3289 * libgcov.c (struct gcov_summary_buffer): New structure.
3290 (gcov_histogram_insert): New function.
3291 (gcov_compute_histogram): Ditto.
3292 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
3293 histograms during summary merging.
3294
613061fd
MK
32952012-09-01 Mark Kettenis <kettenis@openbsd.org>
3296
3297 * config.host (x86_64-*-openbsd*): New target.
73edb277 3298
867a8345
CLT
32992012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
3300
3301 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
3302 attribute.
3303
4aeaaca3
GJL
33042012-08-24 Georg-Johann Lay <avr@gjlay.de>
3305
3306 PR target/54222
3307 * config/avr/t-avr (conv_X): Rename to func_X.
3308
e55e4056
GJL
33092012-08-24 Georg-Johann Lay <avr@gjlay.de>
3310
3311 PR target/54222
3312 * config/avr/lib1funcs-fixed.S: New file.
3313 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
3314 after they are used.
3315 (neg2, neg4): New macros.
3316 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
3317 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
3318 (__umulhisi3): Speed up MUL variant if there is enough flash.
3319 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
3320 avr-modes.def.
3321 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
3322 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
3323 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
3324 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
3325 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
3326 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
3327 (LIB2FUNCS_EXCLUDE): Add supported functions.
3328
a147b6d2
GJL
33292012-08-22 Georg-Johann Lay <avr@gjlay.de>
3330
3331 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
3332 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
3333 libgcc-s-objects.
3334 * fixed-obj.mk: Only expand dependency if $o is not in
3335 LIB2FUNCS_EXCLUDE.
3336
c637141a
L
33372012-08-22 H.J. Lu <hongjiu.lu@intel.com>
3338
3339 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
3340
130e00bd
JM
33412012-08-22 Joseph Myers <joseph@codesourcery.com>
3342
3343 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
3344 depend on --enable-shared.
3345 ($(lib1asmfuncs-o)): Use %.vis files independent of
3346 --enable-shared.
3347 * static-object.mk ($(base)$(objext), $(base).vis)
3348 ($(base)_s$(objext)): Use same rules for visibility handling as in
3349 shared-object.mk.
3350
4b1b3788
ILT
33512012-08-21 Ian Lance Taylor <iant@google.com>
3352
3353 * config/i386/morestack.S (__morestack_non_split): Increase amount
3354 of space allocated for non-split code stack.
3355
d2468141
JM
33562012-08-19 Joseph Myers <joseph@codesourcery.com>
3357
3358 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
3359 even if inhibit_libc.
3360
a508e1a8
JB
33612012-08-17 Julian Brown <julian@codesourcery.com>
3362
3363 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
3364 -fexceptions -fnon-call-exceptions if not defined.
3365 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
3366 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
3367
5615a07d
AS
33682012-08-17 Andreas Schwab <schwab@linux-m68k.org>
3369
3370 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
3371 type.
3372
138f5acd
DE
33732012-08-16 David Edelsohn <dje.gcc@gmail.com>
3374
3375 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
3376 rs6000/t-slibgcc-aix.
3377
18efc0dd
SB
33782012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
3379
3380 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
3381
6b39bc38
SB
33822012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
3383
3384 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
3385
cd25dea0
L
33862012-08-03 H.J. Lu <hongjiu.lu@intel.com>
3387
3388 PR driver/54171
3389 * Makefile.in (version): Replace top_srcdir with srcdir.
3390
a3dda30b
JY
33912012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
3392
3393 * Makefile.in (version): set to BASE-VER file from gcc directory.
3394
d04aacfc
NC
33952012-08-01 Nick Clifton <nickc@redhat.com>
3396
3397 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
3398 Implements __clrsb for an HImode argument.
3399
0d13c974
NC
34002012-07-31 Nick Clifton <nickc@redhat.com>
3401
3402 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
3403 Implements __clrsb for an HImode argument.
3404 * config/stormy16/clrsbhi2.c: New file:
3405 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
3406
efbb59b2
SB
34072012-07-22 Steven Bosscher <steven@gcc.gnu.org>
3408
3409 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
3410
bf1431e3
TG
34112012-07-19 Tristan Gingold <gingold@adacore.com>
3412 Richard Henderson <rth@redhat.com>
3413
3414 * unwind-seh.c: New file.
3415 * unwind-generic.h: Include windows.h for SEH.
3416 (_Unwind_Exception): Use 6 private fields for SEH.
3417 (_GCC_specific_handler): Declare.
3418 * unwind-c.c (__gcc_personality_seh0): New function.
3419 Adjust for SEH.
3420 * config/i386/libgcc-cygming.ver: New file.
3421 * config/i386/t-seh-eh: New file.
3422 * config.host (x86_64-*-mingw*): Default to seh.
3423
659140c8
SB
34242012-07-14 Steven Bosscher <steven@gcc.gnu.org>
3425
3426 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
3427
a20d08fd
UB
34282012-06-17 Uros Bizjak <ubizjak@gmail.com>
3429
3430 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
3431 __builtin_expect when checking for exceptions.
3432 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
3433
79261115
UB
34342012-06-13 Uros Bizjak <ubizjak@gmail.com>
3435
4a172156
UB
3436 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
3437 function declaration.
3438 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3439 (FP_RND_MASK): New.
3440 * config/ia64/sfp-exceptions.c: New.
3441 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 3442
bb5c97d4
UB
34432012-06-13 Uros Bizjak <ubizjak@gmail.com>
3444
3445 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
3446 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
3447 * config/i386/64/sfp-machine: ... (delete here) ...
3448 * config/i386/sfp-machine.h: ... to here.
3449 (FP_EX_MASK): Remove.
3450 (FP_RND_MASK): New.
3451 (FP_INIT_ROUNDMODE): Declare asm as volatile.
3452
91fe5efb
ST
34532012-06-11 Sriraman Tallam <tmsriram@google.com>
3454
3455 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
3456 * config/i386/libgcc-sol2.ver: Ditto.
3457 * config/i386/libgcc-glibc.ver: Ditto.
3458
67a218c5
RM
34592012-06-11 Roland McGrath <mcgrathr@google.com>
3460
3461 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
3462 If __GLIBC__ is defined, refer to __pthread_key_create instead of
3463 pthread_cancel.
3464
492fbea1
UB
34652012-06-09 Uros Bizjak <ubizjak@gmail.com>
3466
3467 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
3468 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
3469 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
3470 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3471 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
3472 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
3473 * config/i386/64/sfp-machine: ... (delete here) ...
3474 * config/i386/sfp-machine.h: ... to here.
3475 (FP_EX_MASK): New.
3476 (__sfp_handle_exceptions): New function declaration.
3477 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3478 * config/i386/sfp-exceptions.c: New.
3479 * config/i386/t-softfp: New.
3480 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
3481 i386/t-softfp to tmake_file.
3482
7b4cf266
DM
34832012-06-03 David S. Miller <davem@davemloft.net>
3484
3485 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
3486 change.
3487
0de0d5c6
DM
34882012-05-31 David S. Miller <davem@davemloft.net>
3489
3490 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
3491 multiply and divide instructions on 32-bit when V9.
3492 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
3493
d8c9d391
JM
34942012-05-29 Joseph Myers <joseph@codesourcery.com>
3495
3496 * config/arm/ieee754-df.S: Fix typos.
3497 * config/arm/ieee754-sf.S: Fix typos.
3498 * config/c6x/libunwind.S: Fix typos.
3499 * config/epiphany/udivsi3-float.c: Fix typos.
3500 * config/microblaze/muldi3_hard.S: Fix typos.
3501 * config/picochip/adddi3.S: Fix typos.
3502 * config/picochip/ashlsi3.S: Fix typos.
3503 * config/picochip/ashrsi3.S: Fix typos.
3504 * config/picochip/clzsi2.S: Fix typos.
3505 * config/picochip/cmpsi2.S: Fix typos.
3506 * config/picochip/divmod15.S: Fix typos.
3507 * config/picochip/divmodhi4.S: Fix typos.
3508 * config/picochip/divmodsi4.S: Fix typos.
3509 * config/picochip/longjmp.S: Fix typos.
3510 * config/picochip/lshrsi3.S: Fix typos.
3511 * config/picochip/parityhi2.S: Fix typos.
3512 * config/picochip/popcounthi2.S: Fix typos.
3513 * config/picochip/setjmp.S: Fix typos.
3514 * config/picochip/subdi3.S: Fix typos.
3515 * config/picochip/ucmpsi2.S: Fix typos.
3516 * config/picochip/udivmodhi4.S: Fix typos.
3517 * config/picochip/udivmodsi4.S: Fix typos.
3518 * config/spu/divv2df3.c: Fix typos.
3519 * config/spu/mfc_multi_tag_release.c: Fix typos.
3520 * config/spu/mfc_tag_release.c: Fix typos.
3521 * configure.ac: Fix typos.
3522 * configure: Regenerate.
3523
31a18a7e
ILT
35242012-05-25 Ian Lance Taylor <iant@google.com>
3525
3526 * config/i386/morestack.S (__morestack_non_split): Check whether
3527 caller is varargs and needs %bp to hold the stack frame on return.
3528
c5768510
OH
35292012-05-25 Olivier Hainque <hainque@adacore.com>
3530
3531 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
3532 sequence in the non pic case on VxWorks.
3533
7c7c339b
OH
35342012-05-24 Olivier Hainque <hainque@adacore.com>
3535
73fb7630 3536 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
3537 "install-leaf" to "install".
3538
fdc1b7d3
OH
35392012-05-24 Olivier Hainque <hainque@adacore.com>
3540
3541 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
3542 Use a separate command for stamp removals.
3543
07ba94b9
AP
35442012-05-21 Andrew Pinski <apinski@cavium.com>
3545
3546 PR bootstrap/53183
3547 * configure.ac: Define the default includes to being none.
3548 * configure: Regenerate.
3549
4677d2eb
OH
35502012-05-16 Olivier Hainque <hainque@adacore.com>
3551
3552 * Makefile.in (install-unwind_h): Rename into ...
3553 (install-unwind_h-forbuild): New target.
3554 (all): Use it instead of the former install-unwind_h.
3555 (install-unwind_h): Reinstate, copy to user install destination
3556 for include files, not to the internal gcc object directory one.
3557 (install-leaf): Depend on it.
3558
7d67c380
OH
35592012-05-15 Olivier Hainque <hainque@adacore.com>
3560
3561 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
3562 register numbers. LR_REGNO replaces R_LR.
3563 (ucontext_for): New, helper for ...
3564 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
3565 and 5.3 of ...
3566 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
3567
aca06c90
RO
35682012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3569
3570 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
3571 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
3572 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
3573 i386/t-cpuinfo ...
3574 (i[34567]86-*-*, x86_64-*-*): ... here.
3575
3576 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
3577 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
3578
3579 * config/i386/i386-cpuinfo.c: Rename to ...
3580 * config/i386/cpuinfo.c: ... this.
3581 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
3582
3583 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
3584 (libgcc_cv_init_priority): New test.
3585 * configure: Regenerate.
3586 * config.in: New file.
3587 * Makefile.in (clean): Rename config.h to auto-target.h.
3588 (config.h): Likewise.
3589 (stamp-h): Likewise.
3590
3591 * config/i386/cpuinfo.c (auto-target.h): Include.
3592 (CONSTRUCTOR_PRIORITY): Define.
3593 (__cpu_indicator_init): Use it.
3594
0d03ac1b
L
35952012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3596
3597 * longlong.h: Use a URL instead of an FSF postal address.
3598 Replace spaces with tab.
3599
4a172156 36002012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
3601
3602 * libgcov.c (gcov_clear, __gcov_reset): New functions.
3603 (__gcov_dump): Ditto.
3604 (gcov_dump_complete): New global variable.
3605 (gcov_exit): Export hidden to enable use in L_gcov_dump.
3606 (__gcov_flush): Outline functionality now in gcov_clear.
3607 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3608
e4bb767e
AJ
36092012-04-28 Aurelien Jarno <aurelien@aurel32.net>
3610
31a18a7e
ILT
3611 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3612 (mips*-*-linux*): Include mips/t-tpbit when long double is
3613 16 bytes long.
e4bb767e 3614
5ddecff9
ST
36152012-04-25 Sriraman Tallam <tmsriram@google.com>
3616
3617 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3618 (get_available_features): New argument. Check for AVX2.
3619 (__cpu_indicator_init): Modify call to get_available_features.
3620
b427dd7a
AM
36212012-04-25 Alan Modra <amodra@gmail.com>
3622
3623 * config/rs6000/crtsavevr.S: New file.
3624 * config/rs6000/crtrestvr.S: New file.
3625 * config/rs6000/t-savresfgpr: Build the above.
3626 * config/rs6000/t-netbsd: Likewise.
3627
ad491329
ST
36282012-04-24 Sriraman Tallam <tmsriram@google.com>
3629
3630 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3631
792317cc
ST
36322012-04-24 Sriraman Tallam <tmsriram@google.com>
3633
3634 * libgcc/config/i386/i386-cpuinfo.c: New file.
3635 * libgcc/config/i386/t-cpuinfo: New file.
3636 * libgcc/config.host: Include t-cpuinfo.
3637 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3638
e1be98a4
CF
36392012-04-24 Chao-ying Fu <fu@mips.com>
3640
3641 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3642
1bde7dab
TS
36432012-04-20 Thomas Schwinge <thomas@codesourcery.com>
3644
3645 struct siginfo vs. siginfo_t
3646
3647 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3648 siginfo_t instead of struct siginfo.
3649 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3650 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3651 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3652 (ia64_handle_unwabi): Likewise.
3653 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3654 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3655 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3656 (sh_fallback_frame_state): Likewise.
3657 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3658 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3659
24590f66
L
36602012-04-02 H.J. Lu <hongjiu.lu@intel.com>
3661
3662 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3663 system call number.
3664
9a9dcce8
EB
36652012-03-31 Eric Botcazou <ebotcazou@adacore.com>
3666
3667 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3668 if it hasn't been previously saved.
3669
6401aaf5
L
36702012-03-29 H.J. Lu <hongjiu.lu@intel.com>
3671
3672 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3673 only for glibc.
3674
7fd6378e
GJL
36752012-03-28 Georg-Johann Lay <avr@gjlay.de>
3676
3677 PR target/52737
3678 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3679 instead of __AVR_HAVE_8BIT_SP__.
3680
9e916de7
TG
36812012-03-26 Tristan Gingold <gingold@adacore.com>
3682
3683 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3684 (unw_table_entry): Use unw_word instead of unsigned long.
3685 (_Unwind_FindTableEntry): Likewise.
3686 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3687 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3688 (_Unwind_FindTableEntry): Likewise.
3689 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3690 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3691 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3692 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3693 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3694 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3695 (uw_init_context_1, uw_install_context): Likewise.
3696 (unw_word): Move to unwind-ia64.h
3697
4b12e93d
TG
36982012-03-26 Tristan Gingold <gingold@adacore.com>
3699
3700 * config/vms/vms-ucrt0.c: Update copyright years.
3701 Add a sanity check.
3702 (___gcc_main_flags): Declare.
3703 (__main): Check flags to remap argv and exit code.
3704 * config.host (*-*-*vms*): Adjust extra_parts.
3705 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3706 (crt0.o): Add.
3707
06ea7371
RE
37082012-03-22 Richard Earnshaw <rearnsha@arm.com>
3709
3710 * arm/lib1funcs.asm (ctzsi2): New function.
3711 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3712 * arm/t-linux (LIB1ASMFUNCS): Likewise.
3713 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3714 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3715 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3716 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3717
d82ad50d
AT
37182012-03-21 Andreas Tobler <andreast@fgznet.ch>
3719
3720 * config.host: Add bits to support powerpc64-*-freebsd*.
3721 * config/rs6000/freebsd-unwind.h: New file.
3722 * config/rs6000/t-freebsd64: New file.
3723
b260a8c0
RG
37242012-03-20 Richard Guenther <rguenther@suse.de>
3725
3726 PR gcov-profile/52627
3727 * libgcov.c (init_mx): Fix mutex name.
3728
86286a8a
TG
37292012-03-16 Tristan Gingold <gingold@adacore.com>
3730
3731 * config/ia64/vms-unwind.h: Remove ulong (and replace
3732 it by unw_reg where used). Define unw_reg with __int64.
3733
7888f266
RO
37342012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3735
3736 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3737 Solaris 8 handling.
3738 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3739 Solaris 8 handling.
3740 (sparc_is_sighandler): Likewise.
3741
f155bc64
L
37422012-03-13 H.J. Lu <hongjiu.lu@intel.com>
3743
3744 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3745 <= saved reg size.
3746
d47657bd
RO
37472012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3748
3749 * config/arm/crtn.S: Fix typo.
3750
5bef73a1
RG
37512012-03-13 Richard Guenther <rguenther@suse.de>
3752
3753 * libgcov.c: Remove stdio.h include and NULL un-define.
3754
9c4271f3
RG
37552012-03-13 Richard Guenther <rguenther@suse.de>
3756
3757 PR target/52569
3758 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3759
c6d10e7c
RG
37602012-03-13 Richard Guenther <rguenther@suse.de>
3761
3762 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3763
074a385f
RG
37642012-03-13 Richard Guenther <rguenther@suse.de>
3765
3766 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3767 and __gthread_mutex_init_function definitions.
3768
c4bc5c25
RO
37692012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3770
3771 * config.host (mips*-*-openbsd*): Remove.
3772
5c30094f
RO
37732012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3774
3775 * config.host: Remove alpha*-dec-osf5.1* handling.
3776 * config/alpha/gthr-posix.c: Remove.
3777 * config/alpha/libgcc-osf5.ver: Remove.
3778 * config/alpha/osf5-unwind.h: Remove.
3779 * config/alpha/t-osf-pthread: Remove.
3780 * config/alpha/t-slibgcc-osf: Remove.
3781 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3782 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3783 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3784 * mkmap-flat.awk: Remove osf_export handling.
3785
33e3e24d
RG
37862012-03-12 Richard Guenther <rguenther@suse.de>
3787
3788 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3789 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3790 (__gthread_mutex_init_function): New function.
3791 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3792
3793 PR gcov/49484
3794 * libgcov.c: Include gthr.h.
3795 (__gcov_flush_mx): New global variable.
3796 (init_mx, init_mx_once): New functions.
3797 (__gcov_flush): Protect self with a mutex.
3798 (__gcov_fork): Re-initialize mutex after forking.
3799 * unwind-dw2-fde.c: Change condition under which to use
3800 __GTHREAD_MUTEX_INIT_FUNCTION.
3801
d8aba32a
TG
38022012-03-12 Tristan Gingold <gingold@adacore.com>
3803
3804 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3805 * config/ia64/t-vms: Likewise.
3806
75ffafdc
MH
38072012-03-11 Michael Hope <michael.hope@linaro.org>
3808
4a172156
UB
3809 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3810 for Thumb-2.
75ffafdc 3811
ef6c2c53
WL
38122012-03-07 Walter Lee <walt@tilera.com>
3813
3814 * config/tilepro/atomic.c: Rename "atomic_" prefix to
3815 "arch_atomic_".
3816 (atomic_xor): Rename and move definition to
3817 config/tilepro/atomic.h.
3818 (atomic_nand): Ditto.
3819 * config/tilepro/atomic.h: Rename "atomic_" prefix to
3820 "arch_atomic_".
3821 (arch_atomic_xor): Move from config/tilepro/atomic.c.
3822 (arch_atomic_nand): Ditto.
3823
4e30d980
GJL
38242012-03-07 Georg-Johann Lay <avr@gjlay.de>
3825
3826 PR target/52507
3827 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3828
61108225
GJL
38292012-03-07 Georg-Johann Lay <avr@gjlay.de>
3830
3831 PR target/52505
3832 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3833 from RAM.
3834
b30e10ab
GJL
38352012-03-07 Georg-Johann Lay <avr@gjlay.de>
3836
3837 PR target/52461
3838 PR target/52508
3839 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3840 if RAMPZ affects reading from RAM.
3841 (__tablejump_elpm__): Ditto.
3842 (.xload): Ditto.
3843 (__movmemx_hi): Ditto.
3844 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3845 (__do_global_dtors): Ditto.
3846 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3847 (__movmemx_hi): Ditto.
3848
8993fde4
RH
38492012-03-05 Richard Henderson <rth@redhat.com>
3850
3851 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3852 [ARM] (count_trailing_zeros): Use the builtin.
3853
b7633ee3
KT
38542012-03-01 Kai Tietz <ktietz@redhat.com>
3855
3856 * soft-fp: Imported from glibc upstream.
3857
fbd3340c
KT
38582012-02-28 Kai Tietz <ktietz@redhat.com>
3859
3860 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3861 for mingw-targets as attribute gcc_struct.
3862
e9e053eb
ILT
38632012-02-28 Ian Lance Taylor <iant@google.com>
3864
3865 * generic-morestack.c (__splitstack_releasecontext): Correct call
3866 to __morestack_release_segments.
3867
d80c632e
ST
38682012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3869
3870 PR target/52390
3871 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3872 for __linux__ when removing signals from __morestack_fullmask.
3873
0253a8b1
GJL
38742012-02-23 Georg-Johann Lay <avr@gjlay.de>
3875
3876 PR target/52261
3877 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3878
e10e461e
UW
38792012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3880
3881 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3882 instead of HAVE_INITFINI_ARRAY.
3883 * config/ia64/crtend.S: Likewise.
3884
0c0c6398
KT
38852012-02-20 Kai Tietz <ktietz@redhat.com>
3886
d7470374
KT
3887 PR libstdc++/52300
3888 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3889
0c0c6398
KT
3890 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3891 to w32-unwind.h header.
3892
78c27266
RS
38932012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3894
3895 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3896 (mips*-*-linux*): Remove t-slibgcc-libgcc.
3897 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3898 * config/mips/mips16.S (__mips16_rdhwr): Delete.
3899
5adeb246
RS
39002012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3901
3902 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3903
672ed313
IS
39042012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3905
3906 PR libitm/52220
3907 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 3908
e948a1fb
IS
39092012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3910 Patrick Marlier <patrick.marlier@gmail.com>
3911
3912 PR libitm/52220
3913 * config/darwin-crt-tm.c: Generate dummy functions.
3914
6017aed3
IS
39152012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3916 Patrick Marlier <patrick.marlier@gmail.com>
3917
3918 PR libitm/52042
3919 * config/darwin-crt-tm.c (getTMCloneTable): New function.
3920 (__doTMRegistrations): Call it.
e9e053eb 3921 (__doTMdeRegistrations): Likewise.
6017aed3 3922
2da8c1ad
GJL
39232012-01-15 Georg-Johann Lay <avr@gjlay.de>
3924 Anatoly Sokolov <aesok@post.ru>
3925 Eric Weddington <eric.weddington@atmel.com>
3926
3927 PR target/52261
3928 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3929 (__epilogue_restores__): Ditto.
3930
0f952eb4
EB
39312012-02-15 Eric Botcazou <ebotcazou@adacore.com>
3932
3933 PR target/51921
3934 PR target/52205
3935 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3936 Solaris 11 and slightly reformat.
3937 (sparc_is_sighandler): Likewise.
3938
dd552284
WL
39392012-02-14 Walter Lee <walt@tilera.com>
3940
3941 * config.host: Handle tilegx and tilepro.
3942 * config/tilegx/sfp-machine.h: New file.
3943 * config/tilegx/sfp-machine32.h: New file.
3944 * config/tilegx/sfp-machine64.h: New file.
3945 * config/tilegx/t-crtstuff: New file.
3946 * config/tilegx/t-softfp: New file.
3947 * config/tilegx/t-tilegx: New file.
3948 * config/tilepro/atomic.c: New file.
3949 * config/tilepro/atomic.h: New file.
3950 * config/tilepro/linux-unwind.h: New file.
3951 * config/tilepro/sfp-machine.h: New file.
3952 * config/tilepro/softdivide.c: New file.
3953 * config/tilepro/softmpy.S: New file.
3954 * config/tilepro/t-crtstuff: New file.
3955 * config/tilepro/t-tilepro: New file.
3956
b59cbd50
JW
39572012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3958
3959 PR libstdc++/51296
3960 PR libstdc++/51906
3961 * gthr-posix.h: Allow static initializer macros to be disabled.
3962 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3963
6caf807f
CLT
39642012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3965
3966 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3967 Add t-slibgcc-libgcc to tmake_file.
3968 * config/mips/libgcc-mips16.ver: Revert previous patch.
3969 * config/mips/mips16.S (__mips16_rdhwr): Hide.
3970
b25364a0
S
39712012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3972 Jayant R Sonar <jayant.sonar@kpitcummins.com>
3973
3974 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3975 * config/cr16/crti.S: New file.
3976 * config/cr16/crtlibid.S: New file.
3977 * config/cr16/crtn.S: New file.
3978 * config/cr16/lib1funcs.S: New file.
3979 * config/cr16/t-cr16: New file.
3980 * config/cr16/t-crtlibid: New file.
3981 * config/cr16/unwind-dw2.h: New file.
3982 * config/cr16/unwind-cr16.c: New file.
3983 * config/cr16/divmodhi3.c: New file.
3984
8ef03aa7
AM
39852012-01-25 Alan Modra <amodra@gmail.com>
3986
3987 * config/rs6000/t-linux64: Delete. Move..
3988 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3989 * config/rs6000/t-linux: ..and libgcc flags to here.
3990
daecebc8
DR
39912012-01-22 Douglas B Rupp <rupp@gnat.com>
3992
3993 * config.host (i[34567]86-*-interix3*):
8ef03aa7 3994 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
3995 * configure: Regenerate.
3996
ddaf8125
RS
39972012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
3998 Richard Sandiford <rdsandiford@googlemail.com>
3999
4000 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4001 * config/mips/mips16.S (__mips16_rdhwr): New function.
4002 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4003
2cd8b32c
NS
40042012-01-11 Nathan Sidwell <nathan@acm.org>
4005
4006 * libgcov.c (__gcov_init): Ignore objects with no functions.
4007
cba300dd
GJL
40082012-01-10 Georg-Johann Lay <avr@gjlay.de>
4009
4010 PR target/49868
4011 Extend __pgmx semantics to linearize memory.
4012 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4013 * config/avr/lib1funcs.S (__xload_1): New function.
4014 (__movmemx_qi, __movmemx_hi): New functions.
4015 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4016 semantics.
9ffaf4bc 4017
3d137660
EB
40182012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4019
4020 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4021 purported sigacthandler address isn't null before dereferencing it.
4022 (sparc_is_sighandler): Likewise.
4023
bf4db96c
EB
40242012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4025
4026 PR ada/41929
4027 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4028 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
4029 (sparc_is_sighandler): Likewise.
4030 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4031
1ab3568b
TG
40322012-01-06 Tristan Gingold <gingold@adacore.com>
4033
4034 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4035 compatibility thunks...
4036 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4037 (crtbeginS.o, crtendS.o): ... and these to ...
4038 * config/ia64/t-ia64-elf: ... this new file.
4039 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4040 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4041
925b0ed8
AK
40422012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4043
4044 * configure: Regenerate.
4045 * config/s390/t-crtstuff: Remove -fPIC.
4046
a99ad737
JW
40472012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4048
4049 PR bootstrap/51006
4050 * enable-execute-stack-mprotect.c (getpagesize): Do not define
4051 for NetBSD.
4052
884f56d1
GJL
40532012-01-02 Georg-Johann Lay <avr@gjlay.de>
4054
4055 PR target/51345
4056 * config/avr/lib1funcs.S: Remove FIXME comments.
4057 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
4058
8c57e547
GJL
40592012-01-02 Georg-Johann Lay <avr@gjlay.de>
4060
4061 Implement light-weight DImode support.
4062 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
4063 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
4064 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
4065 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
4066
04dbc287
NS
40672011-12-30 Nathan Sidwell <nathan@acm.org>
4068
4069 * libgcov.c (gcov_crc32): Remove global var.
4070 (free_fn_data): New function.
4071 (buffer_fn_data): Pass in filename, more robust error recovery.
4072 (crc32_unsigned): New function.
4073 (gcov_exit): More robust detection of new program. More robust
4074 error recovery.
4075 (__gcov_init): Do not update program's crc here.
4076
8e1d97d4
TG
40772011-12-21 Tristan Gingold <gingold@adacore.com>
4078
4079 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
4080
9ffaf4bc
ILT
40812011-12-21 Ian Lance Taylor <iant@google.com>
4082
4083 * config/i386/morestack.S: Simplify CFI opcodes throughout.
4084
a0c8d0c1
ILT
40852011-12-20 Ian Lance Taylor <iant@google.com>
4086
4087 * config/i386/morestack.S (__morestack_non_split): If there is
4088 enough stack space already, don't split. Ask for more stack space
4089 than we required.
4090
69048898
SDJ
40912011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
4092
4093 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
4094 `sys/sdt.h'.
4095 (_Unwind_DebugHook): New function.
4096 (uw_restore_core_regs): New define.
4097 (unwind_phase2): Use uw_restore_core_regs instead of
4098 restore_core_regs.
4099 (unwind_phase2_forced): Likewise.
4100 (__gnu_Unwind_Resume): Likewise.
4101
1bb4b6a3
UB
41022011-12-20 Uros Bizjak <ubizjak@gmail.com>
4103
4104 * config/alpha/linux-unwind.h: Update copyright years.
4105 (MD_FROB_UPDATE_CONTEXT): New define.
4106 (alpha_frob_update_context): New function.
4107
eb028768
RS
41082011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
4109
4110 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
4111 tmake_file rather replacing it.
4112
6a2045bf
IS
41132011-12-15 Iain Sandoe <iains@gcc.gnu.org>
4114
4115 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 4116 function is not used for PPC64.
6a2045bf
IS
4117 (save_world): Amend comments. Update the VRsave mask to reflect the
4118 saved regs.
4119 (rest_world): Update comments, do not clobber r10, do not use r8.
4120 (eh_rest_world_r10): Amend comments, do not use r8.
4121 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
4122 no longer used, move restore of CR and target address to the end of
4123 the routine.
4124
a13780a6
L
41252011-12-14 H.J. Lu <hongjiu.lu@intel.com>
4126
4127 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
4128 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
4129
d7288dfb
GJL
41302011-12-14 Georg-Johann Lay <avr@gjlay.de>
4131
4132 PR target/49313
4133 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
4134 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
4135
8d2c862d
EB
41362011-12-11 Eric Botcazou <ebotcazou@adacore.com>
4137
4138 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
4139
3447cae6
GJL
41402011-12-09 Georg-Johann Lay <avr@gjlay.de>
4141
4142 PR target/49313
4143 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
4144 * config/avr/lib1funcs.S (__muldi3): New function.
4145
806fc6aa
AP
41462011-12-06 Andrew Pinski <apinski@cavium.com>
4147
4148 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
4149 size of func_ptr.
4150 (__frame_dummy_init_array_entry): Likewise.
4151
28c5e6b5
GJL
41522011-12-06 Georg-Johann Lay <avr@gjlay.de>
4153
4154 Forward-port from gcc-4_6-branch r181936 2011-12-02.
4155
4156 PR target/51345
4157 PR target/51002
4158 * config/avr/lib1funcs.S (__prologue_saves__,
4159 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
4160 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
4161
8f90394a
IS
41622011-12-04 Iain Sandoe <iains@gcc.gnu.org>
4163
4164 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
4165
06dd33ac
JDA
41662011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4167
4168 PR other/51272
4169 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
4170 (_ITM_deregisterTMCloneTable): Likewise.
4171 (__register_frame_info): Fix unused warning.
4172 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
4173 pthread_default_stacksize_np): Likewise.
4174 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 4175
85b8555e
DD
41762011-11-29 DJ Delorie <dj@redhat.com>
4177
4178 * config.host (rl78-*-elf): New case.
4179 * config/rl78: New directory for the Renesas RL78.
4180
4d5ae4ea
BS
41812011-11-29 Bernd Schmidt <bernds@codesourcery.com>
4182
4183 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
4184 formatting.
4185
f9c55897
RO
41862011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4187
4188 PR other/51022
4189 * config/rs6000/t-savresfgpr: New file.
4190 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
4191 $(srcdir)/config/rs6000/eabi.S.
4192 * config/rs6000/t-ppccomm-ldbl: Remove.
4193 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
4194 tmake_file.
4195 (powerpc-*-eabispe*): Likewise.
4196 (powerpc-*-eabi*): Likewise.
4197 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4198 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
4199 to tmake_file, remove rs6000/t-ppccomm-ldbl.
4200 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
4201 tmake_file.
4202 (powerpc-*-eabisim*): Likewise.
4203 (powerpc-*-elf*): Likewise.
4204 (powerpc-*-eabialtivec*): Likewise.
4205 (powerpc-xilinx-eabi*): Likewise.
4206 (powerpc-*-rtems*): Likewise.
4207 (powerpcle-*-elf*): Likewise.
4208 (powerpcle-*-eabisim*): Likewise.
4209 (powerpcle-*-eabi*): Likewise.
4210
a01207c4
ILT
42112011-11-27 Ian Lance Taylor <iant@google.com>
4212
4213 * generic-morestack.c (__splitstack_find): Check for NULL old
4214 stack value.
4215 (__splitstack_resetcontext): New function.
4216 (__splitstack_releasecontext): New function.
4217 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4218
2b0b8ab2
IS
42192011-11-27 Iain Sandoe <iains@gcc.gnu.org>
4220
4221 * config/darwin-crt-tm.c: Correct comments, use correct licence.
4222
c1d8101c
IS
42232011-11-27 Iain Sandoe <iains@gcc.gnu.org>
4224
4225 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
4226
8b281334
RH
42272011-11-26 Richard Henderson <rth@redhat.com>
4228
4229 * config/m68k/linux-atomic.c: New file.
4230 * config/m68k/t-linux: New file.
4231 * config.host (m68k-uclinux, m68k-linux): Use it.
4232
7546aa9d
RH
42332011-11-26 Richard Henderson <rth@redhat.com>
4234
4235 * crtstuff.c (__TMC_LIST__): Mark used not unused.
4236 (__TMC_END__): Only declare if hidden is available; in the definition,
4237 if hidden is unavailable add a null record.
4238 (deregister_tm_clones, register_tm_clones): New.
4239 (__do_global_dtors_aux, frame_dummy): Use them.
4240 (__do_global_dtors, __do_global_ctors_1): Likewise.
4241
e2362f5d
IS
42422011-11-22 Iain Sandoe <iains@gcc.gnu.org>
4243
4244 * config/darwin-crt-tm.c: New file.
4245 * config.host (darwin): Build crttms.o crttme.o to provide
4246 startup and shutdown for tm clones.
4247 * config/t-darwin (crttms.o): New build rule.
4248 (crttme.o): Likewise.
4249
6685dd96
HPN
42502011-11-21 Hans-Peter Nilsson <hp@axis.com>
4251
4252 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
4253 et al.
4254
b0dc7e4c
RH
42552011-11-21 Richard Henderson <rth@redhat.com>
4256
4257 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
4258 (__TMC_LIST__, __TMC_END__): New.
4259 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
4260 (__do_global_dtors): Likewise.
4261 (frame_dummy): Call _ITM_registerTMCloneTable.
4262 (__do_global_ctors_1): Likewise.
4263
d4b4b542
RO
42642011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4265
4266 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
4267 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4268 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
4269 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
4270 * config/i386/t-darwin64: Remove.
4271 * config/sh/t-netbsd (LIB2ADD): Remove.
4272
989bdb74
GJL
42732011-11-21 Georg-Johann Lay <avr@gjlay.de>
4274
4275 PR target/49313
4276 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
4277 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
4278 * config/avr/lib1funcs.S (wmov): New assembler macro.
4279 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
4280 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
4281 (__udivmod64): New function.
4282 (__negdi2): New function.
4283
515a0cfc
GP
42842011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
4285
4286 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
4287 *-*-freebsd*aout*): Remove.
4288
0115d17f
HPN
42892011-11-20 Hans-Peter Nilsson <hp@axis.com>
4290
4291 * static-object.mk (c_flags-$o): Save c_flags.
4292 ($(base)$(objext)): Use it.
4293
93aeb62b
SE
42942011-11-18 Steve Ellcey <sje@cup.hp.com>
4295
4296 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
4297
7bc6df2c
GJL
42982011-11-18 Georg-Johann Lay <avr@gjlay.de>
4299
4300 PR target/49868
4301 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
4302 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
4303 New functions.
4304
425d737b
MGD
43052011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4306
4307 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
4308 functions.
1bb4b6a3 4309 (aeabi_uidivmod): Likewise.
425d737b
MGD
4310 (umodsi3): Likewise.
4311 (divsi3): Likewise.
4312 (aeabi_idivmod): Likewise.
4313 (modsi3): Likewise.
4314
f2a176dc
TG
43152011-11-16 Tristan Gingold <gingold@adacore.com>
4316
4317 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
4318
7c209481
GJL
43192011-11-15 Georg-Johann Lay <avr@gjlay.de>
4320
4321 PR target/49868
4322 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
4323 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
4324
9dfd5832
JDA
43252011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4326
4327 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
4328 tmake_file list.
4329 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
4330 * config/pa/t-stublib64: Delete.
4331
f77dca5d
RH
43322011-11-12 Richard Henderson <rth@redhat.com>
4333
4334 * config/rs6000/linux-unwind.h (frob_update_context): Properly
4335 cast the pointer argument to _Unwind_SetGRPtr.
4336
902828f0
RO
43372011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4338
4339 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
4340
e14304ef
ILT
43412011-11-09 Ian Lance Taylor <iant@google.com>
4342
4343 * generic-morestack.c: Include <string.h>.
4344 (uintptr_type): Define.
4345 (struct initial_sp): Add dont_block_signals field. Reduce size of
4346 extra array by 1.
4347 (allocate_segment): Set prev field to NULL. Don't set
4348 __morestack_current_segment or __morestack_segments.
4349 (__generic_morestack): Update current->prev and *pp after calling
4350 allocate_segment.
4351 (__morestack_block_signals): Don't do anything if
4352 dont_block_signals is set.
4353 (__morestack_unblock_signals): Likewise.
4354 (__generic_findstack): Check for initial_sp == NULL. Add casts to
4355 uintptr_type.
4356 (__splitstack_block_signals): New function.
4357 (enum __splitstack_content_offsets): Define.
4358 (__splitstack_getcontext, __splitstack_setcontext): New functions.
4359 (__splitstack_makecontext): New function.
4360 (__splitstack_block_signals_context): New function.
4361 (__splitstack_find_context): New function.
4362 * config/i386/morestack.S (__morestack_get_guard): New function.
4363 (__morestack_set_guard, __morestack_make_guard): New functions.
4364 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4365
e3d871e4
RO
43662011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4367
4368 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
4369 (i[34567]86-*-mingw*): ... here.
4370 (x86_64-*-mingw*): ... here.
4371
e55cef40
RO
43722011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4373
4374 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
4375
5366b186
NS
43762011-11-07 Nathan Sidwell <nathan@acm.org>
4377
4378 * libgcov.c (struct gcov_fn_buffer): New struct.
4379 (buffer_fn_data): New helper.
4380 (gcov_exit): Rework for new gcov data structures.
4381
74155a6f
GJL
43822011-11-07 Georg-Johann Lay <avr@gjlay.de>
4383
4384 PR target/49313
4385 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
4386
200feb07
RO
43872011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4388
4389 * config.host (tmake_file): Correct comment.
4390 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
4391 t-libgcc-pic.
4392 (bfin*-uclinux*): Likewise.
4393 (bfin*-linux-uclibc*): Likewise.
4394 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
4395
4396 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
4397 assigning.
4398 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4399 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
4400 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4401 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
4402 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4403 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
4404 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
4405 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4406 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
4407 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
4408 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
4409 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
4410 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
4411
4412 * config/bfin/t-elf: Remove.
4413 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
4414
c9cd1a07
RO
44152011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4416
4417 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
4418 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
4419 (lm32-*-elf*, lm32-*-rtems*): Split into ...
4420 (lm32-*-elf*): ... this.
4421 (lm32-*-rtems*): ... and this.
4422 Add to tmake_file.
4423 (m32r-*-rtems*): Add to tmake_file.
4424 (moxie-*-rtems*): Likewise.
4425 (sparc-*-rtems*): Likewise.
4426 Remove t-rtems from tmake_file.
4427 (sparc64-*-rtems*): Likewise.
4428 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
4429 instead.
4430
9fbcc75d
RO
44312011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4432
4433 PR bootstrap/50982
4434 * config/gthr-posix.h: Move ...
4435 * gthr-posix.h: ... here.
4436 * config/gthr-lynx.h: Reflect this.
4437 * config/gthr-vxworks.h: Likewise.
4438 * config/rs6000/gthr-aix.h: Likewise.
4439 * configure.ac (target_thread_file): Likewise.
4440 * configure: Regenerate.
4441
76644b68
SH
44422011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
4443
4444 * config.host (arm*-*-rtemseabi*): New target.
4445
5e490f2a
JDA
44462011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4447
4448 PR other/50991
4449 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
4450 extra-parts.
4451
feeeff5c
JR
44522011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
4453
4454 * config.host (epiphany-*-elf*): New configuration.
4455 * config/epiphany: New Directory.
4456
d618bb2c
RC
44572011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
4458
4459 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
4460 * config/avr/t-rtems: New.
4461 Filter out _exit from LIB1ASMFUNCS.
4462
1bb6f778
DM
44632011-11-04 David S. Miller <davem@davemloft.net>
4464
4465 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
4466 * configure: Rebuild.
4467
9a7f7422
AK
44682011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4469
4470 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
4471 variable.
4472
e4fe948a
GJL
44732011-11-04 Georg-Johann Lay <avr@gjlay.de>
4474
4475 PR target/50931
4476 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
4477 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
4478
7084e037
JS
44792011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
4480
4481 PR target/50989
4482 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
4483
1a032034
RO
44842011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4485
4486 * config/c6x/t-elf (LIB2ADDEH): Set.
4487 * config/c6x/t-c6x-elf: Remove.
4488
d385f772
RO
44892011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4490
4491 * config/i386/sol2-ci.S: Rename to ...
4492 * config/i386/crti.S: ... this.
4493 * config/i386/sol2-cn.S: Rename to ...
4494 * config/i386/crtn.S: ... this.
4495 * config/sparc/sol2-ci.S: Rename to ...
4496 * config/sparc/crti.S: ... this.
4497 * config/sparc/sol2-cn.S: Rename to ...
4498 * config/sparc/crtn.S: ... this.
4499 * config/t-sol2 (CUSTOM_CRTIN): Remove.
4500 (crti.o, crtn.o): Remove.
4501
1ba878a9
TG
45022011-11-04 Tristan Gingold <gingold@adacore.com>
4503
4504 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
4505
02750c15
KK
45062011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
4507
4508 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
4509
bf86b067
HPN
45102011-11-03 Hans-Peter Nilsson <hp@axis.com>
4511
4512 * config.host (crisv32-*-none, cris-*-none): Remove.
4513 (crisv32-*-elf): Append to tmake_file, don't just set it.
4514 (cris-*-elf): Add missing t-fdpbit to tmake_file.
4515
d0bc53bd
RO
45162011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4517
4518 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
4519 (ecrtn$(objext)): Likewise.
4520 (ncrti$(objext)): Likewise.
4521 (ncrtn$(objext)): Likewise.
4522
036da830
AS
45232011-11-03 Andreas Schwab <schwab@redhat.com>
4524
4525 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
4526
d2a7d041
DM
45272011-11-02 David S. Miller <davem@davemloft.net>
4528
4529 * configure.ac: Set host_address on sparc too.
4530 * configure: Regenerate.
4531 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
4532 based upon host_address.
4533 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
4534
af8ed618
JM
45352011-11-02 Jason Merrill <jason@redhat.com>
4536
4537 * config/rs6000/t-ppccomm: Add missing \.
4538
5d1c8e77
RO
45392011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4540
4541 * gthr-single.h, gthr.h: New files.
4542 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
4543 config/gthr-vxworks.h, config/i386/gthr-win32.h,
4544 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
4545 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
4546 * config/i386/gthr-win32.c: Include "gthr-win32.h".
4547 * configure.ac (thread_header): New variable.
4548 Set it depending on target_thread_file.
4549 (gthr-default.h): Link from $thread_header.
4550 * configure: Regenerate.
4551 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
4552
852b75ed
RO
45532011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4554
4555 * configure.ac (tm_file_): New variable.
4556 Determine from tm_file.
4557 (tm_file, tm_defines): Substitute.
4558 * configure: Regenerate.
4559 * mkheader.sh: New file.
4560 * Makefile.in (clean): Remove libgcc_tm.h.
4561 ($(objects)): Depend on libgcc_tm.h.
4562 (libgcc_tm_defines, libgcc_tm_file): New variables.
4563 (libgcc_tm.h, libgcc_tm.stamp): New targets.
4564 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
4565 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
4566 ($(extra-parts)): Depend on libgcc_tm.h.
4567 * config.host (tm_defines, tm_file): New variable.
4568 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
4569 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
4570 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
4571 (avr-*-rtems*): Likewise.
4572 (avr-*-*): Likewise.
4573 (frv-*-elf): Likewise.
4574 (frv-*-*linux*): Likewise.
4575 (h8300-*-rtems*): Likewise.
4576 (h8300-*-elf*): Likewise.
4577 (i[34567]86-*-darwin*): Likewise.
4578 (x86_64-*-darwin*): Likewise.
4579 (rx-*-elf): Likewise.
4580 (tic6x-*-uclinux): Likewise.
4581 (tic6x-*-elf): Likewise.
4582 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
4583 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
4584 * config/i386/cygming-crtbegin.c: Likewise.
4585 * config/i386/cygming-crtend.c: Likewise.
4586 * config/ia64/fde-vms.c: Likewise.
4587 * config/ia64/unwind-ia64.c: Likewise.
4588 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4589 * config/rs6000/darwin-fallback.c: Likewise.
4590 * config/stormy16/lib2funcs.c: Likewise.
4591 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4592 * crtstuff.c: Likewise.
4593 * dfp-bit.h: Likewise.
4594 * emutls.c: Likewise.
4595 * fixed-bit.c: Likewise.
4596 * fp-bit.c: Likewise.
4597 * generic-morestack-thread.c: Likewise.
4598 * generic-morestack.c: Likewise.
4599 * libgcc2.c: Likewise.
4600 * libgcov.c: Likewise.
4601 * unwind-dw2-fde-dip.c: Likewise.
4602 * unwind-dw2-fde.c: Likewise.
4603 * unwind-dw2.c: Likewise.
4604 * unwind-sjlj.c: Likewise.
4605
f9989b51
RO
46062011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4607
4608 * configure.ac: Include ../config/picflag.m4.
4609 (GCC_PICFLAG): Call it.
4610 Substitute.
4611 * configure: Regenerate.
4612 * Makefile.in (gcc_srcdir): Remove.
4613 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4614 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4615 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4616 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4617 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4618 Use $<.
4619 Remove comment.
4620 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4621 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4622 to refer to libgcc2.c.
4623 Use $<.
4624 * config/darwin-64.c: New file.
4625 * config/darwin-crt3.c: Remove comment.
4626 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4627 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4628 config/udivmodsi4.c: New files.
4629 * config/memcmp.c, config/memcpy.c, config/memmove.c,
4630 config/memset.c: New files.
4631 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4632 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4633 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4634 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4635 * config/t-openbsd-thread: New file.
4636 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4637 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4638 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4639 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4640 qrnnd.S.
4641 Adapt filename.
4642 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4643 to refer to gthr-posix.c.
4644 * config/alpha/t-vms (LIB2ADD): Set.
4645 * config/alpha/vms-gcc_shell_handler.c: New file.
4646 * config/arm/bpabi.c, config/arm/fp16.c,
4647 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4648 config/arm/unaligned-funcs.c: New files.
4649 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4650 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4651 * config/arm/t-linux: Likewise.
4652 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4653 * config/arm/t-netbsd: New file.
4654 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4655 * config/arm/t-symbian (LIB2ADD_ST): Set.
4656 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4657 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4658 * config/bfin/t-elf: New file.
4659 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4660 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4661 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4662 config/c6x/ltf.c: New files.
4663 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4664 (HOST_LIBGCC2_CFLAGS): Set.
4665 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4666 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4667 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4668 New files.
4669 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4670 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4671 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4672 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4673 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4674 files.
4675 * config/frv/t-frv (LIB2ADD): Set.
4676 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4677 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4678 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4679 config/h8300/popcounthi2.c: New files.
4680 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4681 * config/i386/gthr-win32.c: New file.
4682 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4683 * config/i386/t-cygwin: Likewise.
4684 * config/i386/t-darwin, config/i386/t-darwin64,
4685 config/i386/t-gthr-win32, config/i386/t-interix: New files.
4686 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4687 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4688 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4689 * config/ia64/quadlib.c: New file.
4690 * config/ia64/t-hpux (LIB2ADD): Set.
4691 * config/ia64/t-ia64: Add comment.
4692 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4693 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4694 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4695 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4696 * config/m32c/t-m32c (LIB2ADD): Set.
4697 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4698 * config/m32r/t-m32r: Likewise.
4699 * config/m68k/fpgnulib.c: New file.
4700 * config/m68k/t-floatlib (LIB2ADD): Set.
4701 (xfgnulib.c): New target.
4702 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4703 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4704 * config/mep/t-mep (LIB2ADD): Set.
4705 * config/microblaze/divsi3.asm: Rename to divsi3.S.
4706 * config/microblaze/moddi3.asm: Rename to moddi3.S.
4707 * config/microblaze/modsi3.asm: Rename to modsi3.S.
4708 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4709 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4710 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4711 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4712 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4713 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4714 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4715 New files.
4716 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4717 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4718 * config/pa/fptr.c, config/pa/lib2funcs.S,
4719 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4720 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4721 (LIB2ADD, LIB2ADD_ST): Set.
4722 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4723 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4724 Set.
4725 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4726 * config/pdp11/t-pdp11: New file.
4727 * config/picochip/libgccExtras/adddi3.S,
4728 config/picochip/libgccExtras/ashlsi3.S,
4729 config/picochip/libgccExtras/ashrsi3.S,
4730 config/picochip/libgccExtras/clzsi2.S,
4731 config/picochip/libgccExtras/cmpsi2.S,
4732 config/picochip/libgccExtras/divmod15.S,
4733 config/picochip/libgccExtras/divmodhi4.S,
4734 config/picochip/libgccExtras/divmodsi4.S,
4735 config/picochip/libgccExtras/lshrsi3.S,
4736 config/picochip/libgccExtras/parityhi2.S,
4737 config/picochip/libgccExtras/popcounthi2.S,
4738 config/picochip/libgccExtras/subdi3.S,
4739 config/picochip/libgccExtras/ucmpsi2.S,
4740 config/picochip/libgccExtras/udivmodhi4.S,
4741 config/picochip/libgccExtras/udivmodsi4.S: New files.
4742 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4743 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4744 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4745 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4746 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4747 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4748 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
4749 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4750 files.
4751 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4752 (HOST_LIBGCC2_CFLAGS): Set.
4753 * config/rs6000/t-darwin64: New file.
4754 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4755 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4756 * config/rs6000/t-ppccomm (LIB2ADD): Add
4757 $(srcdir)/config/rs6000/tramp.S.
4758 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4759 Add $(srcdir)/config/rs6000/eabi.S.
4760 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4761 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4762 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4763 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4764 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4765 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4766 * config/rs6000/tramp.S: New file.
4767 * config/s390/t-tpf: Remove.
4768 * config/sh/linux-atomic.S: New file.
4769 * config/sh/t-linux (LIB2ADD): Set.
4770 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4771 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4772 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4773 to unwind-dw2.c.
4774 (HOST_LIBGCC2_CFLAGS): Set.
4775 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4776 * config/spu/divmodti4.c, config/spu/divv2df3.c,
4777 config/spu/float_disf.c, config/spu/float_unsdidf.c,
4778 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4779 config/spu/mfc_multi_tag_release.c,
4780 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4781 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4782 config/spu/multi3.c: New files.
4783 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4784 (HOST_LIBGCC2_CFLAGS): Set.
4785 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4786 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4787 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4788 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4789 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4790 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4791 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4792 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4793 config/stormy16/umodsi3.c: New files.
4794 * config/xtensa/lib2funcs.S: New file.
4795 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4796 * config/xtensa/t-xtensa (LIB2ADD): Set.
4797 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4798 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4799 Add t-freebsd-thread to tmake_file for posix threads.
4800 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4801 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4802 (*-*-lynxos*): Likewise.
4803 (*-*-netbsd*): Likewise.
4804 (*-*-openbsd*): Likewise.
4805 Add t-openbsd-thread to tmake_file for posix threads.
4806 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4807 (*-*-vxworks*): Set tmake_file.
4808 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4809 (alpha*-*-freebsd*): Likewise.
4810 (alpha*-*-netbsd*): Likewise.
4811 (alpha*-*-openbsd*): Likewise.
4812 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4813 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4814 (alpha*-dec-*vms*): Likewise.
4815 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4816 (bfin*-elf*): Add bfin/t-elf to tmake_file.
4817 (bfin*-uclinux*): Likewise.
4818 (bfin*-linux-uclibc*): Likewise.
4819 (crisv32-*-elf): Add cris/t-cris to tmake_file.
4820 (crisv32-*-none): Likewise.
4821 (cris-*-elf): Likewise.
4822 (cris-*-none): Likewise.
4823 (cris-*-linux*, crisv32-*-linux*): Likewise.
4824 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4825 tmake_file.
4826 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4827 tmake_file.
4828 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4829 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4830 (x86_64-*-elf*): Likewise.
4831 (i[34567]86-*-nto-qnx*): Likewise.
4832 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4833 win32 threads.
4834 (x86_64-*-mingw*): Likewise.
4835 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4836 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4837 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4838 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4839 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4840 tmake_file.
4841 (mipsisa64sr71k-*-elf*): Likewise.
4842 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4843 (mips-*-elf*, mipsel-*-elf*): Likewise.
4844 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4845 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4846 (mips*-*-rtems*): Likewise.
4847 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4848 to tmake_file.
4849 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4850 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4851 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4852 (spu-*-elf*): Likewise.
4853 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4854
45b86625
RO
48552011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4856
4857 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4858 $(srcdir) to refer to $(LIB1ASMSRC).
4859 Use $<.
4860 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4861 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4862 config/arm/lib1funcs.S: New files.
4863 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4864 * config/arm/t-arm: New file.
4865 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4866 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4867 config/arm/t-strongarm-elf: New files.
4868 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4869 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4870 * config/avr/lib1funcs.S: New file.
4871 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4872 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4873 * config/c6x/lib1funcs.S: New file.
4874 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4875 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4876 * config/frv/lib1funcs.S: New file.
4877 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4878 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4879 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4880 * config/ia64/__divxf3.asm: Rename to ...
4881 * config/ia64/__divxf3.S: ... this.
4882 Adapt lib1funcs.asm filename.
4883 * config/ia64/_fixtfdi.asm: Rename to ...
4884 * config/ia64/_fixtfdi.S: ... this.
4885 Adapt lib1funcs.asm filename.
4886 * config/ia64/_fixunstfdi.asm: Rename to ...
4887 * config/ia64/_fixunstfdi.S: ... this.
4888 Adapt lib1funcs.asm filename.
4889 * config/ia64/_floatditf.asm: Rename to ...
4890 * config/ia64/_floatditf.S: ... this.
4891 Adapt lib1funcs.asm filename.
4892 * config/ia64/lib1funcs.S: New file.
4893 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4894 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4895 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4896 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4897 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4898 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4899 * config/mep/lib1funcs.S: New file.
4900 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4901 * config/mips/mips16.S: New file.
4902 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4903 * config/pa/milli64.S: New file.
4904 * config/pa/t-linux, config/pa/t-linux64: New files.
4905 * config/picochip/lib1funcs.S: New file.
4906 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4907 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4908 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4909 * config/sh/t-netbsd: New file.
4910 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4911 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4912 * config/sh/t-sh64: New file.
4913 * config/sparc/lb1spc.S: New file.
4914 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4915 filename.
4916 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4917 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4918 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4919 config/xtensa/lib1funcs.S: New files.
4920 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4921 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4922 tmake_file.
4923 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4924 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4925 (arm*-*-linux*): Likewise.
4926 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4927 arm*-*-linux-*eabi, add arm/t-linux otherwise.
4928 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4929 (arm*-*-ecos-elf): Likewise.
4930 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4931 (arm*-*-rtems*): Likewise.
4932 (arm*-*-elf): Likewise.
4933 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4934 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4935 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4936 (bfin*-uclinux*): Likewise.
4937 (bfin*-linux-uclibc*): Likewise.
4938 (bfin*-rtems*): Likewise.
4939 (bfin*-*): Likewise.
4940 (fido-*-elf): Merge into m68k-*-elf*.
4941 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4942 (frv-*-*linux*): Add frv/t-frv to tmake_file.
4943 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4944 (h8300-*-elf*): Likewise.
4945 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4946 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4947 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4948 (i[34567]86-*-mingw*): Likewise.
4949 (x86_64-*-mingw*): Likewise.
4950 (i[34567]86-*-interix3*): Likewise.
4951 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4952 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4953 (m68k-*-elf*): Also handle fido-*-elf.
4954 Add m68k/t-floatlib to tmake_file.
4955 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4956 (m68k-*-linux*): Likewise.
4957 (m68k-*-rtems*): Likewise.
4958 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4959 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4960 sh64*-*-*.
4961 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4962 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4963 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4964 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4965 sh/t-netbsd to tmake_file.
4966 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4967 (sh-*-rtems*): Add sh/t-sh to tmake_file.
4968 (sh-wrs-vxworks): Likewise.
4969 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4970 *-leon[3-9]*.
4971 (v850*-*-*): Add v850/t-v850 to tmake_file.
4972 (vax-*-linux*): Add vax/t-linux to tmake_file.
4973 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4974
5f73c6cc
RO
49752011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4976
4977 * crtstuff.c: New file.
4978 * Makefile.in (CRTSTUFF_CFLAGS): Define.
4979 (CRTSTUFF_T_CFLAGS): Define.
4980 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4981 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4982 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4983 crtstuff.c.
4984 Use $<.
4985 (crtbeginT.o): Use $(objext).
4986 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4987 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4988 (gcc-extra-parts): Remove.
4989 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4990 Set extra_parts.
4991 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4992 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4993 Add t-crtstuff-pic to tmake_file.
4994 (*-*-lynxos*): New case.
4995 Set tmake_file, extra_parts.
4996 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4997 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4998 *-*-netbsdelf[2-9]*.
4999 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5000 (*-*-rtems*): Set extra_parts.
5001 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5002 (*-*-uclinux*): New case.
5003 Set extra_parts.
5004 (*-*-vms*): New case.
5005 Set tmake_file, extra_parts.
5006 (*-*-elf): Set extra_parts.
5007 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5008 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5009 vms/t-vms64.
5010 Set extra_parts.
5011 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5012 Set extra_parts.
5013 (arm*-*-freebsd*): Add t-crtin to tmake_file.
5014 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5015 (arm-wrs-vxworks): Append to tmake_file.
5016 Set extra_parts.
5017 (arm*-*-uclinux*): Set extra_parts.
5018 (arm*-*-ecos-elf): Likewise.
5019 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5020 arm*-*-eabi*.
5021 (arm*-*-rtems*): Set extra_parts.
5022 (arm*-*-elf): Likewise.
5023 (avr-*-rtems*): Clear extra_parts.
5024 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5025 Set extra_parts.
5026 (bfin*-uclinux*): Likewise.
5027 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5028 (bfin*-rtems*): Append to tmake_file.
5029 Set extra_parts.
5030 (bfin*-*): Likewise.
5031 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5032 (crisv32-*-elf): ... this.
5033 (crisv32-*-none): ... this.
5034 (cris-*-elf, cris-*-none): New cases.
5035 Add cris/t-elfmulti to tmake_file.
5036 (fr30-*-elf): Append to tmake_file.
5037 Set extra_parts.
5038 (frv-*-elf): Append to tmake_file, add frv/t-frv.
5039 Set extra_parts.
5040 (h8300-*-rtems*): Append to tmake_file.
5041 Set extra_parts.
5042 (h8300-*-elf*): Likewise.
5043 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5044 Set extra_parts.
5045 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5046 Set extra_parts.
5047 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5048 (x86_64-*-elf*): Likewise.
5049 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5050 (x86_64-*-freebsd*): Likewise.
5051 (x86_64-*-netbsd*): Likewise.
5052 (i[34567]86-*-linux*): Likewise.
5053 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5054 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5055 (x86_64-*-linux*): Likewise.
5056 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5057 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
5058 tmake_file.
5059 Set extra_parts.
5060 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
5061 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
5062 Append to extra_parts, remove crtbegin.o, crtend.o.
5063 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
5064 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
5065 crtend.o, crtbeginS.o, crtendS.o.
5066 (ia64*-*-linux*): Comment extra_parts.
5067 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
5068 Set extra_parts.
5069 (iq2000*-*-elf*): Clear extra_parts.
5070 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
5071 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
5072 (m32r-*-elf*, m32r-*-rtems*): Split off ...
5073 (m32r-*-rtems*): ... this.
5074 Add m32r/t-m32r to tmake_file.
5075 (m68k-*-elf*): Add t-crtin to tmake_file.
5076 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
5077 (mcore-*-elf): Likewise.
5078 (microblaze*-*-*): Set extra_parts.
5079 (mips*-sde-elf*): New case.
5080 Set tmake_file, extra_parts.
5081 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5082 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5083 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
5084 tmake_file.
5085 Set extra_parts.
5086 (mipsisa64sr71k-*-elf*): Likewise.
5087 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5088 (mips-*-elf*, mipsel-*-elf*): Likewise.
5089 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5090 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
5091 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5092 (mips*-*-rtems*): Likewise.
5093 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
5094 (moxie-*-*): Split into ...
5095 (moxie-*-elf, moxie-*-uclinux*): ... this.
5096 Add to extra_parts, remove crtbegin.o, crtend.o.
5097 (moxie-*-rtems*): New case.
5098 Set tmake_file.
5099 Clear extra_parts.
5100 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
5101 Set extra_parts.
5102 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5103 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
5104 tmake_file.
5105 Set extra_parts.
5106 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
5107 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
5108 Set extra_parts.
5109 (powerpc-*-eabisim*): Likewise.
5110 (powerpc-*-elf*): Likewise.
5111 (powerpc-*-eabialtivec*): Likewise.
5112 (powerpc-xilinx-eabi*): Likewise.
5113 (powerpc-*-eabi*): Likewise.
5114 (powerpc-*-rtems*): Likewise.
5115 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
5116 tmake_file.
5117 Set extra_parts.
5118 (powerpc-*-lynxos*): Add to tmake_file.
5119 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
5120 rs6000/t-crtstuff, t-crtstuff-pic.
5121 Set extra_parts.
5122 (powerpcle-*-eabisim*): Likewise.
5123 (powerpcle-*-eabi*): Likewise.
5124 (rx-*-elf): Remove extra_parts.
5125 (s390x-ibm-tpf*): Set extra_parts.
5126 (score-*-elf): Set extra_parts.
5127 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5128 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5129 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5130 (sh64l*-*-netbsd*): Split into ...
5131 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
5132 Add t-crtstuff-pic to tmake_file.
5133 Set extra_parts.
5134 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
5135 Set extra_parts.
5136 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
5137 (sparc-*-elf*): Remove t-crtin from tmake_file.
5138 Add to extra_parts, remove crtbegin.o, crtend.o.
5139 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
5140 (sparc64-*-linux*): Likewise.
5141 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
5142 Add to extra_parts, remove crtbegin.o, crtend.o.
5143 (sparc64-*-elf*): Remove t-crtin from tmake_file.
5144 Add to extra_parts, remove crtbegin.o, crtend.o.
5145 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
5146 Add to extra_parts, remove crtbegin.o, crtend.o.
5147 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
5148 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
5149 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
5150 Set extra_parts.
5151 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
5152 Set extra_parts.
5153 (tic6x-*-*): Change to ...
5154 (tic6x-*-elf): ... this.
5155 Set extra_parts.
5156 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
5157 Set extra_parts.
5158 (am33_2.0-*-linux*): Add comment.
5159 (mep*-*-*): Add mep/t-mep to tmake_file.
5160 Set extra_parts.
5161 * config/alpha/t-vms: New file.
5162 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
5163 * config/arm/crti.S, config/arm/crtn.S: New files.
5164 * config/bfin/crti.S, config/bfin/crtn.S: New files.
5165 * config/bfin/crtlibid.S: New file.
5166 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
5167 * config/c6x/crti.S, config/c6x/crtn.S: New files.
5168 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
5169 (crti.o, crtin.o): New rules.
5170 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5171 * config/c6x/t-uclinux: New file.
5172 * config/cris/t-elfmulti: New file.
5173 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
5174 * config/fr30/crti.S, config/fr30/crtn.S: New files.
5175 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
5176 * config/frv/t-frv: New file.
5177 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
5178 * config/h8300/crti.S, config/h8300/crtn.S: New files.
5179 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
5180 New files.
5181 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
5182 refer to cygming-crtbegin.c, cygming-crtend.c.
5183 Use $<.
5184 * config/i386/t-nto: New file.
5185 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
5186 * config/ia64/crti.S, config/ia64/crtn.S: New files.
5187 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
5188 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
5189 Use .S extension.
5190 Use $<.
5191 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5192 (crtinitS.o): New rule.
5193 * config/ia64/vms-crtinit.S: New file.
5194 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
5195 * config/m32r/initfini.c: New file.
5196 * config/m32r/t-linux, config/m32r/t-m32r: New files.
5197 * config/m68k/crti.S, config/m68k/crtn.S: New files.
5198 * config/mcore/crti.S, config/mcore/crtn.S: New files.
5199 * config/mep/t-mep: New file.
5200 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
5201 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
5202 * config/mips/crti.S, config/mips/crtn.S: New files.
5203 * config/mips/t-crtstuff: New file.
5204 * config/mmix/crti.S, config/mmix/crtn.S: New files.
5205 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
5206 (CUSTOM_CRTIN): Set.
5207 ($(T)crti.o, $(T)crtn.o): Remove $(T),
5208 dependencies.
5209 Use $(srcdir) to refer to crti.S, crtn.S.
5210 Use .S extension, $<.
5211 * config/moxie/crti.asm: Rename to ...
5212 * config/moxie/crti.S: ... this.
5213 * config/moxie/crtn.asm: Rename to ...
5214 * config/moxie/crtn.S: ... this.
5215 * config/moxie/t-moxie: Remove.
5216 * config/pa/stublib.c: New file.
5217 * config/pa/t-stublib, config/pa/t-stublib64: New files.
5218 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
5219 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
5220 * config/rs6000/t-crtstuff: New file.
5221 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
5222 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
5223 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
5224 Make output file explicit.
5225 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
5226 Make output file explicit.
5227 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
5228 Make output file explicit.
5229 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
5230 Make output file explicit.
5231 * config/score/crti.S, config/score/crtn.S: New files.
5232 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
5233 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
5234 files.
5235 * config/sh/t-sh, config/sh/t-superh: New files.
5236 * config/sparc/t-linux64: New file.
5237 * config/spu/cache.S, config/spu/cachemgr.c: New files.
5238 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
5239 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
5240 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
5241 * config/t-crtin: Remove.
5242 * config/t-crtstuff-pic: New file.
5243 * config/t-sol2 (CUSTOM_CRTIN): Set.
5244 (crti.o, crtn.o): New rules.
5245 * config/vms/t-vms: New file.
5246 * config/vms/vms-ucrt0.c: New file.
5247 * config/xtensa/t-elf: New file.
5248
b040f2be
RO
52492011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5250
5251 * Makefile.in (SHLIB_NM_FLAGS): Set.
5252 * mkmap-flat.awk, mkmap-symver.awk: New files.
5253 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
5254 exceptions.
5255 * configure: Regenerate.
5256 * config/libgcc-glibc.ver: New file.
5257 * config/libgcc-libsystem.ver: New file.
5258 * config/t-libunwind (SHLIB_LC): Set.
5259 * config/t-linux: New file.
5260 * config/t-slibgcc (INSTALL_SHLIB): New.
5261 (SHLIB_INSTALL): Use it.
5262 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
5263 to mkmap-symver.awk.
5264 (SHLIB_MAPFILES): Don't append, adapt pathname.
5265 (SHLIB_VERPFX): Set.
5266 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
5267 to mkmap-symver.awk.
5268 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
5269 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
5270 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
5271 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
5272 to mkmap-flat.awk.
5273 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
5274 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
5275 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
5276 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
5277 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
5278 * config/i386/libgcc-darwin.10.4.ver,
5279 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
5280 New files.
5281 * config/i386/t-darwin: Remove.
5282 * config/i386/t-darwin64: Likewise.
5283 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
5284 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
5285 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
5286 * config/i386/t-linux: New file.
5287 * config/i386/t-mingw32: New file.
5288 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
5289 * config/ia64/t-glibc: Rename to ...
5290 * config/ia64/t-linux: ... this.
5291 (SHLIB_MAPFILES): Set.
5292 * config/ia64/t-glibc-libunwind: Rename to ...
5293 * config/ia64/t-linux-libunwind: ... this.
5294 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
5295 * config/ia64/t-slibgcc-hpux: New file.
5296 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
5297 * config/m68k/t-slibgcc-elf-ver: New file.
5298 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
5299 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
5300 to mkmap-flat.awk.
5301 * config/pa/t-slibgcc-hpux: New file.
5302 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
5303 files.
5304 * config/rs6000/libgcc-darwin.10.4.ver,
5305 config/rs6000/libgcc-darwin.10.5.ver: New files.
5306 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
5307 config/rs6000/libgcc-glibc.ver.
5308 * config/rs6000/libgcc-ppc64.ver: Rename to
5309 config/rs6000/libgcc-ibm-ldouble.ver.
5310 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
5311 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
5312 * config/rs6000/t-ldbl128: Rename to ...
5313 * config/rs6000/t-linux: ... this.
5314 (SHLIB_MAPFILES): Adapt filename.
5315 * config/rs6000/t-slibgcc-aix: New file.
5316 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
5317 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
5318 libgcc-excl.ver, libgcc-glibc.ver.
5319 (SHLIB_LINK, SHLIB_INSTALL): Remove.
5320 * config/sparc/libgcc-glibc.ver: New file.
5321 * config/sparc/t-linux: New file.
5322 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
5323 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
5324 t-slibgcc-elf-ver to tmake_file.
5325 Add t-slibgcc-nolc-override to tmake_file for posix threads on
5326 *-*-freebsd[34].
5327 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5328 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
5329 t-slibgcc-elf-ver, t-linux to tmake_file.
5330 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
5331 tmake_file.
5332 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
5333 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
5334 (alpha*-dec-*vms*): Likewise.
5335 (arm*-*-freebsd*): Append to tmake_file.
5336 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
5337 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
5338 arm*-*-linux-*eabi.
5339 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
5340 tmake_file for arm*-*-symbianelf*.
5341 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
5342 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
5343 cris/t-linux.
5344 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
5345 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
5346 pa/t-slibgcc-dwarf-ver to tmake_file.
5347 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
5348 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
5349 (hppa*64*-*-hpux11*): Likewise.
5350 (hppa[12]*-*-hpux11*): Likewise.
5351 (x86_64-*-darwin*): Don't override tmake_file, but only keep
5352 i386/t-crtpc, i386/t-crtfm.
5353 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
5354 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5355 to tmake_file.
5356 Add i386/t-cygwin to tmake_file.
5357 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
5358 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
5359 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5360 to tmake_file.
5361 Add i386/t-mingw32 to tmake_file.
5362 (x86_64-*-mingw*): Likewise.
5363 (ia64*-*-freebsd*): Append to tmake_file.
5364 (ia64*-*-linux*): Append to tmake_file.
5365 Replace ia64/t-glibc by ia64/t-linux.
5366 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
5367 system libunwind.
5368 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
5369 t-slibgcc-hpux to tmake_file.
5370 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
5371 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
5372 (m32rle-*-linux*): Likewise.
5373 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
5374 sjlj exceptions.
5375 (microblaze*-linux*): New case.
5376 Append to tmake_file, add t-slibgcc-nolc-override.
5377 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
5378 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5379 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
5380 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5381 rs6000/t-slibgcc-aix to tmake_file.
5382 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5383 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5384 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5385 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5386 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5387 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
5388 sh*-*-linux*.
5389 (sparc-*-linux*): Append to tmake_file for *-leon*.
5390 Add sparc/t-linux to tmake_file for non-Leon targets.
5391 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
5392 (tic6x-*-uclinux): New case.
5393 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
5394 (tic6x-*-*): Add c6x/t-elf to tmake_file.
5395 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
5396 (am33_2.0-*-linux*): Append to tmake_file.
5397 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5398 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
5399 x86_64-*-kfreebsd*-gnu.
5400 Add i386/t-linux to tmake_file.
5401
18b4bd7b
ILT
54022011-10-28 Ian Lance Taylor <iant@google.com>
5403
5404 * config/i386/morestack.S: Correct CFI information to do proper
5405 returns throughout function. In 32-bit mode, save %ebx so that it
5406 is restored on unwind.
5407
5b2d9d90
BS
54082011-10-25 Bernd Schmidt <bernds@codesourcery.com>
5409
5410 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
5411 case where B3 isn't the return register.
5412
0d53e346
BS
5413 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
5414 logic for doubleword pops.
5415
cbffbd59
AT
54162011-10-25 Andreas Tobler <andreast@fgznet.ch>
5417
5418 * config/rs6000/t-freebsd: Add wildcard.
5419
56dc349e
PB
54202011-10-21 Paul Brook <paul@codesourcery.com>
5421
5422 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
5423
1e06b07d
UB
54242011-10-16 Uros Bizjak <ubizjak@gmail.com>
5425 Eric Botcazou <ebotcazou@adacore.com>
5426
5427 PR target/50737
5428 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
5429 fs->signal_frame to 1.
5430
b5204884
ILT
54312011-10-07 Ian Lance Taylor <iant@google.com>
5432
5433 * generic-morestack-thread.c: #include <errno.h>.
5434
91a639a1
ILT
54352011-10-07 Ian Lance Taylor <iant@google.com>
5436
5437 PR target/46093
5438 * generic-morestack.c (__generic_morestack): Make sure the segment
5439 is large enough for both the stack frame and the copied
5440 parameters.
5441
cc49116d
RO
54422011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5443
5444 PR bootstrap/49804
5445 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
5446 extra_parts.
5447
2996d8c3
NC
54482011-09-28 Nick Clifton <nickc@redhat.com>
5449
5450 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
5451 64-bit doubles are not enabled.
5452 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
5453 and floatunsisf functions.
5454
1e874273 54552011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 5456
1e874273
PB
5457 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
5458 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
5459 * unwind-arm-common.inc: New file.
5460 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
5461 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
5462 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
5463 * config/c6x/libunwind.S: New file.
5464 * config/c6x/pr-support.c: New file.
5465 * config/c6x/unwind-c6x.c: New file.
5466 * config/c6x/unwind-c6x.h: New file.
5467 * config/c6x/t-c6x-elf: New file.
5468
f70c879a
UB
54692011-08-23 Uros Bizjak <ubizjak@gmail.com>
5470
5471 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
5472 (ASM_DIVZERO): Ditto.
5473 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
5474
c55b374b
RS
54752011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
5476
5477 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
5478
1e138510
RS
54792011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
5480
5481 PR target/50090
5482 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
5483 instead of an assembly one.
5484
1563503d
PB
54852011-08-12 Paolo Bonzini <bonzini@gnu.org>
5486
5487 PR bootstrap/50047
5488 * Makefile.in (install-unwind_h): Create
5489 $(gcc_objdir)/include/unwind.h atomically.
5490
3627ac1a
RO
54912011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5492
5493 * Makefile.in (install-unwind_h): Remove destination file first.
5494
c6412d86
RO
54952011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5496
5497 * sync.c: New file.
5498 * config/mips/t-mips16: New file.
5499 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
5500 (mips*-*-linux*): Likewise.
5501 (mips*-sde-elf*): Likewise.
5502 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
5503 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
5504 Add mips/t-mips16 to tmake_file.
5505 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
5506 (mips-*-elf*): Likewise.
5507 (mips64-*-elf*): Likewise.
5508 (mips64orion-*-elf*): Likewise.
5509 (mips*-*-rtems*): Likewise.
5510 (mipstx39-*-elf*): Likewise.
5511 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
5512 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
5513 LIBGCC_SYNC_CFLAGS.
5514 Use $(srcdir) to refer to sync.c.
5515 Use $<.
5516 ($(libgcc-sync-funcs-o)): Likewise.
5517 ($(libgcc-sync-size-funcs-s-o)): Likewise.
5518 ($(libgcc-sync-funcs-s-o)): Likewise.
5519
3cb6e5bd
AS
55202011-08-09 Andreas Schwab <schwab@linux-m68k.org>
5521
5522 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
5523 t-libunwind.
5524
cca2207a
L
55252011-08-08 H.J. Lu <hongjiu.lu@intel.com>
5526
5527 PR other/48007
5528 * config/i386/value-unwind.h: New.
5529
ed39fbad
RS
55302011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
5531
5532 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
5533 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
5534 Add to tmake_file rather than overriding it.
5535
aca0b0b3
RO
55362011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5537
5538 * config/t-softfp: Remove.
5539 * soft-fp: Moved from ../gcc/config.
5540 * soft-fp/README: Remove t-softfp reference.
5541 * soft-fp/t-softfp: Move to config/t-softfp.
5542 (softfp_machine_header): Remove.
5543 (softfp_file_list): Remove config subdir.
5544 (soft-fp-objects): New variable.
5545 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
5546 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
5547 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
5548 * config/t-softfp-excl: New file.
5549 * config/t-softfp-sfdf: New file.
5550 * config/t-softfp-tf: New file.
5551 * config/no-sfp-machine.h: New file.
5552 * config/arm/sfp-machine.h: New file.
5553 * config/arm/t-softfp: New file.
5554 * config/c6x/sfp-machine.h: New file.
5555 * config/i386/32/t-fprules-softfp: Rename to ...
5556 * config/i386/32/t-softfp: ... this.
5557 (tifunctions, LIB2ADD): Remove.
5558 (softfp_int_modes): Override.
5559 * config/i386/64/t-softfp-compat (tf-functions): Remove config
5560 subdir.
5561 * config/i386/64/eqtf2.c: Likewise.
5562 * config/i386/64/getf2.c: Likewise.
5563 * config/i386/64/letf2.c: Likewise.
5564 * config/ia64/sft-machine.h: New file.
5565 * config/ia64/t-fprules-softfp: Rename to ...
5566 * config/ia64/t-softfp: ... this.
5567 * config/lm32/sfp-machine.h: New file.
5568 * config/moxie/t-moxie-softfp: Remove.
5569 * config/rs6000/ibm-ldouble-format: New file.
5570 * config/rs6000/ibm-ldouble.c: New file.
5571 * config/rs6000/libgcc-ppc-glibc.ver: New file
5572 * config/rs6000/libgcc-ppc64.ver: New file
5573 * config/rs6000/sfp-machine.h: New file.
5574 * config/rs6000/t-freebsd: New file.
5575 * config/rs6000/t-ibm-ldouble: New file.
5576 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
5577 libgcc-ppc-glibc.ver.
5578 * config/rs6000/t-linux64: New file.
5579 * config/rs6000/t-ppccomm (LIB2ADD): Add
5580 $(srcdir)/config/rs6000/ibm-ldouble.c.
5581 * config/rs6000/t-ppccomm-ldbl: New file.
5582 * config/score/sfp-machine.h: New file.
5583 * config.host (sfp_machine_header): Explain.
5584 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
5585 t-softfp to tmake_file.
5586 (arm*-*-uclinux*): Likewise.
5587 (arm*-*-ecos-elf): Likewise.
5588 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5589 (arm*-*-rtems*): Likewise.
5590 (arm*-*-elf): Likewise.
5591 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5592 in tmake_file.
5593 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5594 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5595 (lm32-*-uclinux*): Likewise.
5596 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5597 t-softfp-excl, t-softfp.
5598 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5599 (powerpc64-*-darwin*): Likewise.
5600 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5601 to tmake_file.
5602 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5603 tmake_file.
5604 (powerpc-*-eabisim*): Likewise.
5605 (powerpc-*-elf*): Likewise.
5606 (powerpc-*-eabialtivec*): Likewise.
5607 (powerpc-xilinx-eabi*): Likewise.
5608 (powerpc-*-rtems*): Likewise.
5609 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5610 t-softfp-excl, t-softfp to tmake_file.
5611 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5612 rs6000/t-ppccomm-ldbl to tmake_file.
5613 (powerpcle-*-elf*): Likewise.
5614 (powerpcle-*-eabisim*): Likewise.
5615 (powerpcle-*-eabi*): Likewise.
5616 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5617 rs6000/t-ibm-ldouble to tmake_file.
5618 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5619 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5620 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5621 (tic6x-*-*): Likewise.
5622 (i[34567]86-*-darwin*, x86_64-*-darwin*,
5623 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5624 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5625 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5626 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5627 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5628 t-softfp to tmake_file.
5629 * configure.ac (sfp_machine_header): Provide default if unset.
5630 Substitute.
5631 Link sfp-machine.h to config/$sfp_machine_header.
5632 * configure: Regenerate.
5633
569dc494
RO
56342011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5635
5636 * Makefile.in (double_type_size, long_double_type_size): Set.
5637 Remove $(fpbit-in-libgcc) support.
5638 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5639 (fpbit-src): New variable.
5640 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5641 Compile with -DFLOAT $(FPBIT_CFLAGS).
5642 Use $<.
5643 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5644 Compile with $(FPBIT_CFLAGS).
5645 Use $<.
5646 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5647 Compile with -DFLOAT $(TPBIT_CFLAGS).
5648 Use $<.
5649 * configure.ac (double_type_size, long_double_type_size):
5650 Determine and substitute.
5651 * configure: Regenerate.
5652 * fp-bit.c, fp-bit.h: New files.
5653 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5654 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5655 * config/mips/t-mips: New file.
5656 * config/mips/t-sdemtk: New file.
5657 * config/rs6000/ppc64-fp.c: New file.
5658 * config/rs6000/t-darwin (LIB2ADD): Add
5659 $(srcdir)/config/rs6000/ppc64-fp.c.
5660 * config/rs6000/t-ppc64-fp: New file.
5661 * config/rx/rx-lib.h: New file.
5662 * config/rx/t-rx (FPBIT): Set to true.
5663 ($(gcc_objdir)/fp-bit.c): Remove.
5664 (DPBIT): Set to true only with -m64bit-doubles.
5665 ($(gcc_objdir)/dp-bit.c): Remove.
5666 * config/sparc/t-softfp: Remove.
5667 * config/spu/t-elf: New file.
5668 * config/t-fdpbit, config/t-fpbit: New files.
5669 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5670 (mips*-*-*): Likewise.
5671 (arm-wrs-vxworks): Likewise.
5672 (arm*-*-freebsd*): Likewise.
5673 (avr-*-rtems*): Add t-fpbit to tmake_file.
5674 (avr-*-*): Likewise.
5675 (bfin*-elf*): Add t-fdpbit to tmake_file.
5676 (bfin*-uclinux*): Likewise.
5677 (bfin*-linux-uclibc*): Likewise.
5678 (bfin*-rtems*): New case.
5679 Add t-fdpbit to tmake_file.
5680 (bfin*-*): Add t-fdpbit to tmake_file.
5681 (crisv32-*-elf): Likewise.
5682 (cris-*-linux*): Likewise.
5683 (fr30-*-elf): Likewise.
5684 (frv-*-elf, frv-*-*linux*): Likewise.
5685 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5686 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5687 (m32r-*-elf*): Likewise.
5688 (m32rle-*-elf*): Likewise.
5689 (m32r-*-linux*): Likewise.
5690 (m32rle-*-linux*): Likewise.
5691 (mcore-*-elf): Add t-fdpbit to tmake_file.
5692 (microblaze*-*-*): Likewise.
5693 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5694 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5695 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5696 Fix typo.
5697 Add mips/t-tpbit to tmake-file.
5698 (mips*-*-linux*): Fix typo.
5699 (mips*-sde-elf*): New case
5700 Add mips/t-sdemtk unless using newlib.
5701 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5702 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5703 (mn10300-*-*): Likewise.
5704 (pdp11-*-*): Likewise.
5705 (picochip-*-*): Add t-fpbit to tmake_file.
5706 (powerpc-*-eabisimaltivec*): Likewise.
5707 (powerpc-*-eabisim*): Likewise.
5708 (powerpc-*-elf*): Likewise.
5709 (powerpc-*-eabialtivec*): Likewise.
5710 (powerpc-xilinx-eabi*): New case.
5711 Add t-fdpbit to tmake_file.
5712 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
5713 (powerpc-*-rtems*): Likewise.
5714 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5715 tmake_file.
5716 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5717 tmake_file.
5718 (powerpc-*-lynxos*): Likewise.
5719 (powerpcle-*-elf*): Likewise.
5720 (powerpcle-*-eabisim*): Likewise.
5721 (powerpcle-*-eabi*): Likewise.
5722 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5723 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5724 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5725 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5726 (rx-*-elf): Add t-fdpbit to tmake_file.
5727 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5728 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5729 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5730 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5731 sh*-*-netbsd*.
5732 (sh-*-rtems*): Add t-fdpbit to tmake_file.
5733 (sh-wrs-vxworks): Likewise.
5734 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5735 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5736 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5737 (sparc64-*-rtems*): ... new case.
5738 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5739 (spu-*-elf*): Likewise.
5740 Add spu/t-elf to tmake_file.
5741 (v850*-*-*): Add t-fdpbit to tmake_file.
5742 (xstormy16-*-elf): Likewise.
5743 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5744 (mep*-*-*): Likewise.
5745
201cdb74
RO
57462011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5747
5748 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5749 variables.
5750 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5751 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5752 (install-unwind_h): New target.
5753 (all): Depend on it.
5754 * config.host (unwind_header): New variable.
5755 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5756 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5757 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5758 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5759 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5760 Set unwind_header.
5761 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5762 Set unwind_header.
5763 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5764 arm*-*-eabi*.
5765 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5766 Set unwind_header.
5767 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5768 (ia64*-*-freebsd*): Likewise.
5769 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5770 tmake_file.
5771 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5772 $with_system_libunwind.
5773 (ia64*-*-hpux*): Set tmake_file.
5774 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5775 (picochip-*-*): Set tmake_file.
5776 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5777 md_unwind_header.
5778 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5779 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5780 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5781 (xtensa*-*-elf*): Set tmake_file.
5782 (xtensa*-*-linux*): Likewise.
5783 * configure.ac: Include ../config/unwind_ipinfo.m4.
5784 Call GCC_CHECK_UNWIND_GETIPINFO.
5785 Link unwind.h to $unwind_header.
5786 * configure: Regenerate.
5787 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5788 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5789 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5790 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5791 * config/unwind-dw2-fde-darwin.c: New file.
5792 * config/arm/libunwind.S, config/arm/pr-support.c,
5793 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5794 config/arm/unwind-arm.h,: New files.
5795 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5796 config/ia64/t-eh-ia64, config/ia64/t-glibc,
5797 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5798 config/ia64/t-vms, config/ia64/unwind-ia64.c,
5799 config/ia64/unwind-ia64.h: New files.
5800 * config/picochip/t-picochip: New file.
5801 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5802 files.
5803 * config/rs6000/t-darwin (LIB2ADDEH): Set.
5804 * config/s390/t-tpf (LIB2ADDEH): Remove.
5805 * config/t-darwin (LIB2ADDEH): Set.
5806 * config/t-eh-dw2-dip: New file.
5807 * config/t-libunwind, config/t-libunwind-elf: New files.
5808 * config/t-sol2 (LIB2ADDEH): Remove.
5809 * config/xtensa/t-xtensa: New file.
5810
40f2f11f
L
58112011-08-02 H.J. Lu <hongjiu.lu@intel.com>
5812
5813 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5814 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5815 long long to check rt_sigreturn syscall.
5816
bd15e32c
AM
58172011-08-02 Alan Modra <amodra@gmail.com>
5818
5819 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5820 Restore for indirect call bcrtl from correct stack slot, and only
5821 if cfa+40 isn't valid.
5822
655b30bf
JB
58232011-08-01 Julian Brown <julian@codesourcery.com>
5824
5825 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5826 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5827 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5828
247eb06f
JB
58292011-08-01 Julian Brown <julian@codesourcery.com>
5830
5831 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5832 (libgcc-std.ver.in): Use above.
5833 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5834 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
5835 throughout file.
5836 * config/t-fixedpoint-gnu-prefix: New file.
5837 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5838 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5839 instead of __PFX__.
5840
02a8fe00
L
58412011-07-28 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5844 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5845 for x86-64. Properly check __x86_64__ and __LP64__.
5846
5fce9126
L
58472010-07-28 H.J. Lu <hongjiu.lu@intel.com>
5848
5849 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5850 version.
5851 (_FP_WS_TYPE): Likewise.
5852 (_FP_I_TYPE): Likewise.
5853
2374a88a
AM
58542011-07-28 Alan Modra <amodra@gmail.com>
5855
5856 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5857 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5858 in a plt call stub. Do restore r2 if stopped on bctrl.
5859
e44dbbe1
RO
58602011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5861
5862 * config.host (i[3456x]86-*-netware*): Remove.
5863 * config/i386/netware-crt0.c, config/i386/t-nwld,
5864 config/i386/t-slibgcc-nwld: Remove.
5865
bcead286
BS
58662011-07-15 Bernd Schmidt <bernds@codesourcery.com>
5867
5868 * config.host: Handle tic6x-*-*.
5869 * config/c6x/c6x-abi.h: New file.
5870
b3fe1584
RO
58712011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5872
5873 * config/i386/crtprec.c: New file.
5874 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5875 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5876 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5877 (x86_64-*-darwin*): Likewise.
5878 (i[34567]86-*-solaris2*: Likewise.
5879
35d8090d
RO
58802011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5881
5882 * config/alpha/crtfastmath.c: New file.
5883 * config/i386/crtfastmath.c: New file.
5884 * config/ia64/crtfastmath.c: New file.
5885 * config/mips/crtfastmath.c: New file.
5886 * config/sparc/crtfastmath.c: New file.
5887
5888 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5889 crtfastmath.c.
5890 Add -frandom-seed=gcc-crtfastmath.
5891 * config/alpha/t-crtfm: Remove.
5892 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5893 * config/ia64/t-ia64 (crtfastmath.o): Remove.
5894
5895 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5896 (alpha*-dec-osf5.1*): Likewise.
5897 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5898 Add crtfastmath.o to extra_parts.
5899 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5900 Add crtfastmath.o to extra_parts.
5901 (x86_64-*-darwin*): Likewise.
5902 (x86_64-*-mingw*): Likewise.
5903 (ia64*-*-elf*): Add t-crtfm to tmake_file.
5904 (ia64*-*-freebsd*): Likewise.
5905 (ia64*-*-linux*): Likewise.
5906 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5907 Add crtfastmath.o to extra_parts.
5908
e141542e
RO
59092011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5910
5911 * config/darwin-crt3.o: New file.
5912 * config/rs6000/darwin-crt2.c: New file.
5913 * config/t-darwin: New file.
5914 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5915 (crt2.o): New rule.
5916 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5917 (powerpc-*-darwin*): Add crt2.o to extra_parts.
5918 (powerpc64-*-darwin*): Likewise.
5919
2d1efe2d
RO
59202011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5921
5922 * config/i386/netware-crt0.c: New file.
5923 * config/i386/t-nwld: Rename to ...
5924 * config/i386/t-slibgcc-nwld: ... this.
5925 * config/i386/t-nwld: New file.
5926 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5927 tmake_file.
5928 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5929 extra_parts.
5930
4a8bb046
RO
59312011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5932
5933 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5934 i386/t-crtstuff.
5935 * configure: Regenerate.
5936
2d8d5935
RO
59372011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5938
5939 * dfp-bit.c, dfp-bit.h: New files.
5940 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5941 variables.
5942 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5943 ($(d64pbit-o)): Likewise.
5944 ($(d128pbit-o)): Likewise.
5945 * config/t-dfprules: New file.
5946 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5947 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5948 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5949 (x86_64-*-linux*): Likewise.
5950 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5951 (i[34567]86-*-cygwin*): Likewise.
5952 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
5953 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5954
2c50b2c3
RO
59552011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5956
5957 * Makfile.in (LIBGCOV): New variable.
5958 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5959 * libgcov.c: New file.
5960
a039d7c2
RO
59612011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5962
5963 * fixed-bit.c, fixed-bit.h: New files.
5964 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5965 refer to fixed-bit.c.
5966
1e4b2746
JM
59672011-07-07 Joseph Myers <joseph@codesourcery.com>
5968
5969 * config.host (*local*): Remove.
5970
fbdd5d87
RO
59712011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5972
5973 PR target/39150
5974 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5975 like i?86-*-solaris2.1[0-9]*.
5976 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5977 * configure.ac (i?86-*-solaris2*): Likewise.
5978 * configure: Regenerate.
5979
9e7714f4
TS
59802011-07-06 Thomas Schwinge <thomas@schwinge.name>
5981
5982 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5983 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5984 md_unwind_header by splitting out of...
5985 (i[34567]86-*-linux*): ... this.
5986 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5987 Remove md_unwind_header by splitting out of...
5988 (x86_64-*-linux*): ... this.
5989
6dab9931
GJL
59902011-07-04 Georg-Johann Lay <avr@gjlay.de>
5991
5992 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5993
4be46d19
NC
59942011-06-28 Nick Clifton <nickc@redhat.com>
5995
5996 * config.host: Recognize all V850 variants.
5997
1da9434b
UB
59982011-06-22 Uros Bizjak <ubizjak@gmail.com>
5999
6000 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6001
e4d48a4d
RO
60022011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6003
6004 * shared-object.mk (c_flags-$o): Save c_flags.
6005 ($(base)$(objext)): Use it.
6006 ($(base)_s$(objext)): Likewise.
6007
3801c801
BS
60082011-06-21 Bernd Schmidt <bernds@codesourcery.com>
6009
6010 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6011 * libgcc-std.ver.in (GCC_4.7.0): New section.
6012
0ad8bb3b 60132011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 6014
0ad8bb3b
GJL
6015 PR target/49313
6016 PR target/29524
6017 * config/avr/t-avr: Fix line endings.
6018 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
6019 _parityXX2.
6020
ea963999
OH
60212011-06-14 Olivier Hainque <hainque@adacore.com>
6022 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6023
6024 * config/mips/irix6-unwind.h: New file.
6025 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6026
b11b0904
EB
60272011-06-10 Eric Botcazou <ebotcazou@adacore.com>
6028
6029 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6030 (sparc64_fallback_frame_state): Use it.
6031 (sparc64_frob_update_context): Further adjust context.
6032 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6033 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6034 * config/sparc/sol2-cn.S: Likewise.
6035
10e48e39
RO
60362011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6037
6038 * enable-execute-stack-empty.c: New file.
6039 * enable-execute-stack-mprotect.c: New file.
6040 * config/i386/enable-execute-stack-mingw32.c: New file.
6041 * config.host (enable_execute_stack): New variable.
6042 Select appropriate variants.
6043 * configure.ac: Link enable-execute-stack.c to
6044 $enable_execute_stack.
6045 * configure: Regenerate.
6046 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6047 (lib2funcs): Remove _enable_execute_stack.
6048
10c4cabc
DM
60492011-06-09 David S. Miller <davem@davemloft.net>
6050 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6051
6052 * config.host (sparc-*-linux*): Correct md_unwind_header
6053 filename.
6054 (s390x-ibm-tpf*): Fix typo.
6055
aa4203e7
RO
60562011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6057
6058 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
6059 Add crtfastmath.o to extra_parts.
6060 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
6061 mips/t-crtfm.
6062 * config/mips/t-crtfm: Remove.
6063
0defd786
JDA
60642011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6065
6066 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
6067
82f247af
KK
60682011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
6069
6070 * config.host (sh*-*-linux*): Fix typo.
6071
58cd1d70
RO
60722011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6073
6074 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
6075 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
6076 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
6077 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
6078 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
6079 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
6080 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
6081 Wrap in !__MINGW64__.
6082 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
6083 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
6084 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
6085 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
6086 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
6087 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
6088 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
6089 Wrap in !__LP64__.
6090 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
6091 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
6092 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
6093 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
6094 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
6095 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
6096 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
6097 * config/no-unwind.h: New file.
6098 * config.host (md_unwind_header): Document.
6099 Define.
6100 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
6101 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
6102 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
6103 hppa[12]*-*-hpux11*): Set md_unwind_header.
6104 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
6105 Set md_unwind_header.
6106 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
6107 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
6108 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
6109 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
6110 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
6111 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
6112 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
6113 md_unwind_header.
6114 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
6115 * configure: Regenerate.
6116
737346fa
RO
61172011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6118
6119 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
6120 Set tmake_file, extra_parts.
6121 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
6122 Remove O32 support.
6123 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
6124 Remove O32 support.
6125 * config/mips/t-irix6: New file.
6126 * config/mips/t-slibgcc-irix: New file.
6127
c192cee6
RO
61282011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6129
6130 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
6131 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
6132
ee33b5f0
RO
61332011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6134
6135 * configure.ac (target_thread_file): Determine thread model.
6136 * configure: Regenerate.
6137 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
6138 * config/alpha/t-alpha: New file.
6139 * config/alpha/t-crtfm: Use $<.
6140 * config/alpha/t-ieee: New file.
6141 * config/alpha/t-osf-pthread: New file.
6142 * config/alpha/t-slibgcc-osf: New file.
6143 * config/alpha/libgcc-osf5.ver: New file.
6144
0699e415
RO
61452011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6146
6147 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
6148 tmake_file.
6149 Add crtfastmath.o to extra_parts.
6150
a3fab9c2
RO
61512011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6152
6153 * config/gmon-sol2.c: Reindent.
6154 Cleanup comments.
6155 Remove, correct casts.
6156 Use STDERR_FILENO, NULL.
6157 (BASEADDRESS): Remove.
6158 (minbrk): Remove.
6159 (errno, sbrk): Remove declarations.
6160 (monstartup) [hp300]: Remove.
6161 (mcount): Remove.
6162
ca24c5ad
RO
61632011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6164
6165 * Makefile.in (cpu_type): Define.
6166 * config.host (i[34567]86-*-rtems*): Handle it.
6167 (i[34567]86-*-solaris2*): Move body ...
6168 (*-*-solaris2*): ... here.
6169 New case, generalize.
6170 (sparc-*-elf*): Handle it.
6171 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
6172 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
6173 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
6174 Fold into ...
6175 (sparc*-*-solaris2*): ... this.
6176 New case.
6177 (sparc64-*-elf*): Handle it.
6178 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
6179 Merge ../gcc/config/i386/gmon-sol2.c.
6180 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
6181 Use C comments.
6182 Merge ../gcc/config/i386/sol2-gc1.asm.
6183 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
6184 Use C comments.
6185 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
6186 Use C comments.
6187 * config/i386/t-crtfm (crtfastmath.o): Use $<.
6188 * config/i386/t-crtstuff: New file.
6189 * config/i386/t-softfp: New file.
6190 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
6191 $(T)crti.o, $(T)crtn.o): Remove.
6192 (gcrt1.o): New rule.
6193 (TARGET_LIBGCC2_CFLAGS): Remove.
6194 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
6195 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
6196 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
6197 * config/sparc/t-sol2: New file.
6198 * config/sparc/t-crtfm: Move to ...
6199 * config/t-crtfm: ... this.
6200 Use $(cpu_type), $<.
6201 * config/t-crtin: New file.
6202 * config/sparc/t-softfp: New file.
6203 * config/sparc/t-softmul: New file.
6204 * config/t-rtems: New file.
6205 * config/t-slibgcc: New file.
6206 * config/t-slibgcc-elf-ver: New file.
6207 * config/t-slibgcc-gld: New file.
6208 * config/t-slibgcc-sld: New file.
6209 * config/t-sol2: New file.
6210 * configure.ac: Include ../config/lib-ld.m4.
6211 Call AC_LIB_PROG_LD_GNU.
6212 Substitute cpu_type.
6213 * configure: Regenerate.
6214
ad5f3d7b
BS
62152011-05-27 Bernd Schmidt <bernds@codesourcery.com>
6216
6217 PR bootstrap/49173
6218 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
6219 libgcc-std.ver in the build directory.
6220 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
6221 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
6222
cdbf4541
BS
62232011-05-25 Bernd Schmidt <bernds@codesourcery.com>
6224
6225 * libgcc-std.ver.in: New file.
6226 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
6227 variables.
6228 (libgcc-std.ver): New rule.
6229 * config/t-gnu-prefix: New file.
6230
c8028650
RO
62312011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6232
6233 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
6234
4a68b4ca
JM
62352011-05-10 Joseph Myers <joseph@codesourcery.com>
6236
6237 * config/i386/darwin-lib.h: New file.
6238
80cf2e08
JM
62392011-05-10 Joseph Myers <joseph@codesourcery.com>
6240
6241 * config/arm/symbian-lib.h: New.
6242
a3330c9d
CD
62432011-05-04 Chris Demetriou <cgd@google.com>
6244
6245 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
6246 (__x86.get_pc_thunk.bx): ...this.
6247 (__morestack): Adjust for rename, remove undef of __i686.
6248
6ace0756
CD
62492011-05-03 Chris Demetriou <cgd@google.com>
6250
6251 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
6252
ebb9f8b0
JM
62532011-03-22 Joseph Myers <joseph@codesourcery.com>
6254
6255 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
6256 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
6257 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
6258 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
6259 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
6260 Remove cases.
6261
9cfa1499
AT
62622011-03-14 Andreas Tobler <andreast@fgznet.ch>
6263
6264 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
6265 Adjust copyright year.
6266
457186f6
ILT
62672011-03-07 Ian Lance Taylor <iant@google.com>
6268
6269 * generic-morestack.c (__splitstack_find): Adjust returned stack
6270 pointer to include all registers pushed by __morestack.
6271
58c741a6
DK
62722011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
6273
6274 PR target/40125
6275 * configure.ac: Call ACX_NONCANONICAL_TARGET.
6276 (toolexecdir): Calculate and AC_SUBST.
6277 (toolexeclibdir): Likewise.
6278 * Makefile.in (target_noncanonical): Import.
6279 (toolexecdir): Likewise.
6280 (toolexeclibdir): Likewise.
6281 * configure: Regenerate.
6282
26716c44
NF
62832010-12-13 Nathan Froyd <froydnj@codesourcery.com>
6284
6285 PR target/46040
6286 * config/arm/bpabi.h: Rename to...
6287 * config/arm/bpabi-lib.h: ...this.
6288
b595b1a1
RO
62892010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6290
6291 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
6292 appropriate.
6293 * configure: Regenerate.
6294
a3abe41c
NF
62952010-11-24 Nathan Froyd <froydnj@codesourcery.com>
6296
6297 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
6298 __FLOAT_WORD_ORDER__.
6299 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
6300 Delete.
6301
455c8f48
RW
63022010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6303
6304 PR other/46202
6305 * Makefile.in (install-strip): New phony target.
6306
f3824a8b
ILT
63072010-11-07 Ian Lance Taylor <iant@google.com>
6308
6309 PR target/46089
6310 * config/i386/morestack.S (__morestack_large_model): New
6311 function.
6312
18ed6ee4
NF
63132010-10-23 Nathan Froyd <froydnj@codesourcery.com>
6314
6315 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
6316 Delete.
6317 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
6318
8ac7fdcb
NF
63192010-10-14 Nathan Froyd <froydnj@codesourcery.com>
6320
6321 * config/arm/bpabi.h: New file.
6322 * config/frv/frv-abi.h: New file.
6323
cdb388c2
ILT
63242010-10-01 Ian Lance Taylor <iant@google.com>
6325
6326 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
6327 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
6328
ef7c141c
L
63292010-10-01 H.J. Lu <hongjiu.lu@intel.com>
6330
6331 PR target/45858
6332 * config.host: Add the missing `$'.
6333
80920132
ME
63342010-09-30 Michael Eager <eager@eagercon.com>
6335
6336 * config.host: Add microblaze*-*-*.
6337 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
6338 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
6339 udivsi3.asm,umodsi3.asm}: New.
6340
6dace308
ILT
63412010-09-28 Ian Lance Taylor <iant@google.com>
6342
6343 * configure.ac: Adjust CFI test to test assembler directly rather
6344 than checking gcc preprocessor macro.
6345 * configure: Rebuild.
6346
b6110d6d
ILT
63472010-09-27 Ian Lance Taylor <iant@google.com>
6348
6349 * configure.ac: Test whether assembler supports CFI directives.
6350 * config.host: Only add t-stack and i386/t-stack-i386 to
6351 tmake_file if libgcc_cv_cfi is "yes".
6352 * configure: Rebuild.
6353
7458026b
ILT
63542010-09-27 Ian Lance Taylor <iant@google.com>
6355
6356 * generic-morestack.h: New file.
6357 * generic-morestack.c: New file.
6358 * generic-morestack-thread.c: New file.
6359 * config/i386/morestack.S: New file.
6360 * config/t-stack: New file.
6361 * config/i386/t-stack-i386: New file.
6362 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
6363 i386/t-stack-i386 to tmake_file.
6364
5b50fc0c
IS
63652010-09-21 Iain Sandoe <iains@gcc.gnu.org>
6366
6367 * Makefile.in (libgcc-extra-parts): Check for static archives and
6368 invoke ranlib after installing them.
6369 (gcc-extra-parts): Likewise.
6370 (install-leaf): Likewise.
6371
b93cf342
L
63722010-09-14 H.J. Lu <hongjiu.lu@intel.com>
6373
6374 * configure: Regenerated.
6375
996b42ef
KT
63762010-09-10 Kai Tietz <kai.tietz@onevision.com>
6377
b93cf342 6378 * configure: Regenerated.
996b42ef 6379
be1c764e
GP
63802010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
6381 Andrew Pinski <pinskia@gmail.com>
6382
1da9434b 6383 PR target/40959
be1c764e
GP
6384 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
6385
cc0ae0ca
L
63862010-09-06 H.J. Lu <hongjiu.lu@intel.com>
6387
6388 PR target/45524
6389 * configure: Regenerated.
6390
84f47d20
AS
63912010-09-06 Andreas Schwab <schwab@redhat.com>
6392
6393 * configure: Regenerate.
6394
4159fb8d
UB
63952010-09-03 Uros Bizjak <ubizjak@gmail.com>
6396
6397 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
6398 64bit targets.
6399 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
6400 for 64bit targets.
6401
0df8fcc8
UB
64022010-09-03 Uros Bizjak <ubizjak@gmail.com>
6403 Iain Sandoe <iains@gcc.gnu.org>
6404
6405 PR target/45476
6406 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
6407 LIB2FUNCS_EXCLUDE functions.
6408
3c39bca6
AK
64092010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6410
6411 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
6412 Include dfp.m4.
6413 * configure: Regenerate.
6414
d78552bd
UB
64152010-09-01 Uros Bizjak <ubizjak@gmail.com>
6416
6417 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
6418 i386/t-freebsd to tmake_file.
6419 * config/i386/t-freebsd: New file.
6420 * config/i386/libgcc-bsd.ver: New file.
6421
c5b79d4e
NF
64222010-07-23 Nathan Froyd <froydnj@codesourcery.com>
6423
6424 * config.host (powerpc*-eabispe*): Set tmake_file.
6425 (powerpc*-eabi*): Likewise.
6426 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
6427 crtbeginS, crtendS, crtbeginT.
6428
48b09a92
KH
64292010-06-12 Kazu Hirata <kazu@codesourcery.com>
6430
6431 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
6432 to tmake_file. Add crtfastmath.o to extra_parts.
6433 * config/mips/t-crtfm: New.
6434
a4389204
JS
64352010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
6436
6437 * config.host (sparc64-*-rtems*): New target.
6438
ed104137
RO
64392010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6440
6441 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6442 assembler syntax.
6443
3f56ef8b
TS
64442010-04-15 Thomas Schwinge <tschwinge@gnu.org>
6445
6446 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
6447
8c200350
RO
64482010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6449
6450 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
6451 alpha-dec-osf5.0* support.
6452
80a61cb4 64532010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
6454
6455 * config.host: Add lm32-*-rtems*.
6456
f128db92
RO
64572010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6458 Uros Bizjak <ubizjak@gmail.com>
6459
6460 PR target/39048
6461 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
6462 like other remaining 32-bit x86 OSes.
6463 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6464 assembler syntax.
6465 * config/i386/libgcc-sol2.ver: New file.
6466 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
6467
368fabd5
JH
64682010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
6469
6470 PR c/43553
6471 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
6472 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
6473 is used and substitute set_use_emutls.
6474 * configure: Regenerated.
6475
15baf7f8
TG
64762010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
6477
6478 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
6479
7f5441df
RO
64802010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6481
6482 PR target/38085
6483 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
6484 MULTILIB_CFLAGS.
6485 ($(T)gcrt1.o): Likewise.
6486 ($(T)crt1.o): Likewise.
6487 ($(T)crti.o): Likewise.
6488 ($(T)crtn.o): Likewise.
6489
ef74edbd
RW
64902010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6491
6492 PR other/42980
6493 * Makefile.in (install): Use $(MAKE) string in rule, for
6494 parallel make.
6495
e7c914db
HPN
64962010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
6497
6498 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
6499 * config/mmix/t-mmix: New file.
6500 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
6501
1bcb71c4
JH
65022010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
6503
6504 PR java/41991
6505 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
6506 SHLIB_MAPFILES.
6507
e6e50811
AG
65082010-01-04 Anthony Green <green@moxielogic.com>
6509
6510 * config/moxie/crti.asm, config/moxie/crtn.asm,
6511 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
6512 config/moxie/t-moxie: New files.
6513 * config.host: Add t-moxie-softfp reference.
6514
ca8520ad
IS
65152009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
6516
6517 PR other/39888
6518 * config/t-slibgcc-darwin: Fix embedded rpaths for
6519 --enable-version-specific-runtime-libs, build extension stub
6520 libs exposing features available from current libgcc_s.
6521
aa4945c1
JB
65222009-11-11 Jon Beniston <jon@beniston.com>
6523
d78552bd
UB
6524 * config.host: Add lm32 targets.
6525 * config/lm32: New directory.
6526 * config/lm32/libgcc_lm32.h: New file.
6527 * config/lm32/_mulsi3.c: New file.
6528 * config/lm32/_udivmodsi4.c: New file.
6529 * config/lm32/_divsi3.c: New file.
6530 * config/lm32/_modsi3.c: New file.
6531 * config/lm32/_udivsi3.c: New file.
6532 * config/lm32/_umodsi3.c: New file.
6533 * config/lm32/_lshrsi3.S: New file.
6534 * config/lm32/_ashrsi3.S: New file.
6535 * config/lm32/_ashlsi3.S: New file.
6536 * config/lm32/crti.S: New file.
6537 * config/lm32/crtn.S: New file.
6538 * config/lm32/t-lm32: New file.
6539 * config/lm32/t-elf: New file.
6540 * config/lm32/t-uclinux: New file.
aa4945c1 6541
65a324b4
NC
65422009-10-26 Nick Clifton <nickc@redhat.com>
6543
6544 * config.host: Add support for RX target.
6545 * config/rx: New directory.
6546 * config/rx/rx-abi-functions.c: New file. Supplementary
6547 functions for libgcc to support the RX ABI.
6548 * config/rx/rx-abi.h: New file. Supplementary header file for
6549 libgcc RX ABI functions.
6550 * config/rx/t-rx: New file: Makefile fragment for building
6551 libgcc for the RX.
6552
dfb3b0e3
UB
65532009-10-09 Uros Bizjak <ubizjak@gmail.com>
6554
6555 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
6556 constraint of y0 to "g".
6557
81dd9fd7
AK
65582009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6559
6560 * config.host: Include the s390 makefile fragments.
6561 * config/s390/32/_fixdfdi.c: New file.
6562 * config/s390/32/_fixsfdi.c: New file.
6563 * config/s390/32/_fixtfdi.c: New file.
6564 * config/s390/32/_fixunsdfdi.c: New file.
6565 * config/s390/32/_fixunssfdi.c: New file.
6566 * config/s390/32/_fixunstfdi.c: New file.
6567 * config/s390/32/t-floattodi: New file.
6568 * config/s390/libgcc-glibc.ver: New file.
6569 * config/s390/t-crtstuff: New file.
6570 * config/s390/t-linux: New file.
6571 * config/s390/t-tpf: New file.
6572
df58e648
RW
65732009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6574
6575 * configure.ac (AC_PREREQ): Bump to 2.64.
6576
79052be3
KK
65772009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
6578
6579 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
6580
5213506e
RW
65812009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6582
6583 * configure: Regenerate.
6584
a9a25daa
DR
65852009-08-09 Douglas B Rupp <rupp@gnat.com>
6586
6587 * config.host (ia64-hp-*vms*): New target.
6588 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6589 with ia64-hp-*vms*.
6590
6efbd53f
RW
65912009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6592
6593 * configure.ac: Add snippet for maintainer-mode.
6594 * configure: Regenerate.
6595 * Makefile.in (AUTOCONF, configure_deps): New variables.
6596 ($(srcdir)/configure)): New rule, active only with maintainer
6597 mode turned on.
6598
7acf4da6
DD
65992009-06-23 DJ Delorie <dj@redhat.com>
6600
6601 Add MeP port.
6602 * config.host: Add mep support.
6603
54f549af
KT
66042009-06-22 Kai Tietz <kai.tietz@onevision.com>
6605
34481f28 6606 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 6607 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
6608
6609 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6610 for mingw targets.
54f549af
KT
6611 * config/i386/64/_multc3.c: Likewise.
6612 * config/i386/64/_powitf2.c: Likewise.
6613 * config/i386/64/eqtf2.c: Likewise.
6614 * config/i386/64/getf2.c: Likewise.
6615 * config/i386/64/letf2.c: Likewise.
6616 * config/i386/64/letf2.c: Likewise.
34481f28
UB
6617 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6618 unsigned long long for x64 mingw targets.
6619 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6620 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 6621
fea96e25
MR
66222009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
6623
6624 * config.host (vax-*-linux*): New.
6625
cceb575c
AG
66262009-05-31 Anthony Green <green@moxielogic.com>
6627
6628 * config.host: Add moxie support.
6629 * config/moxie/t-moxie: New file.
6630
e997fb9c
DB
66312009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6632
6633 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 6634 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 6635
532bfb0a
AJ
66362009-04-17 Aurelien Jarno <aurelien@aurel32.net>
6637
6638 * config.host: Add i386/${host_address}/t-fprules-softfp to
6639 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6640
748086b7
JJ
66412009-04-09 Nick Clifton <nickc@redhat.com>
6642
6643 * config/ia64/tf-signs.c: Change copyright header to refer to
6644 version 3 of the GNU General Public License with version 3.1
6645 of the GCC Runtime Library Exception and to point readers at
6646 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6647 web page.
6648 * config/i386/32/tf-signs.c: Likewise.
6649 * config/libbid/_addsub_dd.c: Likewise.
6650 * config/libbid/_addsub_sd.c: Likewise.
6651 * config/libbid/_addsub_td.c: Likewise.
6652 * config/libbid/_dd_to_df.c: Likewise.
6653 * config/libbid/_dd_to_di.c: Likewise.
6654 * config/libbid/_dd_to_sd.c: Likewise.
6655 * config/libbid/_dd_to_sf.c: Likewise.
6656 * config/libbid/_dd_to_si.c: Likewise.
6657 * config/libbid/_dd_to_td.c: Likewise.
6658 * config/libbid/_dd_to_tf.c: Likewise.
6659 * config/libbid/_dd_to_udi.c: Likewise.
6660 * config/libbid/_dd_to_usi.c: Likewise.
6661 * config/libbid/_dd_to_xf.c: Likewise.
6662 * config/libbid/_df_to_dd.c: Likewise.
6663 * config/libbid/_df_to_sd.c: Likewise.
6664 * config/libbid/_df_to_td.c: Likewise.
6665 * config/libbid/_di_to_dd.c: Likewise.
6666 * config/libbid/_di_to_sd.c: Likewise.
6667 * config/libbid/_di_to_td.c: Likewise.
6668 * config/libbid/_div_dd.c: Likewise.
6669 * config/libbid/_div_sd.c: Likewise.
6670 * config/libbid/_div_td.c: Likewise.
6671 * config/libbid/_eq_dd.c: Likewise.
6672 * config/libbid/_eq_sd.c: Likewise.
6673 * config/libbid/_eq_td.c: Likewise.
6674 * config/libbid/_ge_dd.c: Likewise.
6675 * config/libbid/_ge_sd.c: Likewise.
6676 * config/libbid/_ge_td.c: Likewise.
6677 * config/libbid/_gt_dd.c: Likewise.
6678 * config/libbid/_gt_sd.c: Likewise.
6679 * config/libbid/_gt_td.c: Likewise.
6680 * config/libbid/_isinfd128.c: Likewise.
6681 * config/libbid/_isinfd32.c: Likewise.
6682 * config/libbid/_isinfd64.c: Likewise.
6683 * config/libbid/_le_dd.c: Likewise.
6684 * config/libbid/_le_sd.c: Likewise.
6685 * config/libbid/_le_td.c: Likewise.
6686 * config/libbid/_lt_dd.c: Likewise.
6687 * config/libbid/_lt_sd.c: Likewise.
6688 * config/libbid/_lt_td.c: Likewise.
6689 * config/libbid/_mul_dd.c: Likewise.
6690 * config/libbid/_mul_sd.c: Likewise.
6691 * config/libbid/_mul_td.c: Likewise.
6692 * config/libbid/_ne_dd.c: Likewise.
6693 * config/libbid/_ne_sd.c: Likewise.
6694 * config/libbid/_ne_td.c: Likewise.
6695 * config/libbid/_sd_to_dd.c: Likewise.
6696 * config/libbid/_sd_to_df.c: Likewise.
6697 * config/libbid/_sd_to_di.c: Likewise.
6698 * config/libbid/_sd_to_sf.c: Likewise.
6699 * config/libbid/_sd_to_si.c: Likewise.
6700 * config/libbid/_sd_to_td.c: Likewise.
6701 * config/libbid/_sd_to_tf.c: Likewise.
6702 * config/libbid/_sd_to_udi.c: Likewise.
6703 * config/libbid/_sd_to_usi.c: Likewise.
6704 * config/libbid/_sd_to_xf.c: Likewise.
6705 * config/libbid/_sf_to_dd.c: Likewise.
6706 * config/libbid/_sf_to_sd.c: Likewise.
6707 * config/libbid/_sf_to_td.c: Likewise.
6708 * config/libbid/_si_to_dd.c: Likewise.
6709 * config/libbid/_si_to_sd.c: Likewise.
6710 * config/libbid/_si_to_td.c: Likewise.
6711 * config/libbid/_td_to_dd.c: Likewise.
6712 * config/libbid/_td_to_df.c: Likewise.
6713 * config/libbid/_td_to_di.c: Likewise.
6714 * config/libbid/_td_to_sd.c: Likewise.
6715 * config/libbid/_td_to_sf.c: Likewise.
6716 * config/libbid/_td_to_si.c: Likewise.
6717 * config/libbid/_td_to_tf.c: Likewise.
6718 * config/libbid/_td_to_udi.c: Likewise.
6719 * config/libbid/_td_to_usi.c: Likewise.
6720 * config/libbid/_td_to_xf.c: Likewise.
6721 * config/libbid/_tf_to_dd.c: Likewise.
6722 * config/libbid/_tf_to_sd.c: Likewise.
6723 * config/libbid/_tf_to_td.c: Likewise.
6724 * config/libbid/_udi_to_dd.c: Likewise.
6725 * config/libbid/_udi_to_sd.c: Likewise.
6726 * config/libbid/_udi_to_td.c: Likewise.
6727 * config/libbid/_unord_dd.c: Likewise.
6728 * config/libbid/_unord_sd.c: Likewise.
6729 * config/libbid/_unord_td.c: Likewise.
6730 * config/libbid/_usi_to_dd.c: Likewise.
6731 * config/libbid/_usi_to_sd.c: Likewise.
6732 * config/libbid/_usi_to_td.c: Likewise.
6733 * config/libbid/_xf_to_dd.c: Likewise.
6734 * config/libbid/_xf_to_sd.c: Likewise.
6735 * config/libbid/_xf_to_td.c: Likewise.
6736 * config/libbid/bid128.c: Likewise.
6737 * config/libbid/bid128_2_str.h: Likewise.
6738 * config/libbid/bid128_2_str_macros.h: Likewise.
6739 * config/libbid/bid128_2_str_tables.c: Likewise.
6740 * config/libbid/bid128_add.c: Likewise.
6741 * config/libbid/bid128_compare.c: Likewise.
6742 * config/libbid/bid128_div.c: Likewise.
6743 * config/libbid/bid128_fma.c: Likewise.
6744 * config/libbid/bid128_logb.c: Likewise.
6745 * config/libbid/bid128_minmax.c: Likewise.
6746 * config/libbid/bid128_mul.c: Likewise.
6747 * config/libbid/bid128_next.c: Likewise.
6748 * config/libbid/bid128_noncomp.c: Likewise.
6749 * config/libbid/bid128_quantize.c: Likewise.
6750 * config/libbid/bid128_rem.c: Likewise.
6751 * config/libbid/bid128_round_integral.c: Likewise.
6752 * config/libbid/bid128_scalb.c: Likewise.
6753 * config/libbid/bid128_sqrt.c: Likewise.
6754 * config/libbid/bid128_string.c: Likewise.
6755 * config/libbid/bid128_to_int16.c: Likewise.
6756 * config/libbid/bid128_to_int32.c: Likewise.
6757 * config/libbid/bid128_to_int64.c: Likewise.
6758 * config/libbid/bid128_to_int8.c: Likewise.
6759 * config/libbid/bid128_to_uint16.c: Likewise.
6760 * config/libbid/bid128_to_uint32.c: Likewise.
6761 * config/libbid/bid128_to_uint64.c: Likewise.
6762 * config/libbid/bid128_to_uint8.c: Likewise.
6763 * config/libbid/bid32_to_bid128.c: Likewise.
6764 * config/libbid/bid32_to_bid64.c: Likewise.
6765 * config/libbid/bid64_add.c: Likewise.
6766 * config/libbid/bid64_compare.c: Likewise.
6767 * config/libbid/bid64_div.c: Likewise.
6768 * config/libbid/bid64_fma.c: Likewise.
6769 * config/libbid/bid64_logb.c: Likewise.
6770 * config/libbid/bid64_minmax.c: Likewise.
6771 * config/libbid/bid64_mul.c: Likewise.
6772 * config/libbid/bid64_next.c: Likewise.
6773 * config/libbid/bid64_noncomp.c: Likewise.
6774 * config/libbid/bid64_quantize.c: Likewise.
6775 * config/libbid/bid64_rem.c: Likewise.
6776 * config/libbid/bid64_round_integral.c: Likewise.
6777 * config/libbid/bid64_scalb.c: Likewise.
6778 * config/libbid/bid64_sqrt.c: Likewise.
6779 * config/libbid/bid64_string.c: Likewise.
6780 * config/libbid/bid64_to_bid128.c: Likewise.
6781 * config/libbid/bid64_to_int16.c: Likewise.
6782 * config/libbid/bid64_to_int32.c: Likewise.
6783 * config/libbid/bid64_to_int64.c: Likewise.
6784 * config/libbid/bid64_to_int8.c: Likewise.
6785 * config/libbid/bid64_to_uint16.c: Likewise.
6786 * config/libbid/bid64_to_uint32.c: Likewise.
6787 * config/libbid/bid64_to_uint64.c: Likewise.
6788 * config/libbid/bid64_to_uint8.c: Likewise.
6789 * config/libbid/bid_b2d.h: Likewise.
6790 * config/libbid/bid_binarydecimal.c: Likewise.
6791 * config/libbid/bid_conf.h: Likewise.
6792 * config/libbid/bid_convert_data.c: Likewise.
6793 * config/libbid/bid_decimal_data.c: Likewise.
6794 * config/libbid/bid_decimal_globals.c: Likewise.
6795 * config/libbid/bid_div_macros.h: Likewise.
6796 * config/libbid/bid_dpd.c: Likewise.
6797 * config/libbid/bid_flag_operations.c: Likewise.
6798 * config/libbid/bid_from_int.c: Likewise.
6799 * config/libbid/bid_functions.h: Likewise.
6800 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6801 * config/libbid/bid_inline_add.h: Likewise.
6802 * config/libbid/bid_internal.h: Likewise.
6803 * config/libbid/bid_round.c: Likewise.
6804 * config/libbid/bid_sqrt_macros.h: Likewise.
6805
68062009-04-09 Jakub Jelinek <jakub@redhat.com>
6807
6808 * Makefile.in: Change copyright header to refer to version
6809 3 of the GNU General Public License and to point readers at the
6810 COPYING3 file and the FSF's license web page.
6811 * config.host: Likewise.
6812
633dd061
AM
68132009-04-07 Alan Modra <amodra@bigpond.net.au>
6814
6815 * config.host: Reorder and merge to match config.gcc change.
6816
457d1d00
AM
68172009-04-03 Alan Modra <amodra@bigpond.net.au>
6818
6819 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6820
52c0e446
JM
68212009-03-28 Joseph Myers <joseph@codesourcery.com>
6822
6823 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6824 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6825 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6826 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6827
ba181049
UB
68282009-02-12 Uros Bizjak <ubizjak@gmail.com>
6829
6830 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6831 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6832
c252db20
L
68332009-02-12 H.J. Lu <hongjiu.lu@intel.com>
6834
ba181049
UB
6835 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6836 ia64/t-softfp-compat to tmake_file.
c252db20
L
6837
6838 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6839
6840 * config/ia64/__divxf3.asm: New.
6841 * config/ia64/_fixtfdi.asm: Likewise.
6842 * config/ia64/_fixunstfdi.asm: Likewise.
6843 * config/ia64/_floatditf.asm: Likewise.
6844 * config/ia64/t-fprules-softfp: Likewise.
6845 * config/ia64/t-softfp-compat: Likewise.
6846 * config/ia64/tf-signs.c: Likewise.
6847
c60535f9
BE
68482009-01-18 Ben Elliston <bje@au.ibm.com>
6849
6850 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6851
ce16861e
BE
68522009-01-16 Ben Elliston <bje@au.ibm.com>
6853
6854 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6855 to tmake_file.
6856
bcf4713b
BE
68572009-01-13 Ben Elliston <bje@au.ibm.com>
6858
6859 * config/t-softfp: New file.
6860 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6861 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6862
2042cb04
JS
68632009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
6864
6865 * config.host: Add m32r*-*-rtems*.
6866
541ed00e
JS
68672008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
6868
6869 * config.host: Add m32c*-*-rtems*.
6870
19523300
RO
68712008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6872
6873 PR bootstrap/33100
6874 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6875 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6876 * configure: Regenerate.
6877 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6878 tmake_file here from gcc/config.gcc.
6879 Move extra_parts here from gcc/config.gcc.
6880 * config/i386/t-sol2: Move here from gcc/config/i386.
6881 Use gcc_srcdir instead of srcdir.
6882
0a4a51c7
AN
68832008-11-18 Adam Nemet <anemet@caviumnetworks.com>
6884
6885 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6886 case.
6887
2a761e46
TS
68882008-11-09 Thomas Schwinge <tschwinge@gnu.org>
6889
6890 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6891
c0451df7
TS
68922008-10-08 Thomas Schwinge <tschwinge@gnu.org>
6893
6894 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6895
358da97e
HS
68962008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
6897
6898 Add picoChip port.
6899 * config.host: Add picochip-*-*.
6900
c660f132
BW
69012008-08-06 Bob Wilson <bob.wilson@acm.org>
6902
6903 * config.host: Match more processor names for Xtensa.
6904
d1349557
L
69052008-07-08 H.J. Lu <hongjiu.lu@intel.com>
6906
6907 * config/i386/64/t-softfp-compat: Update comments.
6908
dd7b73c0
L
69092008-07-07 H.J. Lu <hongjiu.lu@intel.com>
6910
6911 * config/i386/64/_divtc3-compat.c: Moved to ...
6912 * config/i386/64/_divtc3.c: Here.
6913
6914 * config/i386/64/_multc3-compat.c: Moved to ...
6915 * config/i386/64/_multc3.c: Here.
6916
6917 * config/i386/64/_powitf2-compat.c: Moved to ...
6918 * config/i386/64/_powitf2.c: Here.
6919
6920 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6921 .c suffix instead of -compat.c.
6922
6e1fab3d
UB
69232008-07-05 Uros Bizjak <ubizjak@gmail.com>
6924
6925 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6926 (_FP_MUL_MEAT_D): Ditto.
6927 (_FP_DIV_MEAT_S): Ditto.
6928 (_FP_DIV_MEAT_D): Ditto.
6929
f92518d7
RS
69302008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
6931
6932 * Makefile.in: Add support for __sync_* libgcc functions.
6933
d0aede14
L
69342008-07-03 H.J. Lu <hongjiu.lu@intel.com>
6935
6936 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6937
c174f11c
L
69382008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6939
6940 PR boostrap/36702
6941 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6942 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
6943
6944 * config/i386/64/t-fprules-softfp: Moved to ...
6945 * config/i386/64/t-softfp-compat: This. New.
6946
5f464fa2
UB
69472008-07-02 Uros Bizjak <ubizjak@gmail.com>
6948
6949 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6950 Initialize f with 0.0.
6951
ff473280
L
69522008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6953
6954 PR target/36669
6955 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6956
6957 * config/i386/64/_divtc3-compat.c: New.
6958 * config/i386/64/_multc3-compat.c: Likewise.
6959 * config/i386/64/_powitf2-compat.c: Likewise.
6960 * config/i386/64/eqtf2.c: Likewise.
6961 * config/i386/64/getf2.c: Likewise.
6962 * config/i386/64/letf2.c: Likewise.
6963 * config/i386/64/t-fprules-softfp: Likewise.
6964
69652008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6966
6967 * config.host: Add i386/${host_address}/t-fprules-softfp to
6968 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 6969 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
6970
6971 * configure.ac: Set host_address to 64 or 32 for x86.
6972 * configure: Regenerated.
6973
6974 * Makefile.in (config.status): Also depend on
6975 $(srcdir)/config.host.
6976
6977 * config/i386/32/t-fprules-softfp: New.
6978 * config/i386/32/tf-signs.c: Likewise.
6979
6980 * config/i386/64/sfp-machine.h: New. Moved from gcc.
6981
69822008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6983 Uros Bizjak <ubizjak@gmail.com>
6984
6985 * config/i386/32/sfp-machine.h: New.
6986
30551d99
NF
69872008-06-26 Nathan Froyd <froydnj@codesourcery.com>
6988
6989 * config/rs6000/t-ppccomm: Remove rules that conflict with
6990 auto-generated rules.
6991
18c04407
RW
69922008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6993
6994 * configure.ac: sinclude override.m4.
6995 * configure: Regenerate.
6996
10fbe77a
BRF
69972008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
6998
6999 * configure: Regenerate.
7000
bc6d4c3f
JM
70012008-06-10 Joseph Myers <joseph@codesourcery.com>
7002
7003 * Makefile.in (DECNUMINC): Remove
7004 -I$(MULTIBUILDTOP)../../libdecnumber.
7005 * gstdint.h: New.
7006
cd985f66
JM
70072008-06-07 Joseph Myers <joseph@codesourcery.com>
7008
7009 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7010 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7011 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7012 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7013 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7014 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7015 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7016 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7017 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7018 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7019 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7020 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7021 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7022 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7023
93fea8d3
AL
70242008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
7025
7026 * config.host (sh2[lbe]*-*-linux*): Allow target.
7027
18724e30
NF
70282008-04-30 Nathan Froyd <froydnj@codesourcery.com>
7029
7030 * config/rs6000/t-ppccomm: Add build rules for new files.
7031 (LIB2ADD_ST): New variable.
7032
47583040
AH
70332008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
7034
7035 PR target/34210
7036 PR target/35508
7037 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7038 * config/t-avr: New file. Build 16bit libgcc functions.
7039
cf8e67fe
JJ
70402008-03-02 Jakub Jelinek <jakub@redhat.com>
7041
7042 PR target/35401
7043 * config/t-slibgcc-darwin: Make install-leaf dependent on
7044 install-darwin-libgcc-stubs instead of install.
7045
8d8da227
JM
70462008-01-25 Joseph Myers <joseph@codesourcery.com>
7047
7048 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7049 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7050 sh-*-rtemscoff*): Remove cases.
7051
edbf8b16
RS
70522007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
7053
7054 * Makefile.in (all): Use install-leaf rather than install.
7055 (install): Split most of the rule into...
7056 (install-leaf): ...this new one.
7057
89deeaff
EK
70582007-12-19 Etsushi Kato <ek.kato@gmail.com>
7059 Paolo Bonzini <bonzini@gnu.org>
7060
7061 PR target/30572
5f464fa2
UB
7062 * Makefile.in: Use @shlib_slibdir@ substitution to get
7063 correct install name on darwin.
89deeaff 7064 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 7065
4081d704
HPN
70662007-12-15 Hans-Peter Nilsson <hp@axis.com>
7067
7068 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
7069 cris-*-elf and cris-*-none.
7070 (crisv32-*-linux*): Similar, as cris-*-linux*.
7071
f43e89a3
RIL
70722007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
7073
7074 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
7075
b4e9c2c6
L
70762007-10-27 H.J. Lu <hongjiu.lu@intel.com>
7077
7078 PR regression/33926
7079 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
7080 * configure: Regenerated.
7081
b2a00c89
L
70822007-09-27 H.J. Lu <hongjiu.lu@intel.com>
7083
7084 * Makefile.in (dfp-filenames): Replace decimal_globals,
7085 decimal_data, binarydecimal and convert_data with
7086 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
7087 and bid_convert_data, respectively.
7088
8d2a9e0e
CF
70892007-09-17 Chao-ying Fu <fu@mips.com>
7090 Nigel Stephens <nigel@mips.com>
7091
7092 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
7093 * Makefile.in (fixed_point): Define.
7094 Check if fixed_point is yes to build support functions.
7095 * configure.ac: Check for fixed_point support.
7096 * configure: Regenerated.
7097 * gen-fixed.sh: New file to generate lists of fixed-point labels,
7098 funcs, modes, from, to.
7099
2b53935d
JJ
71002007-09-11 Janis Johnson <janis187@us.ibm.com
7101
7102 * Makefile.in (dfp-filenames): Add bid128_noncomp.
7103
2533577f
JJ
71042007-09-10 Janis Johnson <janis187@us.ibm.com>
7105
7106 * Makefile.in (dfp-filenames): Remove decUtility, add
7107 decDouble, decPacked, decQuad, decSingle.
7108
3ae3dbd6
HK
71092007-08-27 Hans Kester <hans.kester@ellips.nl>
7110
7111 * config.host : Add x86_64-elf target.
7112
22867d02
L
71132007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7114
7115 * configure.ac (set_have_cc_tls): Add a missing =.
7116 * configure: Regenerated.
7117
6f461e76
L
71182007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7119
7120 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
7121 and x86_64-*-linux*.
7122
7123 * config/t-tls: New file.
7124
dfb3b0e3 7125 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
7126
7127 * configure.ac: Include ../config/enable.m4 and
7128 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
7129 supports TLS and substitute set_have_cc_tls.
7130 * configure: Regenerated.
7131
200359e8
L
71322007-07-04 H.J. Lu <hongjiu.lu@intel.com>
7133
7134 * Makefile.in: Use libbid for DFP when BID is enabled.
7135
76f5e200
DS
71362007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
7137
7138 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 7139 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
7140 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
7141
9bd196f0 71422007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 7143 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
7144
7145 PR target/29498
7146 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
7147 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
7148 * config/i386/t-crtfm: Compile crtfastmath.o with
7149 -minline-all-stringops.
7150
1910440e
RS
71512007-05-10 Richard Sandiford <richard@codesourcery.com>
7152
7153 * config.host (sparc-wrs-vxworks): New target.
7154
7d33c31d
KH
71552007-04-14 Kazu Hirata <kazu@codesourcery.com>
7156
7157 * config.host: Recognize fido.
7158
96fccd0d
JJ
71592007-04-04 Janis Johnson <janis187@us.ibm.com>
7160
7161 * configure: Check host, not target, for decimal float support.
7162
577565f9
UB
71632007-04-03 Uros Bizjak <ubizjak@gmail.com>
7164
7165 * config/i386/t-crtpc: New file.
7166 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 7167 (x86_64-*-linux*): Ditto.
577565f9 7168
ccf8e764
RH
71692007-02-30 Kai Tietz <kai.tietz@onevision.com>
7170
7171 * config.host (x86_64-*-mingw*): New target.
7172
79b87c74
MM
71732007-03-23 Michael Meissner <michael.meissner@amd.com>
7174 H.J. Lu <hongjiu.lu@intel.com>
7175
7176 * Makefile.in (enable_decimal_float): New.
7177 (DECNUMINC): Add
7178 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
7179 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
7180 (decbits-filenames): This.
7181 (decbits-objects): New.
7182 (libgcc-objects): Add $(decbits-objects).
7183
7184 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
7185 Substitute enable_decimal_float.
7186 * configure: Regenerated.
7187
8fce4e31
HPN
71882007-03-19 Hans-Peter Nilsson <hp@axis.com>
7189
7190 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
7191
e8bb4597
BM
71922007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
7193
7194 * Makefile.in (install-info): New dummy target.
7195
344189f9
BS
71962007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
7197
7198 * config.host (bfin*-linux-uclibc*): Set extra_parts.
7199
ac84c172
BM
72002007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
7201
7202 * Makefile.in: Add install-html and install-pdf dummy
7203 targets.
7204
cd5c2357
RS
72052007-02-05 Roger Sayle <roger@eyesopen.com>
7206 Daniel Jacobowitz <dan@codesourcery.com>
7207
7208 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
7209 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
7210 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
7211
d9a66f98
JJ
72122007-01-29 Janis Johnson <janis187@us.ibm.com>
7213
7214 * Makefile.in (dec-filenames): Add decExcept.
7215
9891ec5f
DJ
72162007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7217
7218 PR bootstrap/30469
7219 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
7220 -fprofile-use.
7221
d6efbf5a
DJ
72222007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
7223
7224 * configure.ac: Add --enable-version-specific-runtime-libs.
7225 Correct $slibdir default.
7226 * configure: Regenerated.
7227
17caeff2
JM
72282007-01-23 Joseph Myers <joseph@codesourcery.com>
7229
7230 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
7231
5ea41e3a
AP
72322007-01-21 Andrew Pinski <pinskia@gmail.com>
7233
7234 PR target/30519
7235 * config.host (alpha*-*-linux*): Set extra_parts.
7236
26900826
KK
72372007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
7238
7239 * config/sh/t-linux: New.
7240 * config.host (sh*-*-linux*): Set tmake_file.
7241
97af925b
DJ
72422007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
7243
7244 * Makefile.in (install): Handle multilibs.
7245
b0088af7
BM
72462007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
7247
7248 * Makefile.in: Added .PHONY entry for documentation targets.
7249
e0a9456a
BM
72502007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
7251
7252 * Makefile.in: Add empty info, html, dvi, pdf targets.
7253
7fd453b4
MS
72542007-01-04 Mike Stump <mrs@apple.com>
7255
7256 * Makefile.in (MAKEINFO): Remove.
7257 (PERL): Likewise.
7258
14e8fc8b
PB
72592007-01-04 Paolo Bonzini <bonzini@gnu.org>
7260
7261 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
7262 * configure: Regenerate.
7263 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 7264 (gcc_objdir): Use it.
14e8fc8b 7265
1555beba
DJ
72662007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7267
7268 * config.host (ia64*-*-linux*): Set tmake_file.
7269
79e6eaeb
DJ
72702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7271
7272 * Makefile.in (version): Define.
7273
fa958513
DJ
72742007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7275 Paolo Bonzini <bonzini@gnu.org>
7276
7277 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
7278 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
7279 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
7280 config/sparc/t-crtfm, config/t-slibgcc-darwin,
7281 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
7282 shared-object.mk, siditi-object.mk, static-object.mk: New files.
7283 * configure: Generated.