ALT Linux repos
Group :: Development/C
RPM: tcc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: tcc-0.9.23-linker-error.patch
Download
Download
diff -urN tcc-0.9.23.orig/tccelf.c tcc-0.9.23/tccelf.c
--- tcc-0.9.23.orig/tccelf.c 2005-06-18 01:09:15 +0300
+++ tcc-0.9.23/tccelf.c 2006-10-12 17:58:26 +0300
@@ -428,7 +428,7 @@
if (sym_bind == STB_WEAK) {
sym->st_value = 0;
} else {
- error_noabort("undefined symbol '%s'", name);
+ error("undefined symbol '%s'", name);
}
} else if (sh_num < SHN_LORESERVE) {
/* add section base */
@@ -1200,7 +1200,7 @@
if (ELF32_ST_BIND(sym->st_info) == STB_WEAK ||
!strcmp(name, "_fp_hw")) {
} else {
- error_noabort("undefined symbol '%s'", name);
+ error("undefined symbol '%s'", name);
}
}
} else if (s1->rdynamic &&
diff -urN tcc-0.9.23.orig/tccpe.c tcc-0.9.23/tccpe.c
--- tcc-0.9.23.orig/tccpe.c 2005-06-18 01:09:15 +0300
+++ tcc-0.9.23/tccpe.c 2006-10-12 17:58:08 +0300
@@ -958,7 +958,7 @@
continue;
}
}
- error_noabort("undefined symbol '%s'", symbol);
+ error("undefined symbol '%s'", symbol);
ret = 1;
} else
if (pe->s1->rdynamic