Files
binutils-gdb/ld/testsuite/ld-ctf/array-extern.d
Nick Alcock 58d7d4d1a7 ld: testsuite: a tiny start on ld.ctf test adjustments
This is just allowing for changes in objdump itself -- the actual
test results cannot be adjusted until either CTFv4 is emitted or
back-compatibility upgrading is implemented (or, preferably, both,
plus testing of a subset of them with -gbtf as well).
2025-04-25 21:53:18 +01:00

33 lines
572 B
Makefile

#as:
#source: array-char.c
#source: array-extern.c
#objdump: --ctf
#ld: -shared --ctf-variables --hash-style=sysv
#name: Arrays (extern)
.*: +file format .*
Contents of type section .ctf:
Header:
Magic number: 0xdff2
Version: 5 \(CTF_VERSION_4\)
#...
Data object section: .* \(0x[1-9a-f][0-9a-f]* bytes\)
Type section: .* \(0x44 bytes\)
String section: .*
Labels:
Data objects:
digits_names -> 0x[0-9a-f]*: \(kind 4\) char \*\[10\] .*
Function objects:
Variables:
Types:
#...
0x[0-9a-f]*: \(kind 4\) .*\[10\] \(size .*
#...