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
Tobias Decking
GHC
Commits
e3619c94
Commit
e3619c94
authored
Nov 18, 2011
by
dterei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some old comments about the mangler
parent
024216e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
12 deletions
+0
-12
compiler/nativeGen/PIC.hs
compiler/nativeGen/PIC.hs
+0
-5
includes/rts/storage/InfoTables.h
includes/rts/storage/InfoTables.h
+0
-5
rts/StgMiscClosures.cmm
rts/StgMiscClosures.cmm
+0
-2
No files found.
compiler/nativeGen/PIC.hs
View file @
e3619c94
...
...
@@ -31,11 +31,6 @@
the PIC base register when needed.
- MachCodeGen calls cmmMakeDynamicReference whenever it uses a CLabel
that wasn't in the original Cmm code (e.g. floating point literals).
+ The Mangler
- The mangler converts absolure refs to relative refs in info tables
- Symbol pointers, stub code and PIC calculations that are generated
by GCC are left intact by the mangler (so far only on ppc-darwin
and ppc-linux).
-}
{-# OPTIONS -fno-warn-tabs #-}
...
...
includes/rts/storage/InfoTables.h
View file @
e3619c94
...
...
@@ -23,11 +23,6 @@
have values in the lower 2Gb of the address space, so offsets all
fit in 32 bits. Hence we can use 32-bit offset fields.
When going via-C, the mangler arranges that we only generate
relative relocations between symbols in the same segment (the text
segment). The NCG, however, puts things in the right sections and
uses 32-bit relative offsets instead.
Somewhere between binutils-2.16.1 and binutils-2.16.91.0.6,
support for 64-bit PC-relative relocations was added, so maybe this
hackery can go away sometime.
...
...
rts/StgMiscClosures.cmm
View file @
e3619c94
...
...
@@ -601,8 +601,6 @@ INFO_TABLE_CONSTR(stg_MVAR_TSO_QUEUE,2,0,0,PRIM,"MVAR_TSO_QUEUE","MVAR_TSO_QUEUE
* on the fact that static closures live in the data section.
*/
/* end the name with _closure, to convince the mangler this is a closure */
#if
!
(
defined
(
__PIC__
)
&&
defined
(
mingw32_HOST_OS
))
section
"data"
{
stg_CHARLIKE_closure
:
...
...
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