Give informative error message for stub-group-size
authorJing Yu <jingyu@google.com>
Wed, 10 Dec 2014 23:36:56 +0000 (15:36 -0800)
committerJing Yu <jingyu@google.com>
Wed, 10 Dec 2014 23:39:13 +0000 (15:39 -0800)
commit0bf32ea9e678df657d306fe28aecac7307debdce
treee47f21f371674dac810df9b1ae95463bcdc536c5
parentfc1269757f5614cd893c36120f61a5014a45fe37
Give informative error message for stub-group-size

This patch gives current stub-group-size in error message when stub
is too far away.

* aarch64.cc (Target_aarch64): Add new variable: stub_group_size_.
(AArch64_relocate_functions::maybe_apply_stub): Add new parameter.
Update error message.
(Target_aarch64::do_relax): Use absolute value of option
stub_group_size. Replace local variable with class member
stub_group_size_.
gold/ChangeLog
gold/aarch64.cc