aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-04-24 13:05:46 +0000
committerNick Clifton <nickc@redhat.com>2007-04-24 13:05:46 +0000
commit40b1c6c5d4ec74ccf53e7d192b555575093155cd (patch)
tree679f82a3b158788845b2bcdaf9b2f811ba82fe0b /bfd/coffcode.h
parent1a0a850df64ce80209bb834ea1a37529a251a6c4 (diff)
downloadgdb-40b1c6c5d4ec74ccf53e7d192b555575093155cd.zip
gdb-40b1c6c5d4ec74ccf53e7d192b555575093155cd.tar.gz
gdb-40b1c6c5d4ec74ccf53e7d192b555575093155cd.tar.bz2
Fix compile time warnings (at -O3 with gcc 4.1.2)
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 98d1c08..a2aac5f 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -4870,6 +4870,7 @@ coff_slurp_reloc_table (bfd * abfd, sec_ptr asect, asymbol ** symbols)
cache_ptr = reloc_cache + idx;
src = native_relocs + idx;
+ dst.r_offset = 0;
coff_swap_reloc_in (abfd, src, &dst);
#ifdef RELOC_PROCESSING