diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 2000-04-06 21:03:45 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-04-06 17:03:45 -0400 |
commit | 2c561874133f1756d49d993d7561a802bd8448eb (patch) | |
tree | 4ff9e7912a475c3a1de02c51790509d9c7e1c758 /gcc/tlink.c | |
parent | 9b4f640b5deb54d0634e507267ef429e99934a1c (diff) | |
download | gcc-2c561874133f1756d49d993d7561a802bd8448eb.zip gcc-2c561874133f1756d49d993d7561a802bd8448eb.tar.gz gcc-2c561874133f1756d49d993d7561a802bd8448eb.tar.bz2 |
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
Diffstat (limited to 'gcc/tlink.c')
-rw-r--r-- | gcc/tlink.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/tlink.c b/gcc/tlink.c index a6130a1..32685b1 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -550,9 +550,15 @@ read_repo_files (object_lst) for (; *object; object++) { - const char *p = frob_extension (*object, ".rpo"); + const char *p; file *f; + /* Don't bother trying for ld flags. */ + if (*object[0] == '-') + continue; + + p = frob_extension (*object, ".rpo"); + if (! file_exists (p)) continue; |