aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.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/bfd.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/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 8305ddc..2f5e260 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)