From d35d103f08edf3fc552981f1d8136e358b9faece Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 21 Mar 2014 20:26:01 +0000 Subject: [PATCH] 2014-03-21 Sabrini Ni * nds32/crt0.S: Eliminate initialization for $fp. * nds32/crt1.S: Ditto. --- libgloss/ChangeLog | 5 +++++ libgloss/nds32/crt0.S | 3 +-- libgloss/nds32/crt1.S | 3 +-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index ccce7dcaf..5b22a24c7 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2014-03-21 Sabrini Ni + + * nds32/crt0.S: Eliminate initialization for $fp. + * nds32/crt1.S: Ditto. + 2014-03-21 Sabrini Ni * nds32/crt0.S: Refine. diff --git a/libgloss/nds32/crt0.S b/libgloss/nds32/crt0.S index 5ee92726b..30092e001 100644 --- a/libgloss/nds32/crt0.S +++ b/libgloss/nds32/crt0.S @@ -53,9 +53,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .align 2 _start: .L_fp_gp_init: - /* Initialization for $fp and $gp. The _SDA_BASE_ location + /* Initialization for $gp. The _SDA_BASE_ location stands for Small Data Access. */ - la $fp, _FP_BASE_ la $gp, _SDA_BASE_ .L_stack_init: diff --git a/libgloss/nds32/crt1.S b/libgloss/nds32/crt1.S index 1d8343333..0aca76246 100644 --- a/libgloss/nds32/crt1.S +++ b/libgloss/nds32/crt1.S @@ -53,9 +53,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .align 2 _start: .L_fp_gp_init: - /* Initialization for $fp and $gp. The _SDA_BASE_ location + /* Initialization for $gp. The _SDA_BASE_ location stands for Small Data Access. */ - la $fp, _FP_BASE_ la $gp, _SDA_BASE_ .L_stack_init: