aboutsummaryrefslogtreecommitdiff
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
parentbe03dc3e37b31bfcdf86a2da1532e0fe8baef1a2 (diff)
downloadgdb-747b98fe5de6f81fd93b55a227ddae233140d63f.zip
gdb-747b98fe5de6f81fd93b55a227ddae233140d63f.tar.gz
gdb-747b98fe5de6f81fd93b55a227ddae233140d63f.tar.bz2
Make elf section functions ELF specific
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ppc.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2430f0e..913ded8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jan 13 11:09:08 1996 Michael Meissner <meissner@wogglebug.tiac.net>
+
+ * config/tc-ppc.c (ppc_section*): Wrap these functions inside
+ #ifdef OBJ_ELF.
+
Fri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* config/obj-elf.c (obj_elf_section): Add hooks so machine
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. */