lkml.org 
[lkml]   [2001]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Marty Leisner wrote:
>
> I'm read Bovet's "Understand the Linux Kernel"
> and looked at the assembly routine setup_idt...
>
> I noticed the assembly has SYMBOL_NAME
> (its all over the place).
>
> This is define in include/linux/linkage.h
>
> to just:
> #define SYMBOL_NAME(X) X
>
> (this wasn't in Bovet's book).
>
> What's the purpose?

IIRC, it's a holdover from the days when the kernel could be compiled in
a.out and ELF format. a.out prepends an underscore to all symbols,
whereas ELF does not.

--

Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.047 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site