diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-13 22:47:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-13 22:47:28 +0000 |
commit | 756ac4a80d33f8c434c41fdd6b7f58fef8d1e1ba (patch) | |
tree | 760861f58d6eac92959589049c0348bb24fc1790 /gold/output.h | |
parent | 3edc73f245b7f714af35f98ccc69212358d7a594 (diff) | |
download | gdb-756ac4a80d33f8c434c41fdd6b7f58fef8d1e1ba.zip gdb-756ac4a80d33f8c434c41fdd6b7f58fef8d1e1ba.tar.gz gdb-756ac4a80d33f8c434c41fdd6b7f58fef8d1e1ba.tar.bz2 |
Implement -Tdata and -Tbss.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gold/output.h b/gold/output.h index 8f7a564..8d0a853 100644 --- a/gold/output.h +++ b/gold/output.h @@ -2528,6 +2528,12 @@ class Output_segment void add_initial_output_data(Output_data*); + // Return true if this segment has any sections which hold actual + // data, rather than being a BSS section. + bool + has_any_data_sections() const + { return !this->output_data_.empty(); } + // Return the number of dynamic relocations applied to this segment. unsigned int dynamic_reloc_count() const; |