if the platform doesn't know about it.
+2012-05-30 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
+
+ * linux-low.c (get_r_debug): Disable code using DT_MIPS_RLD_MAP
+ if the platform doesn't know about it.
+
2012-05-30 Jeff Kenton <jkenton@tilera.com>
* Makefile.in (SFILES): Add linux-tile-low.c.
if (is_elf64)
{
Elf64_Dyn *const dyn = (Elf64_Dyn *) buf;
+#ifdef DT_MIPS_RLD_MAP
union
{
Elf64_Xword map;
else
break;
}
+#endif /* DT_MIPS_RLD_MAP */
if (dyn->d_tag == DT_DEBUG && map == -1)
map = dyn->d_un.d_val;
else
{
Elf32_Dyn *const dyn = (Elf32_Dyn *) buf;
+#ifdef DT_MIPS_RLD_MAP
union
{
Elf32_Word map;
else
break;
}
+#endif /* DT_MIPS_RLD_MAP */
if (dyn->d_tag == DT_DEBUG && map == -1)
map = dyn->d_un.d_val;