* Makefile.in: added relax, also made three stage go through a

partial link stage.
	* relax.c : added
	* config.h: if GNU960 defined, then default emulation mode is
	GLD960
	* ldexp.h, ldexp.c: map to file hooks
	* ldlang.c: map to file hooks
	* ldgram.y: added -Map -relax
	* ldlex.l: added -relax, -Map
	* ldmain.c: open map file
	* ldmisc.c: support for map file
	* ldwrite.c: new relax magic
This commit is contained in:
Steve Chamberlain
1992-01-24 22:34:34 +00:00
parent 2cbe4c5f9e
commit 2e2bf962db
9 changed files with 492 additions and 123 deletions

View File

@@ -190,6 +190,17 @@ main (argc, argv)
}
ldemul_after_parse();
if (config.map_filename)
{
config.map_file = fopen(config.map_filename, FOPEN_WT);
if (config.map_file == (FILE *)NULL)
{
einfo("%P%F: can't open map file %s\n",
config.map_filename);
}
}
else config.map_file = stdout;
lang_process();
/* Print error messages for any missing symbols, for any warning