aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-03-27 11:36:09 +0000
committerAlan Modra <amodra@gmail.com>2004-03-27 11:36:09 +0000
commit53fbb48a80baa210bacb332723105e3de171b37c (patch)
tree94570fc87e7dda6edbcb3bbc5bf6120a1a7c8020 /gas
parent7a945db630e5ead57b6adcb95624dff2dd56dcff (diff)
downloadgdb-53fbb48a80baa210bacb332723105e3de171b37c.zip
gdb-53fbb48a80baa210bacb332723105e3de171b37c.tar.gz
gdb-53fbb48a80baa210bacb332723105e3de171b37c.tar.bz2
* config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
Diffstat (limited to 'gas')
-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 f96a828..a015f03 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 6e5fd29..74e52a5 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);
}
}