summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/go-cross/files/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch
diff options
context:
space:
mode:
authorZongchun Yu <zongchun.yu@nxp.com>2016-04-05 17:54:28 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2016-04-19 15:51:10 -0400
commit12c601cd2df52ad123b337647eeb990f46422a25 (patch)
tree9fd33cda1e85643fe6baa408ccb67bd0b4c166b4 /recipes-devtools/go-cross/files/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch
parent841dc6f3a2a77bda2a1cd2bb7bcd6f3e709699db (diff)
downloadmeta-virtualization-12c601cd2df52ad123b337647eeb990f46422a25.tar.gz
go-cross: uprev to 1.5.2
* Add go-native as build bootstrap for go-cross. * Upgrade go-cross to v1.5.2 Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools/go-cross/files/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch')
-rw-r--r--recipes-devtools/go-cross/files/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/recipes-devtools/go-cross/files/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch b/recipes-devtools/go-cross/files/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch
deleted file mode 100644
index 4cfa9d1b..00000000
--- a/recipes-devtools/go-cross/files/0001-cmd-ld-set-alignment-for-the-.rel.plt-section-on-32-.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 855145d5c03c4b4faf60736c38d7a299c682af4a Mon Sep 17 00:00:00 2001
2From: Shenghou Ma <minux@golang.org>
3Date: Sat, 7 Feb 2015 14:06:02 -0500
4Subject: [PATCH] cmd/ld: set alignment for the .rel.plt section on 32-bit
5 architectures
6
7Fixes #9802.
8
9Change-Id: I22c52a37bdb23a14cc4615c9519431bb14ca81ca
10Reviewed-on: https://go-review.googlesource.com/4170
11Reviewed-by: Ian Lance Taylor <iant@golang.org>
12---
13 src/cmd/ld/elf.c | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/src/cmd/ld/elf.c b/src/cmd/ld/elf.c
17index 12ced98..97ed4bd 100644
18--- a/src/cmd/ld/elf.c
19+++ b/src/cmd/ld/elf.c
20@@ -1363,6 +1363,7 @@ asmbelf(vlong symo)
21 sh->type = SHT_REL;
22 sh->flags = SHF_ALLOC;
23 sh->entsize = ELF32RELSIZE;
24+ sh->addralign = 4;
25 sh->link = elfshname(".dynsym")->shnum;
26 shsym(sh, linklookup(ctxt, ".rel.plt", 0));
27
28--
291.9.1
30