This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 0/6] Fixes for new mach-o load commands
- From: Roman Bolshakov <r dot bolshakov at yadro dot com>
- To: <binutils at sourceware dot org>
- Cc: Roman Bolshakov <r dot bolshakov at yadro dot com>, Tristan Gingold <tgingold at free dot fr>
- Date: Tue, 6 Nov 2018 17:06:32 +0300
- Subject: [PATCH 0/6] Fixes for new mach-o load commands
Apple has added a set of new load commands that weren't handled by bfd.
Some of them are rarely processed by binutils, like binaries with
LC_VERSION_MIN_TVOS.
But inability to handle LC_BUILD_VERSION resulted in a few bug reports,
and rendered binutils/gdb to be unusable with Mojave binaries:
binutils/23728, gdb/23742, binutils/23746
The patch series implements processing of the new commands in bfd and
dump routines in objectdump.
Roman Bolshakov (6):
mach-o: Don't split version into a few fields
mach-o: Print sdk field in LC_VERSION_MIN_*
mach-o: Print LC_VERSION_MIN_WATCHOS
mach-o: Handle LC_VERSION_MIN_TVOS
mach-o: Handle LC_NOTE
mach-o: Handle LC_BUILD_VERSION command
bfd/ChangeLog | 19 +++++++
bfd/mach-o.c | 48 +++++++++++++++---
bfd/mach-o.h | 44 ++++++++++++++--
binutils/ChangeLog | 11 ++++
binutils/od-macho.c | 103 +++++++++++++++++++++++++++++++++++++-
include/ChangeLog | 11 ++++
include/mach-o/external.h | 17 ++++++-
include/mach-o/loader.h | 5 +-
8 files changed, 244 insertions(+), 14 deletions(-)
--
2.19.1