aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecofflink.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-21 17:56:38 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-21 17:56:38 +0000
commit22a71fef073748bc81bed724adea843d76c3b3de (patch)
tree37fd118d763e84c56c8635717bfb46f2f967c49b /bfd/ecofflink.c
parentd1a7f14f540bffcc5b997064130aa0b67fe77d98 (diff)
downloadgdb-22a71fef073748bc81bed724adea843d76c3b3de.zip
gdb-22a71fef073748bc81bed724adea843d76c3b3de.tar.gz
gdb-22a71fef073748bc81bed724adea843d76c3b3de.tar.bz2
* coff-alpha.c (alpha_relocate_section): Rewrite mask and shift
operation to avoid OSF 1.3 cc bug. * ecoff.c (ecoff_write_object_contents): Make text_size, data_size and bss_size bfd_size_type instead of unsigned long. Make text_start and data_start bfd_vma instead of unsigned long. * ecofflink.c (ecoff_add_string): Remove incorrect cast of return value.
Diffstat (limited to 'bfd/ecofflink.c')
-rw-r--r--bfd/ecofflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ecofflink.c b/bfd/ecofflink.c
index d932322..596f169 100644
--- a/bfd/ecofflink.c
+++ b/bfd/ecofflink.c
@@ -891,7 +891,7 @@ ecoff_add_string (ainfo, info, debug, fdr, string)
sh = string_hash_lookup (&ainfo->str_hash, string, true, true);
if (sh == (struct string_hash_entry *) NULL)
- return (bfd_size_type) -1;
+ return -1;
if (sh->val == -1)
{
sh->val = symhdr->issMax;