[binutils-gdb] z80: drop .bss override

Jan Beulich jbeulich@sourceware.org
Fri Jan 5 07:17:53 GMT 2024


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

commit bceb6ebf11ef43eebb9b5333c2117296cd481460
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Jan 5 08:12:11 2024 +0100

    z80: drop .bss override
    
    It doesn't look to be a good idea to override the custom handlers that
    ELF and COFF have; afaict doing so broke .previous on ELF, and a sub-
    section specifier wasn't accepted either.

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

diff --git a/gas/config/tc-z80.c b/gas/config/tc-z80.c
index 699ebb3266f..eaabb261168 100644
--- a/gas/config/tc-z80.c
+++ b/gas/config/tc-z80.c
@@ -3483,15 +3483,6 @@ area (int arg)
     psect (arg);
 }
 
-/* Handle the .bss pseudo-op.  */
-
-static void
-s_bss (int ignore ATTRIBUTE_UNUSED)
-{
-  subseg_set (bss_section, 0);
-  demand_empty_rest_of_line ();
-}
-
 /* Port specific pseudo ops.  */
 const pseudo_typeS md_pseudo_table[] =
 {
@@ -3507,7 +3498,6 @@ const pseudo_typeS md_pseudo_table[] =
   { ".hd64", set_inss, INS_Z180},
   { ".z80", set_inss, INS_Z80},
   { ".z80n", set_inss, INS_Z80N},
-  { "bss", s_bss, 0},
   { "db" , emit_data, 1},
   { "d24", z80_cons, 3},
   { "d32", z80_cons, 4},


More information about the Binutils-cvs mailing list