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
88febe35
Commit
88febe35
authored
Sep 27, 2009
by
Peter O'Gorman
Committed by
Peter O'Gorman
Sep 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
collect2.c (main): Look for -brtl before adding libraries.
From-SVN: r152219
parent
aa58f943
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
13 deletions
+20
-13
gcc/ChangeLog
+4
-0
gcc/collect2.c
+16
-13
No files found.
gcc/ChangeLog
View file @
88febe35
2009
-
09
-
25
Peter
O
'Gorman <pogma@thewrittenword.com>
collect2.c (main): Look for -brtl before adding libraries.
2009-09-19 Jonathan Gray <jsg@openbsd.org>
* config.gcc: Update OpenBSD targets.
...
...
gcc/collect2.c
View file @
88febe35
...
...
@@ -943,6 +943,22 @@ main (int argc, char **argv)
{
if
(
!
strcmp
(
argv
[
i
],
"-debug"
))
debug
=
1
;
#ifdef COLLECT_EXPORT_LIST
/* since -brtl, -bexport, -b64 are not position dependent
also check for them here */
if
((
argv
[
i
][
0
]
==
'-'
)
&&
(
argv
[
i
][
1
]
==
'b'
))
{
arg
=
argv
[
i
];
/* We want to disable automatic exports on AIX when user
explicitly puts an export list in command line */
if
(
arg
[
2
]
==
'E'
||
strncmp
(
&
arg
[
2
],
"export"
,
6
)
==
0
)
export_flag
=
1
;
else
if
(
arg
[
2
]
==
'6'
&&
arg
[
3
]
==
'4'
)
aix64_flag
=
1
;
else
if
(
arg
[
2
]
==
'r'
&&
arg
[
3
]
==
't'
&&
arg
[
4
]
==
'l'
)
aixrtl_flag
=
1
;
}
#endif
}
vflag
=
debug
;
}
...
...
@@ -1164,19 +1180,6 @@ main (int argc, char **argv)
{
switch
(
arg
[
1
])
{
#ifdef COLLECT_EXPORT_LIST
/* We want to disable automatic exports on AIX when user
explicitly puts an export list in command line */
case
'b'
:
if
(
arg
[
2
]
==
'E'
||
strncmp
(
&
arg
[
2
],
"export"
,
6
)
==
0
)
export_flag
=
1
;
else
if
(
arg
[
2
]
==
'6'
&&
arg
[
3
]
==
'4'
)
aix64_flag
=
1
;
else
if
(
arg
[
2
]
==
'r'
&&
arg
[
3
]
==
't'
&&
arg
[
4
]
==
'l'
)
aixrtl_flag
=
1
;
break
;
#endif
case
'd'
:
if
(
!
strcmp
(
arg
,
"-debug"
))
{
...
...
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