summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-1.6/armhf-elf-header.patch
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2017-09-08 18:04:33 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:30 +0100
commit30e23e15563dcee2e9d8d559a55bff97079cf713 (patch)
tree10c58f40fa85b63e27855fcf55cb374c47c4cecd /meta/recipes-devtools/go/go-1.6/armhf-elf-header.patch
parent8a43f94d1d5e3a7aed56a55447652618e7f0c4ef (diff)
downloadpoky-30e23e15563dcee2e9d8d559a55bff97079cf713.tar.gz
go: Remove Go 1.6 and 1.7 releases
The OE-Core has no reason to support multiple versions of Go as this increases the maintenance work and testing efforts. So we are going to support just a single version from now on which currently is 1.8.3. The 1.4 release is kept around as it is used for bootstrap, as such, it cannot be removed. (From OE-Core rev: 26abbf129d7ca0d36f6244f96fa8a572fd847899) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go/go-1.6/armhf-elf-header.patch')
-rw-r--r--meta/recipes-devtools/go/go-1.6/armhf-elf-header.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-devtools/go/go-1.6/armhf-elf-header.patch b/meta/recipes-devtools/go/go-1.6/armhf-elf-header.patch
deleted file mode 100644
index 1e3a16b319..0000000000
--- a/meta/recipes-devtools/go/go-1.6/armhf-elf-header.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1Encode arm EABI ( hard/soft ) calling convention in ELF header
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Pending
5Index: go/src/cmd/link/internal/ld/elf.go
6===================================================================
7--- go.orig/src/cmd/link/internal/ld/elf.go
8+++ go/src/cmd/link/internal/ld/elf.go
9@@ -827,7 +827,13 @@
10 // 32-bit architectures
11 case '5':
12 // we use EABI on both linux/arm and freebsd/arm.
13- if HEADTYPE == obj.Hlinux || HEADTYPE == obj.Hfreebsd {
14+ if HEADTYPE == obj.Hlinux {
15+ if Ctxt.Goarm == 7 {
16+ ehdr.flags = 0x5000402 // has entry point, Version5 EABI, hard float
17+ } else {
18+ ehdr.flags = 0x5000202 // has entry point, Version5 EABI, soft float
19+ }
20+ } else if HEADTYPE == obj.Hfreebsd {
21 // We set a value here that makes no indication of which
22 // float ABI the object uses, because this is information
23 // used by the dynamic linker to compare executables and