aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/read.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index 1df4369..d780cfc 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -817,7 +817,11 @@ s_data ()
register int temp;
temp = get_absolute_expression ();
+#ifdef BFD_ASSEMBLER
subseg_set (data_section, (subsegT) temp);
+#else
+ subseg_change (data_section, (subsegT) temp);
+#endif
#ifdef VMS
const_flag = 0;