aboutsummaryrefslogtreecommitdiff
path: root/gold/reloc.h
diff options
context:
space:
mode:
authorMichael Krasnyk <mkrasnyk@argo.ai>2021-07-17 17:35:56 +0200
committerAlan Modra <amodra@gmail.com>2021-07-18 22:04:36 +0930
commit7c6ff8af98718116c835f46a55b480b9684ea4ef (patch)
tree21028741672beec5c91424ed4aba6ceebd5c03dc /gold/reloc.h
parent85460c161d9b25b96320e6e234e1e83c01a51f09 (diff)
downloadfsf-binutils-gdb-7c6ff8af98718116c835f46a55b480b9684ea4ef.zip
fsf-binutils-gdb-7c6ff8af98718116c835f46a55b480b9684ea4ef.tar.gz
fsf-binutils-gdb-7c6ff8af98718116c835f46a55b480b9684ea4ef.tar.bz2
PR28098 Skip R_*_NONE relocation entries with zero r_sym without counting
PR gold/28098 * reloc.cc (Track_relocs::advance): Skip R_*_NONE relocation entries with r_sym of zero without counting in advance method.
Diffstat (limited to 'gold/reloc.h')
-rw-r--r--gold/reloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/reloc.h b/gold/reloc.h
index 5f1d382..773e79b 100644
--- a/gold/reloc.h
+++ b/gold/reloc.h
@@ -1171,7 +1171,7 @@ class Track_relocs
next_addend() const;
// Advance to OFFSET within the data section, and return the number
- // of relocs which would be skipped.
+ // of relocs which would be skipped, excluding r_info==0 relocs.
int
advance(off_t offset);