mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Remove sbcl.nm make step
Developers can do that on their own; non-developers don't need it.
This commit is contained in:
parent
5efa93883f
commit
cf6a01774b
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -27,7 +27,6 @@ src/runtime/sbcl
|
|||
src/runtime/sbcl.exe
|
||||
src/runtime/sbcl.h
|
||||
src/runtime/sbcl.mk
|
||||
src/runtime/sbcl.nm
|
||||
src/runtime/shrinkwrap-sbcl*
|
||||
src/runtime/target-arch-os.h
|
||||
src/runtime/target-arch.h
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
CC=${NDK_PATH}/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin/gcc
|
||||
CFLAGS += -marm -march=armv5 --sysroot=${NDK_PATH}/platforms/android-15/arch-arm/
|
||||
LINKFLAGS += --sysroot=${NDK_PATH}/platforms/android-15/arch-arm/
|
||||
NM = ${NDK_PATH}/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin/nm
|
||||
|
||||
ASSEM_SRC = arm-assem.S
|
||||
ARCH_SRC = arm-arch.c
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
# files for more information.
|
||||
|
||||
CFLAGS += -marm -march=armv5
|
||||
NM = ./linux-nm
|
||||
|
||||
ASSEM_SRC = arm-assem.S
|
||||
ARCH_SRC = arm-arch.c
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@
|
|||
# provided with absolutely no warranty. See the COPYING and CREDITS
|
||||
# files for more information.
|
||||
|
||||
NM = ./linux-nm
|
||||
|
||||
ASSEM_SRC = arm64-assem.S
|
||||
ARCH_SRC = arm64-arch.c
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
# files for more information.
|
||||
|
||||
LINKFLAGS += -O2 -Wl,--export-dynamic
|
||||
NM = ./linux-nm
|
||||
|
||||
ASSEM_SRC = mips-assem.S
|
||||
ARCH_SRC = mips-arch.c
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
CFLAGS += -m32
|
||||
LINKFLAGS += -m32 -Wl,--export-dynamic
|
||||
NM = ./linux-nm
|
||||
|
||||
ASSEM_SRC = ppc-assem.S
|
||||
ARCH_SRC = ppc-arch.c
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
CFLAGS += -m64
|
||||
LINKFLAGS += -m64 -Wl,--export-dynamic
|
||||
NM = ./linux-nm
|
||||
|
||||
ASSEM_SRC = ppc64-assem.S
|
||||
ARCH_SRC = ppc-arch.c
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@
|
|||
# provided with absolutely no warranty. See the COPYING and CREDITS
|
||||
# files for more information.
|
||||
|
||||
NM = ./linux-nm
|
||||
|
||||
ARCH_SRC = riscv-arch.c
|
||||
|
||||
OS_SRC = linux-os.c linux-mman.c riscv-linux-os.c
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
CFLAGS += -m32 -fno-PIC
|
||||
ASFLAGS = -m32 -fno-PIC -g -Wall -Wa,-xarch=v8plus
|
||||
LINKFLAGS += -rdynamic -m32
|
||||
NM = ./linux-nm
|
||||
|
||||
ASSEM_SRC = sparc-assem.S
|
||||
ARCH_SRC = sparc-arch.c
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@
|
|||
# provided with absolutely no warranty. See the COPYING and CREDITS
|
||||
# files for more information.
|
||||
|
||||
NM = ./linux-nm
|
||||
|
||||
ASSEM_SRC = x86-64-assem.S
|
||||
ARCH_SRC = x86-64-arch.c
|
||||
OS_SRC = linux-os.c linux-mman.c x86-64-linux-os.c
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ CC=gcc
|
|||
CFLAGS = -m64 -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT -fno-omit-frame-pointer
|
||||
LINKFLAGS = -m64 -g
|
||||
ASFLAGS = -m64 -Wall
|
||||
NM = nm -xgp
|
||||
GREP = ggrep
|
||||
|
||||
#CC=/opt/SunStudioExpress/bin/cc
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@
|
|||
# provided with absolutely no warranty. See the COPYING and CREDITS
|
||||
# files for more information.
|
||||
|
||||
NM = ./linux-nm
|
||||
|
||||
ASSEM_SRC = x86-assem.S
|
||||
ARCH_SRC = x86-arch.c
|
||||
OS_SRC = linux-os.c linux-mman.c x86-linux-os.c
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
CC=gcc
|
||||
CFLAGS = -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT -fno-omit-frame-pointer
|
||||
NM = nm -xgp
|
||||
GREP = ggrep
|
||||
|
||||
ASSEM_SRC = x86-assem.S
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ SBCL_PAXCTL ?= :
|
|||
# Config file. Most of them are same on most systems right now.
|
||||
# If you need to override one of these, do it in Config.
|
||||
LINKFLAGS += -g
|
||||
NM = nm -gp
|
||||
DEPEND_FLAGS = -MM
|
||||
GREP = grep
|
||||
LD = ld
|
||||
|
|
@ -69,11 +68,7 @@ OBJS = $(C_SRC:.c=.o) $(ASSEM_SRC:.S=.o)
|
|||
|
||||
LIBS = ${OS_LIBS} -lm
|
||||
|
||||
ifdef LISP_FEATURE_SUNOS # don't bother running 'nm' (or 'gnm')
|
||||
targets: $(TARGET) $(OBJTARGET) sbcl.mk
|
||||
else
|
||||
targets: $(TARGET) $(OBJTARGET) sbcl.nm sbcl.mk
|
||||
endif
|
||||
|
||||
$(TARGET): $(LIBSBCL)
|
||||
$(CC) ${LINKFLAGS} -o $@ $(USE_LIBSBCL) $(LIBS)
|
||||
|
|
@ -141,10 +136,6 @@ sbcl.mk: Config
|
|||
fi ; \
|
||||
: ) > $@
|
||||
|
||||
sbcl.nm: $(TARGET)
|
||||
$(NM) $(TARGET) | $(GREP) -v " [FUw] " > ,$@
|
||||
mv -f ,$@ $@
|
||||
|
||||
sbcl.h: $(wildcard genesis/*.h)
|
||||
echo '#include "genesis/config.h"' >sbcl.h
|
||||
echo '#include "genesis/constants.h"' >>sbcl.h
|
||||
|
|
@ -156,7 +147,7 @@ TAGS tags: $(SRCS) $(HEADERS)
|
|||
@etags $(SRCS) $(HEADERS) || true
|
||||
|
||||
clean:
|
||||
-rm -f *.[do] $(TARGET) sbcl.nm sbcl.h core *.tmp $(OS_CLEAN_FILES) libsbcl.a shrinkwrap-sbcl* sbcl.mk
|
||||
-rm -f *.[do] $(TARGET) sbcl.h core *.tmp $(OS_CLEAN_FILES) libsbcl.a shrinkwrap-sbcl* sbcl.mk
|
||||
|
||||
%.d: %.c sbcl.h
|
||||
@$(CC) $(DEPEND_FLAGS) $(CPPFLAGS) $< > $@.tmp; \
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# " A " used to be in the set of removed symbols, but it turns out
|
||||
# that the alpha implementation of closure_tramp and undefined_tramp
|
||||
# is as an A. Whatever that is. CSR, 2005-06-12.
|
||||
# " A " is a global absolute symbol, that is a symbol with a fixed
|
||||
# assembly time value (which is used for offset calculations).
|
||||
|
||||
nm -p "$@" | GREP_OPTIONS='' grep -v " [abcdgIiNnrstUuvw?-] "
|
||||
Loading…
Reference in a new issue