Re: [OpenWrt-Devel] [PATCH] package/grub: fix stage2 link with recent binutils

2012-01-06 Thread Arnaud Lacombe
Hi, On Mon, Dec 12, 2011 at 11:26 AM, Arnaud Lacombe wrote: > We want the `_start's symbols to be at the very beginning of the `stage2' > binary's `.text' section. However, nothing enforces this requirement. With > recent binutils (ie. post 2.19.1), this results

Re: [OpenWrt-Devel] [PATCH] package/kexec-tools: fix build with gcc 4.6.x

2012-01-06 Thread Arnaud Lacombe
Hi, On Mon, Dec 12, 2011 at 11:25 AM, Arnaud Lacombe wrote: > This fixes the following build error: > > make[4]: Entering directory > `target-i386_gcc-4.6.1_binutils_2.21.1_uClibc-0.9.32/kexec-tools-2.0.2' > mkdir -p purgatory > i486-openwrt-linux-uclibc-gcc  --no-

[OpenWrt-Devel] [PATCH] package/grub: fix stage2 link with recent binutils

2011-12-12 Thread Arnaud Lacombe
) at the beginning of the section. Fix this by providing a stripped down version of the default linker script where we enforces the position of `_start' in the `.text' section. Signed-off-by: Arnaud Lacombe --- .../grub/patches/030-add-stage2-ldscripts.patch| 77 1

[OpenWrt-Devel] [PATCH] package/kexec-tools: fix build with gcc 4.6.x

2011-12-12 Thread Arnaud Lacombe
Acked-by: "Eric W. Biederman" Signed-off-by: Simon Horman Signed-off-by: Arnaud Lacombe --- ...uild-Pass-no-undefined-as-a-linker-option.patch | 32 1 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 package/kexec-tools/patches/0