summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils-2.17/gas/read.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-04-24 20:19:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-04-24 20:19:26 +0000
commit5a1b2a93cd7448f144e221fa585f2d35f3be3fe6 (patch)
treeb0b7eb717a326fb0d797e2e3b6b7b450cdae863e /gnu/usr.bin/binutils-2.17/gas/read.c
parent917667791cb7410d22e23fdfd33147d2774974e1 (diff)
A first attempt at merging our local changes and fixes into the 2.17 codebase.
ld(1) needs a lot more work, as the upstream code evolved significantly since 2.15, mostly due to changes in PIE binaries layout, and we had already diverged significantly to implement W^X.
Diffstat (limited to 'gnu/usr.bin/binutils-2.17/gas/read.c')
-rw-r--r--gnu/usr.bin/binutils-2.17/gas/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils-2.17/gas/read.c b/gnu/usr.bin/binutils-2.17/gas/read.c
index 0485d72dec6..6972f79add2 100644
--- a/gnu/usr.bin/binutils-2.17/gas/read.c
+++ b/gnu/usr.bin/binutils-2.17/gas/read.c
@@ -4823,7 +4823,7 @@ next_char_of_string (void)
int i;
for (i = 0, number = 0;
- ISDIGIT (c) && i < 3;
+ i < 3 && ISDIGIT (c);
c = *input_line_pointer++, i++)
{
number = number * 8 + c - '0';