From 6d0cfb9c9d197410756fae48052837aea58767e4 Mon Sep 17 00:00:00 2001 From: Denis Chertykov Date: Mon, 8 Dec 2014 20:35:24 +0300 Subject: [PATCH] * configure.ac: Add od-elf32_avr to build. * configure: Regenerate. * od-elf32_avr.c: New file. * objdump.h: Declare objdump_private_desc_elf32_avr. --- binutils/ChangeLog | 7 +++++++ binutils/configure | 5 +++++ binutils/configure.ac | 5 +++++ binutils/objdump.h | 2 ++ 4 files changed, 19 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 5f85e485838..dc6b3ea8e94 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,10 @@ +2014-12-08 Senthil Kumar Selvaraj + + * configure.ac: Add od-elf32_avr to build. + * configure: Regenerate. + * od-elf32_avr.c: New file. + * objdump.h: Declare objdump_private_desc_elf32_avr. + 2014-12-06 Eric Botcazou * readelf.c: Include elf/visium.h. diff --git a/binutils/configure b/binutils/configure index 39b8254cbc9..78ad8743f73 100755 --- a/binutils/configure +++ b/binutils/configure @@ -14218,6 +14218,9 @@ do # Add objdump private vectors. case $targ in + avr-*-*) + od_vectors="$od_vectors objdump_private_desc_elf32_avr" + ;; powerpc-*-aix*) od_vectors="$od_vectors objdump_private_desc_xcoff" ;; @@ -14238,6 +14241,8 @@ for i in $od_vectors ; do f="$f $i" OBJDUMP_PRIVATE_VECTORS="$OBJDUMP_PRIVATE_VECTORS &$i," case $i in + objdump_private_desc_elf32_avr) + od_files="$od_files od-elf32_avr" ;; objdump_private_desc_xcoff) od_files="$od_files od-xcoff" ;; objdump_private_desc_mach_o) diff --git a/binutils/configure.ac b/binutils/configure.ac index c5aadd8d961..84c287c69a6 100644 --- a/binutils/configure.ac +++ b/binutils/configure.ac @@ -411,6 +411,9 @@ changequote([,])dnl # Add objdump private vectors. case $targ in + avr-*-*) + od_vectors="$od_vectors objdump_private_desc_elf32_avr" + ;; powerpc-*-aix*) od_vectors="$od_vectors objdump_private_desc_xcoff" ;; @@ -431,6 +434,8 @@ for i in $od_vectors ; do f="$f $i" OBJDUMP_PRIVATE_VECTORS="$OBJDUMP_PRIVATE_VECTORS &$i," case $i in + objdump_private_desc_elf32_avr) + od_files="$od_files od-elf32_avr" ;; objdump_private_desc_xcoff) od_files="$od_files od-xcoff" ;; objdump_private_desc_mach_o) diff --git a/binutils/objdump.h b/binutils/objdump.h index 5ac00e78208..3abb002f4a6 100644 --- a/binutils/objdump.h +++ b/binutils/objdump.h @@ -43,6 +43,8 @@ struct objdump_private_desc /* List of options. Terminated by a NULL name. */ struct objdump_private_option *options; }; +/* ELF32_AVR specific target. */ +extern const struct objdump_private_desc objdump_private_desc_elf32_avr; /* XCOFF specific target. */ extern const struct objdump_private_desc objdump_private_desc_xcoff; -- 2.30.2