Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-mips-elf/got-page-5.s
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

32 lines
761 B
ArmAsm

# Create a mergeable section full of a single value,
# and page references relative to one entry called "data".
#
# The mergeable entries collapse to one, but the offsets
# from "data" must still be retained, and need 3 page entries.
#
# Technically this isn't valid, because it creates out-of-section
# page references. It's still a useful way of making sure that
# offsets in mergeable sections are handled correctly.
.globl foo
.ent foo
foo:
.set y,0
.rept 4
lw $4,%got_page(data + y)($gp)
addiu $4,$4,%got_ofst(data + y)
.set y,y+0x8000
.endr
.end foo
.section .rodata.cst4,"aM",@progbits,4
data:
.rept 0x8000*4
.word 123456
.endr
# Make sure the loadable size of the library is large.
.section .bss
.globl g
g:
.space 0x800000