public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Michael Matz <matz@suse.de>
To: Jan Beulich <jbeulich@suse.com>
Cc: Binutils <binutils@sourceware.org>,
	Nick Clifton <nickc@redhat.com>,  Alan Modra <amodra@gmail.com>
Subject: Re: how to know host endianness in binutils
Date: Tue, 9 Jan 2024 17:19:46 +0100 (CET)	[thread overview]
Message-ID: <22872ae6-f917-a5fa-2371-27e5ffecd7dc@suse.de> (raw)
In-Reply-To: <d4fe56ce-d6b8-4003-a2ff-f899562440fa@suse.com>

Hey,

On Thu, 21 Dec 2023, Jan Beulich wrote:

> looking around, I can't seem to be able to find any standardized way of
> knowing host endianness in binutils (in gas/ in particular).

I've added a use of AC_C_BIGENDIAN into bfd/ last year (defining 
WORDS_BIGENDIAN).  Seems to have worked fine so far.


Ciao,
Michael.

      parent reply	other threads:[~2024-01-09 16:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21 14:30 Jan Beulich
2023-12-21 15:11 ` H.J. Lu
2024-01-02 11:29 ` Nick Clifton
2024-01-09 16:19 ` Michael Matz [this message]

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=22872ae6-f917-a5fa-2371-27e5ffecd7dc@suse.de \
    --to=matz@suse.de \
    --cc=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=jbeulich@suse.com \
    --cc=nickc@redhat.com \
    /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).