annotate mp3lib/mp3lib_objfix.sh @ 4425:6144f63cbaa1

common -vm code, patch by Santi Bjar <tiarda@yahoo.es>
author arpi
date Thu, 31 Jan 2002 00:37:27 +0000
parents f1efe9e55647
children d3b889d54a7a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4244
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
1 #!/bin/sh
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
2 # This script fixes up symbol mangling in GNU as code of mp3lib.
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
3 # (c)2001-2002 by Felix Buenemann <atmosfear at users.sourceforge.net>A
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
4 # This file is licensed under the GPL, more info at http://www.fsf.org/
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
5 for i in \
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
6 "CpuDetect" \
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
7 "ipentium" \
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
8 "a3dnow" \
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
9 "isse"
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
10 do
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
11 echo "fixing: $i=_$i"
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
12 objcopy --redefine-sym "$i=_$i" libMP3.a
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
13 done
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
14