-
- Downloads
powerpc: fix and enable shared libraries by default on linux
Summary:
And fix things all the way down to it. Namely:
- remove 'r30' from free registers, it's an .LCTOC1 register
for gcc. generated .plt stubs expect it to be initialised.
- fix PicBase computation, which originally forgot to use 'tmp'
reg in 'initializePicBase_ppc.fetchPC'
- mark 'ForeighTarget's as implicitly using 'PicBase' register
(see comment for details)
- add 64-bit MO_Sub and test on alloclimit3/4 regtests
- fix dynamic label offsets to match with .LCTOC1 offset
Signed-off-by:
Sergei Trofimovich <siarheit@google.com>
Test Plan: validate passes equal amount of vanilla/dyn tests
Reviewers: simonmar, erikd, austin
Reviewed By: erikd, austin
Subscribers: carter, thomie
Differential Revision: https://phabricator.haskell.org/D560
GHC Trac Issues: #8024, #9831
Showing
- compiler/cmm/CLabel.hs 2 additions, 1 deletioncompiler/cmm/CLabel.hs
- compiler/nativeGen/PIC.hs 18 additions, 27 deletionscompiler/nativeGen/PIC.hs
- compiler/nativeGen/PPC/CodeGen.hs 45 additions, 3 deletionscompiler/nativeGen/PPC/CodeGen.hs
- compiler/nativeGen/PPC/Instr.hs 9 additions, 0 deletionscompiler/nativeGen/PPC/Instr.hs
- compiler/nativeGen/PPC/Ppr.hs 12 additions, 0 deletionscompiler/nativeGen/PPC/Ppr.hs
- compiler/nativeGen/PPC/Regs.hs 4 additions, 2 deletionscompiler/nativeGen/PPC/Regs.hs
- includes/CodeGen.Platform.hs 2 additions, 0 deletionsincludes/CodeGen.Platform.hs
- mk/config.mk.in 1 addition, 1 deletionmk/config.mk.in
Loading
Please register or sign in to comment