PkmX (Chih-Mao Chen)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 7 2017, 11:26 PM (18 w, 19 h)

Recent Activity

Yesterday

PkmX added a comment to D39348: Implement --just-symbols..

What is your use case to specify only single --just-symbol file ?

Mon, Dec 11, 7:12 AM

Sun, Dec 10

PkmX added a comment to D39348: Implement --just-symbols..

If the only input file is specified as the argument of --just-symbol, lld will error out (ld.bfd accepts this):

Sun, Dec 10, 11:40 PM

Thu, Dec 7

PkmX added inline comments to D39322: [lld] Support RISC-V.
Thu, Dec 7, 3:20 AM · lld
PkmX added a comment to D39322: [lld] Support RISC-V.

Oops. It looks like I actually didn't submit some of these draft comments.

Thu, Dec 7, 3:19 AM · lld

Nov 6 2017

PkmX updated the diff for D39324: [lld] Support TLS in RISC-V.

Rebase onto latest master

Nov 6 2017, 11:13 PM · lld
PkmX updated the diff for D39323: [lld] Support dynamic linking in RISC-V.
  • Rebase onto latest master
  • Clean up #includes
Nov 6 2017, 11:13 PM · lld
PkmX updated the diff for D39322: [lld] Support RISC-V.
  • Rebase onto latest master
  • Clean up #includes
Nov 6 2017, 11:12 PM · lld

Nov 1 2017

PkmX updated the diff for D39323: [lld] Support dynamic linking in RISC-V.

clang-format-diff RISCV::writePLT.

Nov 1 2017, 1:49 AM · lld
PkmX updated the diff for D39322: [lld] Support RISC-V.

Make R_RISCV_CALL reuse R_RISCV_PCREL_HI20 and R_RISCV_PCREL_LO12_I.

Nov 1 2017, 1:46 AM · lld

Oct 31 2017

PkmX added a comment to D39322: [lld] Support RISC-V.

I believe the best place would be either the issue tracker on the psABI doc, or RISC-V's sw-dev mailing list.

Oct 31 2017, 5:24 PM · lld

Oct 30 2017

PkmX updated the diff for D39324: [lld] Support TLS in RISC-V.
  • Mark TLS_DTP_OFFSET as internal linkage.
Oct 30 2017, 11:56 PM · lld
PkmX updated the diff for D39323: [lld] Support dynamic linking in RISC-V.
  • Use write32le.
  • Since __global_pointer$ is no longer absolute, remove workaround to make it a static link-time constant in PIE.
Oct 30 2017, 11:54 PM · lld
PkmX updated the diff for D39322: [lld] Support RISC-V.
  • Use {read,write}32le to read/write insturctions.
  • Make __global_pointer$ non-absolute.
Oct 30 2017, 11:52 PM · lld
PkmX updated the diff for D39324: [lld] Support TLS in RISC-V.

De-template RISCV class.

Oct 30 2017, 4:26 AM · lld
PkmX updated the diff for D39323: [lld] Support dynamic linking in RISC-V.

De-template RISCV class and assume little-endian.

Oct 30 2017, 4:25 AM · lld
PkmX updated the diff for D39322: [lld] Support RISC-V.
  • Renamed uint32_t to RelType.
  • Detemplate the RISCV class.
Oct 30 2017, 4:24 AM · lld

Oct 26 2017

PkmX updated the diff for D39324: [lld] Support TLS in RISC-V.
Oct 26 2017, 11:38 PM · lld
PkmX updated the diff for D39323: [lld] Support dynamic linking in RISC-V.
Oct 26 2017, 11:38 PM · lld
PkmX updated the diff for D39322: [lld] Support RISC-V.
Oct 26 2017, 11:37 PM · lld
PkmX added a comment to D39322: [lld] Support RISC-V.
In D39322#908393, @ruiu wrote:

As you said this looks like a pretty straightforward port to RISC-V. Thank you for doing this!

IIRC, last time when we discussed RISC-V support in lld, I had a concern that linker relaxation (moving code inside a section to make it compact) is virtually mandatory to link RISC-V object files. What is the situation of it? If you can link a small static executable with this patch, then it is probably no longer mandatory, but I want to make sure that that's the case.

Oct 26 2017, 7:49 PM · lld
PkmX created D39324: [lld] Support TLS in RISC-V.
Oct 26 2017, 1:27 AM · lld
PkmX created D39323: [lld] Support dynamic linking in RISC-V.
Oct 26 2017, 1:25 AM · lld
PkmX created D39322: [lld] Support RISC-V.
Oct 26 2017, 1:24 AM · lld

Oct 10 2017

PkmX created D38779: [RISCV] Fix createObjectWriter after r315327.
Oct 10 2017, 8:33 PM

Sep 28 2017

PkmX added a comment to D38311: [RISCV] Parse RISC-V eflags in ObjectYAML.

llvm-readobj would also need to be modified to recognize RISC-V eflags, and I think it is better to keep that in a separate commit.

Sep 28 2017, 12:16 PM
PkmX updated the diff for D38311: [RISCV] Parse RISC-V eflags in ObjectYAML.

Added RISC-V tests for ObjectYAML

Sep 28 2017, 2:57 AM

Sep 27 2017

PkmX created D38311: [RISCV] Parse RISC-V eflags in ObjectYAML.
Sep 27 2017, 3:44 AM
PkmX created D38310: [RISCV] Define RISC-V specific eflags.
Sep 27 2017, 3:35 AM

Aug 8 2017

PkmX created D36455: [RISCV] Recognize new relocation types.
Aug 8 2017, 3:26 AM