public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd9497b
)
Fix erroneous section check (symbols may not have a defined section in pass 1).
author
David Given
<dg@cowlark.com>
Sat, 25 May 2013 23:35:15 +0000
(
00:35
+0100)
committer
David Given
<dg@cowlark.com>
Sat, 25 May 2013 23:35:15 +0000
(
00:35
+0100)
--HG--
branch : dtrg-videocore
mach/vc4/as/mach5.c
patch
|
blob
|
history
diff --git
a/mach/vc4/as/mach5.c
b/mach/vc4/as/mach5.c
index
a2227fd
..
de2bda2
100644
(file)
--- a/
mach/vc4/as/mach5.c
+++ b/
mach/vc4/as/mach5.c
@@
-383,7
+383,7
@@
static void branch_addcmp_common(quad opcode, int bits, struct expr_t* expr)
quad type = expr->typ & S_TYP;
int d;
- if (
type != DOTTYP
)
+ if (
(pass>0) && (type != DOTTYP)
)
serror("can't use this type of branch to jump outside the section");
/* The VC4 branch instructions express distance in 2-byte