diff options
author | Tom Tromey <tromey@adacore.com> | 2022-05-10 09:23:27 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-06-02 09:04:45 -0600 |
commit | 94e079e76e71951a97f74a61513a7b71adaa2a90 (patch) | |
tree | 6856b9ed8b42d4b4c1a5dfa67e32f0a1fa5ddb9f /gdb/solib-dsbt.c | |
parent | c01e28360d30a9dd750b8c27157a12c99d1a6188 (diff) | |
download | gdb-94e079e76e71951a97f74a61513a7b71adaa2a90.zip gdb-94e079e76e71951a97f74a61513a7b71adaa2a90.tar.gz gdb-94e079e76e71951a97f74a61513a7b71adaa2a90.tar.bz2 |
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
Diffstat (limited to 'gdb/solib-dsbt.c')
-rw-r--r-- | gdb/solib-dsbt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c index 0b03f94..6af4721 100644 --- a/gdb/solib-dsbt.c +++ b/gdb/solib-dsbt.c @@ -107,7 +107,7 @@ struct ext_elf32_dsbt_loadaddr ext_ptr map; /* struct elf32_dsbt_loadmap *map; */ }; -struct ext_link_map +struct dbst_ext_link_map { struct ext_elf32_dsbt_loadaddr l_addr; @@ -546,7 +546,7 @@ dsbt_current_sos (void) building the solist chain. */ while (lm_addr) { - struct ext_link_map lm_buf; + struct dbst_ext_link_map lm_buf; ext_Elf32_Word indexword; CORE_ADDR map_addr; int dsbt_index; |