Fangrui Song

Results 110 comments of Fangrui Song

The problem is that ld.lld errors for unknown `-z` options while GNU ld just warns. ```sh % ld.bfd -z nostart-stop-gc a.o ld.bfd: warning: cannot find entry symbol _start; defaulting to...

Using `llvm-ifs` for this purpose looks good to me. We can use: `llvm-ifs --input-format=ELF a.so --output-elf=a.ifso`. `llvm-ifs` does not handle [symbol versioning](https://maskray.me/blog/2020-11-26-all-about-symbol-versioning). We probably need to implement the feature and...

I can now reproduce the error in my new `llvm-project` repository for other pull requests... ``` % spr amend b128ce5 [RISCV] Restore DW_EH_PE_uleb128 call site encoding for .gcc_except_table 🛑 an...

Just wanted to check back here. The code will soon fail to compile with latest llvm-project. (https://reviews.llvm.org/D145043#4232771)

Hi, is there a filed issue on https://github.com/llvm/llvm-project/issues/ with a reproduce tarball (create with `-Wl,--reproduce=/tmp/rep.tar`) ? I don't remember that I saw one.. You may want to check whether you...

I am on a trip until Dec 15 and will have some backlog to process... I maintain lld/ELF and have implemented RISC-V linker relaxation. I'll have a strong opinion when...

> > > 6-bit in-place addition > > > > > > This isn't useful. It should specify which bits are modified. > > It seems to be something parallel...

Drive-by comments (I come across here + I don't know where I should report the problems other than here:) ) `--pack-dyn-relocs=android+relr` may not be a good combination. First, non `-z`...