This patch adds the ".elseif" directive to GAS. This allows selection from a set of conditions without having to deeply nest further conditionals within ".else" clauses. * gas/read.c: Add elseif to directives table. * gas/read.h: Add prototype for s_elseif. * gas/doc/as.texinfo: Add documentation for .elseif usage. * gas/cond.c (s_elseif): New function.