public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [MIPS] Can we have R_MIPS_PC64?
@ 2020-02-05  7:19 Fangrui Song
  2020-02-05  9:00 ` Andrew Pinski
  0 siblings, 1 reply; 9+ messages in thread
From: Fangrui Song @ 2020-02-05  7:19 UTC (permalink / raw)
  Cc: binutils

R_MIPS_PC32 exists as a GNU extension.
R_MIPS_PC64 existed, but was removed by https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4030e8f62467c29b782aa2480e1e452b8e458699
(like all the old commits, the description just recorded what the commit *did*. There was no *why*.)

This just makes certain things unnecessarily complex.

* DW_EH_PE_pcrel|DW_EH_PE_sdata8 => ?
* __patchable_function_entries has to have the SHF_WRITE flag on MIPS https://gcc.gnu.org/ml/gcc/2020-01/msg00106.html
   .quad foo - . => Error: PC-relative reference to a different section

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-07-09  5:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-05  7:19 [MIPS] Can we have R_MIPS_PC64? Fangrui Song
2020-02-05  9:00 ` Andrew Pinski
2020-02-05  9:04   ` Andrew Pinski
2020-02-05  9:10     ` Andrew Pinski
2020-02-05  9:16       ` Andrew Pinski
2020-02-08 18:40         ` Fangrui Song
2020-02-17 18:07           ` Maciej W. Rozycki
2020-02-19  4:26             ` Fangrui Song
2020-07-09  5:23               ` Fangrui Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).