aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sh.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-09-07 04:26:37 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-09-07 04:26:37 +0000
commitd07ed2cd8e0fb5082311ce2ebf8edd090b717009 (patch)
treed21d0a805e49319bbffcb3b11e0d998f38c63359 /gas/config/tc-sh.h
parentb129bfef3a7734709c529628c3f8b4fd7dc60a2e (diff)
downloadgdb-d07ed2cd8e0fb5082311ce2ebf8edd090b717009.zip
gdb-d07ed2cd8e0fb5082311ce2ebf8edd090b717009.tar.gz
gdb-d07ed2cd8e0fb5082311ce2ebf8edd090b717009.tar.bz2
* config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
* configure.in (sh-*-linux*): Added. * configure: Rebuilt.
Diffstat (limited to 'gas/config/tc-sh.h')
-rw-r--r--gas/config/tc-sh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h
index 54ba1b9..716be5a 100644
--- a/gas/config/tc-sh.h
+++ b/gas/config/tc-sh.h
@@ -160,7 +160,11 @@ extern int tc_coff_sizemachdep PARAMS ((fragS *));
/* Whether or not the target is big endian */
extern int target_big_endian;
+#ifdef TE_LINUX
+#define TARGET_FORMAT (shl ? "elf32-sh-linux" : "elf32-shbig-linux")
+#else
#define TARGET_FORMAT (shl ? "elf32-shl" : "elf32-sh")
+#endif
#define elf_tc_final_processing sh_elf_final_processing
extern void sh_elf_final_processing PARAMS ((void));