Commit 434078e9 authored by Raymond Toy's avatar Raymond Toy
Browse files

On sparc, use EXTERN_ALIEN_NAME too when printing out the error message.

parent a1946b35
......@@ -223,8 +223,9 @@ os_foreign_linkage_init(void)
if (i == 0) {
#if defined(sparc)
if (type != LINKAGE_CODE_TYPE || strcmp(c_symbol_name, EXTERN_ALIEN_NAME("call_into_c"))) {
fprintf(stderr, "linkage_data is %s but expected call_into_c\n",
fprintf(stderr, "linkage_data is %s but expected %s\n",
lose("First element of linkage_data is bogus.\n");
arch_make_linkage_entry(i, (void*) call_into_c, 1);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment