aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-01-05 08:12:11 +0100
committerJan Beulich <jbeulich@suse.com>2024-01-05 08:12:11 +0100
commitbceb6ebf11ef43eebb9b5333c2117296cd481460 (patch)
treeb7ac4d18b1a9eafbfe9dd41ced4828cadf22fec5
parent1ca08a72955dba234586f3cc236be1b343da01b2 (diff)
downloadbinutils-bceb6ebf11ef43eebb9b5333c2117296cd481460.zip
binutils-bceb6ebf11ef43eebb9b5333c2117296cd481460.tar.gz
binutils-bceb6ebf11ef43eebb9b5333c2117296cd481460.tar.bz2
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.
-rw-r--r--gas/config/tc-z80.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gas/config/tc-z80.c b/gas/config/tc-z80.c
index 699ebb3..eaabb26 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},