bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23746] Debugging under x86_64-apple-darwin18.0.0 getting "


From: lilrom13 at gmail dot com
Subject: [Bug binutils/23746] Debugging under x86_64-apple-darwin18.0.0 getting "not in executable format"
Date: Thu, 25 Oct 2018 18:21:18 +0000

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

--- Comment #4 from romain margheriti <lilrom13 at gmail dot com> ---
So, I found a solution.

The trouble is that clang-1000.11.45.2 brings a new command `LC_BUILD_VERSION`
inside o-mach file that isn't wet interpreted by bfd.

I esealy fixed this issue adding `BFD_MACH_O_LC_BUILD_VERSION = 0x32` to
`include/mach-o/loader.h` line 189 and `case
BFD_MACH_O_LC_BUILD_VERSION:break;` to `bfd/mach-o.c` line 4649.

-- 
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]