mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] add patch fixing at91bootstrap build with gcc 4.6.x, and recreate patch series
Date: Wed, 1 Feb 2012 13:20:44 +0100	[thread overview]
Message-ID: <20120201122044.GH32382@pengutronix.de> (raw)
In-Reply-To: <1328097290-22194-1-git-send-email-post@lespocky.de>

Tnx, applied.

Michael

On Wed, Feb 01, 2012 at 12:54:50PM +0100, Alexander Dahl wrote:
> 
> Signed-off-by: Alexander Dahl <post@lespocky.de>
> ---
>  .../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 <mkl@pengutronix.de>
>  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 <post@lespocky.de>
> +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 <post@lespocky.de>
> +---
> + 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
> ptxdist@pengutronix.de
> 

-- 
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
ptxdist@pengutronix.de

      reply	other threads:[~2012-02-01 12:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26 15:04 [ptxdist] [PATCH] add patch for building at91bootstrap with gcc 4.6.x Alexander Dahl
2012-01-26 15:36 ` Michael Olbrich
2012-01-27  9:25   ` Alexander Dahl
2012-01-30 14:20     ` Michael Olbrich
2012-01-31 16:54       ` Alexander Dahl
2012-01-31 19:29         ` Michael Olbrich
2012-02-01 11:54           ` [ptxdist] [PATCH] add patch fixing at91bootstrap build with gcc 4.6.x, and recreate patch series Alexander Dahl
2012-02-01 12:20             ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120201122044.GH32382@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox