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_adduleb128.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_adduleb128.c')
| -rw-r--r-- | libasm/asm_adduleb128.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libasm/asm_adduleb128.c b/libasm/asm_adduleb128.c index 521d265a..1685b5eb 100644 --- a/libasm/asm_adduleb128.c +++ b/libasm/asm_adduleb128.c @@ -1,5 +1,5 @@ /* Add 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_adduleb128 (asmscn, num) } if (unlikely (asmscn->ctx->textp)) - printf ("\t.uleb128\t%" PRIu32 "\n", num); + fprintf (asmscn->ctx->out.file, "\t.uleb128\t%" PRIu32 "\n", num); else { char tmpbuf[(sizeof (num) * 8 + 6) / 7]; |
