view loader/loader_objfix.sh @ 13772:2f12bac746ab

1.147: skipped, typo was fixed earlier 1.148: printf --> mp_msg (divx4_vbr.c, fifo.c, m_config.c) 1.149: skipped, typo was fixed earlier 1.150: no changes done (trailing dots already existed.) File is in sync now.
author kraymer
date Tue, 26 Oct 2004 16:10:16 +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