bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27874] New: Incomplete result on `nm-new`


From: shaohua.li at inf dot ethz.ch
Subject: [Bug binutils/27874] New: Incomplete result on `nm-new`
Date: Sun, 16 May 2021 13:36:09 +0000

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

            Bug ID: 27874
           Summary: Incomplete result on `nm-new`
           Product: binutils
           Version: 2.37 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: shaohua.li at inf dot ethz.ch
  Target Milestone: ---

Created attachment 13454
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13454&action=edit
a.o

Hi there,

I found that `nm-new -D -l` would output incomplete results for some inputs.

For the file I attached, gcc11 and clang12 would give out different results.

For gcc11 compiled nm-new, the result was:

`04000000 T func_cu1    file1.txt:2`

but for clang12 compiled nm-new, the result was:
`04000000 T func_cu1`

Although I used `-l` parameter, the filename and lineno were omitted in clang12
compiled version.

To reproduce, run: `nm-new -D -l a.o`.

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