diff options
author | Sriraman Tallam <tmsriram@google.com> | 2010-09-28 17:14:15 +0000 |
---|---|---|
committer | Sriraman Tallam <tmsriram@google.com> | 2010-09-28 17:14:15 +0000 |
commit | c95e9f279130c09af2c427065700e3e08500b168 (patch) | |
tree | 78e7735b04680083b0cbc1d67e17d4c024dae2cd /gold/i386.cc | |
parent | 22e603ef762487e8a761d443a94168493a46db25 (diff) | |
download | gdb-c95e9f279130c09af2c427065700e3e08500b168.zip gdb-c95e9f279130c09af2c427065700e3e08500b168.tar.gz gdb-c95e9f279130c09af2c427065700e3e08500b168.tar.bz2 |
2010-09-28 Sriraman Tallam <tmsriram@google.com>
* target.h (Target::can_icf_inline_merge_sections): New virtual
function.
* x86_64.cc (Target__x86_64::can_icf_inline_merge_sections): New
virtual function.
* i386.cc (Target_i386::can_icf_inline_merge_sections): New
virtual function.
* icf.cc (get_section_contents): Inline merge sections only when
target allows it.
Diffstat (limited to 'gold/i386.cc')
-rw-r--r-- | gold/i386.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/i386.cc b/gold/i386.cc index 009f217..693ae4c 100644 --- a/gold/i386.cc +++ b/gold/i386.cc @@ -175,6 +175,10 @@ class Target_i386 : public Target_freebsd<32, false> can_check_for_function_pointers() const { return true; } + virtual bool + can_icf_inline_merge_sections () const + { return true; } + // Process the relocations to determine unreferenced sections for // garbage collection. void |