aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-sh.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-09-07 04:23:43 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-09-07 04:23:43 +0000
commitb129bfef3a7734709c529628c3f8b4fd7dc60a2e (patch)
treefeeabdd03869ed6819fdffed665ef92df6ef717c /bfd/elf32-sh.c
parenta28a3ccf6af2a326e408770e80d06a7c0cfab036 (diff)
downloadgdb-b129bfef3a7734709c529628c3f8b4fd7dc60a2e.zip
gdb-b129bfef3a7734709c529628c3f8b4fd7dc60a2e.tar.gz
gdb-b129bfef3a7734709c529628c3f8b4fd7dc60a2e.tar.bz2
* config.bfd (sh-*-linux*): Added.
* configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New. * targets.c: Declare them. * elf32-sh-lin.c: New file. * Makefile.am: Compile it. * elf32-sh.c: Don't override defines from elf32-sh-lin.c. * configure, Makefile.in: Rebuilt.
Diffstat (limited to 'bfd/elf32-sh.c')
-rw-r--r--bfd/elf32-sh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c
index acbf661..2cca369 100644
--- a/bfd/elf32-sh.c
+++ b/bfd/elf32-sh.c
@@ -4154,6 +4154,7 @@ sh_elf_finish_dynamic_sections (output_bfd, info)
return true;
}
+#ifndef ELF_ARCH
#define TARGET_BIG_SYM bfd_elf32_sh_vec
#define TARGET_BIG_NAME "elf32-sh"
#define TARGET_LITTLE_SYM bfd_elf32_shl_vec
@@ -4163,6 +4164,7 @@ sh_elf_finish_dynamic_sections (output_bfd, info)
#define ELF_MAXPAGESIZE 0x1
#define elf_symbol_leading_char '_'
+#endif /* ELF_ARCH */
#define bfd_elf32_bfd_reloc_type_lookup sh_elf_reloc_type_lookup
#define elf_info_to_howto sh_elf_info_to_howto