fix revision string for BIOS loader
The original linker script puts sHaikuRevision after __bss_start which results in the revision string getting overwritten with zeroes when the boot loader starts. This change ensures that sHaikuRevision comes before __bss_start. Change-Id: I271f2571ea274092f91f01019dcf8dcc1ad01bf3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5721 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
parent
05c1a8991e
commit
f151690800
@ -20,6 +20,7 @@ SECTIONS
|
||||
. = ALIGN(0x1000);
|
||||
__data_start = .;
|
||||
.data : { *(.data .gnu.linkonce.d.*) }
|
||||
_haiku_revision : { *(_haiku_revision) }
|
||||
|
||||
/* uninitialized data (in same segment as writable data) */
|
||||
__bss_start = .;
|
||||
|
@ -20,6 +20,7 @@ SECTIONS
|
||||
. = ALIGN(0x1000);
|
||||
__data_start = .;
|
||||
.data : { *(.data .gnu.linkonce.d.*) }
|
||||
_haiku_revision : { *(_haiku_revision) }
|
||||
|
||||
/* uninitialized data (in same segment as writable data) */
|
||||
__bss_start = .;
|
||||
|
Loading…
Reference in New Issue
Block a user