diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-03-23 12:31:29 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-03-23 12:31:29 +0100 |
commit | e52a16f2aa20773f42c28bf91a568d0683e5767c (patch) | |
tree | e591957158986d497d4aa013a975cd55115767fb /gdb/python/py-value.c | |
parent | 64d23078e30e54e1bb095962540e4c6138edaf5a (diff) | |
download | gdb-e52a16f2aa20773f42c28bf91a568d0683e5767c.zip gdb-e52a16f2aa20773f42c28bf91a568d0683e5767c.tar.gz gdb-e52a16f2aa20773f42c28bf91a568d0683e5767c.tar.bz2 |
x86: reject relocations involving registers
To prevent fatal or even internal errors, add a simple check to
i386_validate_fix(), rejecting relocations when their target symbol is
an equate of a register (or resolved to reg_section for any other
reason).
Diffstat (limited to 'gdb/python/py-value.c')
0 files changed, 0 insertions, 0 deletions