aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-04-16 15:27:45 +0930
committerAlan Modra <amodra@gmail.com>2018-04-16 15:27:45 +0930
commit4db9937a27496d2f62ac1dde76565809acd4ecde (patch)
treeab45ac1c806e77e72b154834af6b63ac8e1a6937 /gas
parent9f5d15933be033c9d54e41d605d7824f57fbed4e (diff)
downloadfsf-binutils-gdb-4db9937a27496d2f62ac1dde76565809acd4ecde.zip
fsf-binutils-gdb-4db9937a27496d2f62ac1dde76565809acd4ecde.tar.gz
fsf-binutils-gdb-4db9937a27496d2f62ac1dde76565809acd4ecde.tar.bz2
Remove sh-symbianelf support
bfd/ * Makefile.am: Remove sh-symbianelf support. * config.bfd: Likewise. * configure.ac: Likewise. * targets.c: Likewise. * elf32-sh-symbian.c: Delete. * Makefile.in: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. gas/ * config/tc-sh.c: Remove sh-symbianelf support. * config/tc-sh.h: Likewise. * configure.ac: Likewise. * configure.tgt: Likewise. * testsuite/gas/sh/reg-prefix.d: Likewise. * testsuite/gas/sh/sh2a-pic.d: Likewise. * config.in: Regenerate. * configure: Regenerate. ld/ * Makefile.am: Remove sh-symbianelf support. * configure.tgt: Likewise. * emulparams/shlsymbian.sh: Delete. * scripttempl/elf32sh-symbian.sc: Delete. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog11
-rw-r--r--gas/config.in3
-rw-r--r--gas/config/tc-sh.c8
-rw-r--r--gas/config/tc-sh.h2
-rwxr-xr-xgas/configure6
-rw-r--r--gas/configure.ac4
-rw-r--r--gas/configure.tgt1
-rw-r--r--gas/testsuite/gas/sh/reg-prefix.d1
-rw-r--r--gas/testsuite/gas/sh/sh2a-pic.d1
9 files changed, 11 insertions, 26 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d63b6d6..2f21bd5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,16 @@
2018-04-16 Alan Modra <amodra@gmail.com>
+ * config/tc-sh.c: Remove sh-symbianelf support.
+ * config/tc-sh.h: Likewise.
+ * configure.ac: Likewise.
+ * configure.tgt: Likewise.
+ * testsuite/gas/sh/reg-prefix.d: Likewise.
+ * testsuite/gas/sh/sh2a-pic.d: Likewise.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+
+2018-04-16 Alan Modra <amodra@gmail.com>
+
* configure.ac: Remove m88k support.
* config.in: Regenerate.
* configure: Regenerate.
diff --git a/gas/config.in b/gas/config.in
index 068de06..779208b 100644
--- a/gas/config.in
+++ b/gas/config.in
@@ -309,9 +309,6 @@
/* Define if default target is PowerPC Solaris. */
#undef TARGET_SOLARIS_COMMENT
-/* Define if target is Symbian OS. */
-#undef TARGET_SYMBIAN
-
/* Target vendor. */
#undef TARGET_VENDOR
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index d5a18c0..2704457 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -3898,14 +3898,6 @@ sh_elf_final_processing (void)
if (sh64_isa_mode != sh64_isa_unspecified)
val = EF_SH5;
else
-#elif defined TARGET_SYMBIAN
- if (1)
- {
- extern int sh_symbian_find_elf_flags (unsigned int);
-
- val = sh_symbian_find_elf_flags (valid_arch);
- }
- else
#endif /* HAVE_SH64 */
val = sh_find_elf_flags (valid_arch);
diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h
index d0e7916..a2f1702 100644
--- a/gas/config/tc-sh.h
+++ b/gas/config/tc-sh.h
@@ -160,8 +160,6 @@ extern int target_big_endian;
#define TARGET_FORMAT (!target_big_endian ? "elf32-sh-linux" : "elf32-shbig-linux")
#elif defined(TE_NetBSD)
#define TARGET_FORMAT (!target_big_endian ? "elf32-shl-nbsd" : "elf32-sh-nbsd")
-#elif defined TARGET_SYMBIAN
-#define TARGET_FORMAT (!target_big_endian ? "elf32-shl-symbian" : "elf32-sh-symbian")
#elif defined (TE_VXWORKS)
#define TARGET_FORMAT (!target_big_endian ? "elf32-shl-vxworks" : "elf32-sh-vxworks")
#elif defined (TE_UCLINUX)
diff --git a/gas/configure b/gas/configure
index 2d05050..53fa7a6 100755
--- a/gas/configure
+++ b/gas/configure
@@ -12268,12 +12268,6 @@ $as_echo "#define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
as_fn_error "Solaris must be configured little endian" "$LINENO" 5
fi
;;
-
- sh*-*-symbianelf*)
-
-$as_echo "#define TARGET_SYMBIAN 1" >>confdefs.h
-
- ;;
esac
if test ${this_target} = $target ; then
diff --git a/gas/configure.ac b/gas/configure.ac
index c453398..a3f3bf1 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -231,10 +231,6 @@ changequote([,])dnl
AC_MSG_ERROR(Solaris must be configured little endian)
fi
;;
-
- sh*-*-symbianelf*)
- AC_DEFINE(TARGET_SYMBIAN, 1, [Define if target is Symbian OS.])
- ;;
esac
if test ${this_target} = $target ; then
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 24a68ec..c93f7b9 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -414,7 +414,6 @@ case ${generic_target} in
sh*l*) endian=little ;;
*) endian=big ;;
esac ;;
- sh*-*-symbianelf*) fmt=elf endian=little ;;
sh-*-elf*) fmt=elf ;;
sh-*-uclinux* | sh[12]-*-uclinux*) fmt=elf em=uclinux ;;
sh-*-coff*) fmt=coff ;;
diff --git a/gas/testsuite/gas/sh/reg-prefix.d b/gas/testsuite/gas/sh/reg-prefix.d
index a42e8c4..13c708c 100644
--- a/gas/testsuite/gas/sh/reg-prefix.d
+++ b/gas/testsuite/gas/sh/reg-prefix.d
@@ -1,7 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#as: --allow-reg-prefix -big
#name: SH --allow-reg-prefix option
-#skip: sh*-*-symbian*
# Test SH register names prefixed with $:
.*: file format elf.*sh.*
diff --git a/gas/testsuite/gas/sh/sh2a-pic.d b/gas/testsuite/gas/sh/sh2a-pic.d
index c7fe12b..504d411 100644
--- a/gas/testsuite/gas/sh/sh2a-pic.d
+++ b/gas/testsuite/gas/sh/sh2a-pic.d
@@ -1,7 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#name: SH2a PIC relocations
#as: -isa=sh2a
-#skip: sh*-*-symbian*
dump.o: file format elf32-sh.*