#include "bucomm.h"
#include "safe-ctype.h"
-#include <ansidecl.h>
+#include "ansidecl.h"
#include <time.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <assert.h>
-#include <getopt.h>
+#include "getopt.h"
/* Internal BFD NLM header. */
#include "libnlm.h"
extern char *strerror PARAMS ((int));
#ifndef localtime
-extern struct tm *localtime PARAMS ((const time_t *));
+extern struct tm *localtime ();
#endif
#ifndef SEEK_SET
sym->section = got_sec->output_section;
}
#endif
- }
+ }
/* If this is a global symbol, check the export list. */
if ((sym->flags & (BSF_EXPORT | BSF_GLOBAL)) != 0)
non_fatal (_("warning: symbol %s imported but not in import list"),
bfd_asymbol_name (sym));
}
-
+
/* See if it's one of the special named symbols. */
if ((sym->flags & BSF_DEBUGGING) == 0)
{
}
bfd_set_symtab (outbfd, outsyms, symcount + newsymcount);
-
+
if (! gotstart)
non_fatal (_("warning: START procedure %s not defined"), start_procedure);
if (! gotexit)
/* By default all we need to do for relocs is change the address by
the output_offset. */
-/*ARGSUSED*/
static void
default_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
contents_size)
0, /* dst_mask */
false); /* pcrel_offset */
-/*ARGSUSED*/
static void
alpha_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
contents_size)
item->next = powerpc_stubs;
powerpc_stubs = item;
-
+
++stubcount;
}
reloc->address = l->toc_index + got_sec->output_offset;
reloc->addend = 0;
reloc->howto = bfd_reloc_type_lookup (inbfd, BFD_RELOC_32);
-
+
*r++ = reloc;
}
r2, will be set to the correct TOC value, so there is no need for
any further reloc. */
-/*ARGSUSED*/
static void
powerpc_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
contents_size)