2014-06-23 Will Newton <will.newton@linaro.org>
+ * elf/dl-lookup.c (undefined_msg): Remove variable.
+ (_dl_lookup_symbol_x): Replace undefined_msg with string
+ literal.
+
* elf/dl-lookup.c (do_lookup_unique): New function.
(do_lookup_x): Move STB_GNU_UNIQUE handling code
to a separate function.
#define VERSTAG(tag) (DT_NUM + DT_THISPROCNUM + DT_VERSIONTAGIDX (tag))
-/* We need this string more than once. */
-static const char undefined_msg[] = "undefined symbol: ";
-
struct sym_val
{
/* XXX We cannot translate the message. */
_dl_signal_cerror (0, DSO_FILENAME (reference_name),
N_("symbol lookup error"),
- make_string (undefined_msg, undef_name,
+ make_string ("undefined symbol: ", undef_name,
versionstr, versionname));
}
*ref = NULL;