diff options
Diffstat (limited to 'import-layers/meta-virtualization/recipes-devtools/go-cross/go-1.5/armhf-elf-header.patch')
-rw-r--r-- | import-layers/meta-virtualization/recipes-devtools/go-cross/go-1.5/armhf-elf-header.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/import-layers/meta-virtualization/recipes-devtools/go-cross/go-1.5/armhf-elf-header.patch b/import-layers/meta-virtualization/recipes-devtools/go-cross/go-1.5/armhf-elf-header.patch deleted file mode 100644 index f56869b22a..0000000000 --- a/import-layers/meta-virtualization/recipes-devtools/go-cross/go-1.5/armhf-elf-header.patch +++ /dev/null @@ -1,19 +0,0 @@ -Index: go/src/cmd/link/internal/ld/elf.go -=================================================================== ---- go.orig/src/cmd/link/internal/ld/elf.go 2015-07-29 13:05:25.952533140 -0700 -+++ go/src/cmd/link/internal/ld/elf.go 2015-07-29 13:14:53.413112995 -0700 -@@ -780,7 +780,13 @@ - // 32-bit architectures - case '5': - // we use EABI on both linux/arm and freebsd/arm. -- if HEADTYPE == obj.Hlinux || HEADTYPE == obj.Hfreebsd { -+ if HEADTYPE == obj.Hlinux { -+ if Ctxt.Goarm == 7 { -+ ehdr.flags = 0x5000402 // has entry point, Version5 EABI, hard float -+ } else { -+ ehdr.flags = 0x5000202 // has entry point, Version5 EABI, soft float -+ } -+ } else if HEADTYPE == obj.Hfreebsd { - ehdr.flags = 0x5000002 // has entry point, Version5 EABI - } - fallthrough |