This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: End markers for functions.


akpm@zip.com.au (Andrew Morton) writes:
> 
> What advantage does this have over searching the symtab for the
> highest-address function symbol which is less than the PC?

For some things you want to preprocess the assembler output of the 
compiler before feeding it into the assembler. Given you're working on 
assembly source  you have no symbol table or a PC, the symbol table only 
exists after assembling/linking.

-Andi
 
-- 
This is like TV. I don't like TV.

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