#!/bin/sh

# Because we have fixed addressing (i.e. the functions cannot move position
# in the library), then we can just `sed' out the wanted/unwanted functions
# not present in the NYS library.

echo Automatically generating jump.funcs for NYS

sed	-e '13,15s/ T / U /' \
	-e '19,21s/ T / U /' \
	-e '776,789s/ U / T /' \
	-e '859,862s/ T / U /' \
	-e '1030s/ T / U /' \
	-e '1034s/ T / U /' \
	-e '1043s/ T / U /' \
	-e '1045s/ T / U /' \
	-e '1049,1050s/ T / U /' \
	-e '1060s/ T / U /' \
	-e '1063s/ T / U /' \
	-e '1077,1228s/ U / T /' \
	../libc/jump.funcs > jump.funcs
