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.


On Wed, Nov 17, 1999 at 11:25:09AM +0000, Andrew Morton <akpm@zip.com.au> wrote:
> What advantage does this have over searching the symtab for the
> highest-address function symbol which is less than the PC?

I didn't write the patch, but one application comes to my mind: some
compilers (That use gcc as backend) for functional languages are fine with
the generated code but have to strip or modify the prologue/epilogue.

i.e. this patch would help where you need to parse the assembly code,
rather than the object file.

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@opengroup.org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |


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