Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-ctf/cross-tu-into-cycle.d
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

61 lines
1.2 KiB
D

# Check that a type outside a cycle pointing into a cycle
# in another TU does not cause the whole cycle to show up
# as conflicted. (Here, we do that by forcing conflicts
# in the variable section alone, so that we can assert that
# the type section of any conflicted dicts is empty.)
# Minimized from libbfd itself.
#as:
#source: cross-tu-cyclic-3.c
#source: cross-tu-cyclic-4.c
#objdump: --ctf
#ld: -shared --ctf-variables
#name: cross-TU-into-cycle
.*: file format .*
Contents of CTF section .ctf:
Header:
Magic number: 0xdff2
Version: 4 \(CTF_VERSION_3\)
#...
Labels:
Data objects:
Function objects:
Variables:
a -> .*
conflicty -> .*
Types:
0x[0-9a-f]*: \(kind 6\) struct A .*
*\[0x0\] foo: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
0x[0-9a-f]*: \(kind 6\) struct B .*
*\[0x0\] next: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
0x[0-9a-f]*: \(kind 3\) struct B \* .*
0x[0-9a-f]*: \(kind 3\) struct A \* .*
Strings:
#...
CTF archive member: .*/ld/testsuite/ld-ctf/cross-tu-cyclic-[34].c:
Header:
#...
Labels:
Data objects:
Function objects:
Variables:
conflicty -> .*
Types:
Strings:
#...