aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-12-13 09:13:15 +0000
committerTristan Gingold <gingold@adacore.com>2011-12-13 09:13:15 +0000
commitc5012cd8d53be0c5a3b0b4ae2a054b0a3dadbca2 (patch)
tree699903f67737674637a187ab8b1e621750817c71 /binutils/configure
parent8ebac3aae962b531a2b86b6afba9e9d19a30c74d (diff)
downloadgdb-c5012cd8d53be0c5a3b0b4ae2a054b0a3dadbca2.zip
gdb-c5012cd8d53be0c5a3b0b4ae2a054b0a3dadbca2.tar.gz
gdb-c5012cd8d53be0c5a3b0b4ae2a054b0a3dadbca2.tar.bz2
2011-12-13 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_read_symtab_symbols): Make global. Remove prototype. (bfd_mach_o_section_get_entry_size): Make global. (bfd_mach_o_section_get_nbr_indirect): Likewise. (bfd_mach_o_read_symtab_strtab): Likewise. (struct bfd_mach_o_xlat_name): Move to mach-o.h (bfd_mach_o_print_flags): Move to binutils/od-macho.c (bfd_mach_o_get_name_of_null, bfd_mach_o_get_name): Likewise. (bfd_mach_o_cpu_name, bfd_mach_o_filetype_name): Likewise. (bfd_mach_o_header_flags_name): Likewise. (bfd_mach_o_load_command_name): Likewise. (bfd_mach_o_print_private_header): Likewise. (bfd_mach_o_print_section_map, bfd_mach_o_print_section): Likwise. (bfd_mach_o_print_segment, bfd_mach_o_print_dysymtab): Likewise. (bfd_mach_o_print_dyld_info): Likewise. (bfd_mach_o_print_private_bfd_data): Remove. (bfd_mach_o_type_name): Make global. (bfd_mach_o_section_attribute_name): Likewise. * mach-o.h (bfd_mach_o_xlat_name): Added. (bfd_mach_o_section_get_nbr_indirect) (bfd_mach_o_section_get_entry_size) (bfd_mach_o_read_symtab_symbols) (bfd_mach_o_read_symtab_strtab) (bfd_mach_o_section_attribute_name) (bfd_mach_o_section_type_name): Likewise. * mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data): Define. binutils/ 2011-12-13 Tristan Gingold <gingold@adacore.com> * od-macho.c: New file. * objdump.h (objdump_private_desc_mach_o): Add. * configure.in: Add Mach-O od_vectors. * Makefile.am (CFILES): Add od-macho.c * configure: Regenerate. * Makefile.in: Regenerate.
Diffstat (limited to 'binutils/configure')
-rwxr-xr-xbinutils/configure7
1 files changed, 6 insertions, 1 deletions
diff --git a/binutils/configure b/binutils/configure
index 1a4a1ef..b46a30b 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -13945,7 +13945,10 @@ do
# Add objdump private vectors.
case $targ in
powerpc-*-aix*)
- od_vectors="$od_vectors objdump_private_desc_xcoff"
+ od_vectors="$od_vectors objdump_private_desc_xcoff"
+ ;;
+ *-*-darwin*)
+ od_vectors="$od_vectors objdump_private_desc_mach_o"
;;
esac
fi
@@ -13963,6 +13966,8 @@ for i in $od_vectors ; do
case $i in
objdump_private_desc_xcoff)
od_files="$od_files od-xcoff" ;;
+ objdump_private_desc_mach_o)
+ od_files="$od_files od-macho" ;;
*) as_fn_error "*** unknown private vector $i" "$LINENO" 5 ;;
esac
;;