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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
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
jberryman
GHC
Commits
b4a006b8
Commit
b4a006b8
authored
Apr 29, 2003
by
wolfgang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2003-04-29 21:37:31 by wolfgang]
Unbreak Mac OS X build (#ifdef mixup)
parent
68f287e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
ghc/rts/Linker.c
ghc/rts/Linker.c
+7
-5
No files found.
ghc/rts/Linker.c
View file @
b4a006b8
/* -----------------------------------------------------------------------------
* $Id: Linker.c,v 1.11
8 2003/03/31 14:02:32 simonmar
Exp $
* $Id: Linker.c,v 1.11
9 2003/04/29 21:37:31 wolfgang
Exp $
*
* (c) The GHC Team, 2000-2003
*
...
...
@@ -92,7 +92,7 @@ static int ocVerifyImage_MachO ( ObjectCode* oc );
static
int
ocGetNames_MachO
(
ObjectCode
*
oc
);
static
int
ocResolve_MachO
(
ObjectCode
*
oc
);
static
void
machoInitSymbolsWithoutUnderscore
();
static
void
machoInitSymbolsWithoutUnderscore
(
void
);
#endif
/* -----------------------------------------------------------------------------
...
...
@@ -551,15 +551,17 @@ typedef struct _RtsSymbolVal {
/* force these symbols to be present */
#define RTS_EXTRA_SYMBOLS \
Sym(__divsf3)
#elif defined(powerpc_TARGET_ARCH)
#else
#define RTS_EXTRA_SYMBOLS
/* nothing */
#endif
#ifdef darwin_TARGET_OS
// Symbols that don't have a leading underscore
// on Mac OS X. They have to receive special treatment,
// see machoInitSymbolsWithoutUnderscore()
#define RTS_MACHO_NOUNDERLINE_SYMBOLS \
Sym(saveFP) \
Sym(restFP)
#else
#define RTS_EXTRA_SYMBOLS
/* nothing */
#endif
/* entirely bogus claims about types of these symbols */
...
...
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