mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 21:34:46 +08:00
* exec.c (exec_close, exec_file_attach): Update.
(add_to_section_table): Initialize 'key' field. (add_target_sections, remove_target_sections): Add 'key' argument. * exec.h (add_target_sections, remove_target_sections): Add 'key' argument. * solib.c (solib_map_sections, update_solib_list, clear_solib) (reload_shared_libraries_1): Update. * target.h (struct target_section) <key>: New field.
This commit is contained in:
@ -1804,6 +1804,12 @@ struct target_section
|
||||
|
||||
struct bfd_section *the_bfd_section;
|
||||
|
||||
/* A given BFD may appear multiple times in the target section
|
||||
list, so each BFD is associated with a given key. The key is
|
||||
just some convenient pointer that can be used to differentiate
|
||||
the BFDs. These are managed only by convention. */
|
||||
void *key;
|
||||
|
||||
bfd *bfd; /* BFD file pointer */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user