* ldmisc.c, ldmisc.h: Re-write info() to take a filename

parameter, a format, and an arg pointer, and rename it to
	vfinfo().  Write info() in terms of new vfinfo().
	New einfo() is the same as info(), except it writes to stderr.
	* ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
	ldmisc.c:  Replace "error" calls to info() by new einfo().
This commit is contained in:
Per Bothner 1991-11-12 03:03:42 +00:00
parent ff7ce1700b
commit 1c9e4b1512
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com)
* ldmisc.c, ldmisc.h: Re-write info() to take a filename
parameter, a format, and an arg pointer, and rename it to
vfinfo(). Write info() in terms of new vfinfo().
New einfo() is the same as info(), except it writes to stderr.
* ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
ldmisc.c: Replace "error" calls to info() by new einfo().
Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com)
* ldlex.l ldgram.y: made -V option do same as -v

View File

@ -127,7 +127,7 @@ lnk960_before_parse()
if (name == (char *)NULL) {
name = getenv("G960BASE");
if (name == (char *)NULL) {
info("%P%F I960BASE and G960BASE not set\n");
einfo("%P%F I960BASE and G960BASE not set\n");
}
}