Minor cleanups.

This commit is contained in:
Markus F.X.J. Oberhumer
2016-09-20 22:14:25 +02:00
parent 535515f296
commit 3f7c1f966b
6 changed files with 29 additions and 45 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ void ElfLinker::preprocessRelocations(char *start, char *end)
assert(add == ull);
assert(endptr && *endptr == '\0');
if (sign == '-')
add = -add;
add = 0 - add;
}
addRelocation(section->name, offset, t, symbol, add);