This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: Add -mno-library-call to ia32


On Sat, Jun 17, 2000 at 11:22:21PM +0200, Philipp Thomas wrote:
> * H . J . Lu (hjl@valinux.com) [20000617 23:11]:
> 
> > I had non inlined memcpy and memset for ia32 in my kernel.
> 
> Oooops. Memcpy I did encounter but not memset. Which kernel and which
> module?

A heavily modified 2.2.14. I don't think it matters. memset will
be used on structure > 64 bytes.

> 
> > Modules in my kernel compiled with gcc 2.96 call memset and memcpy,
> > which have to be exported unversioned.
> 
> Yepp, as rth pointed out to me. My new emmcpy patch will have an
> EXPORT_SYMBOL_NOVERS(memcpy) for ksysms.ver.
> 

memset is also needed.

It will be nice to have a patch for all kernel versions which are still
in use.

-- 
H.J. Lu (hjl@gnu.org)

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