http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55351



--- Comment #1 from Nick Clifton <nickc at redhat dot com> 2012-11-19 16:01:36 
UTC ---

Created attachment 28732

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28732

Fixes to allow libgcc to build for the sh64-linux target



I am no SH expert, so this patch may well be wrong.  But it does allow libgcc

to built (for all supported multilibs) for the sh64-linux target.



There seem to be three problems:



  1. As reported in this PR, the sdivsi3 function is being built for the

L_div_table target when it clearly uses instructions that are not supported by

the target SH variant.  I have assumed that this is a mistake and so stopped

the function from being built for the m5-compact multilib.



  2. The udiv_qrnnd_16 function is not being built.  It is built for non-Linux

Sh targets, so I have assumed that it is an oversight and added it to the list

of functions to build.



  3. The m5-media64 and m5-media64-nofpu multilibs need the linker to support a

shlefl64_linux emulation.  The linker does not do this, so I have suppressed

all multilibs based on these options.

Reply via email to