[GHC] #11340: linker_unload test fails on ARM
GHC
ghc-devs at haskell.org
Sun Jan 3 15:55:53 UTC 2016
#11340: linker_unload test fails on ARM
-------------------------------------+----------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: arm
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1728
Wiki Page: |
-------------------------------------+----------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"d159a51bb0f26aa232432987e88499109002b3f7/ghc"
d159a51b/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="d159a51bb0f26aa232432987e88499109002b3f7"
Linker: ARM: Refactor relocation handling
This refactors handling of R_ARM_CALL, R_ARM_JUMP24, R_ARM_MOVW_NC, and
R_ARM_MOVT relocations to follow the LLVM LLD implementation. The "ELF
for ARM" specification is (like most documents of this type, sadly) a
bit vague in some areas, so it seems safest to follow the behavior of a
trusted implementation like LLD, which is remarkable in its clarity..
Moreover, we now throw a proper error message when a jump to a symbol
extra is out of range. This is great improvement over the previous
behavior, which ended in a segfault.
See #11340.
Differential Revision: https://phabricator.haskell.org/D1728
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11340#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list