Patchwork [v2] at91bootstrap: fix gcc-4.6.x overlap linker issue

login
register
mail settings
Submitter Gregory Hermant
Date Oct. 9, 2012, 4:39 p.m.
Message ID <1349800757-31873-1-git-send-email-gregory.hermant@calao-systems.com>
Download mbox | patch
Permalink /patch/190366/
State Superseded
Headers show

Comments

Gregory Hermant - Oct. 9, 2012, 4:39 p.m.
Signed-off-by: Gregory Hermant <gregory.hermant@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
Thomas Petazzoni - Oct. 9, 2012, 5:21 p.m.
On Tue,  9 Oct 2012 18:39:17 +0200, Gregory Hermant wrote:
> 
> Signed-off-by: Gregory Hermant <gregory.hermant@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

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);