sbrk.S (92999) | sbrk.S (101536) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 24 unchanged lines hidden (view full) --- 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 37#if defined(SYSLIBC_SCCS) && !defined(lint) 38 .asciz "@(#)sbrk.s 5.1 (Berkeley) 4/23/90" 39#endif /* SYSLIBC_SCCS and not lint */ 40#include <machine/asm.h> | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 24 unchanged lines hidden (view full) --- 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 37#if defined(SYSLIBC_SCCS) && !defined(lint) 38 .asciz "@(#)sbrk.s 5.1 (Berkeley) 4/23/90" 39#endif /* SYSLIBC_SCCS and not lint */ 40#include <machine/asm.h> |
41__FBSDID("$FreeBSD: head/lib/libc/i386/sys/sbrk.S 92999 2002-03-23 02:10:28Z obrien $"); | 41__FBSDID("$FreeBSD: head/lib/libc/i386/sys/sbrk.S 101536 2002-08-08 17:28:07Z kan $"); |
42 43#include "SYS.h" 44 | 42 43#include "SYS.h" 44 |
45 .globl CNAME(end) | 45 .globl CNAME(_end) |
46 .globl HIDENAME(minbrk) 47 .globl HIDENAME(curbrk) 48 49 .data | 46 .globl HIDENAME(minbrk) 47 .globl HIDENAME(curbrk) 48 49 .data |
50HIDENAME(minbrk): .long CNAME(end) 51HIDENAME(curbrk): .long CNAME(end) | 50HIDENAME(minbrk): .long CNAME(_end) 51HIDENAME(curbrk): .long CNAME(_end) |
52 .text 53 54ENTRY(sbrk) 55#ifdef PIC 56 movl 4(%esp),%ecx 57 PIC_PROLOGUE 58 movl PIC_GOT(HIDENAME(curbrk)),%edx 59 movl (%edx),%eax --- 35 unchanged lines hidden --- | 52 .text 53 54ENTRY(sbrk) 55#ifdef PIC 56 movl 4(%esp),%ecx 57 PIC_PROLOGUE 58 movl PIC_GOT(HIDENAME(curbrk)),%edx 59 movl (%edx),%eax --- 35 unchanged lines hidden --- |