diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-10 09:29:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-10 09:29:17 +0000 |
commit | 4a381a81fee9ee4569d0cee0807cef7e998fc59a (patch) | |
tree | 9e1adabe79c38f47a0940d850304d9f69065b22e /libio/oldfileops.c | |
parent | 3f2fb22342acc2f14e9662fd157955fd6a9814e5 (diff) | |
download | glibc-4a381a81fee9ee4569d0cee0807cef7e998fc59a.tar.gz glibc-4a381a81fee9ee4569d0cee0807cef7e998fc59a.tar.xz glibc-4a381a81fee9ee4569d0cee0807cef7e998fc59a.zip |
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.
Diffstat (limited to 'libio/oldfileops.c')
-rw-r--r-- | libio/oldfileops.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/libio/oldfileops.c b/libio/oldfileops.c index a397a322d3..20413978a0 100644 --- a/libio/oldfileops.c +++ b/libio/oldfileops.c @@ -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; |