+2009-12-19 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * config/tc-mips.c (s_mips_ent): Also set BSF_FUNCTION for
+ ".aent".
+
2009-12-18 Steve Ellcey <sje@cup.hp.com>
* config/tc-hppa.c: Change access to access_ctr.
cur_proc_ptr->func_sym = symbolP;
- symbol_get_bfdsym (symbolP)->flags |= BSF_FUNCTION;
-
++numprocs;
if (debug_type == DEBUG_STABS)
S_GET_NAME (symbolP));
}
+ symbol_get_bfdsym (symbolP)->flags |= BSF_FUNCTION;
+
demand_empty_rest_of_line ();
}
+2009-12-19 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * gas/mips/aent.d: New test.
+ * gas/mips/aent.s: Source for the new test.
+ * gas/mips/mips.exp: Run it.
+
2009-12-17 Nick Clifton <nickc@redhat.com>
PR binutils/10924
--- /dev/null
+#objdump: -dr --prefix-addresses
+#name: MIPS .aent directive
+#as: -32
+
+# Test the .aent directive retains function symbol type annotation.
+
+.*: +file format .*mips.*
+
+Disassembly of section \.text:
+[0-9a-f]+ <foo[^>]*> sllv v0,a0,a2
+[0-9a-f]+ <foo[^>]*> srav t0,t2,t4
+[0-9a-f]+ <bar[^>]*> sllv v0,a0,a2
+[0-9a-f]+ <bar[^>]*> srav t0,t2,t4
+ \.\.\.
--- /dev/null
+ .text
+
+ .globl foo
+ .ent foo
+foo:
+ sllv $2, $4, $6
+ srav $8, $10, $12
+
+ .globl bar
+ .aent bar
+bar:
+ sllv $2, $4, $6
+ srav $8, $10, $12
+
+ .end foo
+ .size foo, . - foo
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8
run_dump_test "mips32-sync"
if $has_newabi { run_dump_test "cfi-n64-1" }
+
+ run_dump_test_arches "aent" [mips_arch_list_matching mips1]
}