From df32bc61b0e5b3468be1c2cb247846cdf15c92a2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 22 Dec 1999 19:44:15 +0000 Subject: Apply patch from Philip Blundell to allow .previous to work for arm-elf --- gas/config/tc-arm.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gas/config/tc-arm.c') 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 -- cgit v1.1