diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-06 22:52:16 -0800 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-08 08:49:21 -0800 |
commit | 10af2a65c8891435d0d63411a3e694cc74c9447c (patch) | |
tree | 4e024390a684005c542bd794f8ce3a83a861afc3 /gdb/coffread.c | |
parent | 1cd9a73b4280cb133b305ee31a0e87f114bd1be8 (diff) | |
download | gdb-10af2a65c8891435d0d63411a3e694cc74c9447c.zip gdb-10af2a65c8891435d0d63411a3e694cc74c9447c.tar.gz gdb-10af2a65c8891435d0d63411a3e694cc74c9447c.tar.bz2 |
gas: xtensa: fix comparison of trampoline chain symbols
Don't use address where symbol gets resolved, as during section
relaxation symbols will slide, instead canonicalize symbols and check
that they are are the same.
This fixes a bug when a relaxed jump goes into the wrong trampoline.
gas/
2017-12-07 Max Filippov <jcmvbkbc@gmail.com>
* config/tc-xtensa.c (xg_order_trampoline_chain): Replace
xg_order_trampoline_chain_entry call with check for
canonicalized symbol equality and offset equality.
Diffstat (limited to 'gdb/coffread.c')
0 files changed, 0 insertions, 0 deletions