Re: Can modules be stripped?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Apr 2002, Bradley D. LaRonde wrote:

> 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.

 What kind of libraries?  Shared libraries are shared objects and not
relocatables.  Static libraries ("ar" archives), OTOH, are sets of
relocatables as is e.g. /usr/lib/crt1.o and any assembler output.  The
rule is a relocatable is any object that has unresolved static
relocations, i.e. has not undergone final linking.  If unsure check with
file(1). 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux