ff4ff35918
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.
22 lines
653 B
D
22 lines
653 B
D
#source: dt-relr-2.s
|
|
#ld: -e _start -pie $DT_RELR_LDFLAGS -z nocombreloc
|
|
#readelf: -rW -d
|
|
#target: [supports_dt_relr]
|
|
|
|
#...
|
|
0x[0-9a-f]+ \(RELR\) +0x[0-9a-f]+
|
|
0x[0-9a-f]+ \(RELRSZ\) +(8|16) \(bytes\)
|
|
0x[0-9a-f]+ \(RELRENT\) +(4|8) \(bytes\)
|
|
#...
|
|
Relocation section '\.rel(a|)\.data' at offset 0x[0-9a-f]+ contains 1 entry:
|
|
#...
|
|
[0-9a-f]+ +[0-9a-f]+ +R_.*_(RELATIVE|UADDR.*) .*
|
|
#...
|
|
Relocation section '\.relr\.dyn' at offset 0x[0-9a-f]+ contains 2 entries which relocate [0-9]+ locations:
|
|
#...
|
|
0000: +[0-9a-f]+ [0-9a-f]+ +data
|
|
0001: +[0-9a-f]+ [0-9a-f]+ +data \+ 0x[0-9a-f]+
|
|
+[0-9a-f]+ +data \+ 0x[0-9a-f]+
|
|
+[0-9a-f]+ +data \+ 0x[0-9a-f]+
|
|
#pass
|