diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-02-21 17:56:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-02-21 17:56:38 +0000 |
commit | 22a71fef073748bc81bed724adea843d76c3b3de (patch) | |
tree | 37fd118d763e84c56c8635717bfb46f2f967c49b /bfd | |
parent | d1a7f14f540bffcc5b997064130aa0b67fe77d98 (diff) | |
download | gdb-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')
-rw-r--r-- | bfd/ChangeLog | 10 | ||||
-rw-r--r-- | bfd/ecoff.c | 10 | ||||
-rw-r--r-- | bfd/ecofflink.c | 2 |
3 files changed, 16 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ebfdfce..7afb4a3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +Mon Feb 21 09:50:06 1994 Ian Lance Taylor (ian@lisa.cygnus.com) + + * 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. + Sun Feb 20 16:06:54 1994 Ian Lance Taylor (ian@lisa.cygnus.com) * linker.c (_bfd_generic_link_add_archive_symbols): Consider diff --git a/bfd/ecoff.c b/bfd/ecoff.c index 4fab11c..1f74ca8 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -2476,11 +2476,11 @@ ecoff_write_object_contents (abfd) asection *current; unsigned int count; bfd_size_type reloc_size; - unsigned long text_size; - unsigned long text_start; - unsigned long data_size; - unsigned long data_start; - unsigned long bss_size; + bfd_size_type text_size; + bfd_vma text_start; + bfd_size_type data_size; + bfd_vma data_start; + bfd_size_type bss_size; PTR buff; struct internal_filehdr internal_f; struct internal_aouthdr internal_a; 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; |