* config/obj-ieee.c (segment_name): Don't define function if this
authorIan Lance Taylor <ian@airs.com>
Fri, 21 Mar 1997 23:52:29 +0000 (23:52 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 21 Mar 1997 23:52:29 +0000 (23:52 +0000)
is a macro.

gas/ChangeLog
gas/config/obj-ieee.c

index 01bb9ba..384e6fe 100644 (file)
@@ -1,5 +1,8 @@
 Fri Mar 21 15:42:37 1997  Ian Lance Taylor  <ian@cygnus.com>
 
+       * config/obj-ieee.c (segment_name): Don't define function if this
+       is a macro.
+
        * config/obj-coff.h (DO_STRIP): Don't define.
        * config/tc-h8300.h (DO_STRIP): Don't define.
        * config/tc-h8500.h (DO_STRIP): Don't define.
index 973e805..42e4b1f 100644 (file)
@@ -415,11 +415,13 @@ S_IS_DEBUG (x)
   abort ();
 }
 
+#ifndef segment_name
 char *
 segment_name ()
 {
   abort ();
 }
+#endif
 
 void
 obj_read_begin_hook ()