Skip to contentSkip to conversation

at91bootstrap: fix gcc-4.6.x overlap linker issue

PATCH Superseded Gregory Hermant 2 participants 2 messages Oct 9, 2012 Arm/Microchip (AT91) SoC support

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 at91bootstrap: fix gcc-4.6.x overlap linker issue

---
 ...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
boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch new file +12 -0
new file mode 100644
index 0000000..b738df1
@@ -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);
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 at91bootstrap: fix gcc-4.6.x overlap linker issue

Quoted 15 lines · Gregory Hermant
---
 ...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
boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch new file +2 -0
new file mode 100644
index 0000000..b738df1
@@ -0,0 +1,12 @@
+diff --git a/elf32-littlearm.lds b/elf32-littlearm.lds
+index a33952f..4f3ba25 100644

boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch line 12

Quoted 10 lines
boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch new file +10 -0
+--- 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

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com