aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-03-27 08:39:14 +0000
committerAlan Modra <amodra@gmail.com>2000-03-27 08:39:14 +0000
commitadde6300e0ceb74fbe8df6721fd948063c2080cd (patch)
tree50340425b80fd12f0a7efd11ec9b6a1e90992946 /bfd/elf.c
parente7d0728ac1f3df93167fcad12c53be92ea98dda5 (diff)
downloadgdb-adde6300e0ceb74fbe8df6721fd948063c2080cd.zip
gdb-adde6300e0ceb74fbe8df6721fd948063c2080cd.tar.gz
gdb-adde6300e0ceb74fbe8df6721fd948063c2080cd.tar.bz2
ATMEL AVR microcontroller support.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 9790617..8830ff0 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -3276,6 +3276,9 @@ prep_headers (abfd)
case bfd_arch_mcore:
i_ehdrp->e_machine = EM_MCORE;
break;
+ case bfd_arch_avr:
+ i_ehdrp->e_machine = EM_AVR;
+ break;
case bfd_arch_v850:
switch (bfd_get_mach (abfd))
{