diff options
author | Alex Kube <alexander.j.kube@gmail.com> | 2019-10-25 23:49:14 +0430 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-25 17:57:22 +0000 |
commit | 0dd3a42c3d79ca63248fbbab6ba19dd42f11b03f (patch) | |
tree | 61e9c463b2d6da3c0fa2623120c73f23facdff5b /meta/recipes-devtools/go/go-1.12/0004-ld-add-soname-to-shareable-objects.patch | |
parent | 99e3441a912e8b85a26078ef49dcedce8e35dfa1 (diff) | |
download | poky-0dd3a42c3d79ca63248fbbab6ba19dd42f11b03f.tar.gz |
go: Remove go-1.12
(From OE-Core rev: 2b76e904a5f7d6479974a179d6d17d6ee9af94e7)
Signed-off-by: Alex Kube <alexander.j.kube@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go-1.12/0004-ld-add-soname-to-shareable-objects.patch')
-rw-r--r-- | meta/recipes-devtools/go/go-1.12/0004-ld-add-soname-to-shareable-objects.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-devtools/go/go-1.12/0004-ld-add-soname-to-shareable-objects.patch b/meta/recipes-devtools/go/go-1.12/0004-ld-add-soname-to-shareable-objects.patch deleted file mode 100644 index 004a33a023..0000000000 --- a/meta/recipes-devtools/go/go-1.12/0004-ld-add-soname-to-shareable-objects.patch +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | From 55eb8c95a89f32aec16b7764e78e8cf75169dc81 Mon Sep 17 00:00:00 2001 | ||
2 | From: Matt Madison <matt@madison.systems> | ||
3 | Date: Sat, 17 Feb 2018 06:26:10 -0800 | ||
4 | Subject: [PATCH] ld: add soname to shareable objects | ||
5 | |||
6 | so that OE's shared library dependency handling | ||
7 | can find them. | ||
8 | |||
9 | Upstream-Status: Inappropriate [OE specific] | ||
10 | |||
11 | Signed-off-by: Matt Madison <matt@madison.systems> | ||
12 | |||
13 | --- | ||
14 | src/cmd/link/internal/ld/lib.go | 4 ++++ | ||
15 | 1 file changed, 4 insertions(+) | ||
16 | |||
17 | diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go | ||
18 | index 220aab3..703925f 100644 | ||
19 | --- a/src/cmd/link/internal/ld/lib.go | ||
20 | +++ b/src/cmd/link/internal/ld/lib.go | ||
21 | @@ -1135,6 +1135,7 @@ func (ctxt *Link) hostlink() { | ||
22 | argv = append(argv, "-Wl,-z,relro") | ||
23 | } | ||
24 | argv = append(argv, "-shared") | ||
25 | + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile))) | ||
26 | if ctxt.HeadType != objabi.Hwindows { | ||
27 | // Pass -z nodelete to mark the shared library as | ||
28 | // non-closeable: a dlclose will do nothing. | ||
29 | @@ -1146,6 +1147,8 @@ func (ctxt *Link) hostlink() { | ||
30 | argv = append(argv, "-Wl,-z,relro") | ||
31 | } | ||
32 | argv = append(argv, "-shared") | ||
33 | + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile))) | ||
34 | + | ||
35 | case BuildModePlugin: | ||
36 | if ctxt.HeadType == objabi.Hdarwin { | ||
37 | argv = append(argv, "-dynamiclib") | ||
38 | @@ -1154,6 +1157,7 @@ func (ctxt *Link) hostlink() { | ||
39 | argv = append(argv, "-Wl,-z,relro") | ||
40 | } | ||
41 | argv = append(argv, "-shared") | ||
42 | + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile))) | ||
43 | } | ||
44 | } | ||
45 | |||