Date: Thu, 1 May 2003 10:19:10 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 30321 for review Message-ID: <200305011719.h41HJAPO072855@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=30321 Change 30321 by peter@peter_daintree on 2003/05/01 10:18:22 rcsid/whitespace/comment sync Affected files ... .. //depot/projects/hammer/lib/libc/amd64/gen/alloca.S#8 edit Differences ... ==== //depot/projects/hammer/lib/libc/amd64/gen/alloca.S#8 (text+ko) ==== @@ -39,7 +39,7 @@ #endif /* LIBC_SCCS and not lint */ #include <machine/asm.h> -__FBSDID("$FreeBSD: src/lib/libc/i386/gen/alloca.S,v 1.10 2002/03/23 02:44:18 obrien Exp $"); +__FBSDID("$FreeBSD: src/lib/libc/amd64/gen/alloca.S,v 1.1 2003/05/01 16:04:38 obrien Exp $"); /* like alloc, but automatic automatic free in return */ @@ -47,10 +47,8 @@ ENTRY(alloca) popq %rdx /* pop return addr */ movl %rsp,%rcx - addq $15,%rdi /* round up to 16 bytes */ + addq $15,%rdi /* round amount to allocate up to 16 bytes */ andq $~15,%rdi subq %rdi,%rsp movq %rsp,%rax /* base of newly allocated space */ jmp *%rdx /* "return" */ - -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305011719.h41HJAPO072855>