From: Ian Lance Taylor <ian@cygnus.com>
To: hjl@nynexst.com
Cc: gcc2@cygnus.com, gas2@cygnus.com, raeburn@cygnus.com
Subject: Re: comm/local/ELF/gas/gcc
Date: Tue, 28 Nov 1995 08:55:00 -0000 [thread overview]
Message-ID: <199511281655.LAA06540@sanguine.cygnus.com> (raw)
In-Reply-To: <9511280605.AA10129@nynexst.com>
From: hjl@nynexst.com (H.J. Lu)
Date: Tue, 28 Nov 95 1:05:35 EST
1. There is a limit of MAX_OFILE_ALIGNMENT in bits for maximum alignment.
But it only applies to symbols in data, not those in bss/common.
The problem would appear to be that gcc defaults to value of
MAX_OFILE_ALIGNMENT to BIGGEST_ALIGNMENT. For the i386,
BIGGEST_ALIGNMENT is 32 or 64. It would be reasonable for
config/svr4.h in gcc to set MAX_OFILE_ALIGNMENT to 0x80000000.
However, I don't know what the consequences are of requesting an
alignment larger than BIGGEST_ALIGNMENT. Is that supposed to work or
not?
3. The x86/ELF gas is kind of strange:
.local x.2
.comm x.2,4,4
and
.comm x.2,4,16
mean the same alignment.
This was a gas bug. It is fixed in the 2.6 release.
Ian
prev parent reply other threads:[~1995-11-28 8:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-27 22:06 comm/local/ELF/gas/gcc H.J. Lu
1995-11-28 8:55 ` Ian Lance Taylor [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=199511281655.LAA06540@sanguine.cygnus.com \
--to=ian@cygnus.com \
--cc=gas2@cygnus.com \
--cc=gcc2@cygnus.com \
--cc=hjl@nynexst.com \
--cc=raeburn@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).