Tnx, applied.

Michael

On Wed, Feb 01, 2012 at 12:54:50PM +0100, Alexander Dahl wrote:
> 
> Signed-off-by: Alexander Dahl <[email protected]>
> ---
>  .../0001-crt0_gnu.S-fix-image-size.patch           |    4 --
>  ...32-littlearm.lds-fix-overlap-linker-error.patch |   31 
> ++++++++++++++++++++
>  patches/Bootstrap-v1.16/series                     |    4 ++
>  3 files changed, 35 insertions(+), 4 deletions(-)
>  create mode 100644 
> patches/Bootstrap-v1.16/0002-elf32-littlearm.lds-fix-overlap-linker-error.patch
> 
> diff --git a/patches/Bootstrap-v1.16/0001-crt0_gnu.S-fix-image-size.patch 
> b/patches/Bootstrap-v1.16/0001-crt0_gnu.S-fix-image-size.patch
> index b2a4b5e..707d105 100644
> --- a/patches/Bootstrap-v1.16/0001-crt0_gnu.S-fix-image-size.patch
> +++ b/patches/Bootstrap-v1.16/0001-crt0_gnu.S-fix-image-size.patch
> @@ -1,4 +1,3 @@
> -From ed5f0b461a5652c7852f1fd7846be7b4814237de Mon Sep 17 00:00:00 2001
>  From: Marc Kleine-Budde <[email protected]>
>  Date: Thu, 17 Feb 2011 15:21:09 +0100
>  Subject: [PATCH] crt0_gnu.S: fix image size
> @@ -46,6 +45,3 @@ index a33952f..bf02b93 100644
>       }
>   
>       /* collect all uninitialized .bss sections */
> --- 
> -1.7.2.3
> -
> diff --git 
> a/patches/Bootstrap-v1.16/0002-elf32-littlearm.lds-fix-overlap-linker-error.patch
>  
> b/patches/Bootstrap-v1.16/0002-elf32-littlearm.lds-fix-overlap-linker-error.patch
> new file mode 100644
> index 0000000..19b736b
> --- /dev/null
> +++ 
> b/patches/Bootstrap-v1.16/0002-elf32-littlearm.lds-fix-overlap-linker-error.patch
> @@ -0,0 +1,31 @@
> +From: Alexander Dahl <[email protected]>
> +Date: Wed, 1 Feb 2012 12:49:15 +0100
> +Subject: [PATCH] elf32-littlearm.lds: fix overlap linker error
> +
> +circumvent gcc 4.6.x linker overlap error, suggestion from AT91 forum at
> +http://www.at91.com/forum/viewtopic.php/f,12/t,20624/
> +
> +This patch applies to Bootstrap-v1.16.
> +
> +Signed-off-by: Alexander Dahl <[email protected]>
> +---
> + elf32-littlearm.lds |    6 +++++-
> + 1 files changed, 5 insertions(+), 1 deletions(-)
> +
> +diff --git a/elf32-littlearm.lds b/elf32-littlearm.lds
> +index bf02b93..d85680c 100644
> +--- a/elf32-littlearm.lds
> ++++ b/elf32-littlearm.lds
> +@@ -14,7 +14,11 @@ SECTIONS
> +     }
> + 
> +     /* collect all initialized .data sections */
> +-    .data : AT ( ADDR (.text) + SIZEOF (.text) ) { 
> ++    . = ALIGN(4);
> ++    .dummy : {
> ++            _edummy = .;
> ++    }
> ++    .data : AT ( LOADADDR(.dummy) ) {
> +             _sdata = .;
> +             *(.vectors)
> +             *(.data)
> diff --git a/patches/Bootstrap-v1.16/series b/patches/Bootstrap-v1.16/series
> index 3355399..95a2b3f 100644
> --- a/patches/Bootstrap-v1.16/series
> +++ b/patches/Bootstrap-v1.16/series
> @@ -1 +1,5 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
>  0001-crt0_gnu.S-fix-image-size.patch
> +0002-elf32-littlearm.lds-fix-overlap-linker-error.patch
> +# 6daacb9f08ce1b5f27a02b02d35aa2ee  - git-ptx-patches magic
> -- 
> 1.7.2.5
> 
> 
> -- 
> ptxdist mailing list
> [email protected]
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to