Index: third_party/yasm/patched-yasm/modules/dbgfmts/stabs/stabs-dbgfmt.c |
=================================================================== |
--- third_party/yasm/patched-yasm/modules/dbgfmts/stabs/stabs-dbgfmt.c (revision 165590) |
+++ third_party/yasm/patched-yasm/modules/dbgfmts/stabs/stabs-dbgfmt.c (working copy) |
@@ -25,7 +25,6 @@ |
* POSSIBILITY OF SUCH DAMAGE. |
*/ |
#include <util.h> |
-/*@unused@*/ RCSID("$Id: stabs-dbgfmt.c 2130 2008-10-07 05:38:11Z peter $"); |
#include <libyasm.h> |
@@ -119,7 +118,7 @@ |
static int stabs_bc_str_calc_len |
(yasm_bytecode *bc, yasm_bc_add_span_func add_span, void *add_span_data); |
static int stabs_bc_str_tobytes |
- (yasm_bytecode *bc, unsigned char **bufp, void *d, |
+ (yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d, |
yasm_output_value_func output_value, |
/*@null@*/ yasm_output_reloc_func output_reloc); |
@@ -129,7 +128,7 @@ |
static int stabs_bc_stab_calc_len |
(yasm_bytecode *bc, yasm_bc_add_span_func add_span, void *add_span_data); |
static int stabs_bc_stab_tobytes |
- (yasm_bytecode *bc, unsigned char **bufp, void *d, |
+ (yasm_bytecode *bc, unsigned char **bufp, unsigned char *bufstart, void *d, |
yasm_output_value_func output_value, |
/*@null@*/ yasm_output_reloc_func output_reloc); |
@@ -405,7 +404,8 @@ |
} |
static int |
-stabs_bc_stab_tobytes(yasm_bytecode *bc, unsigned char **bufp, void *d, |
+stabs_bc_stab_tobytes(yasm_bytecode *bc, unsigned char **bufp, |
+ unsigned char *bufstart, void *d, |
yasm_output_value_func output_value, |
yasm_output_reloc_func output_reloc) |
{ |
@@ -439,7 +439,8 @@ |
} |
static int |
-stabs_bc_str_tobytes(yasm_bytecode *bc, unsigned char **bufp, void *d, |
+stabs_bc_str_tobytes(yasm_bytecode *bc, unsigned char **bufp, |
+ unsigned char *bufstart, void *d, |
yasm_output_value_func output_value, |
yasm_output_reloc_func output_reloc) |
{ |