2003-09-11  H.J. Lu  <hongjiu.lu@intel.com>

	* elf/tls-macros.h (TLS_IE): Add a stop bit for ia64.
	(TLS_LD): Likewise.
	(TLS_GD): Likewise.

2003-09-11  Jakub Jelinek  <jakub@redhat.com>

	* libio/fileops.c (_IO_new_file_overflow): Add INTUSE to
	_IO_free_backup_area call.
This commit is contained in:
Ulrich Drepper 2003-09-11 23:57:58 +00:00
parent 854f9ec4a6
commit 6fee336275
3 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,14 @@
2003-09-11 H.J. Lu <hongjiu.lu@intel.com>
* elf/tls-macros.h (TLS_IE): Add a stop bit for ia64.
(TLS_LD): Likewise.
(TLS_GD): Likewise.
2003-09-11 Jakub Jelinek <jakub@redhat.com>
* libio/fileops.c (_IO_new_file_overflow): Add INTUSE to
_IO_free_backup_area call.
2003-09-10 Chris Demetriou <cgd@broadcom.com>
* sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix

View File

@ -324,6 +324,7 @@ register void *__gp __asm__("$29");
"ld8 r17=[r16]\n\t" \
";;\n\t" \
"add %0=r13,r17\n\t" \
";;\n\t" \
: "=r" (__l) : "r" (__gp) : "r16", "r17" ); __l; })
# define __TLS_CALL_CLOBBERS \
@ -348,6 +349,7 @@ register void *__gp __asm__("$29");
";;\n\t" \
"mov gp=loc0\n\t" \
"mov %0=r8\n\t" \
";;\n\t" \
: "=r" (__l) : "r" (__gp) : "loc0", __TLS_CALL_CLOBBERS); \
__l; })
@ -365,6 +367,7 @@ register void *__gp __asm__("$29");
";;\n\t" \
"mov gp=loc0\n\t" \
"mov %0=r8\n\t" \
";;\n\t" \
: "=r" (__l) : "r" (__gp) : "loc0", __TLS_CALL_CLOBBERS); \
__l; })

View File

@ -844,7 +844,7 @@ _IO_new_file_overflow (f, ch)
if (__builtin_expect (_IO_in_backup (f), 0))
{
size_t nbackup = f->_IO_read_end - f->_IO_read_ptr;
_IO_free_backup_area (f);
INTUSE(_IO_free_backup_area) (f);
f->_IO_read_base -= MIN (nbackup,
f->_IO_read_base - f->_IO_buf_base);
f->_IO_read_ptr = f->_IO_read_base;