summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2014-03-12 18:11:52 +0100
committerAndreas Färber <andreas.faerber@web.de>2014-03-12 18:11:52 +0100
commit4cc33a9625b2d321cefc77102ee52e36fc6f019d (patch)
treee6991c65b694184da89bc13e29e36ca7df128922
parent31ada952d04a649932b93b3919167ceef0164c31 (diff)
downloadqemu-openhackware-4cc33a9625b2d321cefc77102ee52e36fc6f019d.tar.gz
Handle .text.startup section in linker script
Fixes the build with GNU binutils 2.19. Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Andreas Färber <andreas.faerber@web.de>
-rw-r--r--src/main.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.ld b/src/main.ld
index 3218019..453d5fd 100644
--- a/src/main.ld
+++ b/src/main.ld
@@ -30,7 +30,7 @@ SECTIONS
{
.start : { *(.start) } > start
. = ALIGN(4) ;
- .text : { *(.text) } > bios
+ .text : { *(.text*) } > bios
. = ALIGN(4) ;
.OpenFirmware : { *(.OpenFirmware) } > bios
. = ALIGN(4) ;