summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loader/Makefile3
-rwxr-xr-xloader/loader_objfix.sh13
2 files changed, 0 insertions, 16 deletions
diff --git a/loader/Makefile b/loader/Makefile
index 970741bb79..f6badac38b 100644
--- a/loader/Makefile
+++ b/loader/Makefile
@@ -35,9 +35,6 @@ distclean: clean
libloader.a: $(OBJS) stubs.s
$(CC) -c ./stubs.s -o stubs.o
-ifeq ($(TARGET_OS),OpenBSD)
- ./loader_objfix.sh
-endif
$(AR) -r libloader.a $(OBJS) stubs.o
$(RANLIB) libloader.a
diff --git a/loader/loader_objfix.sh b/loader/loader_objfix.sh
deleted file mode 100755
index bc5f9d1b33..0000000000
--- a/loader/loader_objfix.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-# This script fixes up symbol mangling in GNU as code of stubs.s.
-# This file is licensed under the GPL, more info at http://www.fsf.org/
-if ! [ 'file stubs.o | grep ELF ' ] ; then
-for i in "export_names" \
- "printf" \
- "exp_EH_prolog" \
- "unk_exp1"
-do
-echo "fixing: $i=_$i"
-objcopy --redefine-sym "$i=_$i" stubs.o
-done
-fi