+2010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * config/tc-mips.c (mips_pseudo_table): Add "sbss".
+ (s_change_sec): Handle it.
+
2010-10-15 Mike Frysinger <vapier@gentoo.org>
* config/bfin-parse.y (BYTEOP2M): Call BYTEOP2M().
{"origin", s_org, 0},
{"repeat", s_rept, 0},
+ /* For MIPS this is non-standard, but we define it for consistency. */
+ {"sbss", s_change_sec, 'B'},
+
/* These pseudo-ops are defined in read.c, but must be overridden
here for one reason or another. */
{"align", s_align, 0},
}
demand_empty_rest_of_line ();
break;
+
+ case 'B':
+ seg = subseg_new (".sbss", (subsegT) get_absolute_expression ());
+ if (IS_ELF)
+ {
+ bfd_set_section_flags (stdoutput, seg, SEC_ALLOC);
+ if (strncmp (TARGET_OS, "elf", 3) != 0)
+ record_alignment (seg, 4);
+ }
+ demand_empty_rest_of_line ();
+ break;
}
auto_align = 1;