summaryrefslogtreecommitdiffstats
path: root/mp3lib/mp3lib_objfix.sh
blob: cabe71d55339f87dce53966a8ec2947157694bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# This script fixes up symbol mangling in GNU as code of mp3lib.
# (c)2001-2002 by Felix Buenemann <atmosfear at users.sourceforge.net>A
# This file is licensed under the GPL, more info at http://www.fsf.org/
for i in \
	"CpuDetect" \
	"ipentium" \
	"a3dnow" \
	"isse" \
	"dct36_3dnowex" \
	"dct36_3dnow" \
	"x_plus_minus_3dnow" \
	"tfcos36" \
	"COS9"
do
echo "fixing: $i=_$i"
objcopy --redefine-sym "$i=_$i" libMP3.a
done