1.3K posts

@HaskRay
FP算法愛好者,玩過超算,醬油DEFCON CTF,吃饭难🐱
California, USA 가입일 Kasım 2012
307 팔로잉4.2K 팔로워

Revised maskray.me/blog/2025-08-2… on LLVM's recent .prefalign change and filed a GNU Assembler feature request sourceware.org/bugzilla/show_…
English

maskray.me/blog/2026-02-1… Call relocation types
Some architectures use two ELF relocation types for a call instruction: (x86, m68k, s390(x), etc)
English

@djtodoro Have you considered maintaining this downstream? Big-endian here introduces either dynamic dispatch overhead or increased code size for the overwhelming majority of RISC-V usersendian.
The code is relatively compact, the cost of carrying this out-of-tree should be quite small.
English

@HaskRay It would be nice if you can give a review on that one 🤣
English

github.com/llvm/llvm-proj… "[LLD][ELF][RISCV] Support big-endian RISC-V linking" This reminds me of Linus Torvalds's
@mail.gmail.com/t/#mce138059dc56014643bbda330810183031ef5c06" target="_blank" rel="nofollow noopener">lore.kernel.org/lkml/CAHk-%3Dw… "New endianness problems are somebody ELSES problem"
English

@djtodoro Many people, including very high-profile ones, dislike this idea.
The question is "does big-endian RISC-V earn its keep."
Without a concrete user, shipping hardware, or at minimum a credible public roadmap, this imposes ongoing costs on maintainers for speculative benefit.
English

@rui314 harshanu.space/en/tech/ccc-vs… analyzes why the ccc-compiled code has poor runtime performance.
English

Asked Claude Code silly questions 'What's the code review style of XXX?'. Still not sure how well it actually performs reviews in someone's style, but the responses are fascinating. gist.github.com/MaskRay/9ebed6…




English

I hope that someone can take inspiration from Solaris and macOS for ELF maskray.me/blog/2021-05-1…
> In Mac OS X, the two-level namespace introduced in 10.1 (default unless you use ld -flat_namespace) is a similar model.
English

When a dynamic relocation references a defined symbol, get the hash from the GNU hash table. DT_GNU_HASH only stores 31 bits (the LSB is cleared for chain termination). The missing bit can be recovered openwall.com/lists/musl/202…
updated my 2022-08-21-glibc-and-dt-gnu-hash
English

maskray.me/blog/2026-02-0… lld 22 ELF changes
highlights: Distributed ThinLTO, Pointer Field Protection, RISC-V vendor relocations
English














