aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-avr.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-05-24 07:36:12 +0000
committerNick Clifton <nickc@redhat.com>2006-05-24 07:36:12 +0000
commit28c9d252b48e5c262359910389f157de087060d6 (patch)
tree8a03a8b466f84f1857399df1447d6f74e5a1cd5e /bfd/elf32-avr.h
parentf607ec8858a8ce6a1a821257d657db95ee47af2a (diff)
downloadgdb-28c9d252b48e5c262359910389f157de087060d6.zip
gdb-28c9d252b48e5c262359910389f157de087060d6.tar.gz
gdb-28c9d252b48e5c262359910389f157de087060d6.tar.bz2
Add support for AVR6 family
Diffstat (limited to 'bfd/elf32-avr.h')
-rw-r--r--bfd/elf32-avr.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/bfd/elf32-avr.h b/bfd/elf32-avr.h
new file mode 100644
index 0000000..4b9035f
--- /dev/null
+++ b/bfd/elf32-avr.h
@@ -0,0 +1,38 @@
+/* AVR-specific support for 32-bit ELF.
+ Copyright 2006 Free Software Foundation, Inc.
+
+ Written by Bjoern Haase <bjoern.m.haase@web.de>
+
+ This file is part of BFD, the Binary File Descriptor library.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor,
+ Boston, MA 02110-1301, USA. */
+
+
+/* These four functions will be called from the ld back-end. */
+
+extern void
+elf32_avr_setup_params (struct bfd_link_info *, bfd *, asection *,
+ bfd_boolean, bfd_boolean, bfd_boolean,
+ bfd_vma, bfd_boolean);
+
+extern int
+elf32_avr_setup_section_lists (bfd *, struct bfd_link_info *);
+
+extern bfd_boolean
+elf32_avr_size_stubs (bfd *, struct bfd_link_info *, bfd_boolean);
+
+extern bfd_boolean
+elf32_avr_build_stubs (struct bfd_link_info *);