This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[commit] [patch] libelf: Consider sh_addralign 0 as 1
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 07 Feb 2015 15:25:34 +0100
- Subject: [commit] [patch] libelf: Consider sh_addralign 0 as 1
On Fri, 06 Feb 2015 09:04:25 +0100, Mark Wielaard wrote:
> I do think that is by accident, and actually a bug. It might be that no
> alignment works here because the result isn't relinked ever and they
> make sure the ELF file they write out is hand aligned. But it is at
> least a little sloppy. If nothing else a comment why this is fine would
> be a good idea.
I have filed it as:
https://github.com/golang/go/issues/9802
> > Anyway I find the fix obvious enough it could possibly go even without
> > a testcase?
>
> Yes, thanks.
Checked in:
6f5934c1afa8f34bfb8f86b191ded9af854e757f
Thanks,
Jan