[llvm-bugs] [Bug 35858] New: .space asm directive does not accept multiple symbols with .space between
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 8 09:36:33 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35858
Bug ID: 35858
Summary: .space asm directive does not accept multiple symbols
with .space between
Product: clang
Version: unspecified
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: chmeeedalf at gmail.com
CC: llvm-bugs at lists.llvm.org
When assembling the following file:
-------
.text
.globl foo
foo:
.space 4
bar:
.space 4092 - (bar - foo)
-------
Clang throws an error:
/tmp/foo.S:9:9: error: expected absolute expression
This only occurs if there's a '.space' directive between the two symbols.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180108/c4b17215/attachment.html>
More information about the llvm-bugs
mailing list