From e669b401f702dbcae29b46524091b5c1eb2e7abf Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 21 Mar 2014 21:17:43 +0000 Subject: [PATCH] 2014-03-21 Sabrini Ni * nds32/_sbrk.S: Add .size and .type directive. --- libgloss/ChangeLog | 4 ++++ libgloss/nds32/_sbrk.S | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index f53836a9b..f14432d3a 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,7 @@ +2014-03-21 Sabrini Ni + + * nds32/_sbrk.S: Add .size and .type directive. + 2014-03-21 Sabrini Ni * nds32/crt0.S: Tweak initialization sqeuence. diff --git a/libgloss/nds32/_sbrk.S b/libgloss/nds32/_sbrk.S index ae32e8dcd..dc3ed7bf8 100644 --- a/libgloss/nds32/_sbrk.S +++ b/libgloss/nds32/_sbrk.S @@ -33,6 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .extern _impure_ptr /* The first element is _errno. */ .extern _end .global _sbrk + .type _sbrk, @function .text .align 2 @@ -72,6 +73,7 @@ _sbrk: movi $r0, -1 /* Reture value is -1. */ ret + .size _sbrk, .-_sbrk .section .bss .align 2 heap_end: