aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-12-15 12:41:49 +0100
committerJan Beulich <jbeulich@suse.com>2023-12-15 12:41:49 +0100
commitc26906716eacae672a32309865ea5cc9f3e192c5 (patch)
tree725ef6f8ea43bf77588d8423cd2bb798bcec51dc /gas/config/tc-i386.c
parentf27110955454028a389d38a7c5017e36b625bdb5 (diff)
downloadgdb-c26906716eacae672a32309865ea5cc9f3e192c5.zip
gdb-c26906716eacae672a32309865ea5cc9f3e192c5.tar.gz
gdb-c26906716eacae672a32309865ea5cc9f3e192c5.tar.bz2
ELF: reliably invoke md_elf_section_change_hook()
... after any (sub)section change. While certain existing target hooks only look at now_seg, for a few others it looks as if failing to do so could have caused anomalies if sub-sections were used. In any event a subsequent x86 change is going to require the sub-section to be properly in place at the time the hook is invoked. This primarily means for obj_elf_section() to pass the new subsection into change_section(), for it to be set right away (ahead of invoking the hook). Also adjust obj_elf_ident() to invoke the hook after all section changes. (Note that obj_elf_version(), which also changes sections and then changes them back, has no hook invocation at all so far, so none are added. Presumably there is a reason for this difference in behavior.)
Diffstat (limited to 'gas/config/tc-i386.c')
0 files changed, 0 insertions, 0 deletions