bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/29145] GAS always generates padding instructions regardless of


From: nickc at redhat dot com
Subject: [Bug gas/29145] GAS always generates padding instructions regardless of `--no-pad-sections`
Date: Mon, 23 May 2022 11:19:15 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29145

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
Hi lh_mouse,

>> Unfortunately this is required by the PE specification, so it cannot

> Would you please provide a link to this specification? I doubt whether it is
> necessary to keep a 16-byte aligned .text section in every object.

Here is a link:

   https://docs.microsoft.com/en-us/windows/win32/debug/pe-format

Although I agree that I cannot find an actual requirement for 16-byte alignment
in that document.   I am not an expert on the PE format however, so the
requirement
may be in there, just hidden.

I would suggest that you ask about this on the cygwin mailing list as there
are many PE experts there:

   https://www.cygwin.com/lists.html

Cheers
   Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]