aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-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;