diff options
author | Alan Modra <amodra@gmail.com> | 2012-12-07 00:03:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-12-07 00:03:18 +0000 |
commit | aba6bc71dd8b4f9944bc4c7f4cf73f58f7960595 (patch) | |
tree | f6d79afd5a3097bb9af9c00c9145adc528a6e111 /gold/options.h | |
parent | 9cb2f5a93d9fceb4420021e14a8c724e94c9e7e6 (diff) | |
download | gdb-aba6bc71dd8b4f9944bc4c7f4cf73f58f7960595.zip gdb-aba6bc71dd8b4f9944bc4c7f4cf73f58f7960595.tar.gz gdb-aba6bc71dd8b4f9944bc4c7f4cf73f58f7960595.tar.bz2 |
* options.h (General_options): Add no_toc_optimize.
* powerpc.cc (ok_lo_toc_insn): New function.
(Target_powerpc::Relocate::relocate): Optimize toc access sequences.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h index 216620a..1a25b7b 100644 --- a/gold/options.h +++ b/gold/options.h @@ -1109,6 +1109,9 @@ class General_options DEFINE_uint64(Ttext, options::ONE_DASH, '\0', -1U, N_("Set the address of the text segment"), N_("ADDRESS")); + DEFINE_bool(no_toc_optimize, options::TWO_DASHES, '\0', false, + N_("(PowerPC64 only) Don't optimize TOC code sequences"), NULL); + DEFINE_set(undefined, options::TWO_DASHES, 'u', N_("Create undefined reference to SYMBOL"), N_("SYMBOL")); |