From 2ac9ccdbedace696d422ee669d308160bc21c462 Mon Sep 17 00:00:00 2001 From: Sabrina Ni Date: Tue, 15 Oct 2013 14:44:02 +0800 Subject: [PATCH 06/15] [nds32] Eliminate initialization for $fp. * libgloss/nds32/crt0.S: Eliminate initialization for $fp. * libgloss/nds32/crt1.S: Ditto. --- libgloss/nds32/crt0.S | 3 +-- libgloss/nds32/crt1.S | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libgloss/nds32/crt0.S b/libgloss/nds32/crt0.S index 5ee9272..30092e0 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 1d83433..0aca762 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: -- 1.9.0