[Mplayer-cvslog] CVS: main/loader loader_objfix.sh,NONE,1.1 Makefile,1.7,1.8
Arpi of Ize
arpi at mplayerhq.hu
Sun Apr 28 03:30:06 CEST 2002
Update of /cvsroot/mplayer/main/loader
In directory mail:/var/tmp.root/cvs-serv6378/loader
Modified Files:
Makefile
Added Files:
loader_objfix.sh
Log Message:
openbsd updates by Björn Sandell <biorn at dce.chalmers.se>
--- NEW FILE ---
#!/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/
for i in "export_names" \
"printf" \
"exp_EH_prolog" \
"unk_exp1"
do
echo "fixing: $i=_$i"
objcopy --redefine-sym "$i=_$i" stubs.o
done
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/loader/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Makefile 24 Apr 2002 21:16:27 -0000 1.7
+++ Makefile 28 Apr 2002 01:30:04 -0000 1.8
@@ -32,6 +32,9 @@
libloader.a: $(LIB_OBJECTS) stubs.s
$(CC) -c ./stubs.s -o stubs.o
+ifeq ($(TARGET_OS),OpenBSD)
+ ./loader_objfix.sh
+endif
$(AR) -r libloader.a $(LIB_OBJECTS) stubs.o
dep:
More information about the MPlayer-cvslog
mailing list