* options.h (class General_options): Define --wrap as a special
authorIan Lance Taylor <ian@airs.com>
Wed, 9 Apr 2008 00:48:13 +0000 (00:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 9 Apr 2008 00:48:13 +0000 (00:48 +0000)
commit0864d55193d9ad757c26cba29da1de1c00be4ba8
treebd0b661d221890ae9c1e7211dd2a861f5140f2a7
parent789aa6de31480d7b322e515b43451b1b1108fedc
* options.h (class General_options): Define --wrap as a special
option.  Add wrap_symbols_ field.
(General_options::any_wrap_symbols): New function.
(General_options::is_wrap_symbol): New function.
* options.cc (General_options::parse_wrap): New function.
(General_options::General_options): Initialize wrap_symbols_.
* symtab.cc (Symbol_table::wrap_symbol): New function.
(Symbol_table::add_from_object): Handle --wrap.
* symtab.h (class Symbol_table): Declare wrap_symbol.
* target.h (Target::wrap_char): New function.
(Target::Target_info): Add wrap_char field.
* i386.cc (Target_i386::i386_info): Initialize wrap_char.
* x86_64.cc (Target_x86_64::x86_64_info): Likewise.
* testsuite/testfile.cc (Target_test::test_target_info):
Likewise.
gold/ChangeLog
gold/i386.cc
gold/options.cc
gold/options.h
gold/symtab.cc
gold/symtab.h
gold/target.h
gold/testsuite/testfile.cc
gold/x86_64.cc