+Tue Apr 14 14:34:42 1992 Fred Fish (fnf@cygnus.com)
+
+ * elf.c (bfd_add_strtab, bfd_add_2_to_strtab): CONST spreads
+ like ooze.
+ * elf.c (elf_compute_section_file_positions,
+ elf_write_object_contents): Return boolean, not NULL (which
+ can be void *).
+
Fri Apr 10 22:29:18 1992 Fred Fish (fnf@cygnus.com)
* configure.in: Recognize ncr3000 config
DEFUN(bfd_add_to_strtab, (abfd, ss, str),
bfd *abfd AND
struct strtab *ss AND
- char *str)
+ CONST char *str)
{
/* should search first, but for now: */
/* include the trailing NUL */
bfd *abfd AND
struct strtab *ss AND
char *str AND
- char *str2)
+ CONST char *str2)
{
/* should search first, but for now: */
/* include the trailing NUL */
if (! i_shdrp)
{
bfd_error = no_memory;
- return (NULL);
+ return (false);
}
for (count=0; count < maxsections; count++)
{
bfd_map_over_sections(abfd, elf_fake_sections, &est);
elf_onesymtab (abfd) = est.symtab_section;
+ return (true);
}
static boolean
if (! x_shdrp)
{
bfd_error = no_memory;
- return (NULL);
+ return (false);
}
fprintf(stderr, "ELF>> total sections: %d\n", i_ehdrp->e_shnum);