summaryrefslogtreecommitdiff
path: root/gcc/c-aux-info.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-03-19 20:24:13 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-03-19 20:24:13 +0000
commit72d2a14aef03be78d050d859ffde211e1c372be7 (patch)
tree8b1b158639c1e7b02f36bca54e915218bfb8f32c /gcc/c-aux-info.c
parentf188eaa77d9435f73174aacb778e28dfe265dfe7 (diff)
downloadgcc-72d2a14aef03be78d050d859ffde211e1c372be7.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@524 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-aux-info.c')
-rw-r--r--gcc/c-aux-info.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c-aux-info.c b/gcc/c-aux-info.c
index 16c3aec0c89..3032f7c5e17 100644
--- a/gcc/c-aux-info.c
+++ b/gcc/c-aux-info.c
@@ -55,6 +55,7 @@ static char * gen_type ();
static char * gen_decl ();
void gen_aux_info_record ();
+#if 0
/* 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
the few exceptions to the general rule here. */
@@ -68,6 +69,7 @@ extern char *getcwd ();
/* We actually use this as a starting point, not a limit. */
#define GUESSPATHLEN 100
#endif /* (defined (USG) || defined (VMS)) */
+#endif /* 0 */
/* 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)
if (! compiled_from_record++)
{
+#if 0
int size;
char *wd;
char *value;
@@ -638,6 +641,11 @@ gen_aux_info_record (fndecl, is_definition, is_implicit, is_prototyped)
if (value != 0)
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. */