summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb4865d698be45ae548284720da4a60fd9f0e3f44 (patch)
treeb273d6e5939288bd4cf28f7644c3f8dfea6c2f35 /llvm/test/Object/Inputs
parent7c6fcd2060ce76d77be683cef491604426c700b4 (diff)
downloadbcm5719-llvm-b4865d698be45ae548284720da4a60fd9f0e3f44.tar.gz
bcm5719-llvm-b4865d698be45ae548284720da4a60fd9f0e3f44.zip
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. llvm-svn: 205493
Diffstat (limited to 'llvm/test/Object/Inputs')
-rw-r--r--llvm/test/Object/Inputs/relocatable-with-section-address.elf-x86-64bin0 -> 1584 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Object/Inputs/relocatable-with-section-address.elf-x86-64 b/llvm/test/Object/Inputs/relocatable-with-section-address.elf-x86-64
new file mode 100644
index 00000000000..7bee9a9835f
--- /dev/null
+++ b/llvm/test/Object/Inputs/relocatable-with-section-address.elf-x86-64
Binary files differ
OpenPOWER on IntegriCloud