summaryrefslogtreecommitdiff
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
commit98a2622b3383d641f75aeeb80df1ffad06b7630d (patch)
treece101987a72731102e104d087824cccca9cbe25f /bfd/coffcode.h
parent657a919ff5bc44edd59fd9368e93015c9277f554 (diff)
downloadbinutils-redhat-98a2622b3383d641f75aeeb80df1ffad06b7630d.tar.gz
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 98d1c0886b..a2aac5f63b 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