This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RISC-V: Relax RISCV_PCREL_* to RISCV_GPREL_*


I've had these two patches sitting in my tree for a few months.  I've been
slowly going though and testing all our out-of-tree patches and getting them
upstream, with these two as the last major ones we have.  I was hoping to go
convert all our relaxations over to using R_RISCV_DELETE, with the idea being
that we could avoid the O(n^2) copying we do when relaxing, but it looks like I
won't get time to do that for a while.

Despite the patches not being quite done, they do seem to work correctly
(they're been on the branch we at SiFive make releases from for a while),
enable a new optimization, and generally don't seem to hurt -- essentially they
just add some code that should be used to clean up a few more places.

I'll commit these to master unless anyone has any objections or notices
anything I screwed up :).

[PATCH 1/2] RISC-V: Add R_RISCV_DELETE, which marks bytes for
[PATCH 2/2] RISC-V: Relax RISCV_PCREL_* to RISCV_GPREL_*


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]