diff options
author | Alan Modra <amodra@gmail.com> | 2001-02-09 16:33:21 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-02-09 16:33:21 +0000 |
commit | 7bb10502ed7272132d70a6c6d5450bdc94345566 (patch) | |
tree | bda664641e04fcb74914b6ba0f838404181341dd /binutils/nm.c | |
parent | 9fc54e19508de6f56b3077f5de9cfebfa622e9a7 (diff) | |
download | gdb-7bb10502ed7272132d70a6c6d5450bdc94345566.zip gdb-7bb10502ed7272132d70a6c6d5450bdc94345566.tar.gz gdb-7bb10502ed7272132d70a6c6d5450bdc94345566.tar.bz2 |
Don't #ifdef inside printf in case printf is a macro.
Diffstat (limited to 'binutils/nm.c')
-rw-r--r-- | binutils/nm.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/binutils/nm.c b/binutils/nm.c index f1219eb..3695d1e 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -1,5 +1,5 @@ /* nm.c -- Describe symbol table of a rel file. - Copyright 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000 + Copyright 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -1473,13 +1473,11 @@ print_symbol_info_bsd (info, abfd) { if (bfd_is_undefined_symclass (info->type)) { - printf ("%*s", #ifdef BFD64 - 16, + printf ("%*s", 16, ""); #else - 8, + printf ("%*s", 8, ""); #endif - ""); } else print_value (info->value); |