aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64.d')
-rw-r--r--ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64.d b/ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64.d
new file mode 100644
index 0000000..6491bca
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/global-local-symtab-sort-n64.d
@@ -0,0 +1,13 @@
+#name: MIPS symbol table sort and section symbol names (relocatable) (n64)
+#source: ../../../gas/testsuite/gas/mips/global-local-symtab.s
+#as: -mno-pdr
+#ld: -r -T global-local-symtab.ld
+#readelf: -sW
+
+Symbol table '\.symtab' contains 5 entries:
+ Num: Value Size Type Bind Vis Ndx Name
+ 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
+ 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1 \.data
+ 2: 0000000000000000 0 FILE LOCAL DEFAULT ABS tmpdir/global-local-symtab\.o
+ 3: 0000000000000004 4 OBJECT LOCAL DEFAULT 1 bar
+ 4: 0000000000000000 4 OBJECT GLOBAL DEFAULT 1 foo