[Bug ld/13675] New: Broken x86 binaries for march i686 (SIGILL due to multi byte NOP)

2012-02-09 Thread jajcus at jajcus dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=13675

 Bug #: 13675
   Summary: Broken x86 binaries for march  i686 (SIGILL due to
multi byte NOP)
   Product: binutils
   Version: 2.23 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassig...@sourceware.org
ReportedBy: jaj...@jajcus.net
Classification: Unclassified


Created attachment 6205
  -- http://sourceware.org/bugzilla/attachment.cgi?id=6205
This patch (not optimal, I guess) fixes the problem for me

Recent ld uses multi byte NOP to fill empty code space. These opcodes are not
available on older x86 processors causing the binaries to fail (e.g. on AMD
Geode systems).

It seems the problem was introduced with the fix for bug 13616.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/13616] linker should pad executable sections with nops, not zeros

2012-02-09 Thread jajcus at jajcus dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=13616

Jacek Konieczny jajcus at jajcus dot net changed:

   What|Removed |Added

 CC||jajcus at jajcus dot net

--- Comment #6 from Jacek Konieczny jajcus at jajcus dot net 2012-02-09 
10:23:19 UTC ---
The i386 fix seems to break compatibility with older x86 CPUs, which cannot
handle those multi byte NOPs. See bug 13675.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils