summaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r--gas/config/obj-elf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index a4cf12b144a..bf3ef541ab7 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -974,6 +974,7 @@ obj_elf_section_type (char *str, size_t len, bool warn)
return 0;
}
+#ifdef TC_SPARC
static bfd_vma
obj_elf_section_word (char *str, size_t len, int *type)
{
@@ -1006,6 +1007,7 @@ obj_elf_section_word (char *str, size_t len, int *type)
return 0;
}
+#endif
/* Get name of section. */
const char *
@@ -1388,6 +1390,7 @@ obj_elf_section (int push)
input_line_pointer = save;
}
}
+#ifdef TC_SPARC
else
{
do
@@ -1413,6 +1416,7 @@ obj_elf_section (int push)
while (*input_line_pointer++ == ',');
--input_line_pointer;
}
+#endif
}
done: