]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
rl78: drop .bss override
authorJan Beulich <jbeulich@suse.com>
Fri, 5 Jan 2024 07:09:18 +0000 (08:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Jan 2024 07:09:18 +0000 (08:09 +0100)
It doesn't look to be a good idea to override the custom handler that
ELF has; afaict doing so broke .previous.

gas/config/tc-rl78.c

index 78027c06d4601c6660e823f550f969fca2f80528..3be82f36035a5c67a85f581875d7d649c6660aa3 100644 (file)
@@ -374,16 +374,6 @@ md_show_usage (FILE * stream)
   fprintf (stream, _("  --m64bit-doubles  Source code uses 64-bit doubles\n"));
 }
 
-static void
-s_bss (int ignore ATTRIBUTE_UNUSED)
-{
-  int temp;
-
-  temp = get_absolute_expression ();
-  subseg_set (bss_section, (subsegT) temp);
-  demand_empty_rest_of_line ();
-}
-
 static void
 rl78_float_cons (int ignore ATTRIBUTE_UNUSED)
 {
@@ -397,7 +387,6 @@ const pseudo_typeS md_pseudo_table[] =
 {
   /* Our "standard" pseudos.  */
   { "double", rl78_float_cons, 'd' },
-  { "bss",    s_bss,           0 },
   { "3byte",  cons,            3 },
   { "int",    cons,            4 },
   { "word",   cons,            4 },