aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-alpha.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/elf64-alpha.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/elf64-alpha.c')
-rw-r--r--bfd/elf64-alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index f7d8db5..73a085f 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -1855,7 +1855,7 @@ elf64_alpha_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp)
{
if (sym->st_shndx == SHN_COMMON
&& !info->relocateable
- && sym->st_size <= (unsigned int) 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. */