public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFT 0/13] x86: unify vmlinux.lds
@ 2009-04-29  7:35 Sam Ravnborg
  2009-04-29  7:47 ` [PATCH 01/13] x86: beautify vmlinux_32.lds.S Sam Ravnborg
                   ` (13 more replies)
  0 siblings, 14 replies; 42+ messages in thread
From: Sam Ravnborg @ 2009-04-29  7:35 UTC (permalink / raw)
  To: Ingo Molnar, LKML
  Cc: Tim Abbott, Linus Torvalds, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin

Following patchset is on top of the x86/kbuild branch of tip.
It unifies vmlinux.lds so we end up with a single file.

The patchset has been build tested on 32bit and 64 bit but has
not been boot tested. (Lacking time/resources atm).

The steps were made minimal to make it simpler to track regressions
using bisect (if any) and to make review easier.

The unified vmlinux.lds shows some questionable differences
between 32 bit and 64 bit.

o  64 bit uses PHDRS more extensively than 32 bit. Could they be the same?

o  _stext does not cover all text for 32 bit - a bug? For 64b bit it does.
   It is only the .code16 wakeup stuff that is not covered but anyway.

o  _edata covers much more on 32 bit

o  The nosave stuff differs (but that is due to the PHDRS stuff anyway)

o  Different alignmnet requirements in several spots

o  All the stuff added to support relocable kernels

Please test/review.

This patchset will conflict with Tim's work but the conflicts should
be simple to fix. Lets tackle that later.

	Sam

 arch/x86/kernel/head_32.S        |    7 -
 arch/x86/kernel/vmlinux.lds.S    |  421 +++++++++++++++++++++++++++++++++++++-
 arch/x86/kernel/vmlinux_32.lds.S |  229 ---------------------
 arch/x86/kernel/vmlinux_64.lds.S |  336 ------------------------------
 4 files changed, 419 insertions(+), 574 deletions(-)

Sam Ravnborg (13):
      x86: beautify vmlinux_32.lds.S
      x86, vmlinux.lds: unify header/footer
      x86, vmlinux.lds: unify PHDRS
      x86, vmlinux.lds: unify start/end of SECTIONS
      x86, vmlinux.lds: unify .text output sections
      x86, vmlinux.lds: unify exceptiontable
      x86, vmlinux.lds: unify data output sections
      x86, vmlinux.lds: move vsyscall output sections
      x86, vmlinux.lds: unify first part of initdata
      x86, vmlinux.lds: unify parainstructions
      x86, vmlinux.lds: unify .exit.* and .init.ramfs
      x86, vmlinux.lds: unify percpu
      x86, vmlinux.lds: unify remaining parts



^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2009-04-29 11:35 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-29  7:35 [PATCH/RFT 0/13] x86: unify vmlinux.lds Sam Ravnborg
2009-04-29  7:47 ` [PATCH 01/13] x86: beautify vmlinux_32.lds.S Sam Ravnborg
2009-04-29  9:03   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 02/13] x86, vmlinux.lds: unify header/footer Sam Ravnborg
2009-04-29  8:04   ` Ingo Molnar
2009-04-29  8:14     ` Ingo Molnar
2009-04-29  8:25       ` Sam Ravnborg
2009-04-29  8:37         ` Ingo Molnar
2009-04-29  8:51           ` Sam Ravnborg
2009-04-29  9:03   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  9:05   ` [tip:x86/kbuild] x86, vmlinux.lds: add copyright tip-bot for Ingo Molnar
2009-04-29  7:47 ` [PATCH 03/13] x86, vmlinux.lds: unify PHDRS Sam Ravnborg
2009-04-29  9:03   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 04/13] x86, vmlinux.lds: unify start/end of SECTIONS Sam Ravnborg
2009-04-29  9:04   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 05/13] x86, vmlinux.lds: unify .text output sections Sam Ravnborg
2009-04-29  9:04   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 06/13] x86, vmlinux.lds: unify exceptiontable Sam Ravnborg
2009-04-29  9:04   ` [tip:x86/kbuild] x86, vmlinux.lds: unify exception table tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 07/13] x86, vmlinux.lds: unify data output sections Sam Ravnborg
2009-04-29  9:04   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 08/13] x86, vmlinux.lds: move vsyscall " Sam Ravnborg
2009-04-29  9:04   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 09/13] x86, vmlinux.lds: unify first part of initdata Sam Ravnborg
2009-04-29  9:04   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 10/13] x86, vmlinux.lds: unify parainstructions Sam Ravnborg
2009-04-29  9:05   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 11/13] x86, vmlinux.lds: unify .exit.* and .init.ramfs Sam Ravnborg
2009-04-29  9:05   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 12/13] x86, vmlinux.lds: unify percpu Sam Ravnborg
2009-04-29  9:05   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:47 ` [PATCH 13/13] x86, vmlinux.lds: unify remaining parts Sam Ravnborg
2009-04-29  9:05   ` [tip:x86/kbuild] " tip-bot for Sam Ravnborg
2009-04-29  7:57 ` [PATCH/RFT 0/13] x86: unify vmlinux.lds Ingo Molnar
2009-04-29  8:23   ` Sam Ravnborg
2009-04-29  8:31     ` Ingo Molnar
2009-04-29  9:04       ` Ingo Molnar
2009-04-29 10:00   ` Ingo Molnar
2009-04-29 10:50     ` Sam Ravnborg
2009-04-29 10:59       ` Ingo Molnar
2009-04-29 11:05       ` [tip:x86/kbuild] x86, vmlinux.lds: fix relocatable symbols tip-bot for Ingo Molnar
2009-04-29 11:34         ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox