Index: third_party/yasm/patched-yasm/libyasm/bc-org.c |
=================================================================== |
--- third_party/yasm/patched-yasm/libyasm/bc-org.c (revision 165590) |
+++ third_party/yasm/patched-yasm/libyasm/bc-org.c (working copy) |
@@ -25,7 +25,6 @@ |
* POSSIBILITY OF SUCH DAMAGE. |
*/ |
#include "util.h" |
-/*@unused@*/ RCSID("$Id: bc-org.c 2130 2008-10-07 05:38:11Z peter $"); |
#include "libyasm-stdint.h" |
#include "coretype.h" |
@@ -52,7 +51,8 @@ |
static int bc_org_expand(yasm_bytecode *bc, int span, long old_val, |
long new_val, /*@out@*/ long *neg_thres, |
/*@out@*/ long *pos_thres); |
-static int bc_org_tobytes(yasm_bytecode *bc, unsigned char **bufp, void *d, |
+static int bc_org_tobytes(yasm_bytecode *bc, unsigned char **bufp, |
+ unsigned char *bufstart, void *d, |
yasm_output_value_func output_value, |
/*@null@*/ yasm_output_reloc_func output_reloc); |
@@ -120,7 +120,8 @@ |
} |
static int |
-bc_org_tobytes(yasm_bytecode *bc, unsigned char **bufp, void *d, |
+bc_org_tobytes(yasm_bytecode *bc, unsigned char **bufp, |
+ unsigned char *bufstart, void *d, |
yasm_output_value_func output_value, |
/*@unused@*/ yasm_output_reloc_func output_reloc) |
{ |