diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2001-09-21 05:43:38 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2001-09-21 05:43:38 +0000 |
commit | 53beacfa00cb8d115ee21598c921401d5b9fd30f (patch) | |
tree | 26728ecf265d93f204cd1acf990cdf1e0570d782 /sys/conf/ldscript.sparc64 | |
parent | 3c293725e135e27f4f3d2e73e5848df4679ed4f6 (diff) | |
download | src-53beacfa00cb8d115ee21598c921401d5b9fd30f.tar.gz src-53beacfa00cb8d115ee21598c921401d5b9fd30f.zip |
Add kernbase symbol and use it instead of magic numbers in the
linker script.
Notes
Notes:
svn path=/head/; revision=83756
Diffstat (limited to 'sys/conf/ldscript.sparc64')
-rw-r--r-- | sys/conf/ldscript.sparc64 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/conf/ldscript.sparc64 b/sys/conf/ldscript.sparc64 index 8afcbebed909..0f0093a9325e 100644 --- a/sys/conf/ldscript.sparc64 +++ b/sys/conf/ldscript.sparc64 @@ -9,7 +9,7 @@ ENTRY(_start) SECTIONS { /* Read-only sections, merged into text segment: */ - . = 0x400000 + SIZEOF_HEADERS; + . = kernbase + SIZEOF_HEADERS; .interp : { *(.interp) } .hash : { *(.hash) } .dynsym : { *(.dynsym) } @@ -128,7 +128,7 @@ SECTIONS .init : { KEEP (*(.init)) - } = 0x400000 + } =0x1000000 .text : { *(.trap) @@ -138,11 +138,11 @@ SECTIONS /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) *(.gnu.linkonce.t.*) - } = 0x400000 + } =0x1000000 .fini : { KEEP (*(.fini)) - } = 0x400000 + } =0x1000000 PROVIDE (__etext = .); PROVIDE (_etext = .); PROVIDE (etext = .); |