Add i386/dl-brk.S, mips/dl-brk.S, and sparc/dl-brk.S.

This commit is contained in:
Ulrich Drepper 2002-08-28 08:41:52 +00:00
parent 7a5affebe8
commit c096ab2534
15 changed files with 45 additions and 5 deletions

View file

@ -165,7 +165,8 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \
koi8-t.c georgian-ps.c georgian-academy.c iso-ir-209.c \
mac-sami.c ibm1160.c ibm1160.h ibm1161.c ibm1161.h \
ibm1163.c ibm1163.h ibm1164.c ibm1164.h jisx0213.c jisx0213.h \
euc-jisx0213.c shift_jisx0213.c iso-2022-jp-3.c
euc-jisx0213.c shift_jisx0213.c iso-2022-jp-3.c \
tcvn5712-1.c armscii-8.c
# We build the transformation modules only when we build shared libs.
ifeq (yes,$(build-shared))

View file

@ -237,7 +237,7 @@ _IO_file_open (fp, filename, posix_mode, prot, read_write, is32not64)
return NULL;
fp->_fileno = fdesc;
_IO_mask_flags (fp, read_write,_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
if (read_write & _IO_IS_APPENDING)
if ((read_write & _IO_IS_APPENDING) && (read_write & _IO_NO_READS))
if (_IO_SEEKOFF (fp, (_IO_off64_t)0, _IO_seek_end, _IOS_INPUT|_IOS_OUTPUT)
== _IO_pos_BAD && errno != ESPIPE)
{

View file

@ -26,7 +26,7 @@ distribute = localeinfo.h categories.def iso-639.def iso-3166.def \
iso-4217.def weight.h weightwc.h strlen-hash.h elem-hash.h \
indigits.h indigitswc.h outdigits.h outdigitswc.h \
coll-lookup.h C-translit.h.in C-translit.h gen-translit.pl \
locarchive.h \
locarchive.h hashval.h \
$(addprefix programs/, \
locale.c localedef.c \
$(localedef-modules:=.c) $(locale-modules:=.c) \

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1992,93,94,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
/* Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -85,6 +85,31 @@
#endif
/* The standard library needs the functions from the ISO C90 standard
in the std namespace. At the same time we want to be safe for
future changes and we include the ISO C99 code in the non-standard
namespace __c99. The C++ wrapper header take case of adding the
definitions to the global namespace. */
#if defined __cplusplus && defined _GLIBCPP_USE_NAMESPACES
# define __BEGIN_NAMESPACE_STD namespace std {
# define __END_NAMESPACE_STD }
# define __USING_NAMESPACE_STD(name) using std::name;
# define __BEGIN_NAMESPACE_C99 namespace __c99 {
# define __END_NAMESPACE_C99 }
# define __USING_NAMESPACE_C99(name) using __c99::name;
#else
/* For compatibility we do not add the declarations into any
namespace. They will end up in the global namespace which is what
old code expects. */
# define __BEGIN_NAMESPACE_STD
# define __END_NAMESPACE_STD
# define __USING_NAMESPACE_STD(name)
# define __BEGIN_NAMESPACE_C99
# define __END_NAMESPACE_C99
# define __USING_NAMESPACE_C99(name)
#endif
/* Support for bounded pointers. */
#ifndef __BOUNDED_POINTERS__
# define __bounded /* nothing */

View file

@ -1,6 +1,8 @@
signame.c
signame.h
det_endian.c
dl-brk.c
dl-sbrk.c
entry.h
errno-loc.c
getresgid.c

View file

@ -1,4 +1,6 @@
errlist.awk
errlist-compat.c
errlist-compat.awk
utmpx.h
bits/utmpx.h
netinet/tcp.h

View file

@ -11,6 +11,7 @@ net/if_ether.h
net/if_ppp.h
net/route.h
nfs/nfs.h
set-init.c
siglist.h
statfsconv.c
xstatconv.c

View file

@ -1,5 +1,7 @@
divdi3.c
dl-machine.c
dl-start.S
libgcc-compat.S
ppc-mcount.S
gprsave1.S
gprsave0.S

View file

@ -7,3 +7,6 @@ make_errlist.c
mk-local_lim.c
s-proto.S
make-syscalls.sh
i386/dl-brk.S
mips/dl-brk.S
sparc/dl-brk.S

1
sysdeps/unix/arm/Dist Normal file
View file

@ -0,0 +1 @@
dl-brk.S

View file

@ -2,3 +2,4 @@ setrgid.c
setruid.c
bsdstat.h
bsdtty.h
vax/dl-brk.S

1
sysdeps/unix/bsd/hp/Dist Normal file
View file

@ -0,0 +1 @@
m68k/dl-brk.S

View file

@ -0,0 +1 @@
alpha/dl-brk.S

View file

@ -0,0 +1 @@
m68k/dl-brk.S

View file

@ -1,7 +1,6 @@
bits/initspin.h
bits/pthreadtypes.h
cmsg_nxthdr.c
errlist.h
getdirentries.c
getdirentries64.c
ipc_priv.h