summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-07-03 14:54:29 -0700
committerAndrew Waterman <andrew@sifive.com>2017-07-03 14:54:29 -0700
commitdb0bfa223142e56b17dae6d92610f195014bbb80 (patch)
tree36e1531429c443672b1ee9b0cd1d1c5cd72ae96c
parentd7b2fdc9ed30163ac7e4f5cfc502710e862a112e (diff)
downloadenv-priv-1.10.zip
env-priv-1.10.tar.gz
env-priv-1.10.tar.bz2
Fix physical load address for recent binutilspriv-1.10
-rw-r--r--p/link.ld9
1 files changed, 6 insertions, 3 deletions
diff --git a/p/link.ld b/p/link.ld
index 998da93..b3e315e 100644
--- a/p/link.ld
+++ b/p/link.ld
@@ -5,9 +5,12 @@ SECTIONS
{
. = 0x80000000;
.text.init : { *(.text.init) }
- .tohost ALIGN(0x1000) : { *(.tohost) }
- .text ALIGN(0x1000) : { *(.text) }
- .data ALIGN(0x1000) : { *(.data) }
+ . = ALIGN(0x1000);
+ .tohost : { *(.tohost) }
+ . = ALIGN(0x1000);
+ .text : { *(.text) }
+ . = ALIGN(0x1000);
+ .data : { *(.data) }
.bss : { *(.bss) }
_end = .;
}