[ELF] Add a NOP instruction to make LLVM generate a mapping symbol
authorPeter Smith <peter.smith@linaro.org>
Fri, 31 Mar 2017 13:08:49 +0000 (13:08 +0000)
committerPeter Smith <peter.smith@linaro.org>
Fri, 31 Mar 2017 13:08:49 +0000 (13:08 +0000)
commit3add9f9fc75ddf65f5704a1035f5c464d31a1470
tree15cc0a33d0333953df59ac6104f0b4ef055bb3fb
parent77ce4f6e37ad0aa61894d4a840f17e89208d0c74
[ELF] Add a NOP instruction to make LLVM generate a mapping symbol

This is a test change applicable for ARM targets.

Previously LLVM would generate a mapping symbol when code contains only
data. This was changed as part of

https://reviews.llvm.org/D30724

and to be more close to the ARM ELF ABI.

The test case is changed to check for behavior with minimal changes.

Patch by Shankar Easwaran

Differential Revision: https://reviews.llvm.org/D31500

llvm-svn: 299212
lld/test/ELF/arm-target1.s