[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/13616] linker should pad executable sections with nops, not zero
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/13616] linker should pad executable sections with nops, not zeros |
Date: |
Thu, 31 Oct 2019 05:10:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=13616
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #9 from Alan Modra <amodra at gmail dot com> ---
Not so, this really is a ld problem. Some object files use a technique called
code pasting, where pieces of a function are pasted together from multiple
object files. If those pieces are in sections that are aligned greater than
the smallest instruction size, then padding may be inserted between the pieces.
ld must only insert nops for this scheme to work.
--
You are receiving this mail because:
You are on the CC list for the bug.