mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Update.
2004-03-10 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h: Define attribute_compat_text_section and attribute_compat_data_section. * io/ftw.c: Mark compat code with attribute_compat_text_section. * libio/iofopncook.c: Likewise. * libio/oldfileops.c: Likewise. * libio/oldiofclose.c: Likewise. * libio/oldiofdopen.c: Likewise. * libio/oldiofgetpos.c: Likewise. * libio/oldiofgetpos64.c: Likewise. * libio/oldiofopen.c: Likewise. * libio/oldiofsetpos.c: Likewise. * libio/oldiofsetpos64.c: Likewise. * libio/oldiopopen.c: Likewise. * libio/oldpclose.c: Likewise. * libio/oldtmpfile.c: Likewise. * nptl/forward.c: Likewise. * nss/getXXbyYY_r.c: Likewise. * nss/getXXent_r.c: Likewise. * posix/tst-vfork1.c: Likewise. * stdlib/canonicalize.c: Likewise. * stdlib/old_atexit.c: Likewise. * sysdeps/generic/glob.c: Likewise. * sysdeps/posix/posix_fallocate64.c: Likewise. * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise. * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise. * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise. * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise. * sysdeps/unix/sysv/linux/i386/syscalls.list: vm86@@GLIBC_2.3.4 should be the default symbol. Having none misses the point.
This commit is contained in:
@@ -115,6 +115,7 @@ extern int errno;
|
||||
|
||||
|
||||
void
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_init (fp)
|
||||
struct _IO_FILE_plus *fp;
|
||||
{
|
||||
@@ -141,6 +142,7 @@ _IO_old_file_init (fp)
|
||||
}
|
||||
|
||||
int
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_close_it (fp)
|
||||
_IO_FILE *fp;
|
||||
{
|
||||
@@ -168,6 +170,7 @@ _IO_old_file_close_it (fp)
|
||||
}
|
||||
|
||||
void
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_finish (fp, dummy)
|
||||
_IO_FILE *fp;
|
||||
int dummy;
|
||||
@@ -182,6 +185,7 @@ _IO_old_file_finish (fp, dummy)
|
||||
}
|
||||
|
||||
_IO_FILE *
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_fopen (fp, filename, mode)
|
||||
_IO_FILE *fp;
|
||||
const char *filename;
|
||||
@@ -231,6 +235,7 @@ _IO_old_file_fopen (fp, filename, mode)
|
||||
}
|
||||
|
||||
_IO_FILE *
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_attach (fp, fd)
|
||||
_IO_FILE *fp;
|
||||
int fd;
|
||||
@@ -250,6 +255,7 @@ _IO_old_file_attach (fp, fd)
|
||||
}
|
||||
|
||||
_IO_FILE *
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_setbuf (fp, p, len)
|
||||
_IO_FILE *fp;
|
||||
char *p;
|
||||
@@ -271,6 +277,7 @@ static int old_do_write __P ((_IO_FILE *, const char *, _IO_size_t));
|
||||
Then mark FP as having empty buffers. */
|
||||
|
||||
int
|
||||
attribute_compat_text_section
|
||||
_IO_old_do_write (fp, data, to_do)
|
||||
_IO_FILE *fp;
|
||||
const char *data;
|
||||
@@ -280,8 +287,8 @@ _IO_old_do_write (fp, data, to_do)
|
||||
? 0 : EOF;
|
||||
}
|
||||
|
||||
static
|
||||
int
|
||||
static int
|
||||
attribute_compat_text_section
|
||||
old_do_write (fp, data, to_do)
|
||||
_IO_FILE *fp;
|
||||
const char *data;
|
||||
@@ -315,6 +322,7 @@ old_do_write (fp, data, to_do)
|
||||
}
|
||||
|
||||
int
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_underflow (fp)
|
||||
_IO_FILE *fp;
|
||||
{
|
||||
@@ -379,6 +387,7 @@ _IO_old_file_underflow (fp)
|
||||
}
|
||||
|
||||
int
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_overflow (f, ch)
|
||||
_IO_FILE *f;
|
||||
int ch;
|
||||
@@ -430,6 +439,7 @@ _IO_old_file_overflow (f, ch)
|
||||
}
|
||||
|
||||
int
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_sync (fp)
|
||||
_IO_FILE *fp;
|
||||
{
|
||||
@@ -464,6 +474,7 @@ _IO_old_file_sync (fp)
|
||||
}
|
||||
|
||||
_IO_off64_t
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_seekoff (fp, offset, dir, mode)
|
||||
_IO_FILE *fp;
|
||||
_IO_off64_t offset;
|
||||
@@ -650,6 +661,7 @@ resync:
|
||||
}
|
||||
|
||||
_IO_ssize_t
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_write (f, data, n)
|
||||
_IO_FILE *f;
|
||||
const void *data;
|
||||
@@ -674,6 +686,7 @@ _IO_old_file_write (f, data, n)
|
||||
}
|
||||
|
||||
_IO_size_t
|
||||
attribute_compat_text_section
|
||||
_IO_old_file_xsputn (f, data, n)
|
||||
_IO_FILE *f;
|
||||
const void *data;
|
||||
|
Reference in New Issue
Block a user