summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test/echo.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-10-27 11:38:31 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-10-27 11:38:31 +0000
commit3396bf07a238d2792512ec44da86e6f7993d4d7f (patch)
tree0315a211b8c01bf8a83780b3fc287df8c6e05514 /llvm/tools/llvm-c-test/echo.cpp
parent96b1157814b2f74e9d050bfff2ecd91a8ba48513 (diff)
downloadbcm5719-llvm-3396bf07a238d2792512ec44da86e6f7993d4d7f.tar.gz
bcm5719-llvm-3396bf07a238d2792512ec44da86e6f7993d4d7f.zip
[ELF] - Stop naming relocation sections with first input section name.
It was reported (https://reviews.llvm.org/D38724#902841) that when we use -ffunction-sections --emit-relocs build, REL[A] output section receives the name of first input section, like .rela.text.first_function_in_text rather than .rela.text. It is probably not really an issue as sh_info still points to correct target section, but it does not look clean in output and allows internal section name to leak there, what at least looks confusing and is not consistent with ld.bfd. Patch changes this behavior so that target output section name is used as a base. Differential revision: https://reviews.llvm.org/D39242 llvm-svn: 316760
Diffstat (limited to 'llvm/tools/llvm-c-test/echo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud