mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-19 07:22:14 +08:00
bfd/
2012-01-04 Tristan Gingold <gingold@adacore.com> * mach-o.h: Reindent header. (bfd_mach_o_encryption_info_command): New structure. (bfd_mach_o_load_command): Add encryption_info field. * mach-o.c (bfd_mach_o_read_encryption_info): New function. (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. (bfd_mach_o_read_command): Adjust error message. binutils/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * od-macho.c: Update copyright year. (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. include/mach-o/ 2012-01-04 Tristan Gingold <gingold@adacore.com> * external.h: Update copyright year. (mach_o_symtab_command_external): Add comments. (mach_o_encryption_info_command_external): New structure.
This commit is contained in:
parent
af10d87c7b
commit
1cf6182800
@ -1,3 +1,9 @@
|
|||||||
|
2012-01-04 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
|
* external.h: Update copyright year.
|
||||||
|
(mach_o_symtab_command_external): Add comments.
|
||||||
|
(mach_o_encryption_info_command_external): New structure.
|
||||||
|
|
||||||
2011-12-16 Tristan Gingold <gingold@adacore.com>
|
2011-12-16 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* codesign.h: New file.
|
* codesign.h: New file.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Mach-O support for BFD.
|
/* Mach-O support for BFD.
|
||||||
Copyright 2011
|
Copyright 2011, 2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of BFD, the Binary File Descriptor library.
|
This file is part of BFD, the Binary File Descriptor library.
|
||||||
@ -118,10 +118,10 @@ struct mach_o_reloc_info_external
|
|||||||
|
|
||||||
struct mach_o_symtab_command_external
|
struct mach_o_symtab_command_external
|
||||||
{
|
{
|
||||||
unsigned char symoff[4];
|
unsigned char symoff[4]; /* File offset of the symbol table. */
|
||||||
unsigned char nsyms[4];
|
unsigned char nsyms[4]; /* Number of symbols. */
|
||||||
unsigned char stroff[4];
|
unsigned char stroff[4]; /* File offset of the string table. */
|
||||||
unsigned char strsize[4];
|
unsigned char strsize[4]; /* String table size. */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct mach_o_nlist_external
|
struct mach_o_nlist_external
|
||||||
@ -255,6 +255,13 @@ struct mach_o_version_min_command_external
|
|||||||
unsigned char reserved[4];
|
unsigned char reserved[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct mach_o_encryption_info_command_external
|
||||||
|
{
|
||||||
|
unsigned char cryptoff[4]; /* File offset of the encrypted area. */
|
||||||
|
unsigned char cryptsize[4]; /* Size of the encrypted area. */
|
||||||
|
unsigned char cryptid[4]; /* Encryption method. */
|
||||||
|
};
|
||||||
|
|
||||||
struct mach_o_fat_header_external
|
struct mach_o_fat_header_external
|
||||||
{
|
{
|
||||||
unsigned char magic[4];
|
unsigned char magic[4];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user