llvm-6502/tools/llvm-readobj
Rafael Espindola ad04f5db82 Correctly handle references to section symbols.
When processing assembly like

.long .text

we were creating a new undefined symbol .text. GAS on the other hand would
handle that as a reference to the .text section.

This patch implements that by creating the section symbols earlier so that
they are visible during asm parsing.

The patch also updates llvm-readobj to print the symbol number in the relocation
dump so that the test can differentiate between two sections with the same name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219829 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-15 18:55:30 +00:00
..
ARMAttributeParser.cpp
ARMAttributeParser.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
ARMEHABIPrinter.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
ARMWinEHPrinter.cpp Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
ARMWinEHPrinter.h Support: Delete {aligned_,}{u,}{little,big}8_t 2014-09-11 21:46:33 +00:00
CMakeLists.txt
COFFDumper.cpp Object: Add range iterators for COFF import/export table 2014-10-09 02:16:38 +00:00
ELFDumper.cpp Correctly handle references to section symbols. 2014-10-15 18:55:30 +00:00
Error.cpp
Error.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
llvm-readobj.cpp llvm-readobj: add support to dump (COFF) directives 2014-10-07 19:37:52 +00:00
llvm-readobj.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
LLVMBuild.txt
MachODumper.cpp Remove bogus std::error_code returns form SectionRef. 2014-10-08 15:28:58 +00:00
Makefile
ObjDumper.cpp
ObjDumper.h llvm-readobj: add support to dump (COFF) directives 2014-10-07 19:37:52 +00:00
StreamWriter.cpp
StreamWriter.h Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created. 2014-08-27 05:25:25 +00:00
Win64EHDumper.cpp
Win64EHDumper.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00