Re: smarter linkers for efficient portability?

Marc Lehmann (pcg@opengroup.org)
Mon, 6 Dec 1999 05:00:02 +0100


On Sun, Dec 05, 1999 at 08:10:11PM -0500, Mark Hahn <hahn@coffee.psychology.mcmaster.ca> wrote:
> part of the issue is that Linux inlines a lot of heavily-used kernel code.
> but suppose gcc/ld could defer this inlining until link time?

To make effective use of inlining you need information that is at the same
level as sourcecode.

so either you go for something even more suboptimal than the (current
only) behaviour of gcc, or you deliver source (in some format).

> in this case, module-load time. compilers from at least HP and DEC have done

FAIK they require access to the source in some form to work, e.g. similar
to a c++ template repository.

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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/