diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-05-10 09:31:35 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-05-10 09:31:35 +0000 |
commit | 27b81b461fbc754779b2c941b9e1b9e49d54211b (patch) | |
tree | eeeaa5f6fe2b2e5c97383f2e0e4bd37d49bc09fe /driver | |
parent | 4414ec29267052c5e5dfbc36d596797c7177f822 (diff) | |
download | haskell-27b81b461fbc754779b2c941b9e1b9e49d54211b.tar.gz |
improve comments about x86-64 relative-offset hackery
Diffstat (limited to 'driver')
-rw-r--r-- | driver/mangler/ghc-asm.lprl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/mangler/ghc-asm.lprl b/driver/mangler/ghc-asm.lprl index 0bda1bb4ee..91d20d67db 100644 --- a/driver/mangler/ghc-asm.lprl +++ b/driver/mangler/ghc-asm.lprl @@ -236,6 +236,8 @@ sub init_TARGET_STUFF { # where x is in the text section and y in the rodata section. # It works if y is in the text section, though. This is probably # going to cause difficulties for PIC, I imagine. + # + # See Note [x86-64-relative] in includes/InfoTables.h $T_HDR_relrodata= "\.text\n\t\.align 8\n"; $T_HDR_closure = "\.data\n\t\.align 8\n"; |