OSDN Git Service

* options.h (class General_options): Define --wrap as a special
authorian <ian>
Wed, 9 Apr 2008 00:48:13 +0000 (00:48 +0000)
committerian <ian>
Wed, 9 Apr 2008 00:48:13 +0000 (00:48 +0000)
commit50b4ad9d24ea4163a7c5b4f7001a1e2f69d844d1
treebcb719a9138e5c1f89ebece44305952c946dc5b9
parent8355dda5d038ac72b4614de0338bb56595e2952f
* 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