aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2009-12-19 00:21:29 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2009-12-19 00:21:29 +0000
commit7c0fc5246b2cdaa6f12c8693732f05e440c125d0 (patch)
tree91df283cd29a925b09fdbd1798892d53ed39b07c /gas/config
parentdc89be0992ff5fcf0a0b7f0aaddca5dc34eae1db (diff)
downloadgdb-7c0fc5246b2cdaa6f12c8693732f05e440c125d0.zip
gdb-7c0fc5246b2cdaa6f12c8693732f05e440c125d0.tar.gz
gdb-7c0fc5246b2cdaa6f12c8693732f05e440c125d0.tar.bz2
gas/
* config/tc-mips.c (s_mips_ent): Also set BSF_FUNCTION for ".aent". gas/testsuite/ * gas/mips/aent.d: New test. * gas/mips/aent.s: Source for the new test. * gas/mips/mips.exp: Run it.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index ff2ffc6..94128fe 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -15047,8 +15047,6 @@ s_mips_ent (int aent)
cur_proc_ptr->func_sym = symbolP;
- symbol_get_bfdsym (symbolP)->flags |= BSF_FUNCTION;
-
++numprocs;
if (debug_type == DEBUG_STABS)
@@ -15056,6 +15054,8 @@ s_mips_ent (int aent)
S_GET_NAME (symbolP));
}
+ symbol_get_bfdsym (symbolP)->flags |= BSF_FUNCTION;
+
demand_empty_rest_of_line ();
}