diff options
author | David Terei <davidterei@gmail.com> | 2011-11-18 19:47:24 -0800 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2011-11-22 11:05:15 -0800 |
commit | e3619c9439ce1d79719285c6c1006a5ac1ff0b14 (patch) | |
tree | b27e751c6584477cf4217428cc0613c94da8113f | |
parent | 024216e68c0b3984c81ec9132f762d7aca5f477b (diff) | |
download | haskell-e3619c9439ce1d79719285c6c1006a5ac1ff0b14.tar.gz |
Remove some old comments about the mangler
-rw-r--r-- | compiler/nativeGen/PIC.hs | 5 | ||||
-rw-r--r-- | includes/rts/storage/InfoTables.h | 5 | ||||
-rw-r--r-- | rts/StgMiscClosures.cmm | 2 |
3 files changed, 0 insertions, 12 deletions
diff --git a/compiler/nativeGen/PIC.hs b/compiler/nativeGen/PIC.hs index aca320eec5..e81ebfb901 100644 --- a/compiler/nativeGen/PIC.hs +++ b/compiler/nativeGen/PIC.hs @@ -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 #-} diff --git a/includes/rts/storage/InfoTables.h b/includes/rts/storage/InfoTables.h index 4b0c40bbce..b34b255770 100644 --- a/includes/rts/storage/InfoTables.h +++ b/includes/rts/storage/InfoTables.h @@ -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. diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm index 26f24f6f39..70c77e531a 100644 --- a/rts/StgMiscClosures.cmm +++ b/rts/StgMiscClosures.cmm @@ -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: |