int temp, fill_value, *fill_ptr;
long max_alignment = 28;
+ file_mips_check_options ();
+
/* o Note that the assembler pulls down any immediately preceding label
to the aligned address.
o It's not documented but auto alignment is reinstated by
}
else
fill_ptr = 0;
+
+ mips_mark_labels ();
+
if (temp)
{
segment_info_type *si = seg_info (now_seg);
--- /dev/null
+seg1:
+ .align 2
+ ADDIU $0, $0, 1
--- /dev/null
+#objdump: -dr --show-raw-insn
+#name: microMIPSr3 (align after label)
+#as: -mips32r3 -32 -mmicromips -EB
+#source: align-after-label.s
+
+.*: +file format .*mips.*
+
+Disassembly of section \.text:
+
+[0-9a-f]+ <seg1>:
+[ 0-9a-f]+: 4c02 addiu zero,zero,1
+[ 0-9a-f]+: 0c00 nop
+#pass
--- /dev/null
+#objdump: -dr --show-raw-insn
+#name: MIPS32r3 (align after label)
+#as: -mips32r3 -32 -mno-micromips -EB
+#source: align-after-label.s
+
+.*: +file format .*mips.*
+
+Disassembly of section \.text:
+
+[0-9a-f]+ <seg1>:
+[ 0-9a-f]+: 24000001 li zero,1
+#pass
run_dump_test "align2"
run_dump_test "align2-el"
run_dump_test "align3"
+ run_dump_test "mips-align-after-label"
+ run_dump_test "micromips-align-after-label"
run_dump_test "odd-float"
run_dump_test "insn-opts"