summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-03-27 11:36:09 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-03-27 11:36:09 +0000
commit98b8cc4205aaf99387157d759955be42cebf0130 (patch)
treedd513ad3ee926b92943353f4377f819f19b7848c
parentaa5622576e27458d65cae6e22e679fba53658986 (diff)
downloadbinutils-redhat-98b8cc4205aaf99387157d759955be42cebf0130.tar.gz
* config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/obj-aout.c14
2 files changed, 7 insertions, 11 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f96a82883c..a015f031ea 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
* config/tc-arm.c (meabi_flags): New variable.
diff --git a/gas/config/obj-aout.c b/gas/config/obj-aout.c
index 6e5fd29191..74e52a5f12 100644
--- a/gas/config/obj-aout.c
+++ b/gas/config/obj-aout.c
@@ -1,6 +1,6 @@
/* a.out object file format
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.
@@ -419,17 +419,9 @@ obj_aout_type (ignore)
{
++input_line_pointer;
if (strncmp (input_line_pointer, "object", 6) == 0)
-#ifdef BFD_ASSEMBLER
- aout_symbol (symbol_get_bfdsym (sym))->other = 1;
-#else
- S_SET_OTHER (sym, 1);
-#endif
+ S_SET_OTHER (sym, 1);
else if (strncmp (input_line_pointer, "function", 8) == 0)
-#ifdef BFD_ASSEMBLER
- aout_symbol (symbol_get_bfdsym (sym))->other = 2;
-#else
- S_SET_OTHER (sym, 2);
-#endif
+ S_SET_OTHER (sym, 2);
}
}