sbrk.S (137464) | sbrk.S (171061) |
---|---|
1/* $NetBSD: sbrk.S,v 1.7 2003/08/07 16:42:05 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1990 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * from: @(#)sbrk.s 5.1 (Berkeley) 4/23/90 32 */ 33 34#include <machine/asm.h> | 1/* $NetBSD: sbrk.S,v 1.7 2003/08/07 16:42:05 agc Exp $ */ 2 3/*- 4 * Copyright (c) 1990 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * from: @(#)sbrk.s 5.1 (Berkeley) 4/23/90 32 */ 33 34#include <machine/asm.h> |
35__FBSDID("$FreeBSD: head/lib/libc/arm/sys/sbrk.S 137464 2004-11-09 16:49:14Z cognet $"); | 35__FBSDID("$FreeBSD: head/lib/libc/arm/sys/sbrk.S 171061 2007-06-27 02:45:37Z kan $"); |
36#include "SYS.h" 37 | 36#include "SYS.h" 37 |
38 .globl _C_LABEL(end) | 38 .globl _C_LABEL(_end) |
39 40#ifdef WEAK_ALIAS 41WEAK_ALIAS(sbrk, _sbrk) 42#endif 43 44 .data 45 .align 0 46 .globl CURBRK 47 .type CURBRK,#object 48CURBRK: | 39 40#ifdef WEAK_ALIAS 41WEAK_ALIAS(sbrk, _sbrk) 42#endif 43 44 .data 45 .align 0 46 .globl CURBRK 47 .type CURBRK,#object 48CURBRK: |
49 .word _C_LABEL(end) | 49 .word _C_LABEL(_end) |
50 51/* 52 * Change the data segment size 53 */ 54ENTRY(_sbrk) 55#ifdef PIC 56 /* Setup the GOT */ 57 ldr r3, .Lgot --- 31 unchanged lines hidden --- | 50 51/* 52 * Change the data segment size 53 */ 54ENTRY(_sbrk) 55#ifdef PIC 56 /* Setup the GOT */ 57 ldr r3, .Lgot --- 31 unchanged lines hidden --- |