annotate mp3lib/mp3lib_objfix.sh @ 10612:8e678e833591

docs updates
author diego
date Fri, 15 Aug 2003 12:05:18 +0000
parents d3b889d54a7a
children
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" \
5289
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
9 "isse" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
10 "dct36_3dnowex" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
11 "dct36_3dnow" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
12 "x_plus_minus_3dnow" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
13 "tfcos36" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
14 "COS9"
4244
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
15 do
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
16 echo "fixing: $i=_$i"
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
17 objcopy --redefine-sym "$i=_$i" libMP3.a
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
18 done
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
19