From: "Maciej W. Rozycki" <macro@orcam.me.uk>
To: Alan Modra <amodra@gmail.com>
Cc: binutils@sourceware.org
Subject: Re: BFD_RELOC_MIPS_16
Date: Wed, 3 Aug 2022 00:59:09 +0100 (BST) [thread overview]
Message-ID: <alpine.DEB.2.21.2208030034410.27239@angie.orcam.me.uk> (raw)
In-Reply-To: <YqfXlCKcC73f7z1k@squeak.grove.modra.org>
On Tue, 14 Jun 2022, Alan Modra via Binutils wrote:
> time. Like BFD_RELOC_8, BFD_RELOC_16 now has no corresponding object
> file relocation, and thus .half, .hword, .short and .dc.w must be
> resolved at assembly time.
That should be R_MIPS_REL16 AFAICT, reloc #33 according to MIPS NewABI
documentation[1]:
Name Value Field Symbol Calculation
R_MIPS_REL16 33 V-hw16 any S+A
and we have all the bits including a howto in place. I wonder what
happened that we never had it linked with BFD_RELOC_16.
References:
[1] "64-bit ELF Object File Specification", Draft Version 2.5, MIPS
Technologies / Silicon Graphics Computer Systems, Document Number
007-4658-001, Table 32 "Relocation Types", p. 46
Maciej
next prev parent reply other threads:[~2022-08-02 23:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-14 0:34 BFD_RELOC_MIPS_16 Alan Modra
2022-08-02 23:59 ` Maciej W. Rozycki [this message]
2022-08-04 3:37 ` BFD_RELOC_MIPS_16 Alan Modra
2022-08-05 15:13 ` BFD_RELOC_MIPS_16 Maciej W. Rozycki
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=alpine.DEB.2.21.2208030034410.27239@angie.orcam.me.uk \
--to=macro@orcam.me.uk \
--cc=amodra@gmail.com \
--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).