From 7cad1a894be0fce0f179275d89d575cc1e49a249 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 21 Mar 1997 23:52:29 +0000 Subject: [PATCH] * config/obj-ieee.c (segment_name): Don't define function if this is a macro. --- gas/ChangeLog | 3 +++ gas/config/obj-ieee.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 01bb9bab90a..384e6fe7879 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ Fri Mar 21 15:42:37 1997 Ian Lance Taylor + * 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. diff --git a/gas/config/obj-ieee.c b/gas/config/obj-ieee.c index 973e80536ea..42e4b1f8951 100644 --- a/gas/config/obj-ieee.c +++ b/gas/config/obj-ieee.c @@ -415,11 +415,13 @@ S_IS_DEBUG (x) abort (); } +#ifndef segment_name char * segment_name () { abort (); } +#endif void obj_read_begin_hook () -- 2.30.2