| Index: third_party/yasm/patched-yasm/libyasm/bc-align.c
|
| ===================================================================
|
| --- third_party/yasm/patched-yasm/libyasm/bc-align.c (revision 165590)
|
| +++ third_party/yasm/patched-yasm/libyasm/bc-align.c (working copy)
|
| @@ -25,7 +25,6 @@
|
| * POSSIBILITY OF SUCH DAMAGE.
|
| */
|
| #include "util.h"
|
| -/*@unused@*/ RCSID("$Id: bc-align.c 2130 2008-10-07 05:38:11Z peter $");
|
|
|
| #include "libyasm-stdint.h"
|
| #include "coretype.h"
|
| @@ -58,7 +57,8 @@
|
| static int bc_align_expand(yasm_bytecode *bc, int span, long old_val,
|
| long new_val, /*@out@*/ long *neg_thres,
|
| /*@out@*/ long *pos_thres);
|
| -static int bc_align_tobytes(yasm_bytecode *bc, unsigned char **bufp, void *d,
|
| +static int bc_align_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);
|
|
|
| @@ -164,7 +164,8 @@
|
| }
|
|
|
| static int
|
| -bc_align_tobytes(yasm_bytecode *bc, unsigned char **bufp, void *d,
|
| +bc_align_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)
|
| {
|
|
|