Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-ctf/diag-wrong-magic-number-mixed.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

41 lines
843 B
D

#as:
#source: diag-wrong-magic-number.s
#source: B.c
#ld: -shared --ctf-variables
#name: Diagnostics - Wrong magic number mixed with valid CTF sections
#warning: CTF section in .* not loaded; its types will be discarded: Buffer does not contain CTF data
.*: +file format .*
Contents of CTF section .ctf:
Header:
Magic number: 0xdff2
Version: 4 \(CTF_VERSION_3\)
#...
Variable section: 0x0 -- 0x17 \(0x18 bytes\)
Type section: 0x18 -- 0x83 \(0x6c bytes\)
String section: .*
Labels:
Data objects:
Function objects:
Variables:
#...
b -> 0x[0-9a-f]*: struct B \(.*
#...
Types:
#...
0x[0-9a-f]*: struct B \(.*
*\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 6\) struct B \(.*
*\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 3\) struct C \* c \(.*
#...
Strings:
0x0:
#...
0x[0-9a-f]*: B
#...