projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac568f9
)
Mark OffsetSec const. NFC.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Mon, 11 Apr 2016 13:51:23 +0000
(13:51 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Mon, 11 Apr 2016 13:51:23 +0000
(13:51 +0000)
llvm-svn: 265940
lld/ELF/OutputSections.h
patch
|
blob
|
history
diff --git
a/lld/ELF/OutputSections.h
b/lld/ELF/OutputSections.h
index
3f26416
..
d528ccc
100644
(file)
--- a/
lld/ELF/OutputSections.h
+++ b/
lld/ELF/OutputSections.h
@@
-177,12
+177,12
@@
template <class ELFT> struct DynamicReloc {
uint32_t Type;
SymbolBody *Sym;
- OutputSectionBase<ELFT> *OffsetSec;
+
const
OutputSectionBase<ELFT> *OffsetSec;
uintX_t OffsetInSec;
bool UseSymVA;
uintX_t Addend;
- DynamicReloc(uint32_t Type, OutputSectionBase<ELFT> *OffsetSec,
+ DynamicReloc(uint32_t Type,
const
OutputSectionBase<ELFT> *OffsetSec,
uintX_t OffsetInSec, bool UseSymVA, SymbolBody *Sym,
uintX_t Addend)
: Type(Type), Sym(Sym), OffsetSec(OffsetSec), OffsetInSec(OffsetInSec),