Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
31d432e4
Commit
31d432e4
authored
Jul 12, 2000
by
Marc Espie
Committed by
Jeff Law
Jul 11, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* collect2.c (main): Recognize .lo as object files.
From-SVN: r34978
parent
4c1331d6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/collect2.c
+2
-2
No files found.
gcc/ChangeLog
View file @
31d432e4
2000-07-11 Marc Espie <espie@openbsd.org>
* collect2.c (main): Recognize .lo as object files.
2000-07-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2000-07-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
...
...
gcc/collect2.c
View file @
31d432e4
...
@@ -1222,7 +1222,7 @@ main (argc, argv)
...
@@ -1222,7 +1222,7 @@ main (argc, argv)
}
}
else
if
((
p
=
rindex
(
arg
,
'.'
))
!=
(
char
*
)
0
else
if
((
p
=
rindex
(
arg
,
'.'
))
!=
(
char
*
)
0
&&
(
strcmp
(
p
,
".o"
)
==
0
||
strcmp
(
p
,
".a"
)
==
0
&&
(
strcmp
(
p
,
".o"
)
==
0
||
strcmp
(
p
,
".a"
)
==
0
||
strcmp
(
p
,
".so"
)
==
0
))
||
strcmp
(
p
,
".so"
)
==
0
||
strcmp
(
p
,
".lo"
)
==
0
))
{
{
if
(
first_file
)
if
(
first_file
)
{
{
...
@@ -1237,7 +1237,7 @@ main (argc, argv)
...
@@ -1237,7 +1237,7 @@ main (argc, argv)
*
ld2
++
=
arg
;
*
ld2
++
=
arg
;
}
}
}
}
if
(
p
[
1
]
==
'o'
)
if
(
p
[
1
]
==
'o'
||
p
[
1
]
==
'l'
)
*
object
++
=
arg
;
*
object
++
=
arg
;
#ifdef COLLECT_EXPORT_LIST
#ifdef COLLECT_EXPORT_LIST
/* libraries can be specified directly, i.e. without -l flag. */
/* libraries can be specified directly, i.e. without -l flag. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment