aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-01-05 08:06:54 +0100
committerJan Beulich <jbeulich@suse.com>2024-01-05 08:06:54 +0100
commita998254496d64940c4464606e95cdb952fe67fea (patch)
treeacbabd5f365674f86534b760adf37ed6420eabe5 /gas
parent781d0ac9908b133b8a42923f830e3b41da92712e (diff)
downloadgdb-a998254496d64940c4464606e95cdb952fe67fea.zip
gdb-a998254496d64940c4464606e95cdb952fe67fea.tar.gz
gdb-a998254496d64940c4464606e95cdb952fe67fea.tar.bz2
m68k: drop .bss override
The comment looks bogus (perhaps simply stale), and there are also no other precautions against subsections being used on ELF with .bss. It also doesn't look to be a good idea to override the custom handler that ELF has (afaict doing so further broke .previous).
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-m68k.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index d22facf..d04aa1e 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -455,7 +455,6 @@ static int reverse_16_bits (int in);
static int reverse_8_bits (int in);
static void install_gen_operand (int mode, int val);
static void install_operand (int mode, int val);
-static void s_bss (int);
static void s_data1 (int);
static void s_data2 (int);
static void s_even (int);
@@ -862,7 +861,6 @@ const pseudo_typeS md_pseudo_table[] =
{
{"data1", s_data1, 0},
{"data2", s_data2, 0},
- {"bss", s_bss, 0},
{"even", s_even, 0},
{"skip", s_space, 0},
{"proc", s_proc, 0},
@@ -5494,16 +5492,6 @@ s_data2 (int ignore ATTRIBUTE_UNUSED)
}
static void
-s_bss (int ignore ATTRIBUTE_UNUSED)
-{
- /* We don't support putting frags in the BSS segment, we fake it
- by marking in_bss, then looking at s_skip for clues. */
-
- subseg_set (bss_section, 0);
- demand_empty_rest_of_line ();
-}
-
-static void
s_even (int ignore ATTRIBUTE_UNUSED)
{
int temp;