aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-coff.h
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@geoffk.org>2000-01-31 19:13:47 +0000
committerGeoffrey Keating <geoffk@geoffk.org>2000-01-31 19:13:47 +0000
commit2c1c4c62197bd77d2c801e6bd6fe1d210a7ec68a (patch)
treea15099f6a3e0759829258ea3d733329d290a0931 /gas/config/obj-coff.h
parent2d473ce9c07d69823e1d13baa595590b78c1bfa8 (diff)
downloadgdb-2c1c4c62197bd77d2c801e6bd6fe1d210a7ec68a.zip
gdb-2c1c4c62197bd77d2c801e6bd6fe1d210a7ec68a.tar.gz
gdb-2c1c4c62197bd77d2c801e6bd6fe1d210a7ec68a.tar.bz2
* config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
already defined. * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES): New macro. * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag of a symbol when we really care about its value.
Diffstat (limited to 'gas/config/obj-coff.h')
-rw-r--r--gas/config/obj-coff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h
index 5e7642b..a616872 100644
--- a/gas/config/obj-coff.h
+++ b/gas/config/obj-coff.h
@@ -371,6 +371,7 @@ extern symbolS *coff_last_function;
/* Forward the segment of a forwarded symbol, handle assignments that
just copy symbol values, etc. */
+#ifndef OBJ_COPY_SYMBOL_ATTRIBUTES
#ifndef TE_I386AIX
#define OBJ_COPY_SYMBOL_ATTRIBUTES(dest,src) \
(SF_GET_GET_SEGMENT (dest) \
@@ -382,6 +383,7 @@ extern symbolS *coff_last_function;
? (S_SET_SEGMENT (dest, S_GET_SEGMENT (src)), 0) \
: 0)
#endif
+#endif
/* sanity check */