]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, boot: Use .code16 instead of .code16gcc
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 3 Jan 2014 22:30:42 +0000 (22:30 +0000)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 4 Jan 2014 21:59:06 +0000 (13:59 -0800)
commite24df921af484e9b7095ee06d236dabdb3bd9c1c
tree2e048a06af6025b66e862877fd456af94b5d9487
parentdf90ca969035d3f6c95044e272f75bf417b14245
x86, boot: Use .code16 instead of .code16gcc

This reverts commit 28b48688 ("x86, boot: use .code16gcc instead
of .code16").

Versions of binutils older than 2.16 are already not working, so this
workaround is no longer necessary either.  At the same time, some of
the transformations that .code16gcc does can be *extremely*
counterintuitive to a human programmer.

[ hpa: folded ret -> retl and call -> calll fixes from followup patch ]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Link: http://lkml.kernel.org/r/1388788242.2391.75.camel@shinybook.infradead.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/bioscall.S
arch/x86/boot/copy.S