This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where's ".div" implemented?


On Tue, Jun 03, 2003 at 07:25:03AM -0700, Doug Evans wrote:
> .div is in gcc/config/sparc/lb1spc.asm in the gcc sources.
> 
> I'm guessing no one's tried running linux on an old v7 machine
> because the linux configurations don't include lb1spc.asm in libgcc.a.
> [not surprising]

Actually my target processor is a quite new LEON, which is compliant
with sparc-v8, but with the integer multiply / divide instructions
disabled (according to the gcc-manual is the only difference between
v7 / v8, as far as gcc is concerned). 

As I am planning on eventually running linux on it, I would like to
have a single toolkit. I also figure that since gcc accepts the
"-mcpu=v7" the integet mul/div instructions *should* de included in
libgcc.a (i.e. not including them could be considered a "bug" of
sorts).

Do you know how to make gcc build with these functions included in
"libgcc.a". I mean what build-scripts, config-files, etc should be
changed to make this happen?

Thanks

/npat

-- 
Perilous to us all are the devices of an art deeper than we possess 
ourselves.
  -- Gandalf, in J.R.R. Tolkien's The Lord of the Rings

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]