Don't crash when using the -u option to enter undefined symbols.

This commit is contained in:
David Given 2016-12-28 23:49:55 +00:00
parent 49dd5724ca
commit 52f82a76b6

View file

@ -328,7 +328,7 @@ makename(string)
{ {
static struct outname namebuf; static struct outname namebuf;
namebuf.on_mptr = string; namebuf.on_foff = string - core_position - mems[ALLOMODL].mem_base;
namebuf.on_type = S_UND + S_EXT; namebuf.on_type = S_UND + S_EXT;
namebuf.on_valu = (long)0; namebuf.on_valu = (long)0;