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