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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to