Use a member function to set a symbol's language
[deliverable/binutils-gdb.git] / gdb / elfread.c
index 226e3f09d3876f50fd4c94f2c78f27f1af462bea..44b793d8f14b4d42901acb764c8b8e0f16d526e8 100644 (file)
@@ -714,7 +714,7 @@ elf_gnu_ifunc_record_cache (const char *name, CORE_ADDR addr)
 
   /* If .plt jumps back to .plt the symbol is still deferred for later
      resolution and it has no use for GDB.  */
-  const char *target_name = MSYMBOL_LINKAGE_NAME (msym.minsym);
+  const char *target_name = msym.minsym->linkage_name ();
   size_t len = strlen (target_name);
 
   /* Note we check the symbol's name instead of checking whether the
This page took 0.025069 seconds and 4 git commands to generate.