public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: Bryan Ford <baford@schirf.cs.utah.edu>
To: gas2@cygnus.com
Subject: .align behavior in gas
Date: Tue, 25 Apr 1995 16:10:00 -0000	[thread overview]
Message-ID: <199504252316.RAA09079@schirf.cs.utah.edu> (raw)

In recent gas snapshots, it seems that for some i386 targets
(e.g. i386-mach, i386-gnu), gas interprets the .align directive
as a number of bytes; whereas for other targets (e.g. i386-linux)
it is interpreted as log2(nbytes).  Has this always been the case?
Are there any other directives that perform the same function but
have a consistent behavior?  (I looked at gas/read.c, but couldn't
find anything.)  If not, it would be very useful to have a new directive
called, say, '.balign' that always takes a number of bytes, and/or a new
directive called something like '.p2align' that always takes a power of
two.  (I don't care what it is, as long as it's consistent!)   This
should be trivial to do; just a matter of adding a new line or two
to read.c, right?

Thanks!

				Bryan
---
Bryan Ford	baford@cs.utah.edu	University of Utah, CSS
`finger baford@schirf.cs.utah.edu' for PGP key and other info.


             reply	other threads:[~1995-04-25 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-25 16:10 Bryan Ford [this message]
1995-04-26  7:01 ` Ken Raeburn
1995-04-26 10:27   ` Bryan Ford
1995-04-26 13:03     ` Ken Raeburn
1995-04-26  7:03 ` Mike Meissner

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=199504252316.RAA09079@schirf.cs.utah.edu \
    --to=baford@schirf.cs.utah.edu \
    --cc=gas2@cygnus.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).