diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-15 21:41:04 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-03-20 12:45:10 -0400 |
| commit | b44fce825df56c0f26adb6ae1f647ae07f6096ee (patch) | |
| tree | 009481b1c4329a97a0d521311d09fcaba8047f59 /recipes-devtools/go-cross/go-1.4/016-armhf-elf-header.patch | |
| parent | 260add1874d260f0673c3fd8dcd6b75bfcb3e7ce (diff) | |
| download | meta-virtualization-b44fce825df56c0f26adb6ae1f647ae07f6096ee.tar.gz | |
tools: remove go from meta-virtualization
go is now part of oe-core, so we can drop the meta-virt local recipes.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools/go-cross/go-1.4/016-armhf-elf-header.patch')
| -rw-r--r-- | recipes-devtools/go-cross/go-1.4/016-armhf-elf-header.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes-devtools/go-cross/go-1.4/016-armhf-elf-header.patch b/recipes-devtools/go-cross/go-1.4/016-armhf-elf-header.patch deleted file mode 100644 index 1ae53a38..00000000 --- a/recipes-devtools/go-cross/go-1.4/016-armhf-elf-header.patch +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | Description: Use correct ELF header for armhf binaries. | ||
| 2 | Author: Adam Conrad <adconrad@ubuntu.com> | ||
| 3 | Last-Update: 2013-07-08 | ||
| 4 | |||
| 5 | Index: go/src/cmd/ld/elf.c | ||
| 6 | =================================================================== | ||
| 7 | --- go.orig/src/cmd/ld/elf.c 2015-02-20 10:49:58.763451586 -0800 | ||
| 8 | +++ go/src/cmd/ld/elf.c 2015-02-20 10:49:27.895478521 -0800 | ||
| 9 | @@ -57,7 +57,11 @@ | ||
| 10 | case '5': | ||
| 11 | // we use EABI on both linux/arm and freebsd/arm. | ||
| 12 | if(HEADTYPE == Hlinux || HEADTYPE == Hfreebsd) | ||
| 13 | - hdr.flags = 0x5000002; // has entry point, Version5 EABI | ||
| 14 | +#ifdef __ARM_PCS_VFP | ||
| 15 | + hdr.flags = 0x5000402; // has entry point, Version5 EABI, hard-float ABI | ||
| 16 | +#else | ||
| 17 | + hdr.flags = 0x5000202; // has entry point, Version5 EABI, soft-float ABI | ||
| 18 | +#endif | ||
| 19 | // fallthrough | ||
| 20 | default: | ||
| 21 | hdr.phoff = ELF32HDRSIZE; /* Must be be ELF32HDRSIZE: first PHdr must follow ELF header */ | ||
