Commit e3619c94 authored by dterei's avatar dterei

Remove some old comments about the mangler

parent 024216e6
......@@ -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 #-}
......
......@@ -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.
......
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment