summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/morello-dynamic-link-rela-dyn2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/morello-dynamic-link-rela-dyn2.d')
-rw-r--r--ld/testsuite/ld-aarch64/morello-dynamic-link-rela-dyn2.d14
1 files changed, 11 insertions, 3 deletions
diff --git a/ld/testsuite/ld-aarch64/morello-dynamic-link-rela-dyn2.d b/ld/testsuite/ld-aarch64/morello-dynamic-link-rela-dyn2.d
index 9de0c5f4f36..dcdd02606c3 100644
--- a/ld/testsuite/ld-aarch64/morello-dynamic-link-rela-dyn2.d
+++ b/ld/testsuite/ld-aarch64/morello-dynamic-link-rela-dyn2.d
@@ -3,12 +3,20 @@
#source: morello-dynamic-link-rela-dyn.s
#as: -march=morello+c64
#ld: tmpdir/morello-dynamic-relocs.so
-#readelf: --relocs
+#readelf: --relocs --dyn-sym
-Relocation section '\.rela\.dyn' at offset .* contains 5 entries:
+Relocation section '\.rela\.dyn' at offset .* contains 6 entries:
Offset Info Type Sym\. Value Sym\. Name \+ Addend
.* 00000000e803 R_MORELLO_RELATIV 0
.* 00000000e803 R_MORELLO_RELATIV 0
.* 00000000e803 R_MORELLO_RELATIV 0
.* 00000000e803 R_MORELLO_RELATIV 0
-.* 00010000e801 R_MORELLO_GLOB_DA 0000000000000000 var \+ 0
+.* 00010000e801 R_MORELLO_GLOB_DA 0000000000000000 undefweakval \+ 0
+.* 00020000e801 R_MORELLO_GLOB_DA 0000000000000000 var \+ 0
+
+Symbol table '\.dynsym' contains [34] entries:
+ Num: Value Size Type Bind Vis Ndx Name
+ 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
+ 1: 0000000000000000 0 NOTYPE WEAK DEFAULT UND undefweakval
+ 2: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND var
+#pass