Apply patch from Philip Blundell to allow .previous to work for arm-elf
authorNick Clifton <nickc@redhat.com>
Wed, 22 Dec 1999 19:44:15 +0000 (19:44 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 22 Dec 1999 19:44:15 +0000 (19:44 +0000)
gas/ChangeLog
gas/config/tc-arm.c

index 366fd052a653cca1ed6bfb1396589f0f227fee5a..39fb31302a2db9db1522568ad715a9123f80c202 100644 (file)
@@ -1,7 +1,13 @@
+1999-12-22  Philip Blundell  <pb@futuretv.com>
+
+       * config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate
+       hook function when changing sections.
+       (arm_s_data): Likewise.
+
 1999-12-14  Nick Clifton  <nickc@cygnus.com>
 
        * config/tc-arm.c (md_parse_option): Add support for -marm720
-x      command line switch.
+       command line switch.
 
 Tue Nov 30 22:59:00 1999  Jeffrey A Law  (law@cygnus.com)
 
index eeb3c4cac7054e2e23e4e59cf273785ab6ff3b16..108d6b050d4bcabb76a9b8382d8d4f490113b1ff 100644 (file)
@@ -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