Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-ctf/array-extern.d
2023-03-06 14:48:14 +01:00

32 lines
571 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 CTF section .ctf:
Header:
Magic number: 0xdff2
Version: 4 \(CTF_VERSION_3\)
#...
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 .*
#...