aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-01-13 16:10:33 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-01-13 16:10:33 +0000
commit747b98fe5de6f81fd93b55a227ddae233140d63f (patch)
tree1e235d740190ee998bd28ed2bf98c29558a94485 /gas/config/tc-ppc.c
parentbe03dc3e37b31bfcdf86a2da1532e0fe8baef1a2 (diff)
downloadgdb-747b98fe5de6f81fd93b55a227ddae233140d63f.zip
gdb-747b98fe5de6f81fd93b55a227ddae233140d63f.tar.gz
gdb-747b98fe5de6f81fd93b55a227ddae233140d63f.tar.bz2
Make elf section functions ELF specific
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 3add3bc..820a9f1 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -1730,6 +1730,7 @@ ppc_macro (str, macro)
md_assemble (complete);
}
+#ifdef OBJ_ELF
/* For ELF, add support for SHF_EXCLUDE and SHT_ORDERED */
int
@@ -1784,6 +1785,7 @@ ppc_section_flags (flags, attr, type)
return flags;
}
+#endif /* OBJ_ELF */
/* Pseudo-op handling. */