Mach-O: add cpu and cpusubtype caps.
authorTristan Gingold <tristan.gingold@adacore.com>
Wed, 9 Apr 2014 08:12:45 +0000 (10:12 +0200)
committerTristan Gingold <tristan.gingold@adacore.com>
Wed, 16 Apr 2014 08:04:19 +0000 (10:04 +0200)
commit12241a34d72fe9be70e8c7001b05764bb7e9738e
tree5f522b21c8bffa9ff60e16e1003bdf512db6d38c
parent40fd06d18832d52c9ab08914d8d5428ca68e5726
Mach-O: add cpu and cpusubtype caps.

include/mach-o/
2014-04-16  Tristan Gingold  <gingold@adacore.com>

* loader.h (BFD_MACH_O_CPU_ARCH_MASK, BFD_MACH_O_CPU_ARCH_ABI64)
(BFD_MACH_O_CPU_SUBTYPE_MASK, BFD_MACH_O_CPU_SUBTYPE_LIB64): Define.

bfd/
2014-04-16  Tristan Gingold  <gingold@adacore.com>

* mach-o-x86-64.c (bfd_mach_o_x86_64_mkobject): Adjust cpusubtype
flag.
bfd/ChangeLog
bfd/mach-o-x86-64.c
include/mach-o/ChangeLog
include/mach-o/loader.h