aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-15 23:46:46 +0000
committerIan Lance Taylor <iant@google.com>2007-11-15 23:46:46 +0000
commit4f4c5f80c7482fbd1c2fd5a3b96547f5099bf3fd (patch)
treed4dbb773a8511bc57cfe9b5462fa44e3c2c2b19e /gold/layout.h
parent02d2ba740273e3f539501337eebf0c6007af0b4b (diff)
downloadgdb-4f4c5f80c7482fbd1c2fd5a3b96547f5099bf3fd.zip
gdb-4f4c5f80c7482fbd1c2fd5a3b96547f5099bf3fd.tar.gz
gdb-4f4c5f80c7482fbd1c2fd5a3b96547f5099bf3fd.tar.bz2
From Cary Coutant: Count textrel with output sections rather than
setting a flag as we add each reloc in the target code.
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gold/layout.h b/gold/layout.h
index cc07fa3..5b9f28d 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -170,11 +170,6 @@ class Layout
off_t
finalize(const Input_objects*, Symbol_table*);
- // Record that we have seen a relocation in the text section.
- void
- set_have_textrel()
- { this->have_textrel_ = true; }
-
// Return the size of the output file.
off_t
output_file_size() const
@@ -439,8 +434,6 @@ class Layout
// Whether we have seen at least one object file without an
// executable stack marker.
bool input_without_gnu_stack_note_;
- // Whether we have seen a relocation in the text section.
- bool have_textrel_;
};
// This task handles writing out data in output sections which is not