Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1294329

Re: [RFC v1 5/8] x86/init: move ebda reservations into linker table

From "Luis R. Rodriguez" <mcgrof@suse.com>
Newsgroups linux.kernel
Subject Re: [RFC v1 5/8] x86/init: move ebda reservations into linker table
Date 2015-12-18 00:50 +0100
Message-ID <qGQt4-6k7-13@gated-at.bofh.it> (permalink)
References <qG66R-1Iz-7@gated-at.bofh.it> <qG66S-1Iz-37@gated-at.bofh.it> <qGNES-4pE-5@gated-at.bofh.it> <qGNOy-4t5-5@gated-at.bofh.it> <qGNOy-4t5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Dec 17, 2015 at 12:57:49PM -0800, Andy Lutomirski wrote:
> On Thu, Dec 17, 2015 at 12:55 PM, H. Peter Anvin <hpa@zytor.com> wrote:
> > On 12/17/15 12:48, Andy Lutomirski wrote:
> >>
> >> I'm entirely ignorant of anything going on in gPXE/iPXE.
> >>
> >> Can you explain what a linker table *does*?  It looks like all you've
> >> done in this patch is to move code around.  What actually happens?
> >>
> >
> > A linker table is a data structure that is stitched together from items
> > in multiple object files.
> >
> > We already have a *bunch* of linker tables in Linux, mostly the init
> > tables, but they are all built in an ad hoc manner which requires linker
> > script modifications, which are of course per architecture.
> >
> > My desire would be to make a general linker table facility so that a new
> > linker table can be implemented by changing C code only.
> 
> Sounds good to me.

That's what this actually accomplishes, there are just a few caveats to consider,
more on this shortly on the other thread in this patch series.

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

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC v1 5/8] x86/init: move ebda reservations into linker table "Luis R. Rodriguez" <mcgrof@do-not-panic.com> - 2015-12-15 23:20 +0100
  Re: [RFC v1 5/8] x86/init: move ebda reservations into linker table Andy Lutomirski <luto@amacapital.net> - 2015-12-17 21:50 +0100
    Re: [RFC v1 5/8] x86/init: move ebda reservations into linker table Andy Lutomirski <luto@amacapital.net> - 2015-12-17 22:00 +0100
      Re: [RFC v1 5/8] x86/init: move ebda reservations into linker table "Luis R. Rodriguez" <mcgrof@suse.com> - 2015-12-18 00:50 +0100
    Re: [RFC v1 5/8] x86/init: move ebda reservations into linker table "H. Peter Anvin" <hpa@zytor.com> - 2015-12-17 22:00 +0100

csiph-web