diff --git a/renamesyms.sh b/renamesyms.sh index a6036064ed63c19a61a235eacc5212db947658b0..60a86e4f30da26379ddb3c7971f9adc77b0f4b33 100755 --- a/renamesyms.sh +++ b/renamesyms.sh @@ -8,7 +8,7 @@ if [ -z "$target" ] || [ -z "$deps_dir" ]; then fi symbols_file=`mktemp` -special_syms="__rg_alloc __rg_dealloc __rg_realloc __rg_alloc_zeroed" +special_syms="__rg_alloc __rg_dealloc __rg_realloc __rg_alloc_zeroed __rg_oom" for dep in `find $deps_dir -type f -name "*.rlib"`; do nm --format=posix -g "$dep" 2>/dev/null | sed 's/.*:.*//g' | awk '{if ($2 == "T") print $1}' | sed 's/^\(.*\)$/\1 __relibc_\1/g' >> $symbols_file