diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-06-02 09:17:45 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-06-02 09:17:45 +0000 |
commit | ef84219d211a354f5fa58ca307bb9999e406868f (patch) | |
tree | 3316fd5d666d151dd87fc6bf69c3cf9bab9fc7b8 /llvm/lib/CodeGen | |
parent | 4ae7e812338cdb2e42763dd802a715a545838328 (diff) | |
download | bcm5719-llvm-ef84219d211a354f5fa58ca307bb9999e406868f.tar.gz bcm5719-llvm-ef84219d211a354f5fa58ca307bb9999e406868f.zip |
[ELF] - Assign SHF_INFO_LINK flag to REL[A] sections.
Spec says: (http://www.sco.com/developers/gabi/latest/ch4.sheader.html)
sh_info
This member holds extra information, whose interpretation depends on the section type.
If the sh_flags field for this section header includes the attribute SHF_INFO_LINK,
then this member represents a section header table index.
SHF_INFO_LINK
The sh_info field of this section header holds a section header table index.
Since sh_info for SHT_REL[A] sections should contain the section header index of the
section to which the relocation applies, this is
consistent with spec to put this flag. Behavior matches both bfd and gold as well.
Differential revision: https://reviews.llvm.org/D33763
llvm-svn: 304531
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions