Tag · RISC-V
3 articles to explore.
[The World of Linkers—Lab 11] Seeing Through Indirection: GOT, Relaxation, and Static TLS
2026-10-06
Extend class9's static PIE with GOT slots, the supported mov relaxation, a TLS template, and supplied startup code that installs main-thread TLS.
Read article
[The World of Linkers—Theory 10] When a Program Must Arrange Its Own Memory
2026-10-04
Linker scripts organize input sections and define the address contract for an image. Distinguish file offsets, VMA, and LMA; explain startup mappings, data copying, and BSS clearing; then examine kernel layouts, embedded data, section retention, alignment, and script assertions.
Read article
[The World of Linkers—Theory 04] Relocation: Four Bytes Between Caller and Callee
2026-10-04
Follow a runnable Linux program from an unresolved call to four final instruction bytes. Distinguish section offsets, file offsets, P, and next RIP before deriving S+A-P; then explore negative displacements, absolute pointers, addends, overflow, and instruction relaxation.
Read article