Re: Can modules be stripped?

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

 



On Sat, 13 Apr 2002, Keith Owens wrote:

> The rules for stripping a module are "unusual".  Some symbols have to
> be kept even if they are static, because even static symbols can be
> exported.  The combination of strip -g to remove all debugging data

 Hmm, that looks weird to me.  If exporting static symbols is permitted,
shouldn't the symbols be marked global by EXPORT_SYMBOL() then? 

 The following code seems to mark a static symbol global just fine:

static int test = 0; asm(".global test");

so there should be no problem with doing the same in EXPORT_SYMBOL().

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