aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfarm-oabi.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-05-31 02:28:53 +0000
committerAlan Modra <amodra@gmail.com>2002-05-31 02:28:53 +0000
commit5bc56484431b5ddaa0b91a0f11fdcf6e7f7cb626 (patch)
tree20ebf9f759fe6986e6265a53b1151a1a93f60a35 /bfd/elfarm-oabi.c
parent793b27f4638e5e1f7338677c9d4faa4605fbfdd7 (diff)
downloadgdb-5bc56484431b5ddaa0b91a0f11fdcf6e7f7cb626.zip
gdb-5bc56484431b5ddaa0b91a0f11fdcf6e7f7cb626.tar.gz
gdb-5bc56484431b5ddaa0b91a0f11fdcf6e7f7cb626.tar.bz2
* elfarm-oabi.c (bfd_elf32_arm_add_glue_sections_to_bfd): Define.
Move other similar defines to start of file.
Diffstat (limited to 'bfd/elfarm-oabi.c')
-rw-r--r--bfd/elfarm-oabi.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/bfd/elfarm-oabi.c b/bfd/elfarm-oabi.c
index 25c4d89..c8e3fe6 100644
--- a/bfd/elfarm-oabi.c
+++ b/bfd/elfarm-oabi.c
@@ -1,5 +1,5 @@
/* 32-bit ELF support for ARM old abi option.
- Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -18,6 +18,14 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define OLD_ARM_ABI
+#define bfd_elf32_arm_allocate_interworking_sections \
+ bfd_elf32_arm_oabi_allocate_interworking_sections
+#define bfd_elf32_arm_get_bfd_for_interworking \
+ bfd_elf32_arm_oabi_get_bfd_for_interworking
+#define bfd_elf32_arm_process_before_allocation \
+ bfd_elf32_arm_oabi_process_before_allocation
+#define bfd_elf32_arm_add_glue_sections_to_bfd \
+ bfd_elf32_arm_oabi_add_glue_sections_to_bfd
#include "elf/arm.h"
#include "bfd.h"
@@ -417,11 +425,4 @@ elf32_arm_reloc_type_lookup (abfd, code)
return NULL;
}
-#define bfd_elf32_arm_allocate_interworking_sections \
- bfd_elf32_arm_oabi_allocate_interworking_sections
-#define bfd_elf32_arm_get_bfd_for_interworking \
- bfd_elf32_arm_oabi_get_bfd_for_interworking
-#define bfd_elf32_arm_process_before_allocation \
- bfd_elf32_arm_oabi_process_before_allocation
-
#include "elf32-arm.h"