public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Jim Wilson <wilson@tuliptree.org>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] [Patch] 2/2 fix in machvec.h
Date: Mon, 24 Feb 2003 20:30:29 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590709805920@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805918@msgid-missing>

On Mon, 2003-02-24 at 13:21, Siddha, Suresh B wrote:
> IA64 ABI specifies that globals > 8 bytes need to be aligned to 16
bytes.
> gcc doesn't follow this convention. 

That looks like an usual part of the ABI that was missed in the original
gcc port.  The ABI states that structures have a certain alignment in
one place, and then in a different place it states that global variables
have a possibly larger alignment.  Thus the alignment of a structure
depends on whether it is a local or global variable.  I am not familiar
with any other ABI that has this requirement.  It should be only the
alignment of global variables of structure or array type that are wrong.

I don't think that there is any way to get the right behavior from gcc
without modifying the variable alignment code to add a new hook for this
special case.  This change may create incompatibilities, which means it
may be a difficult change to make without breaking existing linux
distros.

Jim




      reply	other threads:[~2003-02-24 20:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24 18:21 [Linux-ia64] [Patch] 2/2 fix in machvec.h Siddha, Suresh B
2003-02-24 20:30 ` Jim Wilson [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=marc-linux-ia64-105590709805920@msgid-missing \
    --to=wilson@tuliptree.org \
    --cc=linux-ia64@vger.kernel.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