summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/PprMach.hs
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-05-10 09:31:35 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-05-10 09:31:35 +0000
commit27b81b461fbc754779b2c941b9e1b9e49d54211b (patch)
treeeeeaa5f6fe2b2e5c97383f2e0e4bd37d49bc09fe /compiler/nativeGen/PprMach.hs
parent4414ec29267052c5e5dfbc36d596797c7177f822 (diff)
downloadhaskell-27b81b461fbc754779b2c941b9e1b9e49d54211b.tar.gz
improve comments about x86-64 relative-offset hackery
Diffstat (limited to 'compiler/nativeGen/PprMach.hs')
-rw-r--r--compiler/nativeGen/PprMach.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/nativeGen/PprMach.hs b/compiler/nativeGen/PprMach.hs
index 3e2161e7ad..446495a5fe 100644
--- a/compiler/nativeGen/PprMach.hs
+++ b/compiler/nativeGen/PprMach.hs
@@ -760,7 +760,8 @@ pprDataItem lit
-- Fortunately we're assuming the small memory model, in which
-- all such offsets will fit into 32 bits, so we have to stick
-- to 32-bit offset fields and modify the RTS appropriately
- -- (see InfoTables.h).
+ --
+ -- See Note [x86-64-relative] in includes/InfoTables.h
--
ppr_item I64 x
| isRelativeReloc x =