[06/22] m32c: drop .bss override

Message ID e08a7903-30f0-4790-bad9-8d41e213a769@suse.com
State New
Headers
Series ELF: correct handling of simplified section directives |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Testing passed

Commit Message

Jan Beulich Dec. 15, 2023, 12:10 p.m. UTC
  It doesn't look to be a good idea to override the custom handler that
ELF has; afaict doing so broke .previous.
  

Patch

--- a/gas/config/tc-m32c.c
+++ b/gas/config/tc-m32c.c
@@ -100,8 +100,6 @@  set_isa (enum isa_attr isa_num)
   cgen_bitset_set (& m32c_isa, isa_num);
 }
 
-static void s_bss (int);
-
 int
 md_parse_option (int c, const char * arg ATTRIBUTE_UNUSED)
 {
@@ -141,20 +139,9 @@  md_show_usage (FILE * stream)
   fprintf (stream, _(" M32C specific command line options:\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 ();
-}
-
 /* The target specific pseudo-ops which we support.  */
 const pseudo_typeS md_pseudo_table[] =
 {
-  { "bss",	s_bss, 		0},
   { "3byte",	cons,		3 },
   { "word",	cons,		4 },
   { NULL, 	NULL, 		0 }