diff options
author | Ulrich Drepper <[email protected]> | 2005-08-03 02:05:39 +0000 |
---|---|---|
committer | Ulrich Drepper <[email protected]> | 2005-08-03 02:05:39 +0000 |
commit | a38998e815ccde5d90ff0800c31da255eb3430d3 (patch) | |
tree | e5f035b73eeaf4033f159351ecad375f63d3a0aa /libasm/asm_addsleb128.c | |
parent | ef9c9c8fca98a8f9b6aa7c3604ba47e74094e181 (diff) |
Add some patches from the disasm-branch branch.
The asm_begin interface changed.
In text mode output is really written to the file.
Diffstat (limited to 'libasm/asm_addsleb128.c')
-rw-r--r-- | libasm/asm_addsleb128.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libasm/asm_addsleb128.c b/libasm/asm_addsleb128.c index 0661b36e..fdefd01b 100644 --- a/libasm/asm_addsleb128.c +++ b/libasm/asm_addsleb128.c @@ -1,5 +1,5 @@ /* Add signed little endian base 128 integer to a section. - Copyright (C) 2002 Red Hat, Inc. + Copyright (C) 2002, 2005 Red Hat, Inc. Written by Ulrich Drepper <[email protected]>, 2002. This program is Open Source software; you can redistribute it and/or @@ -37,7 +37,7 @@ asm_addsleb128 (asmscn, num) } if (unlikely (asmscn->ctx->textp)) - printf ("\t.sleb128\t%" PRId32 "\n", num); + fprintf (asmscn->ctx->out.file, "\t.sleb128\t%" PRId32 "\n", num); else { char tmpbuf[(sizeof (num) * 8 + 6) / 7]; |