1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

2003-03-02 Roland McGrath <roland@redhat.com>

* sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
This commit is contained in:
Roland McGrath
2003-03-03 07:11:46 +00:00
parent 620656a3ff
commit f5d3159377
2 changed files with 11 additions and 2 deletions

View File

@ -131,15 +131,22 @@ END {
# S[I] is a sorted, comma-separated list of SET:CONFIG pairs. # S[I] is a sorted, comma-separated list of SET:CONFIG pairs.
# All we have to do is pretty-print them. # All we have to do is pretty-print them.
nc = split(s[i], c, ","); nc = split(s[i], c, ",");
lastvers = ""; lastvers = lastconf = "";
for (j = 1; j <= nc; ++j) { for (j = 1; j <= nc; ++j) {
split(c[j], temp, ":"); split(c[j], temp, ":");
version = temp[1]; version = temp[1];
conf = temp[2]; conf = temp[2];
if (version != lastvers) if (version != lastvers)
printf "%s%s", (lastvers != "" ? "\n| " : ""), version; printf "%s%s", (lastvers != "" ? "\n| " : ""), version;
# Hack: if CONF is foo.*/bar and LASTCONF was foo.*,
# then we can omit the foo.*/bar since foo.* matches already.
# Note we don't update LASTCONF, so foo.*/baz next time will match too.
else if ((slash = index(conf, ".*/")) > 0 && \
substr(conf, 1, slash + 2 - 1) == lastconf)
continue;
printf " %s", conf; printf " %s", conf;
lastvers = version; lastvers = version;
lastconf = conf;
} }
print ""; print "";
outpipe = "sort"; outpipe = "sort";

View File

@ -1,5 +1,5 @@
/* brk system call for Linux/ia64 /* brk system call for Linux/ia64
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. Copyright (C) 1999,2000,2001,2003 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Written by Stephane Eranian <eranian@hpl.hp.com> and Written by Stephane Eranian <eranian@hpl.hp.com> and
Jes Sorensen, <Jes.Sorensen@cern.ch>, April 1999. Jes Sorensen, <Jes.Sorensen@cern.ch>, April 1999.
@ -25,6 +25,8 @@
#include <asm/errno.h> #include <asm/errno.h>
.global __curbrk .global __curbrk
.type __curbrk,@object
.size __curbrk,8
.data .data
.align 8 .align 8
__curbrk: __curbrk: