summaryrefslogtreecommitdiff
path: root/test/Object/Inputs
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-04-03 00:19:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-04-03 00:19:35 +0000
commit14ae43449c7038afa8dced4f5cb054b243b67d76 (patch)
tree6659e1b190721d56eecd7009b980780252028133 /test/Object/Inputs
parent1498ceee9e14815f2103794980a4b4f63eee1a4c (diff)
downloadllvm-14ae43449c7038afa8dced4f5cb054b243b67d76.tar.gz
llvm-14ae43449c7038afa8dced4f5cb054b243b67d76.tar.bz2
llvm-14ae43449c7038afa8dced4f5cb054b243b67d76.tar.xz
Revert "Fix a nomenclature error in llvm-nm."
This reverts commit r205479. It turns out that nm does use addresses, it is just that every reasonable relocatable ELF object has sections with address 0. I have no idea if those exist in reality, but it at least it shows that llvm-nm should use the name address. The added test was includes an unusual .o file with non 0 section addresses. I created it by hacking ELFObjectWriter.cpp. Really sorry for the churn. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object/Inputs')
-rw-r--r--test/Object/Inputs/relocatable-with-section-address.elf-x86-64bin0 -> 1584 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/test/Object/Inputs/relocatable-with-section-address.elf-x86-64 b/test/Object/Inputs/relocatable-with-section-address.elf-x86-64
new file mode 100644
index 0000000000..7bee9a9835
--- /dev/null
+++ b/test/Object/Inputs/relocatable-with-section-address.elf-x86-64
Binary files differ