Skip to content

Commit

Permalink
Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
Browse files Browse the repository at this point in the history
	* Makefile ($(libc.a)(__.SYMDEF)): Target removed.
	[$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.

	* sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
	* sysdeps/stub/pause.c: Likewise.
	* sysdeps/stub/time.c: Likewise.

	* stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
 	locale data format is implemented.
	* stdlib/wctomb.c: Likewise.

	* mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
 	gcc bug is fixed.
	* mach/errsystems.c: File removed.

	* Makeconfig (libc.a): Variable removed.
	(+link): Don't use it.

	* configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
 	assuming `yes'.
  • Loading branch information
Roland McGrath committed Mar 13, 1995
1 parent 4ca6860 commit 01a36ad
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 35 deletions.
23 changes: 23 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>

* Makefile ($(libc.a)(__.SYMDEF)): Target removed.
[$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.

Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>

* sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
* sysdeps/stub/pause.c: Likewise.
* sysdeps/stub/time.c: Likewise.

* stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
locale data format is implemented.
* stdlib/wctomb.c: Likewise.

* mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
gcc bug is fixed.
* mach/errsystems.c: File removed.

* Makeconfig (libc.a): Variable removed.
(+link): Don't use it.

* configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
assuming `yes'.

* malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these.
* malloc/realloc.c (_realloc_internal): Renamed from realloc;
don't use __realloc_hook.
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,13 @@ include Makerules
# Install from subdirectories too.
install: subdir_install

lib-noranlib $(libc.a)(__.SYMDEF): subdir_lib
# Build subdirectory lib objects.
lib-noranlib: subdir_lib

ifeq (yes,$(build-shared))
# Build the shared object from the PIC object library.
lib: $(common-objpfx)libc.so
endif

$(objpfx)sysd-dirs: $(+sysdir_pfx)config.make
(echo define sysdep-subdirs; \
Expand Down
15 changes: 3 additions & 12 deletions sysdeps/stub/pause.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */

#include <ansidecl.h>
#include <errno.h>
#include <unistd.h>

Expand All @@ -25,18 +24,10 @@ Cambridge, MA 02139, USA. */
This is supposed to always return -1 and set errno to EINTR,
but rules were meant to be broken. */
int
DEFUN_VOID(pause)
pause ()
{
errno = ENOSYS;
return(-1);
return -1;
}



#ifdef HAVE_GNU_LD

#include <gnu-stabs.h>

stub_warning(pause);

#endif /* GNU stabs. */
stub_warning (pause)
15 changes: 3 additions & 12 deletions sysdeps/stub/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */

#include <ansidecl.h>
#include <errno.h>
#include <time.h>


/* Return the time now, and store it in *TIMER if not NULL. */
time_t
DEFUN(time, (timer), time_t *timer)
time (timer)
time_t *timer;
{
errno = ENOSYS;

Expand All @@ -32,12 +31,4 @@ DEFUN(time, (timer), time_t *timer)
return (time_t) -1;
}



#ifdef HAVE_GNU_LD

#include <gnu-stabs.h>

stub_warning(time);

#endif /* GNU stabs. */
stub_warning (time)
15 changes: 5 additions & 10 deletions sysdeps/stub/ulimit.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */

#include <ansidecl.h>
#include <sys/resource.h>
#include <errno.h>

Expand All @@ -29,17 +28,13 @@ Cambridge, MA 02139, USA. */
can open.
Returns -1 on errors. */
long int
DEFUN(__ulimit, (cmd, newlimit), int cmd AND long int newlimit)
__ulimit (cmd, newlimit)
int cmd;
long int newlimit;
{
errno = ENOSYS;
return -1;
}
weak_alias (__ulimit, ulimit)


#ifdef HAVE_GNU_LD

#include <gnu-stabs.h>

stub_warning(__ulimit);

#endif /* GNU stabs. */
stub_warning (ulimit)

0 comments on commit 01a36ad

Please sign in to comment.