summaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-08-17 15:56:58 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-08-17 15:56:58 +0000
commit78fa559c522085c1a32d0d1c30e01d505e4d8bcb (patch)
tree6c9c5ee5cf3a6d15384e88fc904d884a6b51fb03 /bfd/elfxx-ia64.c
parentc7f2da068b5e53ee672a02e3bde0c77bdd17cc92 (diff)
downloadbinutils-redhat-78fa559c522085c1a32d0d1c30e01d505e4d8bcb.tar.gz
* bfd.c (bfd_get_gp_size): Return an unsigned int.
(bfd_set_gp_size): Make param unsigned. * bfd-in2.h: Regenerate. * elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather than calling bfd_get_gp_size. * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise. * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 8aebd81ba6..8fdb9a07c9 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -1130,7 +1130,7 @@ elfNN_ia64_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp)
{
if (sym->st_shndx == SHN_COMMON
&& !info->relocateable
- && sym->st_size <= (unsigned) bfd_get_gp_size (abfd))
+ && sym->st_size <= elf_gp_size (abfd))
{
/* Common symbols less than or equal to -G nn bytes are
automatically put into .sbss. */