]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfin: drop .bss override
authorJan Beulich <jbeulich@suse.com>
Fri, 5 Jan 2024 07:05:10 +0000 (08:05 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Jan 2024 07:05:10 +0000 (08:05 +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-bfin.c

index 0ed597f4876929f619691cfda7a9266b3ea1d3ec..cbf09037e489d7664a2dfc5fa59932cd9bb27218 100644 (file)
@@ -106,16 +106,6 @@ bfin_pic_ptr (int nbytes)
   demand_empty_rest_of_line ();
 }
 
-static void
-bfin_s_bss (int ignore ATTRIBUTE_UNUSED)
-{
-  int temp;
-
-  temp = get_absolute_expression ();
-  subseg_set (bss_section, (subsegT) temp);
-  demand_empty_rest_of_line ();
-}
-
 const pseudo_typeS md_pseudo_table[] = {
   {"align", s_align_bytes, 0},
   {"byte2", cons, 2},
@@ -128,7 +118,6 @@ const pseudo_typeS md_pseudo_table[] = {
   {"p", s_ignore, 0},
   {"pdata", s_ignore, 0},
   {"var", s_ignore, 0},
-  {"bss", bfin_s_bss, 0},
   {0, 0, 0}
 };