diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-14 22:31:02 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-14 22:31:02 +0000 |
commit | 07f397aba39f619db4fdce42c9e91cb07dd4dc68 (patch) | |
tree | 5cc86b1998b729454448c3f3429154dbdebde33d /gold/layout.h | |
parent | c224138d88196fe7cabce4fe554c10a1520f5a4f (diff) | |
download | gdb-07f397aba39f619db4fdce42c9e91cb07dd4dc68.zip gdb-07f397aba39f619db4fdce42c9e91cb07dd4dc68.tar.gz gdb-07f397aba39f619db4fdce42c9e91cb07dd4dc68.tar.bz2 |
From Cary Coutant: Improve i386 shared library TLS support.
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h index 5b9f28d..cc07fa3 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -170,6 +170,11 @@ 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 @@ -434,6 +439,8 @@ 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 |