* Makefile (subdirs): Add elf first.

* elf/Makefile: New file.
	* elf/elf.h: New file.
This commit is contained in:
Roland McGrath 1995-02-21 06:15:34 +00:00
parent 8b60020b20
commit 01cc0be627
5 changed files with 62 additions and 1 deletions

View File

@ -1,5 +1,9 @@
Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makefile (subdirs): Add elf first.
* elf/Makefile: New file.
* elf/elf.h: New file.
* sysdeps/unix/start.c (errno): Only define if it's not #define'd
as a macro.
[! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol

View File

@ -49,7 +49,7 @@ sysdep-subdirs := $(subst $(\n), ,$(sysdep-subdirs))
endif
# These are the subdirectories containing the library source.
subdirs := csu assert ctype locale math setjmp signal stdio stdlib \
subdirs := elf csu assert ctype locale math setjmp signal stdio stdlib \
malloc string time dirent grp pwd posix io termios resource \
socket misc gnulib $(wildcard crypt) manual \
$(sysdep-subdirs)

23
elf/Makefile Normal file
View File

@ -0,0 +1,23 @@
# Copyright (C) 1995 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
# modify it under the terms of the GNU Library General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
# The GNU C Library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public
# 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.
subdir := elf
headers := elf.h # libelf.h
include ../Rules

17
manual/move-if-change Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
# Like mv $1 $2, but if the files are the same, just delete $1.
# Status is 0 if $2 is changed, 1 otherwise.
if
test -r $2
then
if
cmp -s $1 $2
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi

17
move-if-change Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
# Like mv $1 $2, but if the files are the same, just delete $1.
# Status is 0 if $2 is changed, 1 otherwise.
if
test -r $2
then
if
cmp -s $1 $2
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi