bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/990] "nm -l" doesn't work well on relocatable files


From: hjl at lucon dot org
Subject: [Bug ld/990] "nm -l" doesn't work well on relocatable files
Date: 5 Jun 2005 00:18:58 -0000

------- Additional Comments From hjl at lucon dot org  2005-06-05 00:18 -------
"nm -l" doesn't work on this:

---t4.c---
__attribute ((section(".text.foo")))
int test2_f1(int val)
{
  return val;
}

int test2_f2(int val)
{
  return val;
}
----

After applying

http://sourceware.org/ml/binutils/2005-06/msg00077.html

I got

# nm -l t4.o
00000000 T test2_f1     /user/hjl/bugs/binutils/debug/t4.c:3
00000000 T test2_f2     /user/hjl/bugs/binutils/debug/t4.c:3

Using address alone is wrong on relocatable file.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"nm -l" doesn't work well on|"nm -l" doesn't work well on
                   |data symbols in relocatable |relocatable files
                   |files                       |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=990

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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