diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2014-03-21 21:17:43 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2014-03-21 21:17:43 +0000 |
commit | e669b401f702dbcae29b46524091b5c1eb2e7abf (patch) | |
tree | 2e39e89fcd3dd0e83d9830e86fc94e4a7a98fb60 /libgloss | |
parent | c94fff60f117a69824d03d4b3ae8890898ac07ab (diff) | |
download | newlib-e669b401f702dbcae29b46524091b5c1eb2e7abf.zip newlib-e669b401f702dbcae29b46524091b5c1eb2e7abf.tar.gz newlib-e669b401f702dbcae29b46524091b5c1eb2e7abf.tar.bz2 |
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
* nds32/_sbrk.S: Add .size and .type directive.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 4 | ||||
-rw-r--r-- | libgloss/nds32/_sbrk.S | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index f53836a..f14432d 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,5 +1,9 @@ 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com> + * nds32/_sbrk.S: Add .size and .type directive. + +2014-03-21 Sabrini Ni <sabrinanitw@gmail.com> + * nds32/crt0.S: Tweak initialization sqeuence. * nds32/crt1.S: Ditto. diff --git a/libgloss/nds32/_sbrk.S b/libgloss/nds32/_sbrk.S index ae32e8d..dc3ed7b 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: |