bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/27584] New: nm riscv: Suppress empty name symbols unless -


From: i at maskray dot me
Subject: [Bug binutils/27584] New: nm riscv: Suppress empty name symbols unless --special-syms?
Date: Mon, 15 Mar 2021 23:06:04 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27584

            Bug ID: 27584
           Summary: nm riscv: Suppress empty name symbols unless
                    --special-syms?
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: i at maskray dot me
  Target Milestone: ---

On ARM, mapping symbols are suppressed by default.

% arm-linux-gnueabi-gcc-nm test.o                                      
00000000 T _start
% arm-linux-gnueabi-gcc-nm --special-syms test.o
00000000 t $a.0
00000008 t $d.1
00000000 T _start

RISC-V needs many empty name symbols for -mrelax. Should such symbols be
suppressed as well?

% riscv64-linux-gnu-nm test.o
0000000000000002 t 
0000000000000002 t 
0000000000000002 t 
0000000000000004 t 
0000000000000008 t 
0000000000000008 t 
000000000000000a t 
0000000000000012 t 
000000000000001a t 
000000000000001a t 
0000000000000000 N 
0000000000000015 N 
000000000000001c N 
0000000000000023 N 
000000000000002a N 
0000000000000000 N 
000000000000001a t 
0000000000000000 N .Lline_table_start0
0000000000000002 T _start

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]