aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-04-11 13:07:56 +0000
committerAlan Modra <amodra@gmail.com>2000-04-11 13:07:56 +0000
commit43cbcf28590f2883478602d7cd7be26341ead69f (patch)
tree8c123332187421e5732d512ef4c720c5fb359f07 /bfd/elf32-hppa.c
parent8be867464d33db5dee2dba5f197e5dd7f104dead (diff)
downloadgdb-43cbcf28590f2883478602d7cd7be26341ead69f.zip
gdb-43cbcf28590f2883478602d7cd7be26341ead69f.tar.gz
gdb-43cbcf28590f2883478602d7cd7be26341ead69f.tar.bz2
Fit 64-bit nits.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 683a308..dfabbad 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -1,5 +1,5 @@
/* BFD back-end for HP PA-RISC ELF files.
- Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999
+ Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
Written by
@@ -665,7 +665,7 @@ elf32_hppa_bfd_final_link_relocate (howto, input_bfd, output_bfd,
/* Any kind of linker stub needed? */
if (((int)(value - location) > 0x3ffff)
- || ((int)(value - location) < (int)0xfffc0000))
+ || ((int)(value - location) < -0x40000))
{
struct elf32_hppa_stub_hash_table *stub_hash_table;
struct elf32_hppa_stub_hash_entry *stub_hash;
@@ -831,7 +831,7 @@ elf32_hppa_size_of_stub (location, destination, sym_name)
{
/* Determine if a long branch stub is needed. */
if (!(((int)(location - destination) > 0x3ffff)
- || ((int)(location - destination) < (int)0xfffc0000)))
+ || ((int)(location - destination) < -0x40000)))
return 0;
if (!strncmp ("$$", sym_name, 2)