Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Chamois-Arsene
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CertiCompil
Chamois-Arsene
Commits
fa4dc466
Commit
fa4dc466
authored
8 years ago
by
Bernhard Schommer
Browse files
Options
Downloads
Patches
Plain Diff
Added braces back. Bug 19197
parent
410a5db3
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
driver/Linker.ml
+16
-16
16 additions, 16 deletions
driver/Linker.ml
with
16 additions
and
16 deletions
driver/Linker.ml
+
16
−
16
View file @
fa4dc466
...
...
@@ -60,22 +60,22 @@ let linker_help =
let
linker_actions
=
[
Prefix
"-l"
,
Self
push_linker_arg
;
Prefix
"-L"
,
Self
push_linker_arg
;
]
@
if
gnu_system
then
(
if
gnu_system
then
[
Exact
"-nostartfiles"
,
Self
push_linker_arg
;
Exact
"-nodefaultlibs"
,
Self
push_linker_arg
;
Exact
"-nostdlib"
,
Self
push_linker_arg
;]
else
[]
@
[
Exact
"-s"
,
Self
push_linker_arg
;
Exact
"-static"
,
Self
push_linker_arg
;
Exact
"-T"
,
String
(
fun
s
->
if
gnu_system
then
begin
push_linker_arg
(
"-T"
);
push_linker_arg
(
s
)
end
else
push_linker_arg
(
"-Wm"
^
s
));
Exact
"-Xlinker"
,
String
(
fun
s
->
if
Configuration
.
system
=
"diab"
then
push_linker_arg
(
"-Wl,"
^
s
)
else
push_linker_arg
s
);
Prefix
"-Wl,"
,
Self
push_linker_arg
;
Prefix
"-WUl,"
,
Self
(
fun
s
->
List
.
iter
push_linker_arg
(
explode_comma_option
s
));
Exact
"-u"
,
Self
push_linker_arg
;]
else
[]
)
@
[
Exact
"-s"
,
Self
push_linker_arg
;
Exact
"-static"
,
Self
push_linker_arg
;
Exact
"-T"
,
String
(
fun
s
->
if
gnu_system
then
begin
push_linker_arg
(
"-T"
);
push_linker_arg
(
s
)
end
else
push_linker_arg
(
"-Wm"
^
s
));
Exact
"-Xlinker"
,
String
(
fun
s
->
if
Configuration
.
system
=
"diab"
then
push_linker_arg
(
"-Wl,"
^
s
)
else
push_linker_arg
s
);
Prefix
"-Wl,"
,
Self
push_linker_arg
;
Prefix
"-WUl,"
,
Self
(
fun
s
->
List
.
iter
push_linker_arg
(
explode_comma_option
s
));
Exact
"-u"
,
Self
push_linker_arg
;]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment