diff options
author | obrien <obrien@FreeBSD.org> | 2000-04-20 08:58:04 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-04-20 08:58:04 +0000 |
commit | 7f0b584d006da906263fdfd36f7635a704320dc8 (patch) | |
tree | b86a4239d5dab9cfa0c77c7cfa40ea0412ab4aa9 | |
parent | 13a243d8b505e941ea630f4b61891daf50fefeea (diff) | |
download | FreeBSD-src-7f0b584d006da906263fdfd36f7635a704320dc8.zip FreeBSD-src-7f0b584d006da906263fdfd36f7635a704320dc8.tar.gz |
Revert this file back to its FSF/Cygnus virgin state.
With jb's rev 1.2 commit to usr.bin/lorder/lorder.sh we don't depend on
the 4.4BSD's ``nm -o'' behavior.
Previous to 4.3BSD-Reno, ``nm -o'' did not output the .o's filename on a
line by itself. The change occurred between CSRG's nm.c rev 4.8 (1987) and
rev 5.1 (in 1989), which was "new version from Hans Huebner hans@garp.mit.edu,
huebner@db0tui6.BITNET". The Binutils maintainers would rather cater to
a loud boisterous user of 4.3BSD VAXen which has its own native toolchain,
rather than a modern Unix with multiple orders of magnitude more users
and in which Binutils *is* the native toolchain.
-rw-r--r-- | contrib/binutils/binutils/nm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/binutils/binutils/nm.c b/contrib/binutils/binutils/nm.c index d5f7f5c..becdad2 100644 --- a/contrib/binutils/binutils/nm.c +++ b/contrib/binutils/binutils/nm.c @@ -17,6 +17,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $FreeBSD$ */ + #include "bfd.h" #include "progress.h" #include "bucomm.h" @@ -1262,7 +1264,7 @@ static void print_object_filename_bsd (filename) char *filename; { - if (filename_per_file) + if (filename_per_file && !filename_per_symbol) printf ("\n%s:\n", filename); } |