aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf-index-write.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-03 16:36:18 -0600
committerTom Tromey <tom@tromey.com>2018-07-26 09:18:30 -0600
commit02e9e7f7e2bed3b82cb6541f566caf07256b9b2f (patch)
treee3d593639dbffe803aab7e2fb141a14e20bb80b8 /gdb/dwarf-index-write.c
parent8a6d4234503bfe1c656d8cd335cac828507df9a3 (diff)
downloadbinutils-02e9e7f7e2bed3b82cb6541f566caf07256b9b2f.zip
binutils-02e9e7f7e2bed3b82cb6541f566caf07256b9b2f.tar.gz
binutils-02e9e7f7e2bed3b82cb6541f566caf07256b9b2f.tar.bz2
Introduce partial_symbol::address
This introduces a partial_symbol::address method. This method takes an objfile argument. This is necessary so that we can later relocate a partial symbol at its point of use. It also adds an accessor to compute the unrelocated value; and a method to be used for setting the field. Note that the new method doesn't actually perform any relocation yet. That will come in a subsequent patch. However, the comments are written to reflect the intended, rather than the temporary, semantics. gdb/ChangeLog 2018-07-26 Tom Tromey <tromey@redhat.com> * psympriv.h (struct partial_symbol) <unrelocated_address, address, set_address>: New methods. * psymtab.c (find_pc_sect_psymtab_closer, find_pc_sect_psymbol) (fixup_psymbol_section, relocate_psymtabs): Update. (print_partial_symbols): Add 'objfile' parameter. Update. (dump_psymtab, add_psymbol_to_bcache, psym_fill_psymbol_map): Update.
Diffstat (limited to 'gdb/dwarf-index-write.c')
0 files changed, 0 insertions, 0 deletions