[LLVMbugs] [Bug 8631] New: Clang integrated-as doesn't support .2byte .4byte .8byte ASM directives
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Nov 16 21:30:48 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8631
Summary: Clang integrated-as doesn't support .2byte .4byte
.8byte ASM directives
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: chandlerc at gmail.com
CC: rafael.espindola at gmail.com, llvmbugs at cs.uiuc.edu
gdb/testsuite/gdb.arch/amd64-disp-step.S contains:
/* test rip-relative data */
answer: .8byte 42
clang chokes on that:
clang ../../../src/gdb/testsuite/gdb.arch/amd64-disp-step.S -g -lm -o
amd64-disp-step
/tmp/cc-oCEzi4.s:129:9: warning: ignoring directive for now
answer: .8byte 42
>From binutils/src/gas/doc/c-arm.texi
@cindex @code{.2byte} directive, ARM
@cindex @code{.4byte} directive, ARM
@cindex @code{.8byte} directive, ARM
@item .2byte @var{expression} [, @var{expression}]*
@itemx .4byte @var{expression} [, @var{expression}]*
@itemx .8byte @var{expression} [, @var{expression}]*
These directives write 2, 4 or 8 byte values to the output section.
Even though the doc would lead you to believe that this is ARM-specific,
GNU-as accepts this for x86
Also, gdb/testsuite/gdb.dwarf2/dup-psym.S has:
.int 0
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list