sse.md (round<mode>2_sfix): New expander.
[gcc.git] / libgcc / ChangeLog
1 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2
3 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
4 tmake_file list.
5 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6 * config/pa/t-stublib64: Delete.
7
8 2011-11-12 Richard Henderson <rth@redhat.com>
9
10 * config/rs6000/linux-unwind.h (frob_update_context): Properly
11 cast the pointer argument to _Unwind_SetGRPtr.
12
13 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
14
15 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
16
17 2011-11-09 Ian Lance Taylor <iant@google.com>
18
19 * generic-morestack.c: Include <string.h>.
20 (uintptr_type): Define.
21 (struct initial_sp): Add dont_block_signals field. Reduce size of
22 extra array by 1.
23 (allocate_segment): Set prev field to NULL. Don't set
24 __morestack_current_segment or __morestack_segments.
25 (__generic_morestack): Update current->prev and *pp after calling
26 allocate_segment.
27 (__morestack_block_signals): Don't do anything if
28 dont_block_signals is set.
29 (__morestack_unblock_signals): Likewise.
30 (__generic_findstack): Check for initial_sp == NULL. Add casts to
31 uintptr_type.
32 (__splitstack_block_signals): New function.
33 (enum __splitstack_content_offsets): Define.
34 (__splitstack_getcontext, __splitstack_setcontext): New functions.
35 (__splitstack_makecontext): New function.
36 (__splitstack_block_signals_context): New function.
37 (__splitstack_find_context): New function.
38 * config/i386/morestack.S (__morestack_get_guard): New function.
39 (__morestack_set_guard, __morestack_make_guard): New functions.
40 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
41
42 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
43
44 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
45 (i[34567]86-*-mingw*): ... here.
46 (x86_64-*-mingw*): ... here.
47
48 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
49
50 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
51
52 2011-11-07 Nathan Sidwell <nathan@acm.org>
53
54 * libgcov.c (struct gcov_fn_buffer): New struct.
55 (buffer_fn_data): New helper.
56 (gcov_exit): Rework for new gcov data structures.
57
58 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
59
60 PR target/49313
61 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
62
63 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
64
65 * config.host (tmake_file): Correct comment.
66 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
67 t-libgcc-pic.
68 (bfin*-uclinux*): Likewise.
69 (bfin*-linux-uclibc*): Likewise.
70 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
71
72 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
73 assigning.
74 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
75 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
76 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
77 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
78 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
79 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
80 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
81 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
82 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
83 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
84 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
85 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
86 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
87
88 * config/bfin/t-elf: Remove.
89 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
90
91 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92
93 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
94 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
95 (lm32-*-elf*, lm32-*-rtems*): Split into ...
96 (lm32-*-elf*): ... this.
97 (lm32-*-rtems*): ... and this.
98 Add to tmake_file.
99 (m32r-*-rtems*): Add to tmake_file.
100 (moxie-*-rtems*): Likewise.
101 (sparc-*-rtems*): Likewise.
102 Remove t-rtems from tmake_file.
103 (sparc64-*-rtems*): Likewise.
104 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
105 instead.
106
107 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
108
109 PR bootstrap/50982
110 * config/gthr-posix.h: Move ...
111 * gthr-posix.h: ... here.
112 * config/gthr-lynx.h: Reflect this.
113 * config/gthr-vxworks.h: Likewise.
114 * config/rs6000/gthr-aix.h: Likewise.
115 * configure.ac (target_thread_file): Likewise.
116 * configure: Regenerate.
117
118 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
119
120 * config.host (arm*-*-rtemseabi*): New target.
121
122 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
123
124 PR other/50991
125 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
126 extra-parts.
127
128 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
129
130 * config.host (epiphany-*-elf*): New configuration.
131 * config/epiphany: New Directory.
132
133 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
134
135 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
136 * config/avr/t-rtems: New.
137 Filter out _exit from LIB1ASMFUNCS.
138
139 2011-11-04 David S. Miller <davem@davemloft.net>
140
141 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
142 * configure: Rebuild.
143
144 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
145
146 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
147 variable.
148
149 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
150
151 PR target/50931
152 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
153 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
154
155 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
156
157 PR target/50989
158 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
159
160 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
161
162 * config/c6x/t-elf (LIB2ADDEH): Set.
163 * config/c6x/t-c6x-elf: Remove.
164
165 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
166
167 * config/i386/sol2-ci.S: Rename to ...
168 * config/i386/crti.S: ... this.
169 * config/i386/sol2-cn.S: Rename to ...
170 * config/i386/crtn.S: ... this.
171 * config/sparc/sol2-ci.S: Rename to ...
172 * config/sparc/crti.S: ... this.
173 * config/sparc/sol2-cn.S: Rename to ...
174 * config/sparc/crtn.S: ... this.
175 * config/t-sol2 (CUSTOM_CRTIN): Remove.
176 (crti.o, crtn.o): Remove.
177
178 2011-11-04 Tristan Gingold <gingold@adacore.com>
179
180 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
181
182 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
183
184 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
185
186 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
187
188 * config.host (crisv32-*-none, cris-*-none): Remove.
189 (crisv32-*-elf): Append to tmake_file, don't just set it.
190 (cris-*-elf): Add missing t-fdpbit to tmake_file.
191
192 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
193
194 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
195 (ecrtn$(objext)): Likewise.
196 (ncrti$(objext)): Likewise.
197 (ncrtn$(objext)): Likewise.
198
199 2011-11-03 Andreas Schwab <schwab@redhat.com>
200
201 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
202
203 2011-11-02 David S. Miller <davem@davemloft.net>
204
205 * configure.ac: Set host_address on sparc too.
206 * configure: Regenerate.
207 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
208 based upon host_address.
209 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
210
211 2011-11-02 Jason Merrill <jason@redhat.com>
212
213 * config/rs6000/t-ppccomm: Add missing \.
214
215 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
216
217 * gthr-single.h, gthr.h: New files.
218 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
219 config/gthr-vxworks.h, config/i386/gthr-win32.h,
220 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
221 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
222 * config/i386/gthr-win32.c: Include "gthr-win32.h".
223 * configure.ac (thread_header): New variable.
224 Set it depending on target_thread_file.
225 (gthr-default.h): Link from $thread_header.
226 * configure: Regenerate.
227 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
228
229 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
230
231 * configure.ac (tm_file_): New variable.
232 Determine from tm_file.
233 (tm_file, tm_defines): Substitute.
234 * configure: Regenerate.
235 * mkheader.sh: New file.
236 * Makefile.in (clean): Remove libgcc_tm.h.
237 ($(objects)): Depend on libgcc_tm.h.
238 (libgcc_tm_defines, libgcc_tm_file): New variables.
239 (libgcc_tm.h, libgcc_tm.stamp): New targets.
240 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
241 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
242 ($(extra-parts)): Depend on libgcc_tm.h.
243 * config.host (tm_defines, tm_file): New variable.
244 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
245 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
246 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
247 (avr-*-rtems*): Likewise.
248 (avr-*-*): Likewise.
249 (frv-*-elf): Likewise.
250 (frv-*-*linux*): Likewise.
251 (h8300-*-rtems*): Likewise.
252 (h8300-*-elf*): Likewise.
253 (i[34567]86-*-darwin*): Likewise.
254 (x86_64-*-darwin*): Likewise.
255 (rx-*-elf): Likewise.
256 (tic6x-*-uclinux): Likewise.
257 (tic6x-*-elf): Likewise.
258 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
259 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
260 * config/i386/cygming-crtbegin.c: Likewise.
261 * config/i386/cygming-crtend.c: Likewise.
262 * config/ia64/fde-vms.c: Likewise.
263 * config/ia64/unwind-ia64.c: Likewise.
264 * config/libbid/bid_gcc_intrinsics.h: Likewise.
265 * config/rs6000/darwin-fallback.c: Likewise.
266 * config/stormy16/lib2funcs.c: Likewise.
267 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
268 * crtstuff.c: Likewise.
269 * dfp-bit.h: Likewise.
270 * emutls.c: Likewise.
271 * fixed-bit.c: Likewise.
272 * fp-bit.c: Likewise.
273 * generic-morestack-thread.c: Likewise.
274 * generic-morestack.c: Likewise.
275 * libgcc2.c: Likewise.
276 * libgcov.c: Likewise.
277 * unwind-dw2-fde-dip.c: Likewise.
278 * unwind-dw2-fde.c: Likewise.
279 * unwind-dw2.c: Likewise.
280 * unwind-sjlj.c: Likewise.
281
282 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
283
284 * configure.ac: Include ../config/picflag.m4.
285 (GCC_PICFLAG): Call it.
286 Substitute.
287 * configure: Regenerate.
288 * Makefile.in (gcc_srcdir): Remove.
289 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
290 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
291 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
292 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
293 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
294 Use $<.
295 Remove comment.
296 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
297 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
298 to refer to libgcc2.c.
299 Use $<.
300 * config/darwin-64.c: New file.
301 * config/darwin-crt3.c: Remove comment.
302 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
303 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
304 config/udivmodsi4.c: New files.
305 * config/memcmp.c, config/memcpy.c, config/memmove.c,
306 config/memset.c: New files.
307 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
308 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
309 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
310 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
311 * config/t-openbsd-thread: New file.
312 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
313 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
314 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
315 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
316 qrnnd.S.
317 Adapt filename.
318 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
319 to refer to gthr-posix.c.
320 * config/alpha/t-vms (LIB2ADD): Set.
321 * config/alpha/vms-gcc_shell_handler.c: New file.
322 * config/arm/bpabi.c, config/arm/fp16.c,
323 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
324 config/arm/unaligned-funcs.c: New files.
325 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
326 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
327 * config/arm/t-linux: Likewise.
328 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
329 * config/arm/t-netbsd: New file.
330 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
331 * config/arm/t-symbian (LIB2ADD_ST): Set.
332 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
333 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
334 * config/bfin/t-elf: New file.
335 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
336 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
337 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
338 config/c6x/ltf.c: New files.
339 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
340 (HOST_LIBGCC2_CFLAGS): Set.
341 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
342 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
343 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
344 New files.
345 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
346 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
347 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
348 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
349 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
350 files.
351 * config/frv/t-frv (LIB2ADD): Set.
352 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
353 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
354 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
355 config/h8300/popcounthi2.c: New files.
356 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
357 * config/i386/gthr-win32.c: New file.
358 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
359 * config/i386/t-cygwin: Likewise.
360 * config/i386/t-darwin, config/i386/t-darwin64,
361 config/i386/t-gthr-win32, config/i386/t-interix: New files.
362 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
363 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
364 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
365 * config/ia64/quadlib.c: New file.
366 * config/ia64/t-hpux (LIB2ADD): Set.
367 * config/ia64/t-ia64: Add comment.
368 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
369 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
370 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
371 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
372 * config/m32c/t-m32c (LIB2ADD): Set.
373 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
374 * config/m32r/t-m32r: Likewise.
375 * config/m68k/fpgnulib.c: New file.
376 * config/m68k/t-floatlib (LIB2ADD): Set.
377 (xfgnulib.c): New target.
378 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
379 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
380 * config/mep/t-mep (LIB2ADD): Set.
381 * config/microblaze/divsi3.asm: Rename to divsi3.S.
382 * config/microblaze/moddi3.asm: Rename to moddi3.S.
383 * config/microblaze/modsi3.asm: Rename to modsi3.S.
384 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
385 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
386 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
387 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
388 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
389 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
390 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
391 New files.
392 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
393 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
394 * config/pa/fptr.c, config/pa/lib2funcs.S,
395 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
396 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
397 (LIB2ADD, LIB2ADD_ST): Set.
398 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
399 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
400 Set.
401 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
402 * config/pdp11/t-pdp11: New file.
403 * config/picochip/libgccExtras/adddi3.S,
404 config/picochip/libgccExtras/ashlsi3.S,
405 config/picochip/libgccExtras/ashrsi3.S,
406 config/picochip/libgccExtras/clzsi2.S,
407 config/picochip/libgccExtras/cmpsi2.S,
408 config/picochip/libgccExtras/divmod15.S,
409 config/picochip/libgccExtras/divmodhi4.S,
410 config/picochip/libgccExtras/divmodsi4.S,
411 config/picochip/libgccExtras/lshrsi3.S,
412 config/picochip/libgccExtras/parityhi2.S,
413 config/picochip/libgccExtras/popcounthi2.S,
414 config/picochip/libgccExtras/subdi3.S,
415 config/picochip/libgccExtras/ucmpsi2.S,
416 config/picochip/libgccExtras/udivmodhi4.S,
417 config/picochip/libgccExtras/udivmodsi4.S: New files.
418 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
419 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
420 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
421 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
422 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
423 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
424 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
425 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
426 files.
427 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
428 (HOST_LIBGCC2_CFLAGS): Set.
429 * config/rs6000/t-darwin64: New file.
430 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
431 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
432 * config/rs6000/t-ppccomm (LIB2ADD): Add
433 $(srcdir)/config/rs6000/tramp.S.
434 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
435 Add $(srcdir)/config/rs6000/eabi.S.
436 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
437 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
438 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
439 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
440 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
441 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
442 * config/rs6000/tramp.S: New file.
443 * config/s390/t-tpf: Remove.
444 * config/sh/linux-atomic.S: New file.
445 * config/sh/t-linux (LIB2ADD): Set.
446 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
447 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
448 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
449 to unwind-dw2.c.
450 (HOST_LIBGCC2_CFLAGS): Set.
451 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
452 * config/spu/divmodti4.c, config/spu/divv2df3.c,
453 config/spu/float_disf.c, config/spu/float_unsdidf.c,
454 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
455 config/spu/mfc_multi_tag_release.c,
456 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
457 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
458 config/spu/multi3.c: New files.
459 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
460 (HOST_LIBGCC2_CFLAGS): Set.
461 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
462 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
463 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
464 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
465 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
466 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
467 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
468 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
469 config/stormy16/umodsi3.c: New files.
470 * config/xtensa/lib2funcs.S: New file.
471 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
472 * config/xtensa/t-xtensa (LIB2ADD): Set.
473 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
474 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
475 Add t-freebsd-thread to tmake_file for posix threads.
476 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
477 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
478 (*-*-lynxos*): Likewise.
479 (*-*-netbsd*): Likewise.
480 (*-*-openbsd*): Likewise.
481 Add t-openbsd-thread to tmake_file for posix threads.
482 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
483 (*-*-vxworks*): Set tmake_file.
484 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
485 (alpha*-*-freebsd*): Likewise.
486 (alpha*-*-netbsd*): Likewise.
487 (alpha*-*-openbsd*): Likewise.
488 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
489 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
490 (alpha*-dec-*vms*): Likewise.
491 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
492 (bfin*-elf*): Add bfin/t-elf to tmake_file.
493 (bfin*-uclinux*): Likewise.
494 (bfin*-linux-uclibc*): Likewise.
495 (crisv32-*-elf): Add cris/t-cris to tmake_file.
496 (crisv32-*-none): Likewise.
497 (cris-*-elf): Likewise.
498 (cris-*-none): Likewise.
499 (cris-*-linux*, crisv32-*-linux*): Likewise.
500 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
501 tmake_file.
502 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
503 tmake_file.
504 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
505 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
506 (x86_64-*-elf*): Likewise.
507 (i[34567]86-*-nto-qnx*): Likewise.
508 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
509 win32 threads.
510 (x86_64-*-mingw*): Likewise.
511 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
512 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
513 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
514 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
515 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
516 tmake_file.
517 (mipsisa64sr71k-*-elf*): Likewise.
518 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
519 (mips-*-elf*, mipsel-*-elf*): Likewise.
520 (mips64-*-elf*, mips64el-*-elf*): Likewise.
521 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
522 (mips*-*-rtems*): Likewise.
523 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
524 to tmake_file.
525 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
526 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
527 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
528 (spu-*-elf*): Likewise.
529 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
530
531 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
532
533 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
534 $(srcdir) to refer to $(LIB1ASMSRC).
535 Use $<.
536 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
537 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
538 config/arm/lib1funcs.S: New files.
539 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
540 * config/arm/t-arm: New file.
541 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
542 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
543 config/arm/t-strongarm-elf: New files.
544 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
545 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
546 * config/avr/lib1funcs.S: New file.
547 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
548 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
549 * config/c6x/lib1funcs.S: New file.
550 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
551 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
552 * config/frv/lib1funcs.S: New file.
553 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
554 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
555 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
556 * config/ia64/__divxf3.asm: Rename to ...
557 * config/ia64/__divxf3.S: ... this.
558 Adapt lib1funcs.asm filename.
559 * config/ia64/_fixtfdi.asm: Rename to ...
560 * config/ia64/_fixtfdi.S: ... this.
561 Adapt lib1funcs.asm filename.
562 * config/ia64/_fixunstfdi.asm: Rename to ...
563 * config/ia64/_fixunstfdi.S: ... this.
564 Adapt lib1funcs.asm filename.
565 * config/ia64/_floatditf.asm: Rename to ...
566 * config/ia64/_floatditf.S: ... this.
567 Adapt lib1funcs.asm filename.
568 * config/ia64/lib1funcs.S: New file.
569 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
570 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
571 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
572 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
573 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
574 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
575 * config/mep/lib1funcs.S: New file.
576 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
577 * config/mips/mips16.S: New file.
578 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
579 * config/pa/milli64.S: New file.
580 * config/pa/t-linux, config/pa/t-linux64: New files.
581 * config/picochip/lib1funcs.S: New file.
582 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
583 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
584 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
585 * config/sh/t-netbsd: New file.
586 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
587 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
588 * config/sh/t-sh64: New file.
589 * config/sparc/lb1spc.S: New file.
590 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
591 filename.
592 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
593 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
594 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
595 config/xtensa/lib1funcs.S: New files.
596 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
597 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
598 tmake_file.
599 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
600 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
601 (arm*-*-linux*): Likewise.
602 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
603 arm*-*-linux-*eabi, add arm/t-linux otherwise.
604 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
605 (arm*-*-ecos-elf): Likewise.
606 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
607 (arm*-*-rtems*): Likewise.
608 (arm*-*-elf): Likewise.
609 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
610 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
611 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
612 (bfin*-uclinux*): Likewise.
613 (bfin*-linux-uclibc*): Likewise.
614 (bfin*-rtems*): Likewise.
615 (bfin*-*): Likewise.
616 (fido-*-elf): Merge into m68k-*-elf*.
617 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
618 (frv-*-*linux*): Add frv/t-frv to tmake_file.
619 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
620 (h8300-*-elf*): Likewise.
621 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
622 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
623 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
624 (i[34567]86-*-mingw*): Likewise.
625 (x86_64-*-mingw*): Likewise.
626 (i[34567]86-*-interix3*): Likewise.
627 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
628 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
629 (m68k-*-elf*): Also handle fido-*-elf.
630 Add m68k/t-floatlib to tmake_file.
631 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
632 (m68k-*-linux*): Likewise.
633 (m68k-*-rtems*): Likewise.
634 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
635 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
636 sh64*-*-*.
637 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
638 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
639 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
640 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
641 sh/t-netbsd to tmake_file.
642 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
643 (sh-*-rtems*): Add sh/t-sh to tmake_file.
644 (sh-wrs-vxworks): Likewise.
645 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
646 *-leon[3-9]*.
647 (v850*-*-*): Add v850/t-v850 to tmake_file.
648 (vax-*-linux*): Add vax/t-linux to tmake_file.
649 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
650
651 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
652
653 * crtstuff.c: New file.
654 * Makefile.in (CRTSTUFF_CFLAGS): Define.
655 (CRTSTUFF_T_CFLAGS): Define.
656 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
657 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
658 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
659 crtstuff.c.
660 Use $<.
661 (crtbeginT.o): Use $(objext).
662 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
663 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
664 (gcc-extra-parts): Remove.
665 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
666 Set extra_parts.
667 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
668 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
669 Add t-crtstuff-pic to tmake_file.
670 (*-*-lynxos*): New case.
671 Set tmake_file, extra_parts.
672 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
673 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
674 *-*-netbsdelf[2-9]*.
675 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
676 (*-*-rtems*): Set extra_parts.
677 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
678 (*-*-uclinux*): New case.
679 Set extra_parts.
680 (*-*-vms*): New case.
681 Set tmake_file, extra_parts.
682 (*-*-elf): Set extra_parts.
683 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
684 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
685 vms/t-vms64.
686 Set extra_parts.
687 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
688 Set extra_parts.
689 (arm*-*-freebsd*): Add t-crtin to tmake_file.
690 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
691 (arm-wrs-vxworks): Append to tmake_file.
692 Set extra_parts.
693 (arm*-*-uclinux*): Set extra_parts.
694 (arm*-*-ecos-elf): Likewise.
695 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
696 arm*-*-eabi*.
697 (arm*-*-rtems*): Set extra_parts.
698 (arm*-*-elf): Likewise.
699 (avr-*-rtems*): Clear extra_parts.
700 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
701 Set extra_parts.
702 (bfin*-uclinux*): Likewise.
703 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
704 (bfin*-rtems*): Append to tmake_file.
705 Set extra_parts.
706 (bfin*-*): Likewise.
707 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
708 (crisv32-*-elf): ... this.
709 (crisv32-*-none): ... this.
710 (cris-*-elf, cris-*-none): New cases.
711 Add cris/t-elfmulti to tmake_file.
712 (fr30-*-elf): Append to tmake_file.
713 Set extra_parts.
714 (frv-*-elf): Append to tmake_file, add frv/t-frv.
715 Set extra_parts.
716 (h8300-*-rtems*): Append to tmake_file.
717 Set extra_parts.
718 (h8300-*-elf*): Likewise.
719 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
720 Set extra_parts.
721 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
722 Set extra_parts.
723 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
724 (x86_64-*-elf*): Likewise.
725 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
726 (x86_64-*-freebsd*): Likewise.
727 (x86_64-*-netbsd*): Likewise.
728 (i[34567]86-*-linux*): Likewise.
729 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
730 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
731 (x86_64-*-linux*): Likewise.
732 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
733 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
734 tmake_file.
735 Set extra_parts.
736 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
737 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
738 Append to extra_parts, remove crtbegin.o, crtend.o.
739 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
740 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
741 crtend.o, crtbeginS.o, crtendS.o.
742 (ia64*-*-linux*): Comment extra_parts.
743 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
744 Set extra_parts.
745 (iq2000*-*-elf*): Clear extra_parts.
746 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
747 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
748 (m32r-*-elf*, m32r-*-rtems*): Split off ...
749 (m32r-*-rtems*): ... this.
750 Add m32r/t-m32r to tmake_file.
751 (m68k-*-elf*): Add t-crtin to tmake_file.
752 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
753 (mcore-*-elf): Likewise.
754 (microblaze*-*-*): Set extra_parts.
755 (mips*-sde-elf*): New case.
756 Set tmake_file, extra_parts.
757 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
758 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
759 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
760 tmake_file.
761 Set extra_parts.
762 (mipsisa64sr71k-*-elf*): Likewise.
763 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
764 (mips-*-elf*, mipsel-*-elf*): Likewise.
765 (mips64-*-elf*, mips64el-*-elf*): Likewise.
766 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
767 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
768 (mips*-*-rtems*): Likewise.
769 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
770 (moxie-*-*): Split into ...
771 (moxie-*-elf, moxie-*-uclinux*): ... this.
772 Add to extra_parts, remove crtbegin.o, crtend.o.
773 (moxie-*-rtems*): New case.
774 Set tmake_file.
775 Clear extra_parts.
776 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
777 Set extra_parts.
778 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
779 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
780 tmake_file.
781 Set extra_parts.
782 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
783 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
784 Set extra_parts.
785 (powerpc-*-eabisim*): Likewise.
786 (powerpc-*-elf*): Likewise.
787 (powerpc-*-eabialtivec*): Likewise.
788 (powerpc-xilinx-eabi*): Likewise.
789 (powerpc-*-eabi*): Likewise.
790 (powerpc-*-rtems*): Likewise.
791 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
792 tmake_file.
793 Set extra_parts.
794 (powerpc-*-lynxos*): Add to tmake_file.
795 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
796 rs6000/t-crtstuff, t-crtstuff-pic.
797 Set extra_parts.
798 (powerpcle-*-eabisim*): Likewise.
799 (powerpcle-*-eabi*): Likewise.
800 (rx-*-elf): Remove extra_parts.
801 (s390x-ibm-tpf*): Set extra_parts.
802 (score-*-elf): Set extra_parts.
803 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
804 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
805 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
806 (sh64l*-*-netbsd*): Split into ...
807 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
808 Add t-crtstuff-pic to tmake_file.
809 Set extra_parts.
810 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
811 Set extra_parts.
812 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
813 (sparc-*-elf*): Remove t-crtin from tmake_file.
814 Add to extra_parts, remove crtbegin.o, crtend.o.
815 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
816 (sparc64-*-linux*): Likewise.
817 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
818 Add to extra_parts, remove crtbegin.o, crtend.o.
819 (sparc64-*-elf*): Remove t-crtin from tmake_file.
820 Add to extra_parts, remove crtbegin.o, crtend.o.
821 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
822 Add to extra_parts, remove crtbegin.o, crtend.o.
823 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
824 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
825 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
826 Set extra_parts.
827 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
828 Set extra_parts.
829 (tic6x-*-*): Change to ...
830 (tic6x-*-elf): ... this.
831 Set extra_parts.
832 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
833 Set extra_parts.
834 (am33_2.0-*-linux*): Add comment.
835 (mep*-*-*): Add mep/t-mep to tmake_file.
836 Set extra_parts.
837 * config/alpha/t-vms: New file.
838 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
839 * config/arm/crti.S, config/arm/crtn.S: New files.
840 * config/bfin/crti.S, config/bfin/crtn.S: New files.
841 * config/bfin/crtlibid.S: New file.
842 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
843 * config/c6x/crti.S, config/c6x/crtn.S: New files.
844 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
845 (crti.o, crtin.o): New rules.
846 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
847 * config/c6x/t-uclinux: New file.
848 * config/cris/t-elfmulti: New file.
849 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
850 * config/fr30/crti.S, config/fr30/crtn.S: New files.
851 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
852 * config/frv/t-frv: New file.
853 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
854 * config/h8300/crti.S, config/h8300/crtn.S: New files.
855 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
856 New files.
857 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
858 refer to cygming-crtbegin.c, cygming-crtend.c.
859 Use $<.
860 * config/i386/t-nto: New file.
861 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
862 * config/ia64/crti.S, config/ia64/crtn.S: New files.
863 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
864 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
865 Use .S extension.
866 Use $<.
867 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
868 (crtinitS.o): New rule.
869 * config/ia64/vms-crtinit.S: New file.
870 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
871 * config/m32r/initfini.c: New file.
872 * config/m32r/t-linux, config/m32r/t-m32r: New files.
873 * config/m68k/crti.S, config/m68k/crtn.S: New files.
874 * config/mcore/crti.S, config/mcore/crtn.S: New files.
875 * config/mep/t-mep: New file.
876 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
877 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
878 * config/mips/crti.S, config/mips/crtn.S: New files.
879 * config/mips/t-crtstuff: New file.
880 * config/mmix/crti.S, config/mmix/crtn.S: New files.
881 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
882 (CUSTOM_CRTIN): Set.
883 ($(T)crti.o, $(T)crtn.o): Remove $(T),
884 dependencies.
885 Use $(srcdir) to refer to crti.S, crtn.S.
886 Use .S extension, $<.
887 * config/moxie/crti.asm: Rename to ...
888 * config/moxie/crti.S: ... this.
889 * config/moxie/crtn.asm: Rename to ...
890 * config/moxie/crtn.S: ... this.
891 * config/moxie/t-moxie: Remove.
892 * config/pa/stublib.c: New file.
893 * config/pa/t-stublib, config/pa/t-stublib64: New files.
894 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
895 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
896 * config/rs6000/t-crtstuff: New file.
897 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
898 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
899 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
900 Make output file explicit.
901 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
902 Make output file explicit.
903 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
904 Make output file explicit.
905 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
906 Make output file explicit.
907 * config/score/crti.S, config/score/crtn.S: New files.
908 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
909 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
910 files.
911 * config/sh/t-sh, config/sh/t-superh: New files.
912 * config/sparc/t-linux64: New file.
913 * config/spu/cache.S, config/spu/cachemgr.c: New files.
914 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
915 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
916 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
917 * config/t-crtin: Remove.
918 * config/t-crtstuff-pic: New file.
919 * config/t-sol2 (CUSTOM_CRTIN): Set.
920 (crti.o, crtn.o): New rules.
921 * config/vms/t-vms: New file.
922 * config/vms/vms-ucrt0.c: New file.
923 * config/xtensa/t-elf: New file.
924
925 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
926
927 * Makefile.in (SHLIB_NM_FLAGS): Set.
928 * mkmap-flat.awk, mkmap-symver.awk: New files.
929 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
930 exceptions.
931 * configure: Regenerate.
932 * config/libgcc-glibc.ver: New file.
933 * config/libgcc-libsystem.ver: New file.
934 * config/t-libunwind (SHLIB_LC): Set.
935 * config/t-linux: New file.
936 * config/t-slibgcc (INSTALL_SHLIB): New.
937 (SHLIB_INSTALL): Use it.
938 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
939 to mkmap-symver.awk.
940 (SHLIB_MAPFILES): Don't append, adapt pathname.
941 (SHLIB_VERPFX): Set.
942 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
943 to mkmap-symver.awk.
944 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
945 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
946 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
947 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
948 to mkmap-flat.awk.
949 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
950 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
951 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
952 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
953 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
954 * config/i386/libgcc-darwin.10.4.ver,
955 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
956 New files.
957 * config/i386/t-darwin: Remove.
958 * config/i386/t-darwin64: Likewise.
959 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
960 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
961 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
962 * config/i386/t-linux: New file.
963 * config/i386/t-mingw32: New file.
964 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
965 * config/ia64/t-glibc: Rename to ...
966 * config/ia64/t-linux: ... this.
967 (SHLIB_MAPFILES): Set.
968 * config/ia64/t-glibc-libunwind: Rename to ...
969 * config/ia64/t-linux-libunwind: ... this.
970 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
971 * config/ia64/t-slibgcc-hpux: New file.
972 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
973 * config/m68k/t-slibgcc-elf-ver: New file.
974 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
975 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
976 to mkmap-flat.awk.
977 * config/pa/t-slibgcc-hpux: New file.
978 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
979 files.
980 * config/rs6000/libgcc-darwin.10.4.ver,
981 config/rs6000/libgcc-darwin.10.5.ver: New files.
982 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
983 config/rs6000/libgcc-glibc.ver.
984 * config/rs6000/libgcc-ppc64.ver: Rename to
985 config/rs6000/libgcc-ibm-ldouble.ver.
986 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
987 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
988 * config/rs6000/t-ldbl128: Rename to ...
989 * config/rs6000/t-linux: ... this.
990 (SHLIB_MAPFILES): Adapt filename.
991 * config/rs6000/t-slibgcc-aix: New file.
992 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
993 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
994 libgcc-excl.ver, libgcc-glibc.ver.
995 (SHLIB_LINK, SHLIB_INSTALL): Remove.
996 * config/sparc/libgcc-glibc.ver: New file.
997 * config/sparc/t-linux: New file.
998 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
999 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1000 t-slibgcc-elf-ver to tmake_file.
1001 Add t-slibgcc-nolc-override to tmake_file for posix threads on
1002 *-*-freebsd[34].
1003 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1004 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1005 t-slibgcc-elf-ver, t-linux to tmake_file.
1006 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1007 tmake_file.
1008 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1009 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1010 (alpha*-dec-*vms*): Likewise.
1011 (arm*-*-freebsd*): Append to tmake_file.
1012 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1013 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1014 arm*-*-linux-*eabi.
1015 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1016 tmake_file for arm*-*-symbianelf*.
1017 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1018 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1019 cris/t-linux.
1020 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1021 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1022 pa/t-slibgcc-dwarf-ver to tmake_file.
1023 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1024 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1025 (hppa*64*-*-hpux11*): Likewise.
1026 (hppa[12]*-*-hpux11*): Likewise.
1027 (x86_64-*-darwin*): Don't override tmake_file, but only keep
1028 i386/t-crtpc, i386/t-crtfm.
1029 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1030 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1031 to tmake_file.
1032 Add i386/t-cygwin to tmake_file.
1033 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
1034 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
1035 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1036 to tmake_file.
1037 Add i386/t-mingw32 to tmake_file.
1038 (x86_64-*-mingw*): Likewise.
1039 (ia64*-*-freebsd*): Append to tmake_file.
1040 (ia64*-*-linux*): Append to tmake_file.
1041 Replace ia64/t-glibc by ia64/t-linux.
1042 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
1043 system libunwind.
1044 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
1045 t-slibgcc-hpux to tmake_file.
1046 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
1047 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
1048 (m32rle-*-linux*): Likewise.
1049 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
1050 sjlj exceptions.
1051 (microblaze*-linux*): New case.
1052 Append to tmake_file, add t-slibgcc-nolc-override.
1053 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
1054 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1055 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
1056 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1057 rs6000/t-slibgcc-aix to tmake_file.
1058 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1059 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1060 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1061 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1062 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1063 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
1064 sh*-*-linux*.
1065 (sparc-*-linux*): Append to tmake_file for *-leon*.
1066 Add sparc/t-linux to tmake_file for non-Leon targets.
1067 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
1068 (tic6x-*-uclinux): New case.
1069 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
1070 (tic6x-*-*): Add c6x/t-elf to tmake_file.
1071 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
1072 (am33_2.0-*-linux*): Append to tmake_file.
1073 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1074 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
1075 x86_64-*-kfreebsd*-gnu.
1076 Add i386/t-linux to tmake_file.
1077
1078 2011-10-28 Ian Lance Taylor <iant@google.com>
1079
1080 * config/i386/morestack.S: Correct CFI information to do proper
1081 returns throughout function. In 32-bit mode, save %ebx so that it
1082 is restored on unwind.
1083
1084 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
1085
1086 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
1087 case where B3 isn't the return register.
1088
1089 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
1090 logic for doubleword pops.
1091
1092 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
1093
1094 * config/rs6000/t-freebsd: Add wildcard.
1095
1096 2011-10-21 Paul Brook <paul@codesourcery.com>
1097
1098 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
1099
1100 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
1101 Eric Botcazou <ebotcazou@adacore.com>
1102
1103 PR target/50737
1104 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
1105 fs->signal_frame to 1.
1106
1107 2011-10-07 Ian Lance Taylor <iant@google.com>
1108
1109 * generic-morestack-thread.c: #include <errno.h>.
1110
1111 2011-10-07 Ian Lance Taylor <iant@google.com>
1112
1113 PR target/46093
1114 * generic-morestack.c (__generic_morestack): Make sure the segment
1115 is large enough for both the stack frame and the copied
1116 parameters.
1117
1118 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1119
1120 PR bootstrap/49804
1121 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
1122 extra_parts.
1123
1124 2011-09-28 Nick Clifton <nickc@redhat.com>
1125
1126 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
1127 64-bit doubles are not enabled.
1128 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
1129 and floatunsisf functions.
1130
1131 2011-09-13 Paul Brook <paul@codesourcery.com>
1132
1133 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
1134 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
1135 * unwind-arm-common.inc: New file.
1136 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
1137 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
1138 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
1139 * config/c6x/libunwind.S: New file.
1140 * config/c6x/pr-support.c: New file.
1141 * config/c6x/unwind-c6x.c: New file.
1142 * config/c6x/unwind-c6x.h: New file.
1143 * config/c6x/t-c6x-elf: New file.
1144
1145 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
1146
1147 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
1148 (ASM_DIVZERO): Ditto.
1149 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
1150
1151 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
1152
1153 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
1154
1155 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
1156
1157 PR target/50090
1158 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
1159 instead of an assembly one.
1160
1161 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
1162
1163 PR bootstrap/50047
1164 * Makefile.in (install-unwind_h): Create
1165 $(gcc_objdir)/include/unwind.h atomically.
1166
1167 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1168
1169 * Makefile.in (install-unwind_h): Remove destination file first.
1170
1171 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1172
1173 * sync.c: New file.
1174 * config/mips/t-mips16: New file.
1175 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
1176 (mips*-*-linux*): Likewise.
1177 (mips*-sde-elf*): Likewise.
1178 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
1179 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
1180 Add mips/t-mips16 to tmake_file.
1181 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
1182 (mips-*-elf*): Likewise.
1183 (mips64-*-elf*): Likewise.
1184 (mips64orion-*-elf*): Likewise.
1185 (mips*-*-rtems*): Likewise.
1186 (mipstx39-*-elf*): Likewise.
1187 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
1188 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
1189 LIBGCC_SYNC_CFLAGS.
1190 Use $(srcdir) to refer to sync.c.
1191 Use $<.
1192 ($(libgcc-sync-funcs-o)): Likewise.
1193 ($(libgcc-sync-size-funcs-s-o)): Likewise.
1194 ($(libgcc-sync-funcs-s-o)): Likewise.
1195
1196 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
1197
1198 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
1199 t-libunwind.
1200
1201 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
1202
1203 PR other/48007
1204 * config/i386/value-unwind.h: New.
1205
1206 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
1207
1208 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
1209 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
1210 Add to tmake_file rather than overriding it.
1211
1212 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1213
1214 * config/t-softfp: Remove.
1215 * soft-fp: Moved from ../gcc/config.
1216 * soft-fp/README: Remove t-softfp reference.
1217 * soft-fp/t-softfp: Move to config/t-softfp.
1218 (softfp_machine_header): Remove.
1219 (softfp_file_list): Remove config subdir.
1220 (soft-fp-objects): New variable.
1221 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
1222 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
1223 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
1224 * config/t-softfp-excl: New file.
1225 * config/t-softfp-sfdf: New file.
1226 * config/t-softfp-tf: New file.
1227 * config/no-sfp-machine.h: New file.
1228 * config/arm/sfp-machine.h: New file.
1229 * config/arm/t-softfp: New file.
1230 * config/c6x/sfp-machine.h: New file.
1231 * config/i386/32/t-fprules-softfp: Rename to ...
1232 * config/i386/32/t-softfp: ... this.
1233 (tifunctions, LIB2ADD): Remove.
1234 (softfp_int_modes): Override.
1235 * config/i386/64/t-softfp-compat (tf-functions): Remove config
1236 subdir.
1237 * config/i386/64/eqtf2.c: Likewise.
1238 * config/i386/64/getf2.c: Likewise.
1239 * config/i386/64/letf2.c: Likewise.
1240 * config/ia64/sft-machine.h: New file.
1241 * config/ia64/t-fprules-softfp: Rename to ...
1242 * config/ia64/t-softfp: ... this.
1243 * config/lm32/sfp-machine.h: New file.
1244 * config/moxie/t-moxie-softfp: Remove.
1245 * config/rs6000/ibm-ldouble-format: New file.
1246 * config/rs6000/ibm-ldouble.c: New file.
1247 * config/rs6000/libgcc-ppc-glibc.ver: New file
1248 * config/rs6000/libgcc-ppc64.ver: New file
1249 * config/rs6000/sfp-machine.h: New file.
1250 * config/rs6000/t-freebsd: New file.
1251 * config/rs6000/t-ibm-ldouble: New file.
1252 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
1253 libgcc-ppc-glibc.ver.
1254 * config/rs6000/t-linux64: New file.
1255 * config/rs6000/t-ppccomm (LIB2ADD): Add
1256 $(srcdir)/config/rs6000/ibm-ldouble.c.
1257 * config/rs6000/t-ppccomm-ldbl: New file.
1258 * config/score/sfp-machine.h: New file.
1259 * config.host (sfp_machine_header): Explain.
1260 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
1261 t-softfp to tmake_file.
1262 (arm*-*-uclinux*): Likewise.
1263 (arm*-*-ecos-elf): Likewise.
1264 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1265 (arm*-*-rtems*): Likewise.
1266 (arm*-*-elf): Likewise.
1267 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
1268 in tmake_file.
1269 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
1270 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
1271 (lm32-*-uclinux*): Likewise.
1272 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
1273 t-softfp-excl, t-softfp.
1274 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
1275 (powerpc64-*-darwin*): Likewise.
1276 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
1277 to tmake_file.
1278 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
1279 tmake_file.
1280 (powerpc-*-eabisim*): Likewise.
1281 (powerpc-*-elf*): Likewise.
1282 (powerpc-*-eabialtivec*): Likewise.
1283 (powerpc-xilinx-eabi*): Likewise.
1284 (powerpc-*-rtems*): Likewise.
1285 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
1286 t-softfp-excl, t-softfp to tmake_file.
1287 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
1288 rs6000/t-ppccomm-ldbl to tmake_file.
1289 (powerpcle-*-elf*): Likewise.
1290 (powerpcle-*-eabisim*): Likewise.
1291 (powerpcle-*-eabi*): Likewise.
1292 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1293 rs6000/t-ibm-ldouble to tmake_file.
1294 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1295 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1296 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
1297 (tic6x-*-*): Likewise.
1298 (i[34567]86-*-darwin*, x86_64-*-darwin*,
1299 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
1300 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
1301 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
1302 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
1303 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
1304 t-softfp to tmake_file.
1305 * configure.ac (sfp_machine_header): Provide default if unset.
1306 Substitute.
1307 Link sfp-machine.h to config/$sfp_machine_header.
1308 * configure: Regenerate.
1309
1310 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1311
1312 * Makefile.in (double_type_size, long_double_type_size): Set.
1313 Remove $(fpbit-in-libgcc) support.
1314 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
1315 (fpbit-src): New variable.
1316 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
1317 Compile with -DFLOAT $(FPBIT_CFLAGS).
1318 Use $<.
1319 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
1320 Compile with $(FPBIT_CFLAGS).
1321 Use $<.
1322 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
1323 Compile with -DFLOAT $(TPBIT_CFLAGS).
1324 Use $<.
1325 * configure.ac (double_type_size, long_double_type_size):
1326 Determine and substitute.
1327 * configure: Regenerate.
1328 * fp-bit.c, fp-bit.h: New files.
1329 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
1330 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
1331 * config/mips/t-mips: New file.
1332 * config/mips/t-sdemtk: New file.
1333 * config/rs6000/ppc64-fp.c: New file.
1334 * config/rs6000/t-darwin (LIB2ADD): Add
1335 $(srcdir)/config/rs6000/ppc64-fp.c.
1336 * config/rs6000/t-ppc64-fp: New file.
1337 * config/rx/rx-lib.h: New file.
1338 * config/rx/t-rx (FPBIT): Set to true.
1339 ($(gcc_objdir)/fp-bit.c): Remove.
1340 (DPBIT): Set to true only with -m64bit-doubles.
1341 ($(gcc_objdir)/dp-bit.c): Remove.
1342 * config/sparc/t-softfp: Remove.
1343 * config/spu/t-elf: New file.
1344 * config/t-fdpbit, config/t-fpbit: New files.
1345 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
1346 (mips*-*-*): Likewise.
1347 (arm-wrs-vxworks): Likewise.
1348 (arm*-*-freebsd*): Likewise.
1349 (avr-*-rtems*): Add t-fpbit to tmake_file.
1350 (avr-*-*): Likewise.
1351 (bfin*-elf*): Add t-fdpbit to tmake_file.
1352 (bfin*-uclinux*): Likewise.
1353 (bfin*-linux-uclibc*): Likewise.
1354 (bfin*-rtems*): New case.
1355 Add t-fdpbit to tmake_file.
1356 (bfin*-*): Add t-fdpbit to tmake_file.
1357 (crisv32-*-elf): Likewise.
1358 (cris-*-linux*): Likewise.
1359 (fr30-*-elf): Likewise.
1360 (frv-*-elf, frv-*-*linux*): Likewise.
1361 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
1362 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
1363 (m32r-*-elf*): Likewise.
1364 (m32rle-*-elf*): Likewise.
1365 (m32r-*-linux*): Likewise.
1366 (m32rle-*-linux*): Likewise.
1367 (mcore-*-elf): Add t-fdpbit to tmake_file.
1368 (microblaze*-*-*): Likewise.
1369 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
1370 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
1371 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
1372 Fix typo.
1373 Add mips/t-tpbit to tmake-file.
1374 (mips*-*-linux*): Fix typo.
1375 (mips*-sde-elf*): New case
1376 Add mips/t-sdemtk unless using newlib.
1377 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
1378 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
1379 (mn10300-*-*): Likewise.
1380 (pdp11-*-*): Likewise.
1381 (picochip-*-*): Add t-fpbit to tmake_file.
1382 (powerpc-*-eabisimaltivec*): Likewise.
1383 (powerpc-*-eabisim*): Likewise.
1384 (powerpc-*-elf*): Likewise.
1385 (powerpc-*-eabialtivec*): Likewise.
1386 (powerpc-xilinx-eabi*): New case.
1387 Add t-fdpbit to tmake_file.
1388 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
1389 (powerpc-*-rtems*): Likewise.
1390 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
1391 tmake_file.
1392 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
1393 tmake_file.
1394 (powerpc-*-lynxos*): Likewise.
1395 (powerpcle-*-elf*): Likewise.
1396 (powerpcle-*-eabisim*): Likewise.
1397 (powerpcle-*-eabi*): Likewise.
1398 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1399 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
1400 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1401 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1402 (rx-*-elf): Add t-fdpbit to tmake_file.
1403 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1404 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1405 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1406 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
1407 sh*-*-netbsd*.
1408 (sh-*-rtems*): Add t-fdpbit to tmake_file.
1409 (sh-wrs-vxworks): Likewise.
1410 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
1411 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
1412 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
1413 (sparc64-*-rtems*): ... new case.
1414 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
1415 (spu-*-elf*): Likewise.
1416 Add spu/t-elf to tmake_file.
1417 (v850*-*-*): Add t-fdpbit to tmake_file.
1418 (xstormy16-*-elf): Likewise.
1419 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
1420 (mep*-*-*): Likewise.
1421
1422 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1423
1424 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
1425 variables.
1426 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
1427 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
1428 (install-unwind_h): New target.
1429 (all): Depend on it.
1430 * config.host (unwind_header): New variable.
1431 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
1432 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1433 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
1434 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
1435 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
1436 Set unwind_header.
1437 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
1438 Set unwind_header.
1439 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
1440 arm*-*-eabi*.
1441 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
1442 Set unwind_header.
1443 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
1444 (ia64*-*-freebsd*): Likewise.
1445 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
1446 tmake_file.
1447 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
1448 $with_system_libunwind.
1449 (ia64*-*-hpux*): Set tmake_file.
1450 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
1451 (picochip-*-*): Set tmake_file.
1452 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
1453 md_unwind_header.
1454 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1455 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1456 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
1457 (xtensa*-*-elf*): Set tmake_file.
1458 (xtensa*-*-linux*): Likewise.
1459 * configure.ac: Include ../config/unwind_ipinfo.m4.
1460 Call GCC_CHECK_UNWIND_GETIPINFO.
1461 Link unwind.h to $unwind_header.
1462 * configure: Regenerate.
1463 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
1464 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
1465 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
1466 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
1467 * config/unwind-dw2-fde-darwin.c: New file.
1468 * config/arm/libunwind.S, config/arm/pr-support.c,
1469 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
1470 config/arm/unwind-arm.h,: New files.
1471 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
1472 config/ia64/t-eh-ia64, config/ia64/t-glibc,
1473 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
1474 config/ia64/t-vms, config/ia64/unwind-ia64.c,
1475 config/ia64/unwind-ia64.h: New files.
1476 * config/picochip/t-picochip: New file.
1477 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
1478 files.
1479 * config/rs6000/t-darwin (LIB2ADDEH): Set.
1480 * config/s390/t-tpf (LIB2ADDEH): Remove.
1481 * config/t-darwin (LIB2ADDEH): Set.
1482 * config/t-eh-dw2-dip: New file.
1483 * config/t-libunwind, config/t-libunwind-elf: New files.
1484 * config/t-sol2 (LIB2ADDEH): Remove.
1485 * config/xtensa/t-xtensa: New file.
1486
1487 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
1488
1489 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
1490 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
1491 long long to check rt_sigreturn syscall.
1492
1493 2011-08-02 Alan Modra <amodra@gmail.com>
1494
1495 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
1496 Restore for indirect call bcrtl from correct stack slot, and only
1497 if cfa+40 isn't valid.
1498
1499 2011-08-01 Julian Brown <julian@codesourcery.com>
1500
1501 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
1502 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
1503 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
1504
1505 2011-08-01 Julian Brown <julian@codesourcery.com>
1506
1507 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
1508 (libgcc-std.ver.in): Use above.
1509 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
1510 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
1511 throughout file.
1512 * config/t-fixedpoint-gnu-prefix: New file.
1513 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
1514 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
1515 instead of __PFX__.
1516
1517 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
1520 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
1521 for x86-64. Properly check __x86_64__ and __LP64__.
1522
1523 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
1526 version.
1527 (_FP_WS_TYPE): Likewise.
1528 (_FP_I_TYPE): Likewise.
1529
1530 2011-07-28 Alan Modra <amodra@gmail.com>
1531
1532 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
1533 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
1534 in a plt call stub. Do restore r2 if stopped on bctrl.
1535
1536 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1537
1538 * config.host (i[3456x]86-*-netware*): Remove.
1539 * config/i386/netware-crt0.c, config/i386/t-nwld,
1540 config/i386/t-slibgcc-nwld: Remove.
1541
1542 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
1543
1544 * config.host: Handle tic6x-*-*.
1545 * config/c6x/c6x-abi.h: New file.
1546
1547 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1548
1549 * config/i386/crtprec.c: New file.
1550 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
1551 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
1552 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
1553 (x86_64-*-darwin*): Likewise.
1554 (i[34567]86-*-solaris2*: Likewise.
1555
1556 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1557
1558 * config/alpha/crtfastmath.c: New file.
1559 * config/i386/crtfastmath.c: New file.
1560 * config/ia64/crtfastmath.c: New file.
1561 * config/mips/crtfastmath.c: New file.
1562 * config/sparc/crtfastmath.c: New file.
1563
1564 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
1565 crtfastmath.c.
1566 Add -frandom-seed=gcc-crtfastmath.
1567 * config/alpha/t-crtfm: Remove.
1568 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
1569 * config/ia64/t-ia64 (crtfastmath.o): Remove.
1570
1571 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
1572 (alpha*-dec-osf5.1*): Likewise.
1573 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
1574 Add crtfastmath.o to extra_parts.
1575 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
1576 Add crtfastmath.o to extra_parts.
1577 (x86_64-*-darwin*): Likewise.
1578 (x86_64-*-mingw*): Likewise.
1579 (ia64*-*-elf*): Add t-crtfm to tmake_file.
1580 (ia64*-*-freebsd*): Likewise.
1581 (ia64*-*-linux*): Likewise.
1582 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
1583 Add crtfastmath.o to extra_parts.
1584
1585 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1586
1587 * config/darwin-crt3.o: New file.
1588 * config/rs6000/darwin-crt2.c: New file.
1589 * config/t-darwin: New file.
1590 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
1591 (crt2.o): New rule.
1592 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
1593 (powerpc-*-darwin*): Add crt2.o to extra_parts.
1594 (powerpc64-*-darwin*): Likewise.
1595
1596 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1597
1598 * config/i386/netware-crt0.c: New file.
1599 * config/i386/t-nwld: Rename to ...
1600 * config/i386/t-slibgcc-nwld: ... this.
1601 * config/i386/t-nwld: New file.
1602 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
1603 tmake_file.
1604 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
1605 extra_parts.
1606
1607 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1608
1609 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
1610 i386/t-crtstuff.
1611 * configure: Regenerate.
1612
1613 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1614
1615 * dfp-bit.c, dfp-bit.h: New files.
1616 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
1617 variables.
1618 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
1619 ($(d64pbit-o)): Likewise.
1620 ($(d128pbit-o)): Likewise.
1621 * config/t-dfprules: New file.
1622 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
1623 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
1624 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1625 (x86_64-*-linux*): Likewise.
1626 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1627 (i[34567]86-*-cygwin*): Likewise.
1628 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
1629 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1630
1631 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1632
1633 * Makfile.in (LIBGCOV): New variable.
1634 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
1635 * libgcov.c: New file.
1636
1637 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1638
1639 * fixed-bit.c, fixed-bit.h: New files.
1640 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
1641 refer to fixed-bit.c.
1642
1643 2011-07-07 Joseph Myers <joseph@codesourcery.com>
1644
1645 * config.host (*local*): Remove.
1646
1647 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1648
1649 PR target/39150
1650 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
1651 like i?86-*-solaris2.1[0-9]*.
1652 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
1653 * configure.ac (i?86-*-solaris2*): Likewise.
1654 * configure: Regenerate.
1655
1656 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
1657
1658 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1659 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
1660 md_unwind_header by splitting out of...
1661 (i[34567]86-*-linux*): ... this.
1662 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
1663 Remove md_unwind_header by splitting out of...
1664 (x86_64-*-linux*): ... this.
1665
1666 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
1667
1668 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
1669
1670 2011-06-28 Nick Clifton <nickc@redhat.com>
1671
1672 * config.host: Recognize all V850 variants.
1673
1674 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
1675
1676 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
1677
1678 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1679
1680 * shared-object.mk (c_flags-$o): Save c_flags.
1681 ($(base)$(objext)): Use it.
1682 ($(base)_s$(objext)): Likewise.
1683
1684 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
1685
1686 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
1687 * libgcc-std.ver.in (GCC_4.7.0): New section.
1688
1689 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
1690
1691 PR target/49313
1692 PR target/29524
1693 * config/avr/t-avr: Fix line endings.
1694 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
1695 _parityXX2.
1696
1697 2011-06-14 Olivier Hainque <hainque@adacore.com>
1698 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1699
1700 * config/mips/irix6-unwind.h: New file.
1701 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
1702
1703 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
1704
1705 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
1706 (sparc64_fallback_frame_state): Use it.
1707 (sparc64_frob_update_context): Further adjust context.
1708 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
1709 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
1710 * config/sparc/sol2-cn.S: Likewise.
1711
1712 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1713
1714 * enable-execute-stack-empty.c: New file.
1715 * enable-execute-stack-mprotect.c: New file.
1716 * config/i386/enable-execute-stack-mingw32.c: New file.
1717 * config.host (enable_execute_stack): New variable.
1718 Select appropriate variants.
1719 * configure.ac: Link enable-execute-stack.c to
1720 $enable_execute_stack.
1721 * configure: Regenerate.
1722 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
1723 (lib2funcs): Remove _enable_execute_stack.
1724
1725 2011-06-09 David S. Miller <davem@davemloft.net>
1726 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1727
1728 * config.host (sparc-*-linux*): Correct md_unwind_header
1729 filename.
1730 (s390x-ibm-tpf*): Fix typo.
1731
1732 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1733
1734 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
1735 Add crtfastmath.o to extra_parts.
1736 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
1737 mips/t-crtfm.
1738 * config/mips/t-crtfm: Remove.
1739
1740 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1741
1742 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
1743
1744 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
1745
1746 * config.host (sh*-*-linux*): Fix typo.
1747
1748 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1749
1750 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
1751 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
1752 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
1753 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
1754 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
1755 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
1756 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
1757 Wrap in !__MINGW64__.
1758 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
1759 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
1760 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
1761 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
1762 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
1763 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
1764 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
1765 Wrap in !__LP64__.
1766 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
1767 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
1768 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
1769 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
1770 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
1771 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
1772 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
1773 * config/no-unwind.h: New file.
1774 * config.host (md_unwind_header): Document.
1775 Define.
1776 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
1777 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
1778 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
1779 hppa[12]*-*-hpux11*): Set md_unwind_header.
1780 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
1781 Set md_unwind_header.
1782 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
1783 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
1784 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
1785 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
1786 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
1787 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
1788 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
1789 md_unwind_header.
1790 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
1791 * configure: Regenerate.
1792
1793 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1794
1795 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
1796 Set tmake_file, extra_parts.
1797 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
1798 Remove O32 support.
1799 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
1800 Remove O32 support.
1801 * config/mips/t-irix6: New file.
1802 * config/mips/t-slibgcc-irix: New file.
1803
1804 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1805
1806 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
1807 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
1808
1809 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1810
1811 * configure.ac (target_thread_file): Determine thread model.
1812 * configure: Regenerate.
1813 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
1814 * config/alpha/t-alpha: New file.
1815 * config/alpha/t-crtfm: Use $<.
1816 * config/alpha/t-ieee: New file.
1817 * config/alpha/t-osf-pthread: New file.
1818 * config/alpha/t-slibgcc-osf: New file.
1819 * config/alpha/libgcc-osf5.ver: New file.
1820
1821 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1822
1823 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
1824 tmake_file.
1825 Add crtfastmath.o to extra_parts.
1826
1827 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1828
1829 * config/gmon-sol2.c: Reindent.
1830 Cleanup comments.
1831 Remove, correct casts.
1832 Use STDERR_FILENO, NULL.
1833 (BASEADDRESS): Remove.
1834 (minbrk): Remove.
1835 (errno, sbrk): Remove declarations.
1836 (monstartup) [hp300]: Remove.
1837 (mcount): Remove.
1838
1839 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1840
1841 * Makefile.in (cpu_type): Define.
1842 * config.host (i[34567]86-*-rtems*): Handle it.
1843 (i[34567]86-*-solaris2*): Move body ...
1844 (*-*-solaris2*): ... here.
1845 New case, generalize.
1846 (sparc-*-elf*): Handle it.
1847 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
1848 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
1849 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
1850 Fold into ...
1851 (sparc*-*-solaris2*): ... this.
1852 New case.
1853 (sparc64-*-elf*): Handle it.
1854 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
1855 Merge ../gcc/config/i386/gmon-sol2.c.
1856 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
1857 Use C comments.
1858 Merge ../gcc/config/i386/sol2-gc1.asm.
1859 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
1860 Use C comments.
1861 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
1862 Use C comments.
1863 * config/i386/t-crtfm (crtfastmath.o): Use $<.
1864 * config/i386/t-crtstuff: New file.
1865 * config/i386/t-softfp: New file.
1866 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
1867 $(T)crti.o, $(T)crtn.o): Remove.
1868 (gcrt1.o): New rule.
1869 (TARGET_LIBGCC2_CFLAGS): Remove.
1870 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
1871 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
1872 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
1873 * config/sparc/t-sol2: New file.
1874 * config/sparc/t-crtfm: Move to ...
1875 * config/t-crtfm: ... this.
1876 Use $(cpu_type), $<.
1877 * config/t-crtin: New file.
1878 * config/sparc/t-softfp: New file.
1879 * config/sparc/t-softmul: New file.
1880 * config/t-rtems: New file.
1881 * config/t-slibgcc: New file.
1882 * config/t-slibgcc-elf-ver: New file.
1883 * config/t-slibgcc-gld: New file.
1884 * config/t-slibgcc-sld: New file.
1885 * config/t-sol2: New file.
1886 * configure.ac: Include ../config/lib-ld.m4.
1887 Call AC_LIB_PROG_LD_GNU.
1888 Substitute cpu_type.
1889 * configure: Regenerate.
1890
1891 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
1892
1893 PR bootstrap/49173
1894 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
1895 libgcc-std.ver in the build directory.
1896 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
1897 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
1898
1899 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
1900
1901 * libgcc-std.ver.in: New file.
1902 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
1903 variables.
1904 (libgcc-std.ver): New rule.
1905 * config/t-gnu-prefix: New file.
1906
1907 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1908
1909 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
1910
1911 2011-05-10 Joseph Myers <joseph@codesourcery.com>
1912
1913 * config/i386/darwin-lib.h: New file.
1914
1915 2011-05-10 Joseph Myers <joseph@codesourcery.com>
1916
1917 * config/arm/symbian-lib.h: New.
1918
1919 2011-05-04 Chris Demetriou <cgd@google.com>
1920
1921 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
1922 (__x86.get_pc_thunk.bx): ...this.
1923 (__morestack): Adjust for rename, remove undef of __i686.
1924
1925 2011-05-03 Chris Demetriou <cgd@google.com>
1926
1927 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
1928
1929 2011-03-22 Joseph Myers <joseph@codesourcery.com>
1930
1931 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
1932 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
1933 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
1934 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
1935 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
1936 Remove cases.
1937
1938 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
1939
1940 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
1941 Adjust copyright year.
1942
1943 2011-03-07 Ian Lance Taylor <iant@google.com>
1944
1945 * generic-morestack.c (__splitstack_find): Adjust returned stack
1946 pointer to include all registers pushed by __morestack.
1947
1948 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
1949
1950 PR target/40125
1951 * configure.ac: Call ACX_NONCANONICAL_TARGET.
1952 (toolexecdir): Calculate and AC_SUBST.
1953 (toolexeclibdir): Likewise.
1954 * Makefile.in (target_noncanonical): Import.
1955 (toolexecdir): Likewise.
1956 (toolexeclibdir): Likewise.
1957 * configure: Regenerate.
1958
1959 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
1960
1961 PR target/46040
1962 * config/arm/bpabi.h: Rename to...
1963 * config/arm/bpabi-lib.h: ...this.
1964
1965 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1966
1967 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
1968 appropriate.
1969 * configure: Regenerate.
1970
1971 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
1972
1973 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
1974 __FLOAT_WORD_ORDER__.
1975 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
1976 Delete.
1977
1978 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1979
1980 PR other/46202
1981 * Makefile.in (install-strip): New phony target.
1982
1983 2010-11-07 Ian Lance Taylor <iant@google.com>
1984
1985 PR target/46089
1986 * config/i386/morestack.S (__morestack_large_model): New
1987 function.
1988
1989 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
1990
1991 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
1992 Delete.
1993 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
1994
1995 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
1996
1997 * config/arm/bpabi.h: New file.
1998 * config/frv/frv-abi.h: New file.
1999
2000 2010-10-01 Ian Lance Taylor <iant@google.com>
2001
2002 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2003 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2004
2005 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
2006
2007 PR target/45858
2008 * config.host: Add the missing `$'.
2009
2010 2010-09-30 Michael Eager <eager@eagercon.com>
2011
2012 * config.host: Add microblaze*-*-*.
2013 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2014 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2015 udivsi3.asm,umodsi3.asm}: New.
2016
2017 2010-09-28 Ian Lance Taylor <iant@google.com>
2018
2019 * configure.ac: Adjust CFI test to test assembler directly rather
2020 than checking gcc preprocessor macro.
2021 * configure: Rebuild.
2022
2023 2010-09-27 Ian Lance Taylor <iant@google.com>
2024
2025 * configure.ac: Test whether assembler supports CFI directives.
2026 * config.host: Only add t-stack and i386/t-stack-i386 to
2027 tmake_file if libgcc_cv_cfi is "yes".
2028 * configure: Rebuild.
2029
2030 2010-09-27 Ian Lance Taylor <iant@google.com>
2031
2032 * generic-morestack.h: New file.
2033 * generic-morestack.c: New file.
2034 * generic-morestack-thread.c: New file.
2035 * config/i386/morestack.S: New file.
2036 * config/t-stack: New file.
2037 * config/i386/t-stack-i386: New file.
2038 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
2039 i386/t-stack-i386 to tmake_file.
2040
2041 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
2042
2043 * Makefile.in (libgcc-extra-parts): Check for static archives and
2044 invoke ranlib after installing them.
2045 (gcc-extra-parts): Likewise.
2046 (install-leaf): Likewise.
2047
2048 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 * configure: Regenerated.
2051
2052 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
2053
2054 * configure: Regenerated.
2055
2056 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
2057 Andrew Pinski <pinskia@gmail.com>
2058
2059 PR target/40959
2060 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
2061
2062 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
2063
2064 PR target/45524
2065 * configure: Regenerated.
2066
2067 2010-09-06 Andreas Schwab <schwab@redhat.com>
2068
2069 * configure: Regenerate.
2070
2071 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
2072
2073 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
2074 64bit targets.
2075 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
2076 for 64bit targets.
2077
2078 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
2079 Iain Sandoe <iains@gcc.gnu.org>
2080
2081 PR target/45476
2082 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
2083 LIB2FUNCS_EXCLUDE functions.
2084
2085 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2086
2087 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
2088 Include dfp.m4.
2089 * configure: Regenerate.
2090
2091 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
2092
2093 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
2094 i386/t-freebsd to tmake_file.
2095 * config/i386/t-freebsd: New file.
2096 * config/i386/libgcc-bsd.ver: New file.
2097
2098 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
2099
2100 * config.host (powerpc*-eabispe*): Set tmake_file.
2101 (powerpc*-eabi*): Likewise.
2102 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
2103 crtbeginS, crtendS, crtbeginT.
2104
2105 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
2106
2107 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
2108 to tmake_file. Add crtfastmath.o to extra_parts.
2109 * config/mips/t-crtfm: New.
2110
2111 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
2112
2113 * config.host (sparc64-*-rtems*): New target.
2114
2115 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2116
2117 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2118 assembler syntax.
2119
2120 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
2121
2122 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
2123
2124 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2125
2126 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
2127 alpha-dec-osf5.0* support.
2128
2129 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
2130
2131 * config.host: Add lm32-*-rtems*.
2132
2133 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2134 Uros Bizjak <ubizjak@gmail.com>
2135
2136 PR target/39048
2137 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
2138 like other remaining 32-bit x86 OSes.
2139 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2140 assembler syntax.
2141 * config/i386/libgcc-sol2.ver: New file.
2142 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
2143
2144 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
2145
2146 PR c/43553
2147 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
2148 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
2149 is used and substitute set_use_emutls.
2150 * configure: Regenerated.
2151
2152 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
2153
2154 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
2155
2156 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2157
2158 PR target/38085
2159 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
2160 MULTILIB_CFLAGS.
2161 ($(T)gcrt1.o): Likewise.
2162 ($(T)crt1.o): Likewise.
2163 ($(T)crti.o): Likewise.
2164 ($(T)crtn.o): Likewise.
2165
2166 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2167
2168 PR other/42980
2169 * Makefile.in (install): Use $(MAKE) string in rule, for
2170 parallel make.
2171
2172 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
2173
2174 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
2175 * config/mmix/t-mmix: New file.
2176 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
2177
2178 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
2179
2180 PR java/41991
2181 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
2182 SHLIB_MAPFILES.
2183
2184 2010-01-04 Anthony Green <green@moxielogic.com>
2185
2186 * config/moxie/crti.asm, config/moxie/crtn.asm,
2187 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
2188 config/moxie/t-moxie: New files.
2189 * config.host: Add t-moxie-softfp reference.
2190
2191 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
2192
2193 PR other/39888
2194 * config/t-slibgcc-darwin: Fix embedded rpaths for
2195 --enable-version-specific-runtime-libs, build extension stub
2196 libs exposing features available from current libgcc_s.
2197
2198 2009-11-11 Jon Beniston <jon@beniston.com>
2199
2200 * config.host: Add lm32 targets.
2201 * config/lm32: New directory.
2202 * config/lm32/libgcc_lm32.h: New file.
2203 * config/lm32/_mulsi3.c: New file.
2204 * config/lm32/_udivmodsi4.c: New file.
2205 * config/lm32/_divsi3.c: New file.
2206 * config/lm32/_modsi3.c: New file.
2207 * config/lm32/_udivsi3.c: New file.
2208 * config/lm32/_umodsi3.c: New file.
2209 * config/lm32/_lshrsi3.S: New file.
2210 * config/lm32/_ashrsi3.S: New file.
2211 * config/lm32/_ashlsi3.S: New file.
2212 * config/lm32/crti.S: New file.
2213 * config/lm32/crtn.S: New file.
2214 * config/lm32/t-lm32: New file.
2215 * config/lm32/t-elf: New file.
2216 * config/lm32/t-uclinux: New file.
2217
2218 2009-10-26 Nick Clifton <nickc@redhat.com>
2219
2220 * config.host: Add support for RX target.
2221 * config/rx: New directory.
2222 * config/rx/rx-abi-functions.c: New file. Supplementary
2223 functions for libgcc to support the RX ABI.
2224 * config/rx/rx-abi.h: New file. Supplementary header file for
2225 libgcc RX ABI functions.
2226 * config/rx/t-rx: New file: Makefile fragment for building
2227 libgcc for the RX.
2228
2229 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
2230
2231 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
2232 constraint of y0 to "g".
2233
2234 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2235
2236 * config.host: Include the s390 makefile fragments.
2237 * config/s390/32/_fixdfdi.c: New file.
2238 * config/s390/32/_fixsfdi.c: New file.
2239 * config/s390/32/_fixtfdi.c: New file.
2240 * config/s390/32/_fixunsdfdi.c: New file.
2241 * config/s390/32/_fixunssfdi.c: New file.
2242 * config/s390/32/_fixunstfdi.c: New file.
2243 * config/s390/32/t-floattodi: New file.
2244 * config/s390/libgcc-glibc.ver: New file.
2245 * config/s390/t-crtstuff: New file.
2246 * config/s390/t-linux: New file.
2247 * config/s390/t-tpf: New file.
2248
2249 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2250
2251 * configure.ac (AC_PREREQ): Bump to 2.64.
2252
2253 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
2254
2255 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
2256
2257 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2258
2259 * configure: Regenerate.
2260
2261 2009-08-09 Douglas B Rupp <rupp@gnat.com>
2262
2263 * config.host (ia64-hp-*vms*): New target.
2264 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
2265 with ia64-hp-*vms*.
2266
2267 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2268
2269 * configure.ac: Add snippet for maintainer-mode.
2270 * configure: Regenerate.
2271 * Makefile.in (AUTOCONF, configure_deps): New variables.
2272 ($(srcdir)/configure)): New rule, active only with maintainer
2273 mode turned on.
2274
2275 2009-06-23 DJ Delorie <dj@redhat.com>
2276
2277 Add MeP port.
2278 * config.host: Add mep support.
2279
2280 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
2281
2282 * config.host: Add i386/${host_address}/t-fprules-softfp and
2283 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
2284
2285 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
2286 for mingw targets.
2287 * config/i386/64/_multc3.c: Likewise.
2288 * config/i386/64/_powitf2.c: Likewise.
2289 * config/i386/64/eqtf2.c: Likewise.
2290 * config/i386/64/getf2.c: Likewise.
2291 * config/i386/64/letf2.c: Likewise.
2292 * config/i386/64/letf2.c: Likewise.
2293 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
2294 unsigned long long for x64 mingw targets.
2295 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
2296 (_FP_I_TYPE): Define as long long for x64 mingw target.
2297
2298 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
2299
2300 * config.host (vax-*-linux*): New.
2301
2302 2009-05-31 Anthony Green <green@moxielogic.com>
2303
2304 * config.host: Add moxie support.
2305 * config/moxie/t-moxie: New file.
2306
2307 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
2308
2309 * config.host: Add i386/${host_address}/t-fprules-softfp and
2310 t-softfp to tmake_file for i[34567]86-*-cygwin*.
2311
2312 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
2313
2314 * config.host: Add i386/${host_address}/t-fprules-softfp to
2315 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
2316
2317 2009-04-09 Nick Clifton <nickc@redhat.com>
2318
2319 * config/ia64/tf-signs.c: Change copyright header to refer to
2320 version 3 of the GNU General Public License with version 3.1
2321 of the GCC Runtime Library Exception and to point readers at
2322 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
2323 web page.
2324 * config/i386/32/tf-signs.c: Likewise.
2325 * config/libbid/_addsub_dd.c: Likewise.
2326 * config/libbid/_addsub_sd.c: Likewise.
2327 * config/libbid/_addsub_td.c: Likewise.
2328 * config/libbid/_dd_to_df.c: Likewise.
2329 * config/libbid/_dd_to_di.c: Likewise.
2330 * config/libbid/_dd_to_sd.c: Likewise.
2331 * config/libbid/_dd_to_sf.c: Likewise.
2332 * config/libbid/_dd_to_si.c: Likewise.
2333 * config/libbid/_dd_to_td.c: Likewise.
2334 * config/libbid/_dd_to_tf.c: Likewise.
2335 * config/libbid/_dd_to_udi.c: Likewise.
2336 * config/libbid/_dd_to_usi.c: Likewise.
2337 * config/libbid/_dd_to_xf.c: Likewise.
2338 * config/libbid/_df_to_dd.c: Likewise.
2339 * config/libbid/_df_to_sd.c: Likewise.
2340 * config/libbid/_df_to_td.c: Likewise.
2341 * config/libbid/_di_to_dd.c: Likewise.
2342 * config/libbid/_di_to_sd.c: Likewise.
2343 * config/libbid/_di_to_td.c: Likewise.
2344 * config/libbid/_div_dd.c: Likewise.
2345 * config/libbid/_div_sd.c: Likewise.
2346 * config/libbid/_div_td.c: Likewise.
2347 * config/libbid/_eq_dd.c: Likewise.
2348 * config/libbid/_eq_sd.c: Likewise.
2349 * config/libbid/_eq_td.c: Likewise.
2350 * config/libbid/_ge_dd.c: Likewise.
2351 * config/libbid/_ge_sd.c: Likewise.
2352 * config/libbid/_ge_td.c: Likewise.
2353 * config/libbid/_gt_dd.c: Likewise.
2354 * config/libbid/_gt_sd.c: Likewise.
2355 * config/libbid/_gt_td.c: Likewise.
2356 * config/libbid/_isinfd128.c: Likewise.
2357 * config/libbid/_isinfd32.c: Likewise.
2358 * config/libbid/_isinfd64.c: Likewise.
2359 * config/libbid/_le_dd.c: Likewise.
2360 * config/libbid/_le_sd.c: Likewise.
2361 * config/libbid/_le_td.c: Likewise.
2362 * config/libbid/_lt_dd.c: Likewise.
2363 * config/libbid/_lt_sd.c: Likewise.
2364 * config/libbid/_lt_td.c: Likewise.
2365 * config/libbid/_mul_dd.c: Likewise.
2366 * config/libbid/_mul_sd.c: Likewise.
2367 * config/libbid/_mul_td.c: Likewise.
2368 * config/libbid/_ne_dd.c: Likewise.
2369 * config/libbid/_ne_sd.c: Likewise.
2370 * config/libbid/_ne_td.c: Likewise.
2371 * config/libbid/_sd_to_dd.c: Likewise.
2372 * config/libbid/_sd_to_df.c: Likewise.
2373 * config/libbid/_sd_to_di.c: Likewise.
2374 * config/libbid/_sd_to_sf.c: Likewise.
2375 * config/libbid/_sd_to_si.c: Likewise.
2376 * config/libbid/_sd_to_td.c: Likewise.
2377 * config/libbid/_sd_to_tf.c: Likewise.
2378 * config/libbid/_sd_to_udi.c: Likewise.
2379 * config/libbid/_sd_to_usi.c: Likewise.
2380 * config/libbid/_sd_to_xf.c: Likewise.
2381 * config/libbid/_sf_to_dd.c: Likewise.
2382 * config/libbid/_sf_to_sd.c: Likewise.
2383 * config/libbid/_sf_to_td.c: Likewise.
2384 * config/libbid/_si_to_dd.c: Likewise.
2385 * config/libbid/_si_to_sd.c: Likewise.
2386 * config/libbid/_si_to_td.c: Likewise.
2387 * config/libbid/_td_to_dd.c: Likewise.
2388 * config/libbid/_td_to_df.c: Likewise.
2389 * config/libbid/_td_to_di.c: Likewise.
2390 * config/libbid/_td_to_sd.c: Likewise.
2391 * config/libbid/_td_to_sf.c: Likewise.
2392 * config/libbid/_td_to_si.c: Likewise.
2393 * config/libbid/_td_to_tf.c: Likewise.
2394 * config/libbid/_td_to_udi.c: Likewise.
2395 * config/libbid/_td_to_usi.c: Likewise.
2396 * config/libbid/_td_to_xf.c: Likewise.
2397 * config/libbid/_tf_to_dd.c: Likewise.
2398 * config/libbid/_tf_to_sd.c: Likewise.
2399 * config/libbid/_tf_to_td.c: Likewise.
2400 * config/libbid/_udi_to_dd.c: Likewise.
2401 * config/libbid/_udi_to_sd.c: Likewise.
2402 * config/libbid/_udi_to_td.c: Likewise.
2403 * config/libbid/_unord_dd.c: Likewise.
2404 * config/libbid/_unord_sd.c: Likewise.
2405 * config/libbid/_unord_td.c: Likewise.
2406 * config/libbid/_usi_to_dd.c: Likewise.
2407 * config/libbid/_usi_to_sd.c: Likewise.
2408 * config/libbid/_usi_to_td.c: Likewise.
2409 * config/libbid/_xf_to_dd.c: Likewise.
2410 * config/libbid/_xf_to_sd.c: Likewise.
2411 * config/libbid/_xf_to_td.c: Likewise.
2412 * config/libbid/bid128.c: Likewise.
2413 * config/libbid/bid128_2_str.h: Likewise.
2414 * config/libbid/bid128_2_str_macros.h: Likewise.
2415 * config/libbid/bid128_2_str_tables.c: Likewise.
2416 * config/libbid/bid128_add.c: Likewise.
2417 * config/libbid/bid128_compare.c: Likewise.
2418 * config/libbid/bid128_div.c: Likewise.
2419 * config/libbid/bid128_fma.c: Likewise.
2420 * config/libbid/bid128_logb.c: Likewise.
2421 * config/libbid/bid128_minmax.c: Likewise.
2422 * config/libbid/bid128_mul.c: Likewise.
2423 * config/libbid/bid128_next.c: Likewise.
2424 * config/libbid/bid128_noncomp.c: Likewise.
2425 * config/libbid/bid128_quantize.c: Likewise.
2426 * config/libbid/bid128_rem.c: Likewise.
2427 * config/libbid/bid128_round_integral.c: Likewise.
2428 * config/libbid/bid128_scalb.c: Likewise.
2429 * config/libbid/bid128_sqrt.c: Likewise.
2430 * config/libbid/bid128_string.c: Likewise.
2431 * config/libbid/bid128_to_int16.c: Likewise.
2432 * config/libbid/bid128_to_int32.c: Likewise.
2433 * config/libbid/bid128_to_int64.c: Likewise.
2434 * config/libbid/bid128_to_int8.c: Likewise.
2435 * config/libbid/bid128_to_uint16.c: Likewise.
2436 * config/libbid/bid128_to_uint32.c: Likewise.
2437 * config/libbid/bid128_to_uint64.c: Likewise.
2438 * config/libbid/bid128_to_uint8.c: Likewise.
2439 * config/libbid/bid32_to_bid128.c: Likewise.
2440 * config/libbid/bid32_to_bid64.c: Likewise.
2441 * config/libbid/bid64_add.c: Likewise.
2442 * config/libbid/bid64_compare.c: Likewise.
2443 * config/libbid/bid64_div.c: Likewise.
2444 * config/libbid/bid64_fma.c: Likewise.
2445 * config/libbid/bid64_logb.c: Likewise.
2446 * config/libbid/bid64_minmax.c: Likewise.
2447 * config/libbid/bid64_mul.c: Likewise.
2448 * config/libbid/bid64_next.c: Likewise.
2449 * config/libbid/bid64_noncomp.c: Likewise.
2450 * config/libbid/bid64_quantize.c: Likewise.
2451 * config/libbid/bid64_rem.c: Likewise.
2452 * config/libbid/bid64_round_integral.c: Likewise.
2453 * config/libbid/bid64_scalb.c: Likewise.
2454 * config/libbid/bid64_sqrt.c: Likewise.
2455 * config/libbid/bid64_string.c: Likewise.
2456 * config/libbid/bid64_to_bid128.c: Likewise.
2457 * config/libbid/bid64_to_int16.c: Likewise.
2458 * config/libbid/bid64_to_int32.c: Likewise.
2459 * config/libbid/bid64_to_int64.c: Likewise.
2460 * config/libbid/bid64_to_int8.c: Likewise.
2461 * config/libbid/bid64_to_uint16.c: Likewise.
2462 * config/libbid/bid64_to_uint32.c: Likewise.
2463 * config/libbid/bid64_to_uint64.c: Likewise.
2464 * config/libbid/bid64_to_uint8.c: Likewise.
2465 * config/libbid/bid_b2d.h: Likewise.
2466 * config/libbid/bid_binarydecimal.c: Likewise.
2467 * config/libbid/bid_conf.h: Likewise.
2468 * config/libbid/bid_convert_data.c: Likewise.
2469 * config/libbid/bid_decimal_data.c: Likewise.
2470 * config/libbid/bid_decimal_globals.c: Likewise.
2471 * config/libbid/bid_div_macros.h: Likewise.
2472 * config/libbid/bid_dpd.c: Likewise.
2473 * config/libbid/bid_flag_operations.c: Likewise.
2474 * config/libbid/bid_from_int.c: Likewise.
2475 * config/libbid/bid_functions.h: Likewise.
2476 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2477 * config/libbid/bid_inline_add.h: Likewise.
2478 * config/libbid/bid_internal.h: Likewise.
2479 * config/libbid/bid_round.c: Likewise.
2480 * config/libbid/bid_sqrt_macros.h: Likewise.
2481
2482 2009-04-09 Jakub Jelinek <jakub@redhat.com>
2483
2484 * Makefile.in: Change copyright header to refer to version
2485 3 of the GNU General Public License and to point readers at the
2486 COPYING3 file and the FSF's license web page.
2487 * config.host: Likewise.
2488
2489 2009-04-07 Alan Modra <amodra@bigpond.net.au>
2490
2491 * config.host: Reorder and merge to match config.gcc change.
2492
2493 2009-04-03 Alan Modra <amodra@bigpond.net.au>
2494
2495 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
2496
2497 2009-03-28 Joseph Myers <joseph@codesourcery.com>
2498
2499 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
2500 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
2501 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
2502 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
2503
2504 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
2505
2506 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
2507 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
2508
2509 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
2510
2511 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
2512 ia64/t-softfp-compat to tmake_file.
2513
2514 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
2515
2516 * config/ia64/__divxf3.asm: New.
2517 * config/ia64/_fixtfdi.asm: Likewise.
2518 * config/ia64/_fixunstfdi.asm: Likewise.
2519 * config/ia64/_floatditf.asm: Likewise.
2520 * config/ia64/t-fprules-softfp: Likewise.
2521 * config/ia64/t-softfp-compat: Likewise.
2522 * config/ia64/tf-signs.c: Likewise.
2523
2524 2009-01-18 Ben Elliston <bje@au.ibm.com>
2525
2526 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
2527
2528 2009-01-16 Ben Elliston <bje@au.ibm.com>
2529
2530 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
2531 to tmake_file.
2532
2533 2009-01-13 Ben Elliston <bje@au.ibm.com>
2534
2535 * config/t-softfp: New file.
2536 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
2537 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
2538
2539 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2540
2541 * config.host: Add m32r*-*-rtems*.
2542
2543 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
2544
2545 * config.host: Add m32c*-*-rtems*.
2546
2547 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2548
2549 PR bootstrap/33100
2550 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
2551 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
2552 * configure: Regenerate.
2553 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
2554 tmake_file here from gcc/config.gcc.
2555 Move extra_parts here from gcc/config.gcc.
2556 * config/i386/t-sol2: Move here from gcc/config/i386.
2557 Use gcc_srcdir instead of srcdir.
2558
2559 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
2560
2561 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
2562 case.
2563
2564 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
2565
2566 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
2567
2568 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
2569
2570 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
2571
2572 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
2573
2574 Add picoChip port.
2575 * config.host: Add picochip-*-*.
2576
2577 2008-08-06 Bob Wilson <bob.wilson@acm.org>
2578
2579 * config.host: Match more processor names for Xtensa.
2580
2581 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
2582
2583 * config/i386/64/t-softfp-compat: Update comments.
2584
2585 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 * config/i386/64/_divtc3-compat.c: Moved to ...
2588 * config/i386/64/_divtc3.c: Here.
2589
2590 * config/i386/64/_multc3-compat.c: Moved to ...
2591 * config/i386/64/_multc3.c: Here.
2592
2593 * config/i386/64/_powitf2-compat.c: Moved to ...
2594 * config/i386/64/_powitf2.c: Here.
2595
2596 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
2597 .c suffix instead of -compat.c.
2598
2599 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
2600
2601 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
2602 (_FP_MUL_MEAT_D): Ditto.
2603 (_FP_DIV_MEAT_S): Ditto.
2604 (_FP_DIV_MEAT_D): Ditto.
2605
2606 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
2607
2608 * Makefile.in: Add support for __sync_* libgcc functions.
2609
2610 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
2611
2612 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
2613
2614 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
2615
2616 PR boostrap/36702
2617 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
2618 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
2619
2620 * config/i386/64/t-fprules-softfp: Moved to ...
2621 * config/i386/64/t-softfp-compat: This. New.
2622
2623 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
2624
2625 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
2626 Initialize f with 0.0.
2627
2628 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
2629
2630 PR target/36669
2631 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
2632
2633 * config/i386/64/_divtc3-compat.c: New.
2634 * config/i386/64/_multc3-compat.c: Likewise.
2635 * config/i386/64/_powitf2-compat.c: Likewise.
2636 * config/i386/64/eqtf2.c: Likewise.
2637 * config/i386/64/getf2.c: Likewise.
2638 * config/i386/64/letf2.c: Likewise.
2639 * config/i386/64/t-fprules-softfp: Likewise.
2640
2641 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * config.host: Add i386/${host_address}/t-fprules-softfp to
2644 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
2645 i[34567]86-*-linux*, x86_64-*-linux*.
2646
2647 * configure.ac: Set host_address to 64 or 32 for x86.
2648 * configure: Regenerated.
2649
2650 * Makefile.in (config.status): Also depend on
2651 $(srcdir)/config.host.
2652
2653 * config/i386/32/t-fprules-softfp: New.
2654 * config/i386/32/tf-signs.c: Likewise.
2655
2656 * config/i386/64/sfp-machine.h: New. Moved from gcc.
2657
2658 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
2659 Uros Bizjak <ubizjak@gmail.com>
2660
2661 * config/i386/32/sfp-machine.h: New.
2662
2663 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
2664
2665 * config/rs6000/t-ppccomm: Remove rules that conflict with
2666 auto-generated rules.
2667
2668 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2669
2670 * configure.ac: sinclude override.m4.
2671 * configure: Regenerate.
2672
2673 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
2674
2675 * configure: Regenerate.
2676
2677 2008-06-10 Joseph Myers <joseph@codesourcery.com>
2678
2679 * Makefile.in (DECNUMINC): Remove
2680 -I$(MULTIBUILDTOP)../../libdecnumber.
2681 * gstdint.h: New.
2682
2683 2008-06-07 Joseph Myers <joseph@codesourcery.com>
2684
2685 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
2686 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
2687 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
2688 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
2689 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
2690 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
2691 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
2692 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
2693 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
2694 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
2695 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
2696 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
2697 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
2698 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
2699
2700 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
2701
2702 * config.host (sh2[lbe]*-*-linux*): Allow target.
2703
2704 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
2705
2706 * config/rs6000/t-ppccomm: Add build rules for new files.
2707 (LIB2ADD_ST): New variable.
2708
2709 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
2710
2711 PR target/34210
2712 PR target/35508
2713 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
2714 * config/t-avr: New file. Build 16bit libgcc functions.
2715
2716 2008-03-02 Jakub Jelinek <jakub@redhat.com>
2717
2718 PR target/35401
2719 * config/t-slibgcc-darwin: Make install-leaf dependent on
2720 install-darwin-libgcc-stubs instead of install.
2721
2722 2008-01-25 Joseph Myers <joseph@codesourcery.com>
2723
2724 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
2725 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
2726 sh-*-rtemscoff*): Remove cases.
2727
2728 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
2729
2730 * Makefile.in (all): Use install-leaf rather than install.
2731 (install): Split most of the rule into...
2732 (install-leaf): ...this new one.
2733
2734 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
2735 Paolo Bonzini <bonzini@gnu.org>
2736
2737 PR target/30572
2738 * Makefile.in: Use @shlib_slibdir@ substitution to get
2739 correct install name on darwin.
2740 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
2741
2742 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
2743
2744 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
2745 cris-*-elf and cris-*-none.
2746 (crisv32-*-linux*): Similar, as cris-*-linux*.
2747
2748 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
2749
2750 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
2751
2752 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
2753
2754 PR regression/33926
2755 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
2756 * configure: Regenerated.
2757
2758 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
2759
2760 * Makefile.in (dfp-filenames): Replace decimal_globals,
2761 decimal_data, binarydecimal and convert_data with
2762 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
2763 and bid_convert_data, respectively.
2764
2765 2007-09-17 Chao-ying Fu <fu@mips.com>
2766 Nigel Stephens <nigel@mips.com>
2767
2768 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
2769 * Makefile.in (fixed_point): Define.
2770 Check if fixed_point is yes to build support functions.
2771 * configure.ac: Check for fixed_point support.
2772 * configure: Regenerated.
2773 * gen-fixed.sh: New file to generate lists of fixed-point labels,
2774 funcs, modes, from, to.
2775
2776 2007-09-11 Janis Johnson <janis187@us.ibm.com
2777
2778 * Makefile.in (dfp-filenames): Add bid128_noncomp.
2779
2780 2007-09-10 Janis Johnson <janis187@us.ibm.com>
2781
2782 * Makefile.in (dfp-filenames): Remove decUtility, add
2783 decDouble, decPacked, decQuad, decSingle.
2784
2785 2007-08-27 Hans Kester <hans.kester@ellips.nl>
2786
2787 * config.host : Add x86_64-elf target.
2788
2789 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
2790
2791 * configure.ac (set_have_cc_tls): Add a missing =.
2792 * configure: Regenerated.
2793
2794 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
2795
2796 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
2797 and x86_64-*-linux*.
2798
2799 * config/t-tls: New file.
2800
2801 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
2802
2803 * configure.ac: Include ../config/enable.m4 and
2804 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
2805 supports TLS and substitute set_have_cc_tls.
2806 * configure: Regenerated.
2807
2808 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
2809
2810 * Makefile.in: Use libbid for DFP when BID is enabled.
2811
2812 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
2813
2814 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
2815 extra_parts. Add config/i386/t-cygming to tmake_file.
2816 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
2817
2818 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
2819 Danny Smith <dannysmith@users.sourceforge.net>
2820
2821 PR target/29498
2822 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
2823 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
2824 * config/i386/t-crtfm: Compile crtfastmath.o with
2825 -minline-all-stringops.
2826
2827 2007-05-10 Richard Sandiford <richard@codesourcery.com>
2828
2829 * config.host (sparc-wrs-vxworks): New target.
2830
2831 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
2832
2833 * config.host: Recognize fido.
2834
2835 2007-04-04 Janis Johnson <janis187@us.ibm.com>
2836
2837 * configure: Check host, not target, for decimal float support.
2838
2839 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
2840
2841 * config/i386/t-crtpc: New file.
2842 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
2843 (x86_64-*-linux*): Ditto.
2844
2845 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
2846
2847 * config.host (x86_64-*-mingw*): New target.
2848
2849 2007-03-23 Michael Meissner <michael.meissner@amd.com>
2850 H.J. Lu <hongjiu.lu@intel.com>
2851
2852 * Makefile.in (enable_decimal_float): New.
2853 (DECNUMINC): Add
2854 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
2855 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
2856 (decbits-filenames): This.
2857 (decbits-objects): New.
2858 (libgcc-objects): Add $(decbits-objects).
2859
2860 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
2861 Substitute enable_decimal_float.
2862 * configure: Regenerated.
2863
2864 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
2865
2866 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
2867
2868 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
2869
2870 * Makefile.in (install-info): New dummy target.
2871
2872 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
2873
2874 * config.host (bfin*-linux-uclibc*): Set extra_parts.
2875
2876 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
2877
2878 * Makefile.in: Add install-html and install-pdf dummy
2879 targets.
2880
2881 2007-02-05 Roger Sayle <roger@eyesopen.com>
2882 Daniel Jacobowitz <dan@codesourcery.com>
2883
2884 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
2885 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
2886 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
2887
2888 2007-01-29 Janis Johnson <janis187@us.ibm.com>
2889
2890 * Makefile.in (dec-filenames): Add decExcept.
2891
2892 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
2893
2894 PR bootstrap/30469
2895 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
2896 -fprofile-use.
2897
2898 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
2899
2900 * configure.ac: Add --enable-version-specific-runtime-libs.
2901 Correct $slibdir default.
2902 * configure: Regenerated.
2903
2904 2007-01-23 Joseph Myers <joseph@codesourcery.com>
2905
2906 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
2907
2908 2007-01-21 Andrew Pinski <pinskia@gmail.com>
2909
2910 PR target/30519
2911 * config.host (alpha*-*-linux*): Set extra_parts.
2912
2913 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
2914
2915 * config/sh/t-linux: New.
2916 * config.host (sh*-*-linux*): Set tmake_file.
2917
2918 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
2919
2920 * Makefile.in (install): Handle multilibs.
2921
2922 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
2923
2924 * Makefile.in: Added .PHONY entry for documentation targets.
2925
2926 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
2927
2928 * Makefile.in: Add empty info, html, dvi, pdf targets.
2929
2930 2007-01-04 Mike Stump <mrs@apple.com>
2931
2932 * Makefile.in (MAKEINFO): Remove.
2933 (PERL): Likewise.
2934
2935 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
2936
2937 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
2938 * configure: Regenerate.
2939 * Makefile.in (host_subdir): Substitute it.
2940 (gcc_objdir): Use it.
2941
2942 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2943
2944 * config.host (ia64*-*-linux*): Set tmake_file.
2945
2946 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2947
2948 * Makefile.in (version): Define.
2949
2950 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
2951 Paolo Bonzini <bonzini@gnu.org>
2952
2953 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
2954 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
2955 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
2956 config/sparc/t-crtfm, config/t-slibgcc-darwin,
2957 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
2958 shared-object.mk, siditi-object.mk, static-object.mk: New files.
2959 * configure: Generated.