view loader/loader_objfix.sh @ 19500:2c458473fc5d

always use 3dnowext version of dct64 when supported by the CPU (K6-3+ and up). Patch by Zuxy Meng Original thread: Date: Aug 9, 2006 7:05 AM Subject: Re: [MPlayer-dev-eng] [PATCH] Saturation & PSWAPD bugfix in mp3lib/dct64_3dnow.c & mp3lib/dct64_k7.c
author gpoirier
date Wed, 23 Aug 2006 08:16:30 +0000
parents 1c9a9a1f89ed
children
line wrap: on
line source

#!/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/
if ! [ 'file stubs.o | grep ELF ' ] ; then
for i in "export_names" \
       "printf" \
       "exp_EH_prolog" \
       "unk_exp1"
do
echo "fixing: $i=_$i"
objcopy --redefine-sym "$i=_$i" stubs.o
done
fi