Rafael Espindola
d8ee23f34c
Add back commits r219835 and a fixed version of r219829.
...
The only difference from r219829 is using
getOrCreateSectionSymbol(*ELFSec)
instead of
GetOrCreateSymbol(ELFSec->getSectionName())
in ELFObjectWriter which causes us to use the correct section symbol even if
we have multiple sections with the same name.
Original messages:
r219829:
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.
r219835:
Allow forward references to section symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220021 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-17 01:48:58 +00:00
..
2014-06-22 00:33:44 +00:00
2014-03-24 05:00:34 +00:00
2014-03-24 05:00:34 +00:00
2014-03-24 05:00:34 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2014-03-29 06:26:49 +00:00
2014-03-29 06:26:49 +00:00
2014-01-21 20:39:11 +00:00
2013-10-18 20:46:28 +00:00
2014-04-02 12:15:20 +00:00
2013-05-30 03:05:14 +00:00
2013-07-01 09:02:33 +00:00
2013-04-12 04:06:46 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-10-03 20:01:09 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2014-06-19 15:39:33 +00:00
2013-10-22 23:41:52 +00:00
2013-07-10 20:58:17 +00:00
2014-10-17 01:48:58 +00:00
2013-04-12 04:06:46 +00:00
2014-04-30 16:25:02 +00:00
2014-04-08 15:28:50 +00:00
2014-04-18 21:52:26 +00:00
2013-06-19 21:27:27 +00:00
2013-10-20 02:16:18 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2014-02-14 19:27:53 +00:00
2014-02-17 20:48:32 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2014-04-30 16:25:02 +00:00
2014-03-24 05:00:34 +00:00
2014-05-01 08:46:02 +00:00
2013-04-12 04:06:46 +00:00
2014-06-08 00:34:34 +00:00
2014-06-08 00:34:34 +00:00
2013-05-30 03:05:14 +00:00
2013-04-12 04:06:46 +00:00
2014-01-08 18:50:32 +00:00
2014-04-30 16:25:02 +00:00
2013-04-12 04:06:46 +00:00
2014-06-09 22:42:55 +00:00
2014-02-16 07:31:05 +00:00
2014-04-30 16:25:02 +00:00
2014-03-25 23:44:25 +00:00
2014-03-29 06:26:49 +00:00
2013-04-12 04:06:46 +00:00
2014-07-01 14:34:30 +00:00
2014-03-30 14:04:00 +00:00
2014-05-21 21:05:09 +00:00
2013-04-12 04:06:46 +00:00
2014-04-28 20:53:11 +00:00
2013-04-12 04:06:46 +00:00
2014-04-30 16:25:02 +00:00
2013-04-12 04:06:46 +00:00
2014-04-30 16:25:02 +00:00
2014-06-23 15:34:32 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2014-10-17 01:34:23 +00:00
2014-05-03 19:57:04 +00:00
2014-03-29 06:26:49 +00:00
2014-05-03 19:57:04 +00:00
2013-05-30 03:05:14 +00:00
2014-10-17 01:48:58 +00:00
2014-10-17 01:48:58 +00:00
2014-10-17 01:48:58 +00:00
2013-09-21 05:25:12 +00:00
2014-04-30 16:25:02 +00:00
2013-04-12 04:06:46 +00:00
2014-04-30 16:25:02 +00:00
2013-04-17 21:18:16 +00:00
2014-04-28 12:40:50 +00:00
2013-10-18 20:46:28 +00:00
2014-04-30 15:32:21 +00:00
2014-04-30 16:25:02 +00:00
2014-04-30 16:25:02 +00:00
2014-03-24 05:00:34 +00:00
2014-04-30 16:25:02 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2014-04-28 13:39:57 +00:00
2013-04-12 04:06:46 +00:00
2013-05-30 03:05:14 +00:00
2014-03-24 05:00:34 +00:00
2013-04-12 04:06:46 +00:00
2014-03-24 05:00:34 +00:00
2014-04-30 16:25:02 +00:00
2013-05-30 03:05:14 +00:00
2013-04-12 04:06:46 +00:00