aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c4
1 files changed, 4 insertions, 0 deletions
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;