summaryrefslogtreecommitdiff
path: root/compiler/main
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2015-04-07 09:08:37 -0500
committerAustin Seipp <austin@well-typed.com>2015-04-07 09:13:22 -0500
commitab76b0990e9f7d20bde403be38935f9d16491806 (patch)
treefb43cceb939bc8810bb7131efa92f6216431c531 /compiler/main
parent4f8e34822f18cf3d31414676f900b3714367d38e (diff)
downloadhaskell-ab76b0990e9f7d20bde403be38935f9d16491806.tar.gz
rts/Linker.c: distinct between DATA and CODE labels when importing
The patch is a last major piece to make unregisterised GHC build under GCC's link-time optimizer. Before the patch we imported everything external as functions. Now we distinct between global variables and functions. The difference is crucial on ia64 and a complement to fixes: > d82f592522eb8e063276a8a8c87ab93e18353c6b > CMM: add a mechanism to import C .data labels > e18525fae273f4c1ad8d6cbe1dea4fc074cac721 > pprC: declare extern cmm primitives as functions, not data Signed-off-by: Sergei Trofimovich <siarheit@google.com> Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D797
Diffstat (limited to 'compiler/main')
0 files changed, 0 insertions, 0 deletions