diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-12-22 09:35:02 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-12-22 09:35:02 +0100 |
commit | 0495b25221b3f6b3b26a7ea898a8f0c5a712e43a (patch) | |
tree | 4f0189f297c0f56535d1dfbc35b180832dc07047 /gas/config/tc-riscv.c | |
parent | 3e4a511bee874d73f9f749cc8cf3bc748b4d47b5 (diff) | |
download | gdb-0495b25221b3f6b3b26a7ea898a8f0c5a712e43a.zip gdb-0495b25221b3f6b3b26a7ea898a8f0c5a712e43a.tar.gz gdb-0495b25221b3f6b3b26a7ea898a8f0c5a712e43a.tar.bz2 |
RISC-V: 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, and a sub-section specifier
wasn't accepted either.
Diffstat (limited to 'gas/config/tc-riscv.c')
-rw-r--r-- | gas/config/tc-riscv.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c index b902c6b..bb5ea04 100644 --- a/gas/config/tc-riscv.c +++ b/gas/config/tc-riscv.c @@ -4586,15 +4586,6 @@ s_dtprel (int bytes) demand_empty_rest_of_line (); } -/* Handle the .bss pseudo-op. */ - -static void -s_bss (int ignore ATTRIBUTE_UNUSED) -{ - subseg_set (bss_section, 0); - demand_empty_rest_of_line (); -} - static void riscv_make_nops (char *buf, bfd_vma bytes) { @@ -5325,7 +5316,6 @@ static const pseudo_typeS riscv_pseudo_table[] = {"dword", cons, 8}, {"dtprelword", s_dtprel, 4}, {"dtpreldword", s_dtprel, 8}, - {"bss", s_bss, 0}, {"uleb128", s_riscv_leb128, 0}, {"sleb128", s_riscv_leb128, 1}, {"insn", s_riscv_insn, 0}, |