[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nm -l bug
From: |
Emmanuel Manos Renieris |
Subject: |
nm -l bug |
Date: |
Sat, 18 Nov 2000 14:04:27 -0500 |
nm -l, at least on SunSparcs with gcc-2.95.2 (but as far as I remember,
with any gcc version) reports files and lines for symbols whose
locations are not known: for example, compiling
#include <stdio.h>
main()
{
printf("hello, world\n");
}
with -g and then doing nm -l on a.out produces, among other things:
000000000001091c t Letext /u/er/progs/c/hello.c:6
000000000001091c t gcc2_compiled. /u/er/progs/c/hello.c:6
One fix is to add, after line 1267 in nm.c, a line like:
&& strcmp(functionname, sym->name) == 0
-- Manos
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- nm -l bug,
Emmanuel Manos Renieris <=