mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
Fix indentation of lm_info_frv
This patch fixes the indentation of lm_info_frv, so that the real changes of the following patch are not lost in the reformatting. gdb/ChangeLog: * solib-frv.c (struct lm_info_frv): Fix indentation.
This commit is contained in:
parent
b091120773
commit
af43057baf
@ -1,3 +1,7 @@
|
|||||||
|
2017-04-28 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
|
* solib-frv.c (struct lm_info_frv): Fix indentation.
|
||||||
|
|
||||||
2017-04-28 Simon Marchi <simon.marchi@ericsson.com>
|
2017-04-28 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
* solib-dsbt.c (struct lm_info_dsbt): Add destructor, initialize
|
* solib-dsbt.c (struct lm_info_dsbt): Add destructor, initialize
|
||||||
|
@ -203,29 +203,30 @@ struct ext_link_map
|
|||||||
/* Link map info to include in an allocated so_list entry. */
|
/* Link map info to include in an allocated so_list entry. */
|
||||||
|
|
||||||
struct lm_info_frv : public lm_info_base
|
struct lm_info_frv : public lm_info_base
|
||||||
{
|
{
|
||||||
/* The loadmap, digested into an easier to use form. */
|
|
||||||
struct int_elf32_fdpic_loadmap *map;
|
|
||||||
/* The GOT address for this link map entry. */
|
|
||||||
CORE_ADDR got_value;
|
|
||||||
/* The link map address, needed for frv_fetch_objfile_link_map(). */
|
|
||||||
CORE_ADDR lm_addr;
|
|
||||||
|
|
||||||
/* Cached dynamic symbol table and dynamic relocs initialized and
|
/* The loadmap, digested into an easier to use form. */
|
||||||
used only by find_canonical_descriptor_in_load_object().
|
struct int_elf32_fdpic_loadmap *map;
|
||||||
|
/* The GOT address for this link map entry. */
|
||||||
|
CORE_ADDR got_value;
|
||||||
|
/* The link map address, needed for frv_fetch_objfile_link_map(). */
|
||||||
|
CORE_ADDR lm_addr;
|
||||||
|
|
||||||
Note: kevinb/2004-02-26: It appears that calls to
|
/* Cached dynamic symbol table and dynamic relocs initialized and
|
||||||
bfd_canonicalize_dynamic_reloc() will use the same symbols as
|
used only by find_canonical_descriptor_in_load_object().
|
||||||
those supplied to the first call to this function. Therefore,
|
|
||||||
it's important to NOT free the asymbol ** data structure
|
|
||||||
supplied to the first call. Thus the caching of the dynamic
|
|
||||||
symbols (dyn_syms) is critical for correct operation. The
|
|
||||||
caching of the dynamic relocations could be dispensed with. */
|
|
||||||
asymbol **dyn_syms;
|
|
||||||
arelent **dyn_relocs;
|
|
||||||
int dyn_reloc_count; /* Number of dynamic relocs. */
|
|
||||||
|
|
||||||
};
|
Note: kevinb/2004-02-26: It appears that calls to
|
||||||
|
bfd_canonicalize_dynamic_reloc() will use the same symbols as
|
||||||
|
those supplied to the first call to this function. Therefore,
|
||||||
|
it's important to NOT free the asymbol ** data structure
|
||||||
|
supplied to the first call. Thus the caching of the dynamic
|
||||||
|
symbols (dyn_syms) is critical for correct operation. The
|
||||||
|
caching of the dynamic relocations could be dispensed with. */
|
||||||
|
asymbol **dyn_syms;
|
||||||
|
arelent **dyn_relocs;
|
||||||
|
int dyn_reloc_count; /* Number of dynamic relocs. */
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
/* The load map, got value, etc. are not available from the chain
|
/* The load map, got value, etc. are not available from the chain
|
||||||
of loaded shared objects. ``main_executable_lm_info'' provides
|
of loaded shared objects. ``main_executable_lm_info'' provides
|
||||||
|
Loading…
Reference in New Issue
Block a user