aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-sparc.c
diff options
context:
space:
mode:
authorNelson Chu <nelson.chu@sifive.com>2021-04-14 10:00:05 +0800
committerNelson Chu <nelson.chu@sifive.com>2021-04-15 10:32:36 +0800
commitddfe525f2875e76e0c32ff348fc0d3d6aa5fb4a3 (patch)
treee4452f5c8dff39d9d510d56081143e757c507a88 /bfd/elf64-sparc.c
parentf6a1f9574955cd2678c66e658d770adda9331995 (diff)
downloadbinutils-ddfe525f2875e76e0c32ff348fc0d3d6aa5fb4a3.zip
binutils-ddfe525f2875e76e0c32ff348fc0d3d6aa5fb4a3.tar.gz
binutils-ddfe525f2875e76e0c32ff348fc0d3d6aa5fb4a3.tar.bz2
RISC-V: PR27584, surpress local and empty name symbols for nm.
The local ".L0" symbol are usually generated to mark where the auipc instruction is, and clang also uses ".LBB" to do the same thing. Besides, clang also uses the empty name symbols for label differences. Arm surpress their mapping symbols by regarding them as special symbols, and MIPS surpress all local symbols. Therefore, RISC-V probably need to surpress the local and empty name symbols for nm and related tools. User can use "--special-syms" to show these surpressed symbols. bfd/ PR27584 * elfnn-riscv.c (riscv_elf_is_target_special_symbol): Added to omit local and empty symbols since they usually generated to mark the auipc instructions.
Diffstat (limited to 'bfd/elf64-sparc.c')
0 files changed, 0 insertions, 0 deletions