[haiku-commits] haiku: hrev52627 - in src/system/glue/arch: riscv64 riscv32

  • From: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 5 Dec 2018 11:30:54 -0500 (EST)

hrev52627 adds 1 changeset to branch 'master'
old head: 7dcd941df2c961028b3b5eb8c6ed31f584a7f8e4
new head: eb4dd41b4264c303a1d972164de43d411cd1c82a
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=eb4dd41b4264+%5E7dcd941df2c9

----------------------------------------------------------------------------

eb4dd41b4264: system/glue: Get your arm outta my risc!
  
  Change-Id: Ie000430275df9be5568d7d8e330743120691ac4f

                          [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52627
Commit:      eb4dd41b4264c303a1d972164de43d411cd1c82a
URL:         https://git.haiku-os.org/haiku/commit/?id=eb4dd41b4264
Author:      Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date:        Wed Dec  5 16:30:42 2018 UTC

----------------------------------------------------------------------------

4 files changed, 8 insertions(+), 8 deletions(-)
src/system/glue/arch/riscv32/crti.S | 4 ++--
src/system/glue/arch/riscv32/crtn.S | 4 ++--
src/system/glue/arch/riscv64/crti.S | 4 ++--
src/system/glue/arch/riscv64/crtn.S | 4 ++--

----------------------------------------------------------------------------

diff --git a/src/system/glue/arch/riscv32/crti.S 
b/src/system/glue/arch/riscv32/crti.S
index 337c772ec2..3f51db9ced 100644
--- a/src/system/glue/arch/riscv32/crti.S
+++ b/src/system/glue/arch/riscv32/crti.S
@@ -21,10 +21,10 @@
 
 .section .init
 FUNCTION(_init):
-       bl      __haiku_init_before
+       jal     __haiku_init_before
        // crtbegin.o stuff comes here
 
 .section .fini
 FUNCTION(_fini):
-       bl      __haiku_term_before
+       jal     __haiku_term_before
        // crtbegin.o stuff comes here
diff --git a/src/system/glue/arch/riscv32/crtn.S 
b/src/system/glue/arch/riscv32/crtn.S
index 125022e37d..ff63444a4d 100644
--- a/src/system/glue/arch/riscv32/crtn.S
+++ b/src/system/glue/arch/riscv32/crtn.S
@@ -10,10 +10,10 @@
 
 .section .init
        // the image ID and program args are still on the stack
-       bl      __haiku_init_after
+       jal     __haiku_init_after
 
 
 .section .fini
        // the image ID and program args are still on the stack
-       bl      __haiku_term_after
+       jal     __haiku_term_after
 
diff --git a/src/system/glue/arch/riscv64/crti.S 
b/src/system/glue/arch/riscv64/crti.S
index 337c772ec2..3f51db9ced 100644
--- a/src/system/glue/arch/riscv64/crti.S
+++ b/src/system/glue/arch/riscv64/crti.S
@@ -21,10 +21,10 @@
 
 .section .init
 FUNCTION(_init):
-       bl      __haiku_init_before
+       jal     __haiku_init_before
        // crtbegin.o stuff comes here
 
 .section .fini
 FUNCTION(_fini):
-       bl      __haiku_term_before
+       jal     __haiku_term_before
        // crtbegin.o stuff comes here
diff --git a/src/system/glue/arch/riscv64/crtn.S 
b/src/system/glue/arch/riscv64/crtn.S
index 125022e37d..ff63444a4d 100644
--- a/src/system/glue/arch/riscv64/crtn.S
+++ b/src/system/glue/arch/riscv64/crtn.S
@@ -10,10 +10,10 @@
 
 .section .init
        // the image ID and program args are still on the stack
-       bl      __haiku_init_after
+       jal     __haiku_init_after
 
 
 .section .fini
        // the image ID and program args are still on the stack
-       bl      __haiku_term_after
+       jal     __haiku_term_after
 


Other related posts:

  • » [haiku-commits] haiku: hrev52627 - in src/system/glue/arch: riscv64 riscv32 - Alexander von Gluck IV