This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: what is the meaning of ENTRY?
- From: Ian Lance Taylor <ian at airs dot com>
- To: xiao feng <lovers dot ai at gmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 22 Sep 2005 00:53:19 -0700
- Subject: Re: what is the meaning of ENTRY?
- References: <3730dcf4050922001939239369@mail.gmail.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