Deleted Added
full compact
brk.S (137464) brk.S (169722)
1/* $NetBSD: brk.S,v 1.6 2003/08/07 16:42:04 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: @(#)brk.s 5.2 (Berkeley) 12/17/90
32 */
33
34#include <machine/asm.h>
1/* $NetBSD: brk.S,v 1.6 2003/08/07 16:42:04 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: @(#)brk.s 5.2 (Berkeley) 12/17/90
32 */
33
34#include <machine/asm.h>
35__FBSDID("$FreeBSD: head/lib/libc/arm/sys/brk.S 137464 2004-11-09 16:49:14Z cognet $");
35__FBSDID("$FreeBSD: head/lib/libc/arm/sys/brk.S 169722 2007-05-19 04:36:34Z kan $");
36#include "SYS.h"
37
36#include "SYS.h"
37
38 .globl _C_LABEL(end)
38 .globl _C_LABEL(_end)
39 .globl CURBRK
40
41#ifdef WEAK_ALIAS
42WEAK_ALIAS(brk, _brk)
43#endif
44
45 .data
46 .align 0
47 .globl _C_LABEL(minbrk)
48 .type _C_LABEL(minbrk),#object
49_C_LABEL(minbrk):
39 .globl CURBRK
40
41#ifdef WEAK_ALIAS
42WEAK_ALIAS(brk, _brk)
43#endif
44
45 .data
46 .align 0
47 .globl _C_LABEL(minbrk)
48 .type _C_LABEL(minbrk),#object
49_C_LABEL(minbrk):
50 .word _C_LABEL(end)
50 .word _C_LABEL(_end)
51
52/*
53 * Change the data segment size
54 */
55ENTRY(_brk)
56#ifdef PIC
57 /* Setup the GOT */
58 ldr r3, .Lgot

--- 42 unchanged lines hidden ---
51
52/*
53 * Change the data segment size
54 */
55ENTRY(_brk)
56#ifdef PIC
57 /* Setup the GOT */
58 ldr r3, .Lgot

--- 42 unchanged lines hidden ---