https://sourceware.org/bugzilla/show_bug.cgi?id=27584
Nelson Chu <nelsonc1225 at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #6 from Nelson Chu <nelsonc1225 at sourceware dot org> --- This should be fixed in the FSF mainline, so marked as Resolved/Fixed. Copy the example from llvm, https://reviews.llvm.org/D98669 $ cat tmp.s .globl foo foo: nop .file 1 "/tmp" "a.s" .loc 1 1 0 nop .section .debug_line,"",@progbits $ llvm-mc -filetype=obj -triple=riscv64 tmp.s -o tmp.o Use the old nm, $ riscv64-unknown-elf-nm tmp.o 0000000000000004 t 0000000000000000 T foo Use the mainline nm, $ riscv64-unknown-elf-nm tmp.o 0000000000000000 T foo $ riscv64-unknown-elf-nm --special-sym tmp.o 0000000000000004 t 0000000000000000 T foo -- You are receiving this mail because: You are on the CC list for the bug.