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
..
2014-09-02 22:32:20 +00:00
2014-07-18 16:41:58 +00:00
2014-09-02 22:32:20 +00:00
2014-09-02 22:32:20 +00:00
2014-08-15 14:01:07 +00:00
2014-05-03 19:57:04 +00:00
2014-07-03 02:01:39 +00:00