public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: YunQiang Su <syq@gcc.gnu.org>
To: binutils <binutils@sourceware.org>
Subject: Gas: Any pseudo instruction to disable a single RELOC?
Date: Fri, 12 Jan 2024 18:08:59 +0800	[thread overview]
Message-ID: <CAKcpw6VN7FABHbZBRHpskthsUCewR=WHa_s-xQbn4WUyM_fmpA@mail.gmail.com> (raw)

Is there a way to disable generating RELOC for a single instruction?
One example is

     .set noreorder
xx:
      .reloc 0,R_MIPS_NONE,0  # append a new reloc.
      bal 4
      nop
      sll $2,$2,0
      sll $2,$2,0


In this example, I wish `bal 4` would be keeped as is.
Is there a way to disable generating any RELOC?

             reply	other threads:[~2024-01-12 10:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12 10:08 YunQiang Su [this message]
2024-01-12 10:17 ` Jan Beulich
2024-01-12 14:41   ` YunQiang Su
2024-01-12 15:43     ` Xi Ruoyao
2024-01-12 16:00       ` YunQiang Su

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='CAKcpw6VN7FABHbZBRHpskthsUCewR=WHa_s-xQbn4WUyM_fmpA@mail.gmail.com' \
    --to=syq@gcc.gnu.org \
    --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).