[GHC] #13624: loadObj() does not respect alignment

GHC ghc-devs at haskell.org
Mon May 1 02:56:59 UTC 2017


#13624: loadObj() does not respect alignment
-------------------------------------+-------------------------------------
        Reporter:  tmcdonell         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.4.1
       Component:  Runtime System    |              Version:  8.0.1
  (Linker)                           |
      Resolution:                    |             Keywords:  linker
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 For the record, each segment has an associated set of permission flags.
 IIRC, two sections of mapping characteristics won't end up in the same
 segment.

 However, we nevertheless can't use segments for an unrelated reason: only
 executables and shared objects are organized into segments. Our runtime
 linker is only concerned with object files, which have no useful segment
 organizations AFAIK. Oh well.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13624#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list