From 747b98fe5de6f81fd93b55a227ddae233140d63f Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Sat, 13 Jan 1996 16:10:33 +0000 Subject: [PATCH] Make elf section functions ELF specific --- gas/ChangeLog | 5 +++++ gas/config/tc-ppc.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2430f0e690e..913ded8655f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Sat Jan 13 11:09:08 1996 Michael Meissner + + * config/tc-ppc.c (ppc_section*): Wrap these functions inside + #ifdef OBJ_ELF. + Fri Jan 12 15:32:07 1996 Michael Meissner * 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 3add3bcbb71..820a9f1be6c 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. */ -- 2.30.2