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
4afc3a50
Commit
4afc3a50
authored
May 29, 2010
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix validate on OS X
parent
b46472fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
rts/Linker.c
rts/Linker.c
+4
-0
No files found.
rts/Linker.c
View file @
4afc3a50
...
...
@@ -136,7 +136,9 @@ static int ocVerifyImage_MachO ( ObjectCode* oc );
static
int
ocGetNames_MachO
(
ObjectCode
*
oc
);
static
int
ocResolve_MachO
(
ObjectCode
*
oc
);
#ifndef USE_MMAP
static
int
machoGetMisalignment
(
FILE
*
);
#endif
#if defined(powerpc_HOST_ARCH) || defined(x86_64_HOST_ARCH)
static
int
ocAllocateSymbolExtras_MachO
(
ObjectCode
*
oc
);
#endif
...
...
@@ -4797,6 +4799,7 @@ static void machoInitSymbolsWithoutUnderscore()
}
#endif
#ifndef USE_MMAP
/*
* Figure out by how much to shift the entire Mach-O file in memory
* when loading so that its single segment ends up 16-byte-aligned
...
...
@@ -4822,6 +4825,7 @@ static int machoGetMisalignment( FILE * f )
return
misalignment
?
(
16
-
misalignment
)
:
0
;
}
#endif
#endif
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