Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,269
Issues
4,269
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
413
Merge Requests
413
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3b3fcc71
Commit
3b3fcc71
authored
Jan 01, 2021
by
Ben Gamari
🐢
Committed by
Marge Bot
Jan 07, 2021
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rts/Linker: Add noreturn to loadNativeObj on non-ELF platforms
parent
2f629beb
Pipeline
#29610
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
rts/Linker.c
rts/Linker.c
+6
-2
No files found.
rts/Linker.c
View file @
3b3fcc71
...
...
@@ -2012,19 +2012,23 @@ addSection (Section *s, SectionKind kind, SectionAlloc alloc,
#define UNUSED(x) (void)(x)
#if defined(OBJFORMAT_ELF)
void
*
loadNativeObj
(
pathchar
*
path
,
char
**
errmsg
)
{
#if defined(OBJFORMAT_ELF)
ACQUIRE_LOCK
(
&
linker_mutex
);
void
*
r
=
loadNativeObj_ELF
(
path
,
errmsg
);
RELEASE_LOCK
(
&
linker_mutex
);
return
r
;
}
#else
void
*
GNU_ATTRIBUTE
(
__noreturn__
)
loadNativeObj
(
pathchar
*
path
,
char
**
errmsg
)
{
UNUSED
(
path
);
UNUSED
(
errmsg
);
barf
(
"loadNativeObj: not implemented on this platform"
);
#endif
}
#endif
HsInt
unloadNativeObj
(
void
*
handle
)
{
...
...
Marge Bot
💬
@marge-bot
mentioned in merge request
!4708 (closed)
·
Jan 07, 2021
mentioned in merge request
!4708 (closed)
mentioned in merge request !4708
Toggle commit list
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