ghc.git
9 years agoAdd relocation type R_X86_64_REX_GOTPCRELX
Tamar Christina [Sun, 5 Jun 2016 07:59:05 +0000 (09:59 +0200)]
Add relocation type R_X86_64_REX_GOTPCRELX

Summary:
Adding support for the `R_X86_64_REX_GOTPCRELX` relocation type.
This relocation is treated by the linker the same as the `R_X86_64_GOTPCRELX` type
`G + GOT + A - P` to generate relative offsets to the GOT.
The `REX` prefix has no influence in this stage.

This is based on https://github.com/hjl-tools/x86-psABI/wiki/x86-64-psABI-r252.pdf

Test Plan: ./validate

Reviewers: erikd, austin, bgamari, simonmar

Reviewed By: erikd

Subscribers: thomie, #ghc_windows_task_force

Differential Revision: https://phabricator.haskell.org/D2303

GHC Trac Issues: #12147

Gbp-Pq: Name R_X86_64_REX_GOTPCRELX

9 years agosmp-arm-fix
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
smp-arm-fix

Gbp-Pq: Name smp-arm-fix.patch

9 years agoosdecommitmemory-compat
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
osdecommitmemory-compat

Gbp-Pq: Name osdecommitmemory-compat.patch

9 years agoPPC/CodeGen: fix lwa instruction generation
Peter Trommler [Sat, 1 Oct 2016 21:56:31 +0000 (17:56 -0400)]
PPC/CodeGen: fix lwa instruction generation

Opcode lwa is a 64-bit opcode and allows a DS-form only.  This patch
generates lwa opcodes only when the offset is a multiple of 4.

Fixes #12621

Test Plan: validate

Reviewers: erikd, hvr, simonmar, austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2547

GHC Trac Issues: #12621

Gbp-Pq: Name fix-ppc-lwa-generation

9 years agox32-use-native-x86_64-insn
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
x32-use-native-x86_64-insn

Gbp-Pq: Name x32-use-native-x86_64-insn.patch

9 years agoGet linker flags correctly from GHC ≥ 7.8
Anders Kaseorg [Thu, 19 May 2016 07:18:02 +0000 (03:18 -0400)]
Get linker flags correctly from GHC ≥ 7.8

GHC 7.8 renamed "Gcc Linker flags" to "C compiler link flags" and "Ld
Linker flags" to "ld flags"
(https://ghc.haskell.org/trac/ghc/ticket/4862).

Without this corresponding fix in Cabal, the old-time package fails to
compile on Ubuntu yakkety amd64, where the system GCC now defaults to
-pie and GHC has

    $ ghc --info | grep -i pie
     ,("C compiler flags","-fno-PIE -fno-stack-protector")
     ,("C compiler link flags","-no-pie")
     ,("ld flags","-no-pie")

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit c993a0c6660aa10d8c79ed0cc4961c59acfc91c8)

Gbp-Pq: Name get-linker-flags-correctly

9 years agocompiler-cmm-PprC-sparc-alignment
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
compiler-cmm-PprC-sparc-alignment

Gbp-Pq: Name compiler-cmm-PprC-sparc-alignment.patch

9 years agoAvoid find_tycon panic if datacon is not in scope
Adam Gundry [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
Avoid find_tycon panic if datacon is not in scope

When using TH to splice expressions involving record field construction,
the parent datacon may not be in scope.  We shouldn't panic about this,
because we will be renaming Exact RdrNames which don't require any
disambiguation.

Reviewers: austin, bgamari
Reviewed By: bgamari
Differential Revision: https://phabricator.haskell.org/D2321
GHC Trac Issues: #12130

Origin: upstream, https://git.haskell.org/ghc.git/commitdiff/694e0f3a08030

Gbp-Pq: Name find-tycon-panic

9 years agono-pie
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
no-pie

Gbp-Pq: Name no-pie

9 years agoStgCmmPrim: Add missing MO_WriteBarrier
Ben Gamari [Wed, 31 Aug 2016 01:08:05 +0000 (21:08 -0400)]
StgCmmPrim: Add missing MO_WriteBarrier

StgCmmPrim: Add missing MO_WriteBarrier

Test Plan: Good question

Reviewers: austin, trommler, simonmar, rrnewton

Reviewed By: simonmar

Subscribers: RyanGlScott, thomie

Differential Revision: https://phabricator.haskell.org/D2495

GHC Trac Issues: #12469

(cherry picked from commit d40d6df74a9fca382a84709ac9bc862897fbec18)

Gbp-Pq: Name add-missing-MO_WriteBarrier

9 years agodo-not-use-SHELL
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
do-not-use-SHELL

Gbp-Pq: Name do-not-use-SHELL

9 years agoreproducible-tmp-names
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
reproducible-tmp-names

This is an attempt to make GHC build reproducible. The name of .c files may end
up in the resulting binary (in the debug section), but not the directory.

Instead of using the process id, create a hash from the command line arguments,
and assume that is going to be unique.

Gbp-Pq: Name reproducible-tmp-names

9 years agobuildpath-abi-stability
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
buildpath-abi-stability

Forwarded to https://ghc.haskell.org/trac/ghc/ticket/10424

Gbp-Pq: Name buildpath-abi-stability.patch

9 years agohurd
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
hurd

Provided by “Pino” via Samuel Thibault. Not yet pushed upstream.

Gbp-Pq: Name hurd.diff

9 years agono-missing-haddock-file-warning
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
no-missing-haddock-file-warning

Gbp-Pq: Name no-missing-haddock-file-warning

9 years agoARM-VFPv3D16
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
ARM-VFPv3D16

Gbp-Pq: Name ARM-VFPv3D16

9 years agouse-debian-gen_contents_index
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
use-debian-gen_contents_index

===================================================================

Gbp-Pq: Name use-debian-gen_contents_index

9 years agoghc (8.0.1-17) unstable; urgency=medium
Clint Adams [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
ghc (8.0.1-17) unstable; urgency=medium

  * Add upstream patch "Add relocation type R_X86_64_REX_GOTPCRELX".

[dgit import unpatched ghc 8.0.1-17]

9 years agoImport ghc_8.0.1-17.debian.tar.xz
Clint Adams [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
Import ghc_8.0.1-17.debian.tar.xz

[dgit import tarball ghc 8.0.1-17 ghc_8.0.1-17.debian.tar.xz]

9 years agoImport ghc_8.0.1.orig.tar.xz
Joachim Breitner [Sat, 21 May 2016 15:03:18 +0000 (15:03 +0000)]
Import ghc_8.0.1.orig.tar.xz

[dgit import orig ghc_8.0.1.orig.tar.xz]