mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
db120fb808
powerpc-linux, and I suspect other 32-bit targets, report "aligned at 0x4" for this test. * testsuite/ld-ctf/nonrepresentable.d: Accept any alignment.
27 lines
465 B
Makefile
27 lines
465 B
Makefile
#as:
|
|
#source: nonrepresentable-1.c
|
|
#source: nonrepresentable-2.c
|
|
#objdump: --ctf
|
|
#ld: -shared
|
|
#name: Nonrepresentable types
|
|
|
|
.*: +file format .*
|
|
|
|
Contents of CTF section .ctf:
|
|
|
|
Header:
|
|
Magic number: 0xdff2
|
|
Version: 4 \(CTF_VERSION_3\)
|
|
#...
|
|
Function objects:
|
|
#...
|
|
foo -> 0x[0-9]*: \(kind 5\) int \(\*\) \(\(nonrepresentable type.*\)\) \(aligned at .*\)
|
|
#...
|
|
Types:
|
|
#...
|
|
0x[0-9a-f]*: \(kind 0\) \(nonrepresentable type.*\)
|
|
#...
|
|
|
|
Strings:
|
|
#...
|