RISC-V: Always generate mapping symbols at the start of the sections.
authorNelson Chu <nelson@rivosinc.com>
Sat, 29 Oct 2022 03:34:10 +0000 (11:34 +0800)
committerNelson Chu <nelson@rivosinc.com>
Sat, 29 Oct 2022 03:41:43 +0000 (11:41 +0800)
commit0ce50fc900a53f32ed09c49ddc8cf26b517b33d1
treebe2d869f539fdc22d7e37194b1d241d7afc6bd05
parent541b65e4bc91dbc11da7c6b9e8dc234f7a495489
RISC-V: Always generate mapping symbols at the start of the sections.

Before figuring out the suppress rule of mapping symbol with architecture
(changed back to $x), always generate them at the start of the sections.

gas/
    * config/tc-riscv.c (need_arch_map_symbol): Removed.
    (riscv_mapping_state): Updated.
    (riscv_check_mapping_symbols): Updated.
    * testsuite/gas/riscv/mapping-non-arch.d: Removed.
    * testsuite/gas/riscv/mapping-non-arch.s: Likewise.
gas/config/tc-riscv.c
gas/testsuite/gas/riscv/mapping-non-arch.d [deleted file]
gas/testsuite/gas/riscv/mapping-non-arch.s [deleted file]