Getting list of exported symbols for $ARCH

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

 



Hi!

Is there are simple way to get a list of the exported symbols
(i.e. with EXPORT_SYMBOL) for a particular kernel arch, preferably
without building a kernel for that arch?

I'd like to find a definitive way to see if a symbol is exported or
not for a particular architechture -- without a full suite of cross
compilers.

One more thing -- consider you have:

static inline void copy_page(void *to, void *from)
{
        copy_4K_page(to, from);
}

... and copy_4K_page is exported, but copy_page is not.  Is it
possible that gcc would optimize copy_page() away, so that modules
referencing copy_page would end up getting (the exported) copy_4k_page
and would work?

That last doesn't seem likely to me, but I thought I saw it happening
somewhere.  I would like to understand this a bit better.

Thanks!

--
Joseph Fannin
jfannin@xxxxxxxxx


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