xmlarch=x
xmlosabi=x
expedite=x
+feature=x
exec < $1
while do_read
do
elif test "${type}" = "expedite"; then
expedite="${entry}"
continue
+ elif test "${type}" = "feature"; then
+ feature="${entry}"
+ continue
elif test "${name}" = x; then
echo "$0: $1 does not specify \`\`name''." 1>&2
exit 1
echo
echo "static const char *expedite_regs_${name}[] = { \"`echo ${expedite} | sed 's/,/", "/g'`\", 0 };"
-if test "${xmltarget}" = x; then
+
+echo "#ifndef IN_PROCESS_AGENT"
+if test "${feature}" != x; then
+ echo "static const char *xmltarget_${name} = 0;"
+elif test "${xmltarget}" = x; then
if test "${xmlarch}" = x && test "${xmlosabi}" = x; then
echo "static const char *xmltarget_${name} = 0;"
else
echo
cat <<EOF
-#ifndef IN_PROCESS_AGENT
- result->expedite_regs = expedite_regs_${name};
result->xmltarget = xmltarget_${name};
#endif
- init_target_desc (result);
+ init_target_desc (result, expedite_regs_${name});
tdesc_${name} = result;
}