diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 9 | ||||
-rw-r--r-- | binutils/Makefile.am | 2 | ||||
-rwxr-xr-x | binutils/configure | 7 | ||||
-rw-r--r-- | binutils/configure.in | 7 | ||||
-rw-r--r-- | binutils/objdump.h | 3 |
5 files changed, 25 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 56f2b8b..aeab175 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,12 @@ +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. + 2011-12-06 David Daney <david.daney@cavium.com> * readelf.c (dynamic_section_mips_val): Factor out trailing '\n' diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 59f759f..8d191d7 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -102,7 +102,7 @@ CFILES = \ ieee.c is-ranlib.c is-strip.c maybe-ranlib.c maybe-strip.c \ nlmconv.c nm.c not-ranlib.c not-strip.c \ objcopy.c objdump.c prdbg.c \ - od-xcoff.c \ + od-xcoff.c od-macho.c \ rclex.c rdcoff.c rddbg.c readelf.c rename.c \ resbin.c rescoff.c resrc.c resres.c \ size.c srconv.c stabs.c strings.c sysdump.c \ 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 ;; diff --git a/binutils/configure.in b/binutils/configure.in index 965d66c..1f3b25d 100644 --- a/binutils/configure.in +++ b/binutils/configure.in @@ -354,7 +354,10 @@ changequote([,])dnl # 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 @@ -372,6 +375,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" ;; *) AC_MSG_ERROR(*** unknown private vector $i) ;; esac ;; diff --git a/binutils/objdump.h b/binutils/objdump.h index 511898c..d935c60 100644 --- a/binutils/objdump.h +++ b/binutils/objdump.h @@ -48,3 +48,6 @@ struct objdump_private_desc /* XCOFF specific target. */ extern const struct objdump_private_desc objdump_private_desc_xcoff; + +/* Mach-O specific target. */ +extern const struct objdump_private_desc objdump_private_desc_mach_o; |