aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/array.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-ctf/array.d')
-rw-r--r--ld/testsuite/ld-ctf/array.d11
1 files changed, 6 insertions, 5 deletions
diff --git a/ld/testsuite/ld-ctf/array.d b/ld/testsuite/ld-ctf/array.d
index f45d68c..82e9939 100644
--- a/ld/testsuite/ld-ctf/array.d
+++ b/ld/testsuite/ld-ctf/array.d
@@ -2,7 +2,7 @@
#source: array-char.c
#source: array-int.c
#objdump: --ctf=.ctf
-#ld: -shared --ctf-variables
+#ld: -shared --ctf-variables --hash-style=sysv
#name: Arrays
.*: +file format .*
@@ -12,19 +12,20 @@ Contents of CTF section .ctf:
Header:
Magic number: dff2
Version: 4 \(CTF_VERSION_3\)
- Variable section: 0x0 -- 0xf \(0x10 bytes\)
- Type section: 0x10 -- 0x6b \(0x5c bytes\)
+#...
+ Data object section: .* \(0x8 bytes\)
+ Type section: .* \(0x5c bytes\)
String section: .*
Labels:
Data objects:
+ digits -> int \[10\]
+ digits_names -> char \*\[10\]
Function objects:
Variables:
- digits.*\[10] .*
- digits.*\[10] .*
Types:
#...