aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-12-22 19:44:15 +0000
committerNick Clifton <nickc@redhat.com>1999-12-22 19:44:15 +0000
commitdf32bc61b0e5b3468be1c2cb247846cdf15c92a2 (patch)
tree2880713d9f80750a5e1ec9c27e5dbeb4a0f0dc9f /gas/config
parentcb665cd3e27a53bdc921ba8df64d44dfce65291d (diff)
downloadgdb-df32bc61b0e5b3468be1c2cb247846cdf15c92a2.zip
gdb-df32bc61b0e5b3468be1c2cb247846cdf15c92a2.tar.gz
gdb-df32bc61b0e5b3468be1c2cb247846cdf15c92a2.tar.bz2
Apply patch from Philip Blundell to allow .previous to work for arm-elf
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index eeb3c4c..108d6b0 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -1383,7 +1383,11 @@ arm_s_text (ignore)
if (now_seg != text_section)
s_ltorg (0);
+#ifdef OBJ_ELF
+ obj_elf_text (ignore);
+#else
s_text (ignore);
+#endif
}
static void
@@ -1398,7 +1402,11 @@ arm_s_data (ignore)
else if (now_seg != data_section)
s_ltorg (0);
+#ifdef OBJ_ELF
+ obj_elf_data (ignore);
+#else
s_data (ignore);
+#endif
}
#ifdef OBJ_ELF