public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: "H.J. Lu" <hjl.tools@gmail.com>, mengqinggang <mengqinggang@loongson.cn>
Cc: binutils@sourceware.org, xuchenghua@loongson.cn,
	chenglulu@loongson.cn,  liuzhensong@loongson.cn,
	cailulu@loongson.cn, i.swmail@xen0n.name,  maskray@google.com,
	luweining@loongson.cn, wanglei@loongson.cn,
	 hejinyang@loongson.cn
Subject: Re: [PATCH v1] LoongArch: gas: Ignore .align if it is at the start of a section
Date: Wed, 20 Mar 2024 20:53:40 +0800	[thread overview]
Message-ID: <ede9234eb597054badaae2f053839ee95eb9a8ce.camel@xry111.site> (raw)
In-Reply-To: <CAMe9rOrUxf1Xxk+U8CGVV1Z8TDqKbJ-bpGUBPvXQiHbkFwc=XA@mail.gmail.com>

On Wed, 2024-03-20 at 04:08 -0700, H.J. Lu wrote:
> On Wed, Mar 20, 2024 at 3:08 AM mengqinggang <mengqinggang@loongson.cn> wrote:
> > 
> > Ignore .align if it is at the start of a section, the section alignment
> > can ensure correct alignment.
> 
> What happens when the section is aligned at 8 bytes and .align is aligned to
> 16 bytes?

If it happens we should increase the section alignment to 16, or we were
silently generating broken output and we had a bug anyway...

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

  reply	other threads:[~2024-03-20 12:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-20 10:07 mengqinggang
2024-03-20 11:08 ` H.J. Lu
2024-03-20 12:53   ` Xi Ruoyao [this message]
2024-03-21  1:34     ` mengqinggang

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=ede9234eb597054badaae2f053839ee95eb9a8ce.camel@xry111.site \
    --to=xry111@xry111.site \
    --cc=binutils@sourceware.org \
    --cc=cailulu@loongson.cn \
    --cc=chenglulu@loongson.cn \
    --cc=hejinyang@loongson.cn \
    --cc=hjl.tools@gmail.com \
    --cc=i.swmail@xen0n.name \
    --cc=liuzhensong@loongson.cn \
    --cc=luweining@loongson.cn \
    --cc=maskray@google.com \
    --cc=mengqinggang@loongson.cn \
    --cc=wanglei@loongson.cn \
    --cc=xuchenghua@loongson.cn \
    /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).