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

--- Comment #25 from Jan Beulich <jbeulich at suse dot com> ---
(In reply to Andreas Schwab from comment #24)
> The target has no relevance when the host is reading the section contents.

I'm confused; it would help if you provided some more detail of what exactly
your concerned.

For any particular target, where an ELF object targeting it is processed is
entirely independent of the target itself. The application of some minimal
alignment based on a target property is merely a courtesy, making sure the same
object would result no matter where it's created. Truly portable consumers of
ELF objects can't make assumptions on the file alignment anyway - imagine a CPU
where you can only read 128-byte aligned entities. Surely you don't mean us to
cover for that by applying 128-byte alignment everywhere (and obviously 128
then still being entirely arbitrary).

The only conclusion I can (for now) draw from your comments is that you think
we shouldn't do people this favor. Which kind of contradicts the earlier
modpost observation, demonstrating that there are ELF consumers out there which
make undue assumptions.

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

Reply via email to