changeset 20826:bad45d01be6a

Remove loader_objfix.sh hack, it's only needed for very old OpenBSD versions.
author diego
date Fri, 10 Nov 2006 18:28:53 +0000
parents f596e1b45ba7
children b44ff1c746fe
files loader/Makefile loader/loader_objfix.sh
diffstat 2 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/loader/Makefile	Fri Nov 10 18:27:33 2006 +0000
+++ b/loader/Makefile	Fri Nov 10 18:28:53 2006 +0000
@@ -35,9 +35,6 @@
 
 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
 
--- a/loader/loader_objfix.sh	Fri Nov 10 18:27:33 2006 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -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