Don't allow mov-to-lea optimization for __ehdr_start.
authorCary Coutant <ccoutant@gmail.com>
Wed, 1 Feb 2017 00:32:59 +0000 (16:32 -0800)
committerCary Coutant <ccoutant@gmail.com>
Wed, 1 Feb 2017 00:33:58 +0000 (16:33 -0800)
commited35cc4a1cb76fd9ac53ad19efb97ee2caffbae9
treec10ec94ecb20e9c9c3196d63a074368c86cd7d1c
parent15a00b13aedc6300732d0b3b6b9daefa361ced6f
Don't allow mov-to-lea optimization for __ehdr_start.

gold/
PR gold/21090
* x86_64.cc (Target_x86_64::can_convert_mov_to_lea): Add check
for predefined symbol.
(Target_x86_64::Relocate::relocate): Fix formatting.
gold/ChangeLog
gold/x86_64.cc