longcall probelm (RE: was MVME2304 Exception 3 )

Feng, Shuchen feng at bnl.gov
Fri Sep 19 02:10:57 UTC 2003


Thanks Till for the  sbrk patch.

My wish  for the long term is that :
it will be nice  if RTEMS can patch up the rs6000.c and related  files so
that
the  rtems-gcc cross compiler supports the  -mlongcall  flag, which was
already
supported in vxWorks 2.95.3 ppc cross-compiler.  Except, at this point, I am
not sure
yet  if the longcall  compiling option has to be restricted to  SYSV/EABI
calling convention (
http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00236.html)

Kate

-----Original Message-----
From: Till Straumann
To: Kate Feng
Cc: Paul D Jines; RTEMS Users
Sent: 9/18/2003 12:22 PM
Subject: Re: longcall probelm (RE: was MVME2304 Exception 3 )

Try the attached patch - it provides SBRK. This should enable you to
load modules until the first 32M are exhausted. SBRK will then release
the
rest of your memory to the system but after that happens modules cannot
be loaded anymore.

HTH

-- Till




More information about the users mailing list