This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what is the meaning of ENTRY?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]