Re: EXPORT_SYMBOL

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

 



Hi all...

On Sat, Dec 11, 2010 at 17:03, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>  perhaps mulyadi had the right idea -- that gcc is simply optimizing
> that symbol away.  add some code to that first module that does
> something with that symbol, perhaps prints it, just to make sure gcc
> doesn't throw it away.

Other (untested and unrealiable) idea is to use "volatile"
identifier...AFAIK, that would prevent symbols to be optimized out.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux