summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2019-07-28 17:50:34 -0700
committerH. Peter Anvin <hpa@zytor.com>2019-07-28 17:50:34 -0700
commit4739425a1c87ce95a1b8df2f20c4cd40aeb01989 (patch)
treefbab8a1762cb3b68ac5816f7ec72741eeb7cf7ea
parent6a0211683700b59d6f9ceca37a86e8beb5b655d2 (diff)
downloadsamples-4739425a1c87ce95a1b8df2f20c4cd40aeb01989.tar.gz
samples-4739425a1c87ce95a1b8df2f20c4cd40aeb01989.tar.xz
samples-4739425a1c87ce95a1b8df2f20c4cd40aeb01989.zip
testme.s: don't generate a non-EXE-able relocation
Going to actually convert to EXE next... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--testme.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/testme.s b/testme.s
index 6f41edd..ceb4582 100644
--- a/testme.s
+++ b/testme.s
@@ -51,7 +51,7 @@ ___start:
_get_foo:
mov _foo,%ax /* foo is in our own data segment */
.reloc .-2, R_386_SUB16, .L.SEG
- mov $_foo,%edx
+ /* mov $_foo,%edx */ /* Can't be converted to EXE */
ret
/*