aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-06-08 04:34:22 +0000
committerCary Coutant <ccoutant@google.com>2011-06-08 04:34:22 +0000
commitfb0e076f5c3d8bfd1f23a96031bfbfb92dc657d2 (patch)
treee71c027b6eed665011ffe15d519263a728053532 /gold/layout.cc
parenta5ee4d5d1e92a48c988c6be740f17e4d4f9b166c (diff)
downloadgdb-fb0e076f5c3d8bfd1f23a96031bfbfb92dc657d2.zip
gdb-fb0e076f5c3d8bfd1f23a96031bfbfb92dc657d2.tar.gz
gdb-fb0e076f5c3d8bfd1f23a96031bfbfb92dc657d2.tar.bz2
* layout.cc (Layout::set_segment_offsets): Don't adjust layout
for incremental links. * output.cc (Output_segment::set_section_list_addresses): Remove FIXME and test for TLS or BSS.
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index f44640c..1e5d23e 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -2957,7 +2957,7 @@ Layout::set_segment_offsets(const Target* target, Output_segment* load_seg,
if (!are_addresses_set
&& !has_relro
&& aligned_addr != addr
- && !parameters->incremental_update())
+ && !parameters->incremental())
{
uint64_t first_off = (common_pagesize
- (aligned_addr