[Buildroot] [PATCH v2] at91bootstrap: fix gcc-4.6.x overlap linker issue
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Oct 9 17:21:47 UTC 2012
On Tue, 9 Oct 2012 18:39:17 +0200, Gregory Hermant wrote:
>
> Signed-off-by: Gregory Hermant <gregory.hermant at calao-systems.com>
> ---
> ...at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
> create mode 100644 boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch
>
> diff --git a/boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch b/boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch
> new file mode 100644
> index 0000000..b738df1
> --- /dev/null
> +++ b/boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch
> @@ -0,0 +1,12 @@
> +diff --git a/elf32-littlearm.lds b/elf32-littlearm.lds
> +index a33952f..4f3ba25 100644
> +--- a/elf32-littlearm.lds
> ++++ b/elf32-littlearm.lds
> +@@ -7,6 +7,7 @@ SECTIONS
> + .text : {
> + _stext = .;
> + *(.text)
> ++ *(.text*)
> + *(.rodata) /* read-only data (constants) */
> + *(.rodata*)
> + . = ALIGN(4);
Your patch lacks a description and Signed-off-by.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list