[Mplayer-cvslog] CVS: main/loader loader_objfix.sh,1.1,1.2

Alex Beregszaszi alex at mplayerhq.hu
Mon Jan 19 18:36:32 CET 2004


Update of /cvsroot/mplayer/main/loader
In directory mail:/scsi/2/tmp/cvs-serv13466

Modified Files:
	loader_objfix.sh 
Log Message:
support for newer openbsd versions, which are fully elf based

Index: loader_objfix.sh
===================================================================
RCS file: /cvsroot/mplayer/main/loader/loader_objfix.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- loader_objfix.sh	28 Apr 2002 01:30:04 -0000	1.1
+++ loader_objfix.sh	19 Jan 2004 17:36:30 -0000	1.2
@@ -1,6 +1,7 @@
 #!/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" \
@@ -9,3 +10,4 @@
 echo "fixing: $i=_$i"
 objcopy --redefine-sym "$i=_$i" stubs.o
 done
+fi




More information about the MPlayer-cvslog mailing list