[Bug libffi/47442] does not build multilib on m68k

2011-02-08 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 Joel Sherrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug libffi/47442] does not build multilib on m68k

2011-01-25 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 Joel Sherrill changed: What|Removed |Added Attachment #23123|0 |1 is obsolete|

[Bug libffi/47442] does not build multilib on m68k

2011-01-25 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 --- Comment #11 from Andreas Schwab 2011-01-25 20:53:37 UTC --- "joel at gcc dot gnu.org" writes: > Why cmp.w when it is tst.l? Because it is smaller.

Re: [Bug libffi/47442] does not build multilib on m68k

2011-01-25 Thread Andreas Schwab
"joel at gcc dot gnu.org" writes: > Why cmp.w when it is tst.l? Because it is smaller.

[Bug libffi/47442] does not build multilib on m68k

2011-01-25 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 --- Comment #10 from Joel Sherrill 2011-01-25 20:42:19 UTC --- (In reply to comment #8) > >+#ifdef __rtems__ > >+void rtems_cache_flush_multiple_data_lines( const void *, size_t ); > >+#else > > Include the header that declares it. > > >+cm

[Bug libffi/47442] does not build multilib on m68k

2011-01-25 Thread joel.sherrill at oarcorp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 --- Comment #9 from joel.sherrill at oarcorp dot com 2011-01-25 20:34:03 UTC --- On 01/25/2011 02:06 PM, sch...@linux-m68k.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 > > --- Comment #8 from Andreas Schwab 2011-01-25 > 20:05:54

[Bug libffi/47442] does not build multilib on m68k

2011-01-25 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 --- Comment #8 from Andreas Schwab 2011-01-25 20:05:54 UTC --- >+#ifdef __rtems__ >+void rtems_cache_flush_multiple_data_lines( const void *, size_t ); >+#else Include the header that declares it. >+ cmp.l #0, %a1 cmp.w#0, %

[Bug libffi/47442] does not build multilib on m68k

2011-01-25 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 --- Comment #7 from Ian Lance Taylor 2011-01-25 19:17:49 UTC --- The patch looks reasonable to me, though I would like to hear Andreas's opinion. Technically this patch should go to the libffi maintainers, as libffi is maintained in a separate r

[Bug libffi/47442] does not build multilib on m68k

2011-01-25 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 Joel Sherrill changed: What|Removed |Added Attachment #23108|0 |1 is obsolete|

[Bug libffi/47442] does not build multilib on m68k

2011-01-25 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 --- Comment #5 from Joel Sherrill 2011-01-25 18:15:41 UTC --- (In reply to comment #4) > The alternative ABI is just slightly different. When using the 68881, > floating > point values are returned in %fp0. When not using it, floating point va

[Bug libffi/47442] does not build multilib on m68k

2011-01-24 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #4 fro

[Bug libffi/47442] does not build multilib on m68k

2011-01-24 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 --- Comment #3 from Joel Sherrill 2011-01-24 21:53:28 UTC --- I didn't intend to disable them permanently. Just identify them to implement alternatives. If the sysv abi cannot be used on 68000, 680x0 w/o HW FP, or at least some Coldfire, then w

[Bug libffi/47442] does not build multilib on m68k

2011-01-24 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 --- Comment #2 from Andreas Schwab 2011-01-24 21:36:52 UTC --- This is the wrong way to fix that. The m68k SYSV ABI requires 68020+ w/ 68881/2. If you use a different ABI you should write a proper implementation.

[Bug libffi/47442] does not build multilib on m68k

2011-01-24 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442 --- Comment #1 from Joel Sherrill 2011-01-24 21:06:15 UTC --- Created attachment 23108 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23108 Hacks to disable problem areas This patch is a hack to conditionally disable the parts of the code w