linux-mips
[Top] [All Lists]

Re: Can modules be stripped?

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: Can modules be stripped?
From: "Bradley D. LaRonde" <brad@ltc.com>
Date: Fri, 12 Apr 2002 13:48:48 -0400
Cc: "MIPS/Linux List (SGI)" <linux-mips@oss.sgi.com>
References: <Pine.GSO.3.96.1020412185401.14896A-100000@delta.ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
----- Original Message -----
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To: "Scott A McConnell" <samcconn@cotw.com>
Cc: "MIPS/Linux List (SGI)" <linux-mips@oss.sgi.com>
Sent: Friday, April 12, 2002 12:57 PM
Subject: Re: Can modules be stripped?


> On Fri, 12 Apr 2002, Scott A McConnell wrote:
>
> > If I strip a module, insmod dies in obj_load() with Floating point
> > exception.
>
>  You can't strip modules as they are relocatables -- global symbols and
> relocations have to stay intact.

OK, you can't strip kernel modules (news to me, then again how often do I
use modules?), but it can't be because they "are relocatables".  I routinely
strip libraries without problem, and those are relocatables too.

So what's the real reason?

Regards,
Brad


<Prev in Thread] Current Thread [Next in Thread>