From: Andrew Pinski <pinskia@gmail.com>
To: Fangrui Song <i@maskray.me>
Cc: binutils <binutils@sourceware.org>
Subject: Re: [MIPS] Can we have R_MIPS_PC64?
Date: Wed, 05 Feb 2020 09:04:00 -0000 [thread overview]
Message-ID: <CA+=Sn1kWk6AoRfade-_MdqTzvCSKCVSMKNF3cFtZCNQReTB2zQ@mail.gmail.com> (raw)
In-Reply-To: <CA+=Sn1=xg1icO50KHakDCEqc4EcStYZ2zVpC-dAR06+Ppq+Ssw@mail.gmail.com>
On Wed, Feb 5, 2020 at 12:59 AM Andrew Pinski <pinskia@gmail.com> wrote:
>
> On Tue, Feb 4, 2020 at 11:20 PM Fangrui Song <i@maskray.me> wrote:
> >
> > 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*.)
>
> But the why is recorded still in the mail archives:
> https://sourceware.org/ml/binutils/2004-04/msg00657.html
See the GCC side of the reason:
https://gcc.gnu.org/ml/gcc-patches/2004-04/msg01093.html
Thanks,
Andrew Pinski
>
> Thanks,
> Andrew Pinski
>
>
> >
> > 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
next prev parent reply other threads:[~2020-02-05 9:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-05 7:19 Fangrui Song
2020-02-05 9:00 ` Andrew Pinski
2020-02-05 9:04 ` Andrew Pinski [this message]
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='CA+=Sn1kWk6AoRfade-_MdqTzvCSKCVSMKNF3cFtZCNQReTB2zQ@mail.gmail.com' \
--to=pinskia@gmail.com \
--cc=binutils@sourceware.org \
--cc=i@maskray.me \
/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).