aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-09-08 13:10:28 +0000
committerNick Clifton <nickc@redhat.com>1999-09-08 13:10:28 +0000
commit325188ecac3a52d92d359c70f9b730470760e1d7 (patch)
treea00a316d6a69cac94c9eaa4d464f7345fc02b5a7 /gas
parent084d930bff318d329e7b37d365e5ff14b95506e3 (diff)
downloadgdb-325188ecac3a52d92d359c70f9b730470760e1d7.zip
gdb-325188ecac3a52d92d359c70f9b730470760e1d7.tar.gz
gdb-325188ecac3a52d92d359c70f9b730470760e1d7.tar.bz2
Only support interworking and pic for ELF or COFF targets
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-arm.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6850921..7f931c9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+1999-09-08 Philip Blundell <pb@nexus.co.uk>
+
+ * config/tc-arm.c (s_thumb_set): Only support interworking for ELF
+ and COFF targets.
+ (md_parse_option): Only support -k flag for ELF and COFF targets.
+
Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Put strict register checks before
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index c6347a2..ff6eaa7 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -1359,7 +1359,9 @@ s_thumb_set (equiv)
THUMB_SET_FUNC (symbolP, 1);
ARM_SET_THUMB (symbolP, 1);
+#if defined OBJ_COFF || defined OBJ_ELF
ARM_SET_INTERWORK (symbolP, support_interwork);
+#endif
}
/* If we change section we must dump the literal pool first. */
@@ -6597,9 +6599,11 @@ md_parse_option (c, arg)
}
break;
+#if defined OBJ_ELF || defined OBJ_COFF
case 'k':
pic_code = 1;
break;
+#endif
default:
return 0;