* config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.

This commit is contained in:
Alan Modra
2004-03-27 11:36:09 +00:00
parent 7a945db630
commit 53fbb48a80
2 changed files with 7 additions and 11 deletions

View File

@ -1,3 +1,7 @@
2004-03-27 Alan Modra <amodra@bigpond.net.au>
* config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
2004-03-23 Paul Brook <paul@codesourcery.com> 2004-03-23 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (meabi_flags): New variable. * config/tc-arm.c (meabi_flags): New variable.

View File

@ -1,6 +1,6 @@
/* a.out object file format /* a.out object file format
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000,
2001, 2002 Free Software Foundation, Inc. 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler. This file is part of GAS, the GNU Assembler.
@ -419,17 +419,9 @@ obj_aout_type (ignore)
{ {
++input_line_pointer; ++input_line_pointer;
if (strncmp (input_line_pointer, "object", 6) == 0) if (strncmp (input_line_pointer, "object", 6) == 0)
#ifdef BFD_ASSEMBLER S_SET_OTHER (sym, 1);
aout_symbol (symbol_get_bfdsym (sym))->other = 1;
#else
S_SET_OTHER (sym, 1);
#endif
else if (strncmp (input_line_pointer, "function", 8) == 0) else if (strncmp (input_line_pointer, "function", 8) == 0)
#ifdef BFD_ASSEMBLER S_SET_OTHER (sym, 2);
aout_symbol (symbol_get_bfdsym (sym))->other = 2;
#else
S_SET_OTHER (sym, 2);
#endif
} }
} }