summaryrefslogtreecommitdiff
path: root/gas/obj.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-01-26 22:48:31 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-01-26 22:48:31 +0000
commit32fee2a0e2873c01bfbea820b8538d50fe5b166e (patch)
treeb03845488ff73059caff790a83fafe49304cee1c /gas/obj.h
parentedae641b1f0fb0689c2df35e8b64caad7e0945ef (diff)
downloadbinutils-redhat-32fee2a0e2873c01bfbea820b8538d50fe5b166e.tar.gz
This set of patches add support for aout emulation on the x86
assembler. ie. You will be able to do "as --em=i386aout" on an x86 linux-elf assembler to generate aout format object files, rather than using a separate assembler. The aout emulation is enabled by giving "--enable-targets=i386-linuxaout" to configure. Oh yeah, there's a couple of fixes too. Error messages shouldn't be passed to printf in the format arg just in case someone puts a `%' in the message.
Diffstat (limited to 'gas/obj.h')
-rw-r--r--gas/obj.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/obj.h b/gas/obj.h
index b95e75c96e..7fe5551811 100644
--- a/gas/obj.h
+++ b/gas/obj.h
@@ -1,7 +1,7 @@
/* obj.h - defines the object dependent hooks for all object
format backends.
- Copyright (C) 1987, 90, 91, 92, 93, 95, 96, 97, 1999
+ Copyright (C) 1987, 90, 91, 92, 93, 95, 96, 97, 99, 2000
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -57,6 +57,8 @@ struct format_ops {
void (*s_set_size) PARAMS ((symbolS *, bfd_vma));
bfd_vma (*s_get_align) PARAMS ((symbolS *));
void (*s_set_align) PARAMS ((symbolS *, bfd_vma));
+ int (*s_get_other) PARAMS ((symbolS *));
+ int (*s_get_desc) PARAMS ((symbolS *));
void (*copy_symbol_attributes) PARAMS ((symbolS *, symbolS *));
void (*generate_asm_lineno) PARAMS ((void));
void (*process_stab) PARAMS ((segT, int, const char *, int, int, int));
@@ -72,6 +74,7 @@ struct format_ops {
extern const struct format_ops elf_format_ops;
extern const struct format_ops ecoff_format_ops;
extern const struct format_ops coff_format_ops;
+extern const struct format_ops aout_format_ops;
#ifndef this_format
COMMON const struct format_ops *this_format;