aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecoff.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/ecoff.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/ecoff.c')
-rw-r--r--bfd/ecoff.c10
1 files changed, 5 insertions, 5 deletions
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;