diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-03-07 16:10:56 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-09 14:43:11 +0000 |
commit | 66d57c6ed49669c9012d9ea831b5783b3168bb7f (patch) | |
tree | 9cccb8cc72f39b70fb41538907f0deb6e05b7726 /meta/recipes-devtools/go/go-1.9/0007-ld-add-soname-to-shareable-objects.patch | |
parent | e53aa46f435d68706d042af17bf629a16f18556c (diff) | |
download | poky-66d57c6ed49669c9012d9ea831b5783b3168bb7f.tar.gz |
go-1.9: Drop the recipes
We now have 1.11 and 1.12
(From OE-Core rev: 277162917331b235863eec31cbe82c101f0e4efe)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go-1.9/0007-ld-add-soname-to-shareable-objects.patch')
-rw-r--r-- | meta/recipes-devtools/go/go-1.9/0007-ld-add-soname-to-shareable-objects.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/meta/recipes-devtools/go/go-1.9/0007-ld-add-soname-to-shareable-objects.patch b/meta/recipes-devtools/go/go-1.9/0007-ld-add-soname-to-shareable-objects.patch deleted file mode 100644 index 6459782d81..0000000000 --- a/meta/recipes-devtools/go/go-1.9/0007-ld-add-soname-to-shareable-objects.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From e957c3458d53e37bf416f51d2f8bf54c195e50f5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Matt Madison <matt@madison.systems> | ||
3 | Date: Wed, 13 Sep 2017 08:27:02 -0700 | ||
4 | Subject: [PATCH 7/7] ld: add soname to shareable objects | ||
5 | |||
6 | Shared library handling in OE depends on the inclusion | ||
7 | of an soname header, so update the go linker to add that | ||
8 | header for both internal and external linking. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Matt Madison <matt@madison.systems> | ||
13 | --- | ||
14 | src/cmd/link/internal/ld/lib.go | 3 +++ | ||
15 | 1 file changed, 3 insertions(+) | ||
16 | |||
17 | diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go | ||
18 | index 0234105..0b9e2d0 100644 | ||
19 | --- a/src/cmd/link/internal/ld/lib.go | ||
20 | +++ b/src/cmd/link/internal/ld/lib.go | ||
21 | @@ -1124,12 +1124,14 @@ func (l *Link) hostlink() { | ||
22 | // Pass -z nodelete to mark the shared library as | ||
23 | // non-closeable: a dlclose will do nothing. | ||
24 | argv = append(argv, "-shared", "-Wl,-z,nodelete") | ||
25 | + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile))) | ||
26 | } | ||
27 | case BuildmodeShared: | ||
28 | if UseRelro() { | ||
29 | argv = append(argv, "-Wl,-z,relro") | ||
30 | } | ||
31 | argv = append(argv, "-shared") | ||
32 | + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile))) | ||
33 | case BuildmodePlugin: | ||
34 | if Headtype == objabi.Hdarwin { | ||
35 | argv = append(argv, "-dynamiclib") | ||
36 | @@ -1138,6 +1140,7 @@ func (l *Link) hostlink() { | ||
37 | argv = append(argv, "-Wl,-z,relro") | ||
38 | } | ||
39 | argv = append(argv, "-shared") | ||
40 | + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile))) | ||
41 | } | ||
42 | } | ||
43 | |||
44 | -- | ||
45 | 2.7.4 | ||
46 | |||