aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/nm-1.s
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2013-08-19 15:08:52 +0000
committerTristan Gingold <gingold@adacore.com>2013-08-19 15:08:52 +0000
commit8b64b65e23fee758d9a81c9f5c940e23e48a2fea (patch)
treec52f03ec41daa3bc917b8a40002bdcd65c044503 /binutils/testsuite/binutils-all/nm-1.s
parent12696c10906026672f17a551ae1fa5d62878751c (diff)
downloadgdb-8b64b65e23fee758d9a81c9f5c940e23e48a2fea.zip
gdb-8b64b65e23fee758d9a81c9f5c940e23e48a2fea.tar.gz
gdb-8b64b65e23fee758d9a81c9f5c940e23e48a2fea.tar.bz2
binutils/
2013-08-19 Tristan Gingold <gingold@adacore.com> * nm.c (print_size_symbols): Directly get symbol size. binutils/testsuite/ 2013-08-19 Tristan Gingold <gingold@adacore.com> * binutils-all/nm.exp: Add a test for nm --size-sort * binutils-all/nm-elf-1.s: New file. * binutils-all/nm-1.s: New file.
Diffstat (limited to 'binutils/testsuite/binutils-all/nm-1.s')
-rw-r--r--binutils/testsuite/binutils-all/nm-1.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/nm-1.s b/binutils/testsuite/binutils-all/nm-1.s
new file mode 100644
index 0000000..5fe4cd7
--- /dev/null
+++ b/binutils/testsuite/binutils-all/nm-1.s
@@ -0,0 +1,13 @@
+ .globl text_symbol1
+ .globl text_symbol2
+ .globl text_symbol3
+ .text
+text_symbol1:
+ .long 0
+ .long 0
+ .long 0
+text_symbol2:
+ .long 0
+ .long 0
+text_symbol3:
+ .long 0