diff options
author | Cary Coutant <ccoutant@google.com> | 2010-11-16 19:18:31 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2010-11-16 19:18:31 +0000 |
commit | fd064a5b9922e1058c109d6b5a8ee6e2ae15f529 (patch) | |
tree | 376cf26f153601f1ba0fa218d34e45bca30fedfd /gold/output.h | |
parent | 6ab5626b08f37bc5b84c67d0f25e363e0ab0180e (diff) | |
download | gdb-fd064a5b9922e1058c109d6b5a8ee6e2ae15f529.zip gdb-fd064a5b9922e1058c109d6b5a8ee6e2ae15f529.tar.gz gdb-fd064a5b9922e1058c109d6b5a8ee6e2ae15f529.tar.bz2 |
* output.h (Output_segment::set_section_addresses): Pass increase_relro
by reference; adjust all callers.
* output.cc (Output_segment::set_section_addresses): Adjust references
to increase_relro. Add padding to *increase_relro when ORDER_RELRO_LAST
list is empty.
(Output_segment::set_offset): Assert if PT_GNU_RELRO segment does not
end at page boundary.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/output.h b/gold/output.h index 1bfb054..9ccc21a 100644 --- a/gold/output.h +++ b/gold/output.h @@ -3911,7 +3911,7 @@ class Output_segment // *PSHNDX. This should only be called for a PT_LOAD segment. uint64_t set_section_addresses(const Layout*, bool reset, uint64_t addr, - unsigned int increase_relro, bool* has_relro, + unsigned int* increase_relro, bool* has_relro, off_t* poff, unsigned int* pshndx); // Set the minimum alignment of this segment. This may be adjusted |