diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-12-30 04:00:21 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-12-30 04:00:21 +0000 |
commit | e8cd95c71e5a6ea455f60d6428a34c621d11d3bf (patch) | |
tree | 0f031d13181414fbfa32b0d6bce82891f01dcb07 /gold/output.h | |
parent | 9037e078d45ef6c97475b74f46e017a33416f11c (diff) | |
download | gdb-e8cd95c71e5a6ea455f60d6428a34c621d11d3bf.zip gdb-e8cd95c71e5a6ea455f60d6428a34c621d11d3bf.tar.gz gdb-e8cd95c71e5a6ea455f60d6428a34c621d11d3bf.tar.bz2 |
PR 10450
* output.h (class Output_section): Add is_entsize_zero_ field.
* output.cc (Output_section::Output_section): Initialize
is_entsize_zero_.
(Output_section::set_entsize): If two different entsizes are
requested, force it to zero.
(Output_section::add_input_section): Set flags for .debug_str
before updating section flags. Set entsize.
(Output_section::update_flags_for_input_section): Set SHF_MERGE
and SHF_STRING if all input sections have those flags.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/output.h b/gold/output.h index 3b060c8..55e278b 100644 --- a/gold/output.h +++ b/gold/output.h @@ -3352,6 +3352,8 @@ class Output_section : public Output_data bool is_dynamic_linker_section_ : 1; // Whether code-fills are generated at write. bool generate_code_fills_at_write_ : 1; + // Whether the entry size field should be zero. + bool is_entsize_zero_ : 1; // For SHT_TLS sections, the offset of this section relative to the base // of the TLS segment. uint64_t tls_offset_; |