summaryrefslogtreecommitdiff
path: root/bfd/bfd.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/bfd.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/bfd.c')
-rw-r--r--bfd/bfd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 8305ddc23a..2f5e260934 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -891,7 +891,7 @@ FUNCTION
bfd_get_gp_size
SYNOPSIS
- int bfd_get_gp_size(bfd *abfd);
+ unsigned int bfd_get_gp_size(bfd *abfd);
DESCRIPTION
Return the maximum size of objects to be optimized using the GP
@@ -899,7 +899,7 @@ DESCRIPTION
argument to the compiler, assembler or linker.
*/
-int
+unsigned int
bfd_get_gp_size (abfd)
bfd *abfd;
{
@@ -918,7 +918,7 @@ FUNCTION
bfd_set_gp_size
SYNOPSIS
- void bfd_set_gp_size(bfd *abfd, int i);
+ void bfd_set_gp_size(bfd *abfd, unsigned int i);
DESCRIPTION
Set the maximum size of objects to be optimized using the GP
@@ -929,7 +929,7 @@ DESCRIPTION
void
bfd_set_gp_size (abfd, i)
bfd *abfd;
- int i;
+ unsigned int i;
{
/* Don't try to set GP size on an archive or core file! */
if (abfd->format != bfd_object)