This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: what is the meaning of ENTRY?
oh,I got it!
thanks!
22 Sep 2005 00:53:19 -0700, Ian Lance Taylor <ian@airs.com>:
> xiao feng <lovers.ai@gmail.com> writes:
>
> > I am reading arm linux kernel and find some codes as follows in head-armv.s:
> >
> > .section ".text.init",#alloc,#execinstr
> > .type stext, #function
> > ENTRY(stext)
> >
> > I have read the gas manual,but didn't find the explanation of "ENTRY",
> > is it a directive of gas? Is "stext" a label and what is its value?
>
> ENTRY is a preprocessor macro. I don't see a head-armv.s file in my
> Linux sources, but I see ENTRY defined in include/linux/linkage.h.
>
> Ian
>