public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Fangrui Song <i@maskray.me>
Cc: binutils@sourceware.org
Subject: [MIPS] Can we have R_MIPS_PC64?
Date: Wed, 05 Feb 2020 07:19:00 -0000	[thread overview]
Message-ID: <20200205071944.tberxwpcrkhnat4h@gmail.com> (raw)

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

             reply	other threads:[~2020-02-05  7:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-05  7:19 Fangrui Song [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200205071944.tberxwpcrkhnat4h@gmail.com \
    --to=i@maskray.me \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).