This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
Re: v850 on newlib 1.8.2
Joel Sherrill wrote:
>
> "J. Johnston" wrote:
> >
> > Joel Sherrill wrote:
> > >
> > > configure.host specifies that v850 targets are to be built with this:
> > >
> > > newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850
> > > -mno-app-regs -msmall-sld"
> > >
> > > Unfortunately, gcc does not yet support at least the -msmall-sld option.
> > >
> > > --
> > > Joel Sherrill, Ph.D. Director of Research & Development
> > > joel@OARcorp.com On-Line Applications Research
> > > Ask me about RTEMS: a free RTOS Huntsville AL 35805
> > > Support Available (256) 722-9985
> >
> > Joel,
> >
> > You are correct. This should be removed. The attached patch applied
> > in the devo/newlib directory makes the fix. ( patch <net182.patch ).
> > This patch is only required by users who are configuring a v850 build.
>
> I also should have asked .. does gcc 2.95.2 support the -mno-app-reg
> option?
> 2.95.1 does not.
>
Joel,
I got sloppy. It should have been removed as well. The attached patch should be applied on top
of the previous one. Again, this only applies to users that configure
for the v850.
-- Jeff J.
*** configure.host Mon Dec 6 21:09:15 1999
--- configure.host.new Wed Dec 8 16:33:52 1999
*************** case "${host_cpu}" in
*** 152,166 ****
;;
v850)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs"
;;
v850e)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs"
;;
v850ea)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs"
;;
w65*)
machine_dir=w65
--- 152,166 ----
;;
v850)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850"
;;
v850e)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850"
;;
v850ea)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850"
;;
w65*)
machine_dir=w65