/* ELF linking support for BFD.
- Copyright 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+ Copyright 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
flagword flags, pltflags;
register asection *s;
struct elf_backend_data *bed = get_elf_backend_data (abfd);
- int ptralign;
+ int ptralign = 0;
switch (bed->s->arch_size)
{
return true;
}
+
+/* Increase the index at which H will appear in the dynamic symbol
+ table by INCREMENT (which is really an `int *'). Called via
+ elf_link_hash_traverse. */
+
+boolean
+_bfd_elf_link_adjust_dynindx (h, increment)
+ struct elf_link_hash_entry *h;
+ PTR increment;
+{
+ if (h->dynindx != -1)
+ h->dynindx += *((int *) increment);
+
+ return true;
+}
\f
/* Create a special linker section, or return a pointer to a linker section already created */