Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-08-08 14:21:02 +0400
committerTristan Gingold <gingold@adacore.com>2011-08-08 14:21:02 +0400
commit9ca6dff1a988bba6a6dfda13dc39c9a5a562e4cc (patch)
tree467806bba062e5f79240caa8ff2268aa064beecb /include/mach-o/external.h
parent30ef5c04bdc675b09c45b1d8bdf559f81fb6db2c (diff)
bfd/
2011-08-08 Tristan Gingold <gingold@adacore.com> * mach-o.h (bfd_mach_o_version_min_command): New structure. (bfd_mach_o_load_command): Add version_min. (mach_o_data_struct): Fix comment. * mach-o.c (bfd_mach_o_read_version_min): New function. (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_FUNCTION_STARTS, BFD_MACH_O_LC_VERSION_MIN_MACOSX and BFD_MACH_O_LC_VERSION_MIN_IPHONEOS. (bfd_mach_o_get_name_or_null): New function. (bfd_mach_o_get_name): Use the above new one. (bfd_mach_o_load_command_name): Add the above new commands. (bfd_mach_o_bfd_print_private_bfd_data): Display numerically unknown commands. Handle BFD_MACH_O_LC_FUNCTION_STARTS, BFD_MACH_O_LC_VERSION_MIN_MACOSX and BFD_MACH_O_LC_VERSION_MIN_IPHONEOS. include/mach-o/ 2011-08-08 Tristan Gingold <gingold@adacore.com> * loader.h (bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_LOAD_UPWARD_DYLIB, BFD_MACH_O_LC_VERSION_MIN_MACOSX, BFD_MACH_O_LC_VERSION_MIN_IPHONEOS, BFD_MACH_O_LC_FUNCTION_STARTS, and BFD_MACH_O_LC_DYLD_ENVIRONMENT. * external.h (mach_o_version_min_command_external): New structure.
Diffstat (limited to 'include/mach-o/external.h')
-rw-r--r--include/mach-o/external.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mach-o/external.h b/include/mach-o/external.h
index c2fe7e333..ebb09a776 100644
--- a/include/mach-o/external.h
+++ b/include/mach-o/external.h
@@ -249,6 +249,12 @@ struct mach_o_dyld_info_command_external
unsigned char export_size[4];
};
+struct mach_o_version_min_command_external
+{
+ unsigned char version[4];
+ unsigned char reserved[4];
+};
+
struct mach_o_fat_header_external
{
unsigned char magic[4];