]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, realmode: Add .text64 section, make barrier symbols absolute
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 May 2012 18:22:32 +0000 (21:22 +0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 May 2012 18:47:18 +0000 (11:47 -0700)
commit487f50ffeb142d8f86fff6e43a8852ce3d46c173
treee826db361699b36728b8b9e9484daff9fb3f0e24
parent2a6de3148cfd1a0240a85ea4a1cad34d250d882f
x86, realmode: Add .text64 section, make barrier symbols absolute

Add a .text64 section.  The purpose of this is to keep 16-, 32- and
64-bit code segregated into separate sections, mainly to keep
disassembly sane.

Move barrier symbols out of sections to avoid the "symbol in empty
section" problem in some versions of GNU ld.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1336501366-28617-10-git-send-email-jarkko.sakkinen@intel.com
arch/x86/realmode/rm/realmode.lds.S