[binutils-gdb] rx: drop .bss override

Jan Beulich jbeulich@sourceware.org
Fri Jan 5 07:10:46 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b89861c7941296228525334485356ca50431f9b5

commit b89861c7941296228525334485356ca50431f9b5
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Jan 5 08:09:40 2024 +0100

    rx: drop .bss override
    
    It doesn't look to be a good idea to override the custom handler that
    ELF has; afaict doing so broke .previous.

Diff:
---
 gas/config/tc-rx.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c
index d78661effaa..157f8958e19 100644
--- a/gas/config/tc-rx.c
+++ b/gas/config/tc-rx.c
@@ -221,16 +221,6 @@ md_show_usage (FILE * stream)
   fprintf (stream, _("  --mno-allow-string-insns"));
 }
 
-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
 rx_float_cons (int ignore ATTRIBUTE_UNUSED)
 {
@@ -650,7 +640,6 @@ const pseudo_typeS md_pseudo_table[] =
 
   /* Our "standard" pseudos. */
   { "double",   rx_float_cons,  0 },
-  { "bss",	s_bss, 		0 },
   { "3byte",	cons,		3 },
   { "int",	cons,		4 },
   { "word",	cons,		4 },


More information about the Binutils-cvs mailing list