facf0c92e0
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.
33 lines
793 B
Plaintext
33 lines
793 B
Plaintext
/* This linker script is used for orphan-9 and orphan-10 test.
|
|
|
|
orphan-9: We have a single byte in .data, and an orphan .data.1
|
|
section. We are checking that the .data.1 orphan is assigned an
|
|
LMA after .data rather than picking up the lma region of .rodata.
|
|
|
|
orphan-10: In this case we have nothing in .data and an orphan
|
|
.data.1, we are checking that .data.1 is assigned an LMA after
|
|
.data, rather than defaulting to take LMA == VMA. */
|
|
|
|
MEMORY
|
|
{
|
|
MEM : ORIGIN = 0x1000, LENGTH = 0x100
|
|
TEXT : ORIGIN = 0x200, LENGTH = 0x50
|
|
DATA : ORIGIN = 0x300, LENGTH = 0x50
|
|
RODATA : ORIGIN = 0x400, LENGTH = 0x50
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.text : {
|
|
*(.text)
|
|
} >MEM AT>TEXT
|
|
|
|
.data : AT(0x300) {
|
|
*(.data)
|
|
} >MEM
|
|
|
|
.rodata : {
|
|
*(.rodata)
|
|
} >MEM AT>RODATA
|
|
}
|