aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Chertykov <chertykov@gmail.com>2014-12-08 20:35:24 +0300
committerDenis Chertykov <chertykov@gmail.com>2014-12-08 20:35:24 +0300
commit6d0cfb9c9d197410756fae48052837aea58767e4 (patch)
treebf41801a60e6c589d4d0866c595526565388d611
parenta0be3e44c7f510df608e4a480dd05c173ce280ce (diff)
downloadgdb-6d0cfb9c9d197410756fae48052837aea58767e4.zip
gdb-6d0cfb9c9d197410756fae48052837aea58767e4.tar.gz
gdb-6d0cfb9c9d197410756fae48052837aea58767e4.tar.bz2
* configure.ac: Add od-elf32_avr to build.
* configure: Regenerate. * od-elf32_avr.c: New file. * objdump.h: Declare objdump_private_desc_elf32_avr.
-rw-r--r--binutils/ChangeLog7
-rwxr-xr-xbinutils/configure5
-rw-r--r--binutils/configure.ac5
-rw-r--r--binutils/objdump.h2
4 files changed, 19 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5f85e48..dc6b3ea 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+2014-12-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ * 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 <ebotcazou@adacore.com>
* readelf.c: Include elf/visium.h.
diff --git a/binutils/configure b/binutils/configure
index 39b8254..78ad874 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 c5aadd8..84c287c 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 5ac00e7..3abb002 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;