aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-17 15:56:58 +0000
committerAlan Modra <amodra@gmail.com>2001-08-17 15:56:58 +0000
commitc0846b239705bd8528996e60dbabe16344410b2d (patch)
treebed0bc58acf06b0b7b138e3254d068c1858a79c6 /bfd/elfxx-ia64.c
parent563e308f244b1d6adb9d012a3e11d458400b3ff2 (diff)
downloadgdb-c0846b239705bd8528996e60dbabe16344410b2d.zip
gdb-c0846b239705bd8528996e60dbabe16344410b2d.tar.gz
gdb-c0846b239705bd8528996e60dbabe16344410b2d.tar.bz2
* 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 8aebd81..8fdb9a0 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. */