[LLVMdev] R_ARM_ABS32 disassembly with integrated-as

Greg Fitzgerald garious at gmail.com
Thu Oct 4 16:28:58 PDT 2012


I'm attempting to detect encoding bugs by comparing disassembly when
using GCC's 'as' versus LLVM's integrated assembler.  Generally this
has gone very well, but one thing that adds a lot of noise is that
.word marked as a R_ARM_ABS32 is disassembled as an instruction and
not data.  Please see the attached 'dump.diff' which was generated by
diffing the "objdump -d --all-headers" for each object file.

Is this a bug?  If so, how can I fix it?

Thanks,
Greg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump.diff
Type: application/octet-stream
Size: 10954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121004/ead0abd3/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-via-gcc.dump
Type: application/octet-stream
Size: 69420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121004/ead0abd3/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-via-integrated-as.dump
Type: application/octet-stream
Size: 69679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121004/ead0abd3/attachment-0002.obj>


More information about the llvm-dev mailing list