memset (§ion_addrs, 0, sizeof (section_addrs));
section_addrs.text_addr = text_addr;
- so->objfile = symbol_file_add (name, from_tty, §ion_addrs, 0, 0, 0, 1);
+ so->objfile = symbol_file_add (name, from_tty, §ion_addrs, 0, OBJF_SHARED);
so->abfd = so->objfile->obfd;
/* Mark this as a shared library and save private data.
if (exec_bfd == NULL)
{
- printf_unfiltered ("no exec file.\n");
+ printf_unfiltered ("No executable file.\n");
return;
}