[PATCH] [lld] Correct forming of ARM/Thumb atoms
Denis Protivensky
dprotivensky at accesssoftek.com
Sat Jan 24 02:36:51 PST 2015
Hi shankarke, ruiu,
Symbols addressing Thumb code have zero bit set in st_value to distinguish them from ARM instructions.
This caused wrong atoms' forming because of offset of one byte brought in by that corrected st_value.
Fixed reading of st_value & st_value-related things in ARMELFFile while forming atoms.
Symbol table generation is also fixed for Thumb atoms.
http://reviews.llvm.org/D7161
Files:
include/lld/Core/DefinedAtom.h
lib/ReaderWriter/ELF/ARM/ARMELFFile.h
lib/ReaderWriter/ELF/ARM/ARMExecutableWriter.h
lib/ReaderWriter/ELF/ARM/ARMSymbolTable.h
lib/ReaderWriter/ELF/ELFFile.h
lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
test/elf/ARM/defsym.test
test/elf/ARM/symsize.test
test/elf/ARM/thm-symtab.test
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7161.18720.patch
Type: text/x-patch
Size: 18590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150124/a741f2c7/attachment.bin>
More information about the llvm-commits
mailing list