# HG changeset patch # User diego # Date 1163183333 0 # Node ID bad45d01be6aff8457c5354244f04012bc44b9a0 # Parent f596e1b45ba710ee1ccf524f1a82284c014413b7 Remove loader_objfix.sh hack, it's only needed for very old OpenBSD versions. diff -r f596e1b45ba7 -r bad45d01be6a loader/Makefile --- 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 diff -r f596e1b45ba7 -r bad45d01be6a loader/loader_objfix.sh --- 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