[PATCH] D127826: [Driver] Pass -X to ld for riscv*-{elf,freebsd,linux}

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 16 23:22:13 PDT 2022


MaskRay added a comment.

Thanks for the archaeology!

> ld will treat ld -r -s as ld -r -S -x,

This seems really weird... I agree that using driver-passed -X instead of the implied -x is safe.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127826/new/

https://reviews.llvm.org/D127826



More information about the cfe-commits mailing list