bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/32555] New: nm displays D on functions


From: hjl.tools at gmail dot com
Subject: [Bug binutils/32555] New: nm displays D on functions
Date: Mon, 13 Jan 2025 23:03:39 +0000

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

            Bug ID: 32555
           Summary: nm displays D on functions
           Product: binutils
           Version: 2.44 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: amodra at gmail dot com
  Target Milestone: ---
            Target: powerpc

[hjl@gnu-tgl-3 tmp]$ cat x.c
void
foo (void)
{
}
[hjl@gnu-tgl-3 tmp]$
/export/build/gnu/tools-build/glibc-many/install/compilers/powerpc64-linux-gnu/bin/powerpc64-glibc-linux-gnu-gcc
-c x.c
[hjl@gnu-tgl-3 tmp]$
/export/build/gnu/tools-build/glibc-many/install/compilers/powerpc64-linux-gnu/bin/powerpc64-glibc-linux-gnu-nm
x.o
0000000000000000 D foo
[hjl@gnu-tgl-3 tmp]$ readelf -sW x.o | grep foo
     8: 0000000000000000    40 FUNC    GLOBAL DEFAULT    4 foo
[hjl@gnu-tgl-3 tmp]$ 

nm --help shows

           "D"
           "d" The symbol is in the initialized data section.

Should nm display T for functions on powerpc?

-- 
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]