diff options
author | Steve Chamberlain <sac@cygnus> | 1992-01-24 22:49:24 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-01-24 22:49:24 +0000 |
commit | d20f480f8a9eb7ea0261b5343c02e88f5a3d6dff (patch) | |
tree | cedde9f993b3348605396fead8108e54b17e95ac /binutils/nm.c | |
parent | e98e6ec1117b83defce2b1ccce6fd4ec3877bbfb (diff) | |
download | gdb-d20f480f8a9eb7ea0261b5343c02e88f5a3d6dff.zip gdb-d20f480f8a9eb7ea0261b5343c02e88f5a3d6dff.tar.gz gdb-d20f480f8a9eb7ea0261b5343c02e88f5a3d6dff.tar.bz2 |
* copy.c, nm.c, objdump.c, size.c : changed to use the
new reloc scheme.
Diffstat (limited to 'binutils/nm.c')
-rw-r--r-- | binutils/nm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/nm.c b/binutils/nm.c index f0636c3..e6ab17f 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -19,9 +19,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "bfd.h" #include "sysdep.h" +#include "bucomm.h" #include "getopt.h" #include "aout/stab_gnu.h" -#include <ranlib.h> +#include "aout/ranlib.h" @@ -247,7 +248,7 @@ do_one_rel_file (abfd) } /* Symbol-sorting predicates */ -#define valueof(x) ((x)->section ? (x)->section->vma + (x)->value : (x)->value) +#define valueof(x) (x)->section->vma + (x)->value int numeric_forward (x, y) char *x; @@ -336,7 +337,6 @@ print_symbols (abfd, syms, symcount) unsigned long symcount; { asymbol **sym = syms, **end = syms + symcount; - char class; for (; sym < end; ++sym) { if (file_on_each_line) printf("%s:", bfd_get_filename(abfd)); |