diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-06 21:03:45 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-06 21:03:45 +0000 |
commit | d823001a5b4e39c8551fec25f9d219ca78641a5a (patch) | |
tree | 4ff9e7912a475c3a1de02c51790509d9c7e1c758 /gcc/tlink.c | |
parent | a9ce5bdcb05262a1f331def9b0c6783cdbba9d28 (diff) | |
download | gcc-d823001a5b4e39c8551fec25f9d219ca78641a5a.tar.gz |
* tlink.c (read_repo_files): Don't look for .rpo info for
linker flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32978 138bc75d-0d04-0410-961f-82ee72b054a4
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 a6130a14c29..32685b19404 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; |