diff options
author | Daniel Jacobowitz <dan@debian.org> | 2002-02-11 02:17:39 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2002-02-11 02:17:39 +0000 |
commit | 156e86f32da1e2f8751f308bbb3bc83fe759d125 (patch) | |
tree | 34fa0ee513e9130acf958139c7d20d19acd159ef /bfd/trad-core.c | |
parent | ff7901661fba57f5b8444d50d70cdecbb82f4e6f (diff) | |
download | binutils-redhat-156e86f32da1e2f8751f308bbb3bc83fe759d125.tar.gz |
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized
variable warnings.
* elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned
comparison warning.
* trad-core.c (trad_unix_core_file_p): Silence pointer/integer
cast warnings for the common case.
Diffstat (limited to 'bfd/trad-core.c')
-rw-r--r-- | bfd/trad-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/trad-core.c b/bfd/trad-core.c index aed0b50d1f..e27cd35e86 100644 --- a/bfd/trad-core.c +++ b/bfd/trad-core.c @@ -211,7 +211,7 @@ trad_unix_core_file_p (abfd) 0 is at the place pointed to by u_ar0 (by setting the vma of the start of the section to -u_ar0). GDB uses this info to locate the regs, using minor trickery to get around the offset-or-absolute-addr problem. */ - core_regsec (abfd)->vma = - (bfd_vma) u.u_ar0; + core_regsec (abfd)->vma = - (bfd_vma) (unsigned long) u.u_ar0; core_datasec (abfd)->filepos = NBPG * UPAGES; core_stacksec (abfd)->filepos = (NBPG * UPAGES) + NBPG * u.u_dsize |