Commit 7d57b4ca by Richard Stallman

*** empty log message ***

From-SVN: r524
parent 3dd4b517
...@@ -55,6 +55,7 @@ static char * gen_type (); ...@@ -55,6 +55,7 @@ static char * gen_type ();
static char * gen_decl (); static char * gen_decl ();
void gen_aux_info_record (); void gen_aux_info_record ();
#if 0
/* Virtually every UN*X system now in common use (except for pre-4.3-tahoe /* Virtually every UN*X system now in common use (except for pre-4.3-tahoe
BSD systems) now provides getcwd as called for by POSIX. Allow for BSD systems) now provides getcwd as called for by POSIX. Allow for
the few exceptions to the general rule here. */ the few exceptions to the general rule here. */
...@@ -68,6 +69,7 @@ extern char *getcwd (); ...@@ -68,6 +69,7 @@ extern char *getcwd ();
/* We actually use this as a starting point, not a limit. */ /* We actually use this as a starting point, not a limit. */
#define GUESSPATHLEN 100 #define GUESSPATHLEN 100
#endif /* (defined (USG) || defined (VMS)) */ #endif /* (defined (USG) || defined (VMS)) */
#endif /* 0 */
/* Take two strings and mash them together into a newly allocated area. */ /* Take two strings and mash them together into a newly allocated area. */
...@@ -620,6 +622,7 @@ gen_aux_info_record (fndecl, is_definition, is_implicit, is_prototyped) ...@@ -620,6 +622,7 @@ gen_aux_info_record (fndecl, is_definition, is_implicit, is_prototyped)
if (! compiled_from_record++) if (! compiled_from_record++)
{ {
#if 0
int size; int size;
char *wd; char *wd;
char *value; char *value;
...@@ -638,6 +641,11 @@ gen_aux_info_record (fndecl, is_definition, is_implicit, is_prototyped) ...@@ -638,6 +641,11 @@ gen_aux_info_record (fndecl, is_definition, is_implicit, is_prototyped)
if (value != 0) if (value != 0)
fprintf (aux_info_file, "/* compiled from: %s */\n", wd); fprintf (aux_info_file, "/* compiled from: %s */\n", wd);
#endif
/* The first line tells which directory file names are relative to.
Currently, -fgen-aux-info works only for files in the working
directory, so just use a `.' as a placeholder for now. */
fprintf (aux_info_file, "/* compiled from: . */\n");
} }
/* Write the actual line of auxiliary info. */ /* Write the actual line of auxiliary info. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment