ODR warning for struct ext_link_map

This renames the solib-dsbt.c copy of "struct ext_link_map" to avoid
an ODR warning.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22395
This commit is contained in:
Tom Tromey 2022-05-10 09:23:27 -06:00
parent c01e28360d
commit 94e079e76e

View File

@ -107,7 +107,7 @@ struct ext_elf32_dsbt_loadaddr
ext_ptr map; /* struct elf32_dsbt_loadmap *map; */ ext_ptr map; /* struct elf32_dsbt_loadmap *map; */
}; };
struct ext_link_map struct dbst_ext_link_map
{ {
struct ext_elf32_dsbt_loadaddr l_addr; struct ext_elf32_dsbt_loadaddr l_addr;
@ -546,7 +546,7 @@ dsbt_current_sos (void)
building the solist chain. */ building the solist chain. */
while (lm_addr) while (lm_addr)
{ {
struct ext_link_map lm_buf; struct dbst_ext_link_map lm_buf;
ext_Elf32_Word indexword; ext_Elf32_Word indexword;
CORE_ADDR map_addr; CORE_ADDR map_addr;
int dsbt_index; int dsbt_index;