Mercurial > mplayer.hg
annotate loader/loader_objfix.sh @ 19445:f95c2db61ee3
help_mp-hu.h & xml/hu/ports.xml synced with r19449
author | Gabrov |
---|---|
date | Sat, 19 Aug 2006 12:34:01 +0000 |
parents | 1c9a9a1f89ed |
children |
rev | line source |
---|---|
5880 | 1 #!/bin/sh |
2 # This script fixes up symbol mangling in GNU as code of stubs.s. | |
3 # This file is licensed under the GPL, more info at http://www.fsf.org/ | |
11804
1c9a9a1f89ed
support for newer openbsd versions, which are fully elf based
alex
parents:
5880
diff
changeset
|
4 if ! [ 'file stubs.o | grep ELF ' ] ; then |
5880 | 5 for i in "export_names" \ |
6 "printf" \ | |
7 "exp_EH_prolog" \ | |
8 "unk_exp1" | |
9 do | |
10 echo "fixing: $i=_$i" | |
11 objcopy --redefine-sym "$i=_$i" stubs.o | |
12 done | |
11804
1c9a9a1f89ed
support for newer openbsd versions, which are fully elf based
alex
parents:
5880
diff
changeset
|
13 fi |