tlink.c (read_repo_files): Don't look for .rpo info for linker flags.

* tlink.c (read_repo_files): Don't look for .rpo info for
	linker flags.

From-SVN: r32978
This commit is contained in:
Jason Merrill 2000-04-06 21:03:45 +00:00 committed by Jason Merrill
parent 9b4f640b5d
commit 2c56187413
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
* tlink.c (read_repo_files): Don't look for .rpo info for
linker flags.
Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk> Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define. * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.

View File

@ -550,9 +550,15 @@ read_repo_files (object_lst)
for (; *object; object++) for (; *object; object++)
{ {
const char *p = frob_extension (*object, ".rpo"); const char *p;
file *f; file *f;
/* Don't bother trying for ld flags. */
if (*object[0] == '-')
continue;
p = frob_extension (*object, ".rpo");
if (! file_exists (p)) if (! file_exists (p))
continue; continue;